diff --git a/stage0/src/library/compiler/llvm.cpp b/stage0/src/library/compiler/llvm.cpp index 2b15190a06..f75bdb7d4a 100644 --- a/stage0/src/library/compiler/llvm.cpp +++ b/stage0/src/library/compiler/llvm.cpp @@ -18,6 +18,7 @@ Lean's IR. #include "runtime/string_ref.h" #ifdef LEAN_LLVM +#include "llvm-c/Analysis.h" #include "llvm-c/BitReader.h" #include "llvm-c/BitWriter.h" #include "llvm-c/Core.h" @@ -1424,3 +1425,74 @@ extern "C" LEAN_EXPORT lean_object *llvm_is_declaration(size_t ctx, size_t globa return lean_io_result_mk_ok(lean_box(is_bool)); #endif // LEAN_LLVM } + +extern "C" LEAN_EXPORT lean_object *lean_llvm_verify_module(size_t ctx, size_t mod, + lean_object * /* w */) { +#ifndef LEAN_LLVM + lean_always_assert( + false && ("Please build a version of Lean4 with -DLLVM=ON to invoke " + "the LLVM backend function.")); +#else + char* msg = NULL; + LLVMBool broken = LLVMVerifyModule(lean_to_Module(mod), LLVMReturnStatusAction, &msg); + if (broken) { + return lean_io_result_mk_ok(lean::mk_option_some(lean_mk_string(msg))); + } else { + return lean_io_result_mk_ok(lean::mk_option_none()); + } +#endif // LEAN_LLVM +} + +extern "C" LEAN_EXPORT lean_object *lean_llvm_count_basic_blocks(size_t ctx, size_t fn_val, + lean_object * /* w */) { +#ifndef LEAN_LLVM + lean_always_assert( + false && ("Please build a version of Lean4 with -DLLVM=ON to invoke " + "the LLVM backend function.")); +#else + LLVMValueRef fn_ref = lean_to_Value(fn_val); + return lean_io_result_mk_ok(lean_box_uint64((uint64_t)LLVMCountBasicBlocks(fn_ref))); +#endif // LEAN_LLVM +} + +extern "C" LEAN_EXPORT lean_object *lean_llvm_get_entry_basic_block(size_t ctx, size_t fn_val, + lean_object * /* w */) { +#ifndef LEAN_LLVM + lean_always_assert( + false && ("Please build a version of Lean4 with -DLLVM=ON to invoke " + "the LLVM backend function.")); +#else + LLVMValueRef fn_ref = lean_to_Value(fn_val); + LLVMBasicBlockRef bb_ref = LLVMGetEntryBasicBlock(fn_ref); + return lean_io_result_mk_ok(lean_box_usize(BasicBlock_to_lean(bb_ref))); +#endif // LEAN_LLVM +} + +extern "C" LEAN_EXPORT lean_object *lean_llvm_get_first_instruction(size_t ctx, size_t bb, + lean_object * /* w */) { +#ifndef LEAN_LLVM + lean_always_assert( + false && ("Please build a version of Lean4 with -DLLVM=ON to invoke " + "the LLVM backend function.")); +#else + LLVMBasicBlockRef bb_ref = lean_to_BasicBlock(bb); + LLVMValueRef instr_ref = LLVMGetFirstInstruction(bb_ref); + if (instr_ref == NULL) { + return lean_io_result_mk_ok(lean::mk_option_none()); + } else { + return lean_io_result_mk_ok(lean::mk_option_some(lean_box_usize(Value_to_lean(instr_ref)))); + } +#endif // LEAN_LLVM +} + +extern "C" LEAN_EXPORT lean_object *lean_llvm_position_builder_before( + size_t ctx, size_t builder, size_t instr, lean_object * /* w */) { +#ifndef LEAN_LLVM + lean_always_assert( + false && ("Please build a version of Lean4 with -DLLVM=ON to invoke " + "the LLVM backend function.")); +#else + LLVMPositionBuilderBefore(lean_to_Builder(builder), lean_to_Value(instr)); + return lean_io_result_mk_ok(lean_box(0)); +#endif // LEAN_LLVM +} diff --git a/stage0/stdlib/Init.c b/stage0/stdlib/Init.c index b261135ea6..1bc2140686 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.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.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 #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,6 +17,7 @@ lean_object* initialize_Init_Prelude(uint8_t builtin, lean_object*); lean_object* initialize_Init_Notation(uint8_t builtin, lean_object*); lean_object* initialize_Init_Tactics(uint8_t builtin, lean_object*); lean_object* initialize_Init_TacticsExtra(uint8_t builtin, lean_object*); +lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*); lean_object* initialize_Init_RCases(uint8_t builtin, lean_object*); lean_object* initialize_Init_Core(uint8_t builtin, lean_object*); lean_object* initialize_Init_Control(uint8_t builtin, lean_object*); @@ -32,6 +33,7 @@ lean_object* initialize_Init_MetaTypes(uint8_t builtin, lean_object*); lean_object* initialize_Init_Meta(uint8_t builtin, lean_object*); lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); lean_object* initialize_Init_SimpLemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Init_PropLemmas(uint8_t builtin, lean_object*); lean_object* initialize_Init_Hints(uint8_t builtin, lean_object*); lean_object* initialize_Init_Conv(uint8_t builtin, lean_object*); lean_object* initialize_Init_Guard(uint8_t builtin, lean_object*); @@ -55,6 +57,9 @@ lean_dec_ref(res); 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_ByCases(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); @@ -100,6 +105,9 @@ lean_dec_ref(res); res = initialize_Init_SimpLemmas(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_PropLemmas(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Hints(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Init/BinderPredicates.c b/stage0/stdlib/Init/BinderPredicates.c index 155b0b5a34..df4cb8ab34 100644 --- a/stage0/stdlib/Init/BinderPredicates.c +++ b/stage0/stdlib/Init/BinderPredicates.c @@ -17,6 +17,7 @@ static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__8; 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; +static lean_object* l_Lean_binderTerm_u2260_____closed__3; static lean_object* l_Lean_binderPred_quot___closed__6; 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; @@ -28,11 +29,14 @@ 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_binderPred_quot___closed__11; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__3; +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__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; static lean_object* l_Lean_binderPred_quot___closed__5; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,40 +44,67 @@ 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_term_u2203_____x2c_____closed__4; +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; +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__2; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__1; +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_x3e_____closed__3; static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__2; +static lean_object* l_Lean_binderTerm_x3e_____closed__1; 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___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; +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; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Lean_binderTerm_u2264_____closed__3; +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______4___closed__3; +static lean_object* l_Lean_binderTerm_u2264_____closed__5; 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_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_x3e_____closed__6; 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__; static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__10; 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___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1; 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; 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_termSatisfies__binder__pred_x25_______closed__1; static lean_object* l_Lean_binderPred_quot___closed__18; +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_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; @@ -81,37 +112,61 @@ static lean_object* l_Lean_term_u2200_____x2c_____closed__2; static lean_object* l_Lean_binderPred_quot___closed__12; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_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___aux__Init__BinderPredicates______macroRules__Lean__term_u2203_____x2c____1___closed__17; 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_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*); +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___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__2; +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_term_u2200_____x2c_____closed__5; 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___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__1; static lean_object* l_Lean_binderPred_quot___closed__19; +static lean_object* l_Lean_binderTerm_x3c_____closed__6; +LEAN_EXPORT lean_object* l_Lean_binderTerm_x3e__; 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*); static lean_object* l_Lean_termSatisfies__binder__pred_x25_______closed__10; static lean_object* l_Lean_binderPred_quot___closed__4; +static lean_object* l_Lean_binderTerm_x3e_____closed__4; +static lean_object* l_Lean_binderTerm_u2260_____closed__4; +static lean_object* l_Lean_binderTerm_x3e_____closed__2; static lean_object* l_Lean_term_u2200_____x2c_____closed__8; +static lean_object* l_Lean_binderTerm_u2264_____closed__1; +static lean_object* l_Lean_binderTerm_x3c_____closed__3; static lean_object* l_Lean_term_u2203_____x2c_____closed__2; +static lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__3; +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_term_u2200_____x2c_____closed__3; 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; +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; 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; static lean_object* l_Lean_term_u2200_____x2c_____closed__9; static lean_object* l_Lean_binderPred_quot___closed__2; @@ -1373,6 +1428,826 @@ return x_80; } } } +static lean_object* _init_l_Lean_binderTerm_x3e_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm>_", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_x3e_____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_x3e_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_x3e_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" > ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_x3e_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_x3e_____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_x3e_____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_x3e_____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_x3e_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_x3e_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_x3e_____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_x3e__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_x3e_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_>_", 7); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___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______1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(">", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______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_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_x3e_____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______1___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______1___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_u2265_____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_u2265_____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_u2265_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2265_____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_u2265_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2265_____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_u2265_____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_u2265_____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_u2265_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2265_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2265_____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_u2265__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2265_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___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______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___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___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______2___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______2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_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_u2265_____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______2___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______2___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_x3c_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderTerm<_", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_x3c_____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_x3c_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_x3c_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" < ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_binderTerm_x3c_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_x3c_____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_x3c_____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_x3c_____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_x3c_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_x3c_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_x3c_____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_x3c__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_x3c_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_<_", 7); +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______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___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___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______3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("<", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3(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_x3c_____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______3___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______3___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_u2264_____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_u2264_____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_u2264_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2264_____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_u2264_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2264_____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_u2264_____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_u2264_____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_u2264_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2264_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2264_____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_u2264__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2264_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___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______4___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______4___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______4___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______4(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_u2264_____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______4___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______4___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_u2260_____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_u2260_____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_u2260_____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_binderTerm_u2260_____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_u2260_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_binderTerm_u2260_____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_u2260_____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_u2260_____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_u2260_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_binderTerm_u2260_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_binderTerm_u2260_____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_u2260__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_binderTerm_u2260_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___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______5___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______5___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______5___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______5(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_u2260_____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______5___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______5___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) { @@ -1552,6 +2427,106 @@ l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c__ lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__5); l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__6 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__6(); lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__term_u2200_____x2c____1___closed__6); +l_Lean_binderTerm_x3e_____closed__1 = _init_l_Lean_binderTerm_x3e_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__1); +l_Lean_binderTerm_x3e_____closed__2 = _init_l_Lean_binderTerm_x3e_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__2); +l_Lean_binderTerm_x3e_____closed__3 = _init_l_Lean_binderTerm_x3e_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__3); +l_Lean_binderTerm_x3e_____closed__4 = _init_l_Lean_binderTerm_x3e_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__4); +l_Lean_binderTerm_x3e_____closed__5 = _init_l_Lean_binderTerm_x3e_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__5); +l_Lean_binderTerm_x3e_____closed__6 = _init_l_Lean_binderTerm_x3e_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_x3e_____closed__6); +l_Lean_binderTerm_x3e__ = _init_l_Lean_binderTerm_x3e__(); +lean_mark_persistent(l_Lean_binderTerm_x3e__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______1___closed__3); +l_Lean_binderTerm_u2265_____closed__1 = _init_l_Lean_binderTerm_u2265_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__1); +l_Lean_binderTerm_u2265_____closed__2 = _init_l_Lean_binderTerm_u2265_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__2); +l_Lean_binderTerm_u2265_____closed__3 = _init_l_Lean_binderTerm_u2265_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__3); +l_Lean_binderTerm_u2265_____closed__4 = _init_l_Lean_binderTerm_u2265_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__4); +l_Lean_binderTerm_u2265_____closed__5 = _init_l_Lean_binderTerm_u2265_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__5); +l_Lean_binderTerm_u2265_____closed__6 = _init_l_Lean_binderTerm_u2265_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2265_____closed__6); +l_Lean_binderTerm_u2265__ = _init_l_Lean_binderTerm_u2265__(); +lean_mark_persistent(l_Lean_binderTerm_u2265__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______2___closed__3); +l_Lean_binderTerm_x3c_____closed__1 = _init_l_Lean_binderTerm_x3c_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__1); +l_Lean_binderTerm_x3c_____closed__2 = _init_l_Lean_binderTerm_x3c_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__2); +l_Lean_binderTerm_x3c_____closed__3 = _init_l_Lean_binderTerm_x3c_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__3); +l_Lean_binderTerm_x3c_____closed__4 = _init_l_Lean_binderTerm_x3c_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__4); +l_Lean_binderTerm_x3c_____closed__5 = _init_l_Lean_binderTerm_x3c_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__5); +l_Lean_binderTerm_x3c_____closed__6 = _init_l_Lean_binderTerm_x3c_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_x3c_____closed__6); +l_Lean_binderTerm_x3c__ = _init_l_Lean_binderTerm_x3c__(); +lean_mark_persistent(l_Lean_binderTerm_x3c__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______3___closed__3); +l_Lean_binderTerm_u2264_____closed__1 = _init_l_Lean_binderTerm_u2264_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__1); +l_Lean_binderTerm_u2264_____closed__2 = _init_l_Lean_binderTerm_u2264_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__2); +l_Lean_binderTerm_u2264_____closed__3 = _init_l_Lean_binderTerm_u2264_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__3); +l_Lean_binderTerm_u2264_____closed__4 = _init_l_Lean_binderTerm_u2264_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__4); +l_Lean_binderTerm_u2264_____closed__5 = _init_l_Lean_binderTerm_u2264_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__5); +l_Lean_binderTerm_u2264_____closed__6 = _init_l_Lean_binderTerm_u2264_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2264_____closed__6); +l_Lean_binderTerm_u2264__ = _init_l_Lean_binderTerm_u2264__(); +lean_mark_persistent(l_Lean_binderTerm_u2264__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__2(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__2); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__3 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__3(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______4___closed__3); +l_Lean_binderTerm_u2260_____closed__1 = _init_l_Lean_binderTerm_u2260_____closed__1(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__1); +l_Lean_binderTerm_u2260_____closed__2 = _init_l_Lean_binderTerm_u2260_____closed__2(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__2); +l_Lean_binderTerm_u2260_____closed__3 = _init_l_Lean_binderTerm_u2260_____closed__3(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__3); +l_Lean_binderTerm_u2260_____closed__4 = _init_l_Lean_binderTerm_u2260_____closed__4(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__4); +l_Lean_binderTerm_u2260_____closed__5 = _init_l_Lean_binderTerm_u2260_____closed__5(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__5); +l_Lean_binderTerm_u2260_____closed__6 = _init_l_Lean_binderTerm_u2260_____closed__6(); +lean_mark_persistent(l_Lean_binderTerm_u2260_____closed__6); +l_Lean_binderTerm_u2260__ = _init_l_Lean_binderTerm_u2260__(); +lean_mark_persistent(l_Lean_binderTerm_u2260__); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__1 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__1(); +lean_mark_persistent(l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__1); +l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__2 = _init_l_Lean___aux__Init__BinderPredicates______macroRules__Lean__termSatisfies__binder__pred_x25______5___closed__2(); +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); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/ByCases.c b/stage0/stdlib/Init/ByCases.c new file mode 100644 index 0000000000..155713815e --- /dev/null +++ b/stage0/stdlib/Init/ByCases.c @@ -0,0 +1,1158 @@ +// Lean compiler output +// Module: Init.ByCases +// Imports: Init.Classical +#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___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9; +static lean_object* l_tacticBy__cases___x3a_____closed__24; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__6; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11; +static lean_object* l_tacticBy__cases___x3a_____closed__18; +static lean_object* l_tacticBy__cases___x3a_____closed__20; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__8; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12; +static lean_object* l_tacticBy__cases___x3a_____closed__13; +static lean_object* l_tacticBy__cases___x3a_____closed__22; +static lean_object* l_tacticBy__cases___x3a_____closed__9; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29; +static lean_object* l_tacticBy__cases___x3a_____closed__6; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36; +static lean_object* l_tacticBy__cases___x3a_____closed__19; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_tacticBy__cases___x3a_____closed__14; +static lean_object* l_tacticBy__cases___x3a_____closed__21; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6; +static lean_object* l_tacticBy__cases___x3a_____closed__16; +static lean_object* l_tacticBy__cases___x3a_____closed__3; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__5; +static lean_object* l_tacticBy__cases___x3a_____closed__12; +lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_tacticBy__cases___x3a_____closed__1; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_tacticBy__cases___x3a_____closed__7; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13; +lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_tacticBy__cases___x3a__; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25; +LEAN_EXPORT lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_tacticBy__cases___x3a_____closed__15; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21; +lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28; +static lean_object* l_tacticBy__cases___x3a_____closed__17; +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_tacticBy__cases___x3a_____closed__8; +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1; +static lean_object* l_tacticBy__cases___x3a_____closed__4; +LEAN_EXPORT lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_node8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7; +static lean_object* l_tacticBy__cases___x3a_____closed__23; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24; +static lean_object* l_tacticBy__cases___x3a_____closed__5; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35; +static lean_object* l_tacticBy__cases___x3a_____closed__2; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__20; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18; +static lean_object* l_tacticBy__cases___x3a_____closed__11; +static lean_object* l_tacticBy__cases___x3a_____closed__10; +lean_object* l_String_toSubstring_x27(lean_object*); +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__2; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7; +static lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3; +static lean_object* _init_l_tacticBy__cases___x3a_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticBy_cases_:_", 17); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("andthen", 7); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("by_cases ", 9); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_tacticBy__cases___x3a_____closed__5; +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_tacticBy__cases___x3a_____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("optional", 8); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("atomic", 6); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ident", 5); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" : ", 3); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_tacticBy__cases___x3a_____closed__4; +x_2 = l_tacticBy__cases___x3a_____closed__13; +x_3 = l_tacticBy__cases___x3a_____closed__15; +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_tacticBy__cases___x3a_____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_tacticBy__cases___x3a_____closed__10; +x_2 = l_tacticBy__cases___x3a_____closed__16; +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_tacticBy__cases___x3a_____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_tacticBy__cases___x3a_____closed__8; +x_2 = l_tacticBy__cases___x3a_____closed__17; +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_tacticBy__cases___x3a_____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_tacticBy__cases___x3a_____closed__4; +x_2 = l_tacticBy__cases___x3a_____closed__6; +x_3 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term", 4); +return x_1; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_tacticBy__cases___x3a_____closed__20; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_tacticBy__cases___x3a_____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_tacticBy__cases___x3a_____closed__21; +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_tacticBy__cases___x3a_____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_tacticBy__cases___x3a_____closed__4; +x_2 = l_tacticBy__cases___x3a_____closed__19; +x_3 = l_tacticBy__cases___x3a_____closed__22; +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_tacticBy__cases___x3a_____closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_tacticBy__cases___x3a_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_tacticBy__cases___x3a_____closed__23; +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_tacticBy__cases___x3a__() { +_start: +{ +lean_object* x_1; +x_1 = l_tacticBy__cases___x3a_____closed__24; +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("by_cases", 8); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____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___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____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__ByCases______macroRules__tacticBy__cases___x3a____1___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("h", 1); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____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__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____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_tacticBy__cases___x3a_____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; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Syntax_matchesNull(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +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; 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_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_ctor_get(x_2, 5); +lean_inc(x_16); +x_17 = 0; +x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17); +x_19 = lean_ctor_get(x_2, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1; +lean_inc(x_18); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_21); +x_23 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__6; +x_24 = l_Lean_addMacroScope(x_20, x_23, x_19); +x_25 = lean_box(0); +x_26 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5; +lean_inc(x_18); +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_18); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_25); +x_28 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7; +lean_inc(x_18); +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_18); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3; +lean_inc(x_18); +x_31 = l_Lean_Syntax_node2(x_18, x_30, x_27, x_29); +x_32 = l_Lean_Syntax_node3(x_18, x_4, x_22, x_31, x_15); +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; +} +} +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Parser", 6); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("open", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___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___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___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__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Command", 7); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("openSimple", 10); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___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___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Classical", 9); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12; +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__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("in", 2); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq", 9); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("refine", 6); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___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___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("termDepIfThenElse", 17); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("if", 2); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderIdent", 11); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("then", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("syntheticHole", 13); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1; +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2; +x_3 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27; +x_4 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\?", 1); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("pos", 3); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("else", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("neg", 3); +return x_1; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_tacticBy__cases___x3a_____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; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +lean_inc(x_9); +x_11 = l_Lean_Syntax_matchesNull(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; 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; 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; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_9, x_14); +lean_dec(x_9); +x_16 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_17 = lean_ctor_get(x_2, 5); +lean_inc(x_17); +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); +x_20 = lean_ctor_get(x_2, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_dec(x_2); +x_22 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4; +lean_inc(x_19); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11; +lean_inc(x_20); +lean_inc(x_21); +x_25 = l_Lean_addMacroScope(x_21, x_24, x_20); +x_26 = lean_box(0); +x_27 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10; +x_28 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13; +lean_inc(x_19); +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_19); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_25); +lean_ctor_set(x_29, 3, x_28); +x_30 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3; +lean_inc(x_19); +x_31 = l_Lean_Syntax_node1(x_19, x_30, x_29); +x_32 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__8; +lean_inc(x_19); +x_33 = l_Lean_Syntax_node1(x_19, x_32, x_31); +x_34 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14; +lean_inc(x_19); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_19); +lean_ctor_set(x_35, 1, x_34); +x_36 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19; +lean_inc(x_19); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_19); +lean_ctor_set(x_37, 1, x_36); +x_38 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23; +lean_inc(x_19); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_19); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25; +lean_inc(x_19); +x_41 = l_Lean_Syntax_node1(x_19, x_40, x_15); +x_42 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7; +lean_inc(x_19); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_19); +lean_ctor_set(x_43, 1, x_42); +x_44 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26; +lean_inc(x_19); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_19); +lean_ctor_set(x_45, 1, x_44); +x_46 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30; +lean_inc(x_19); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_19); +lean_ctor_set(x_47, 1, x_46); +x_48 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33; +lean_inc(x_20); +lean_inc(x_21); +x_49 = l_Lean_addMacroScope(x_21, x_48, x_20); +x_50 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32; +lean_inc(x_19); +x_51 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_51, 0, x_19); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_51, 2, x_49); +lean_ctor_set(x_51, 3, x_26); +x_52 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29; +lean_inc(x_47); +lean_inc(x_19); +x_53 = l_Lean_Syntax_node2(x_19, x_52, x_47, x_51); +x_54 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34; +lean_inc(x_19); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_19); +lean_ctor_set(x_55, 1, x_54); +x_56 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37; +x_57 = l_Lean_addMacroScope(x_21, x_56, x_20); +x_58 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36; +lean_inc(x_19); +x_59 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_59, 0, x_19); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_26); +lean_inc(x_19); +x_60 = l_Lean_Syntax_node2(x_19, x_52, x_47, x_59); +x_61 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22; +lean_inc(x_19); +x_62 = l_Lean_Syntax_node8(x_19, x_61, x_39, x_41, x_43, x_16, x_45, x_53, x_55, x_60); +x_63 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__20; +lean_inc(x_19); +x_64 = l_Lean_Syntax_node2(x_19, x_63, x_37, x_62); +lean_inc(x_19); +x_65 = l_Lean_Syntax_node1(x_19, x_30, x_64); +x_66 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18; +lean_inc(x_19); +x_67 = l_Lean_Syntax_node1(x_19, x_66, x_65); +x_68 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16; +lean_inc(x_19); +x_69 = l_Lean_Syntax_node1(x_19, x_68, x_67); +x_70 = l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__5; +x_71 = l_Lean_Syntax_node4(x_19, x_70, x_23, x_33, x_35, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_3); +return x_72; +} +} +} +} +lean_object* initialize_Init_Classical(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_ByCases(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_Classical(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_tacticBy__cases___x3a_____closed__1 = _init_l_tacticBy__cases___x3a_____closed__1(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__1); +l_tacticBy__cases___x3a_____closed__2 = _init_l_tacticBy__cases___x3a_____closed__2(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__2); +l_tacticBy__cases___x3a_____closed__3 = _init_l_tacticBy__cases___x3a_____closed__3(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__3); +l_tacticBy__cases___x3a_____closed__4 = _init_l_tacticBy__cases___x3a_____closed__4(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__4); +l_tacticBy__cases___x3a_____closed__5 = _init_l_tacticBy__cases___x3a_____closed__5(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__5); +l_tacticBy__cases___x3a_____closed__6 = _init_l_tacticBy__cases___x3a_____closed__6(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__6); +l_tacticBy__cases___x3a_____closed__7 = _init_l_tacticBy__cases___x3a_____closed__7(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__7); +l_tacticBy__cases___x3a_____closed__8 = _init_l_tacticBy__cases___x3a_____closed__8(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__8); +l_tacticBy__cases___x3a_____closed__9 = _init_l_tacticBy__cases___x3a_____closed__9(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__9); +l_tacticBy__cases___x3a_____closed__10 = _init_l_tacticBy__cases___x3a_____closed__10(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__10); +l_tacticBy__cases___x3a_____closed__11 = _init_l_tacticBy__cases___x3a_____closed__11(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__11); +l_tacticBy__cases___x3a_____closed__12 = _init_l_tacticBy__cases___x3a_____closed__12(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__12); +l_tacticBy__cases___x3a_____closed__13 = _init_l_tacticBy__cases___x3a_____closed__13(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__13); +l_tacticBy__cases___x3a_____closed__14 = _init_l_tacticBy__cases___x3a_____closed__14(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__14); +l_tacticBy__cases___x3a_____closed__15 = _init_l_tacticBy__cases___x3a_____closed__15(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__15); +l_tacticBy__cases___x3a_____closed__16 = _init_l_tacticBy__cases___x3a_____closed__16(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__16); +l_tacticBy__cases___x3a_____closed__17 = _init_l_tacticBy__cases___x3a_____closed__17(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__17); +l_tacticBy__cases___x3a_____closed__18 = _init_l_tacticBy__cases___x3a_____closed__18(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__18); +l_tacticBy__cases___x3a_____closed__19 = _init_l_tacticBy__cases___x3a_____closed__19(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__19); +l_tacticBy__cases___x3a_____closed__20 = _init_l_tacticBy__cases___x3a_____closed__20(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__20); +l_tacticBy__cases___x3a_____closed__21 = _init_l_tacticBy__cases___x3a_____closed__21(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__21); +l_tacticBy__cases___x3a_____closed__22 = _init_l_tacticBy__cases___x3a_____closed__22(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__22); +l_tacticBy__cases___x3a_____closed__23 = _init_l_tacticBy__cases___x3a_____closed__23(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__23); +l_tacticBy__cases___x3a_____closed__24 = _init_l_tacticBy__cases___x3a_____closed__24(); +lean_mark_persistent(l_tacticBy__cases___x3a_____closed__24); +l_tacticBy__cases___x3a__ = _init_l_tacticBy__cases___x3a__(); +lean_mark_persistent(l_tacticBy__cases___x3a__); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__1); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__2 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__2(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__2); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__3); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__4); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__5); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__6 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__6(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__6); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____1___closed__7); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__1); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__2); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__3); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__4); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__5 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__5(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__5); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__6); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__7); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__8 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__8(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__8); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__9); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__10); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__11); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__12); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__13); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__14); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__15); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__16); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__17); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__18); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__19); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__20 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__20(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__20); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__21); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__22); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__23); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__24); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__25); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__26); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__27); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__28); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__29); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__30); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__31); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__32); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__33); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__34); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__35); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__36); +l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37 = _init_l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37(); +lean_mark_persistent(l___aux__Init__ByCases______macroRules__tacticBy__cases___x3a____2___closed__37); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Classical.c b/stage0/stdlib/Init/Classical.c index 53d0cc522f..e5232bcc29 100644 --- a/stage0/stdlib/Init/Classical.c +++ b/stage0/stdlib/Init/Classical.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Classical -// Imports: Init.Core Init.NotationExtra +// Imports: Init.PropLemmas #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,1148 +13,15 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__14; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__8; -static lean_object* l_tacticBy__cases___x3a_____closed__24; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__20; -static lean_object* l_tacticBy__cases___x3a_____closed__18; -static lean_object* l_tacticBy__cases___x3a_____closed__20; -uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1(lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26; -static lean_object* l_tacticBy__cases___x3a_____closed__13; -static lean_object* l_tacticBy__cases___x3a_____closed__22; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23; -static lean_object* l_tacticBy__cases___x3a_____closed__9; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__2; -static lean_object* l_tacticBy__cases___x3a_____closed__6; -LEAN_EXPORT lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2(lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13; -static lean_object* l_tacticBy__cases___x3a_____closed__19; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__6; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3; -static lean_object* l_tacticBy__cases___x3a_____closed__14; -static lean_object* l_tacticBy__cases___x3a_____closed__21; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21; -static lean_object* l_tacticBy__cases___x3a_____closed__16; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31; -static lean_object* l_tacticBy__cases___x3a_____closed__3; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__5; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7; -static lean_object* l_tacticBy__cases___x3a_____closed__12; -lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16; -static lean_object* l_tacticBy__cases___x3a_____closed__1; -lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35; -lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_tacticBy__cases___x3a_____closed__7; -lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__6; -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_tacticBy__cases___x3a__; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4; -static lean_object* l_tacticBy__cases___x3a_____closed__15; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19; -lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18; -static lean_object* l_tacticBy__cases___x3a_____closed__17; -lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25; -static lean_object* l_tacticBy__cases___x3a_____closed__8; -lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27; -static lean_object* l_tacticBy__cases___x3a_____closed__4; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3; -lean_object* l_Lean_Syntax_node8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10; -static lean_object* l_tacticBy__cases___x3a_____closed__23; -lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30; -static lean_object* l_tacticBy__cases___x3a_____closed__5; -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -static lean_object* l_tacticBy__cases___x3a_____closed__2; -static lean_object* l_tacticBy__cases___x3a_____closed__11; -static lean_object* l_tacticBy__cases___x3a_____closed__10; -lean_object* l_String_toSubstring_x27(lean_object*); -static lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17; -static lean_object* _init_l_tacticBy__cases___x3a_____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticBy_cases_:_", 17); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("andthen", 7); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("by_cases ", 9); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__6() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_tacticBy__cases___x3a_____closed__5; -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_tacticBy__cases___x3a_____closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optional", 8); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("atomic", 6); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("ident", 5); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" : ", 3); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_tacticBy__cases___x3a_____closed__4; -x_2 = l_tacticBy__cases___x3a_____closed__13; -x_3 = l_tacticBy__cases___x3a_____closed__15; -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_tacticBy__cases___x3a_____closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_tacticBy__cases___x3a_____closed__10; -x_2 = l_tacticBy__cases___x3a_____closed__16; -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_tacticBy__cases___x3a_____closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_tacticBy__cases___x3a_____closed__8; -x_2 = l_tacticBy__cases___x3a_____closed__17; -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_tacticBy__cases___x3a_____closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_tacticBy__cases___x3a_____closed__4; -x_2 = l_tacticBy__cases___x3a_____closed__6; -x_3 = l_tacticBy__cases___x3a_____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_tacticBy__cases___x3a_____closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("term", 4); -return x_1; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_tacticBy__cases___x3a_____closed__20; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_tacticBy__cases___x3a_____closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_tacticBy__cases___x3a_____closed__21; -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_tacticBy__cases___x3a_____closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_tacticBy__cases___x3a_____closed__4; -x_2 = l_tacticBy__cases___x3a_____closed__19; -x_3 = l_tacticBy__cases___x3a_____closed__22; -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_tacticBy__cases___x3a_____closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_tacticBy__cases___x3a_____closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_tacticBy__cases___x3a_____closed__23; -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_tacticBy__cases___x3a__() { -_start: -{ -lean_object* x_1; -x_1 = l_tacticBy__cases___x3a_____closed__24; -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("by_cases", 8); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____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___aux__Init__Classical______macroRules__tacticBy__cases___x3a____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__Classical______macroRules__tacticBy__cases___x3a____1___closed__2; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("h", 1); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____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__Classical______macroRules__tacticBy__cases___x3a____1___closed__4; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); -return x_1; -} -} -LEAN_EXPORT lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____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_tacticBy__cases___x3a_____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; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_matchesNull(x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -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; 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_14 = lean_unsigned_to_nat(2u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -lean_dec(x_1); -x_16 = lean_ctor_get(x_2, 5); -lean_inc(x_16); -x_17 = 0; -x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17); -x_19 = lean_ctor_get(x_2, 2); -lean_inc(x_19); -x_20 = lean_ctor_get(x_2, 1); -lean_inc(x_20); -lean_dec(x_2); -x_21 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1; -lean_inc(x_18); -x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_18); -lean_ctor_set(x_22, 1, x_21); -x_23 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__6; -x_24 = l_Lean_addMacroScope(x_20, x_23, x_19); -x_25 = lean_box(0); -x_26 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5; -lean_inc(x_18); -x_27 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_27, 0, x_18); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_24); -lean_ctor_set(x_27, 3, x_25); -x_28 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7; -lean_inc(x_18); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_18); -lean_ctor_set(x_29, 1, x_28); -x_30 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3; -lean_inc(x_18); -x_31 = l_Lean_Syntax_node2(x_18, x_30, x_27, x_29); -x_32 = l_Lean_Syntax_node3(x_18, x_4, x_22, x_31, x_15); -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; -} -} -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean", 4); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Parser", 6); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Tactic", 6); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("open", 4); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___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___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___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__Classical______macroRules__tacticBy__cases___x3a____2___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Command", 7); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("openSimple", 10); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___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___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__6; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Classical", 9); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12; -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__Classical______macroRules__tacticBy__cases___x3a____2___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("in", 2); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticSeq", 9); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("refine", 6); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___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___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("termDepIfThenElse", 17); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("if", 2); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("binderIdent", 11); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("then", 4); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("syntheticHole", 13); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1; -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2; -x_3 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27; -x_4 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("\?", 1); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("pos", 3); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("else", 4); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("neg", 3); -return x_1; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_tacticBy__cases___x3a_____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; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(2u); -lean_inc(x_9); -x_11 = l_Lean_Syntax_matchesNull(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; 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; 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; -x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Lean_Syntax_getArg(x_9, x_14); -lean_dec(x_9); -x_16 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); -x_17 = lean_ctor_get(x_2, 5); -lean_inc(x_17); -x_18 = 0; -x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18); -x_20 = lean_ctor_get(x_2, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_2, 1); -lean_inc(x_21); -lean_dec(x_2); -x_22 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4; -lean_inc(x_19); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -x_24 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11; -lean_inc(x_20); -lean_inc(x_21); -x_25 = l_Lean_addMacroScope(x_21, x_24, x_20); -x_26 = lean_box(0); -x_27 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10; -x_28 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13; -lean_inc(x_19); -x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_19); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_28); -x_30 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3; -lean_inc(x_19); -x_31 = l_Lean_Syntax_node1(x_19, x_30, x_29); -x_32 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__8; -lean_inc(x_19); -x_33 = l_Lean_Syntax_node1(x_19, x_32, x_31); -x_34 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__14; -lean_inc(x_19); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_19); -lean_ctor_set(x_35, 1, x_34); -x_36 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19; -lean_inc(x_19); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_19); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23; -lean_inc(x_19); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_19); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25; -lean_inc(x_19); -x_41 = l_Lean_Syntax_node1(x_19, x_40, x_15); -x_42 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7; -lean_inc(x_19); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_19); -lean_ctor_set(x_43, 1, x_42); -x_44 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26; -lean_inc(x_19); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_19); -lean_ctor_set(x_45, 1, x_44); -x_46 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30; -lean_inc(x_19); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_19); -lean_ctor_set(x_47, 1, x_46); -x_48 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33; -lean_inc(x_20); -lean_inc(x_21); -x_49 = l_Lean_addMacroScope(x_21, x_48, x_20); -x_50 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32; -lean_inc(x_19); -x_51 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_51, 0, x_19); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_49); -lean_ctor_set(x_51, 3, x_26); -x_52 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29; -lean_inc(x_47); -lean_inc(x_19); -x_53 = l_Lean_Syntax_node2(x_19, x_52, x_47, x_51); -x_54 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34; -lean_inc(x_19); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_19); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37; -x_57 = l_Lean_addMacroScope(x_21, x_56, x_20); -x_58 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36; -lean_inc(x_19); -x_59 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_59, 0, x_19); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_57); -lean_ctor_set(x_59, 3, x_26); -lean_inc(x_19); -x_60 = l_Lean_Syntax_node2(x_19, x_52, x_47, x_59); -x_61 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22; -lean_inc(x_19); -x_62 = l_Lean_Syntax_node8(x_19, x_61, x_39, x_41, x_43, x_16, x_45, x_53, x_55, x_60); -x_63 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__20; -lean_inc(x_19); -x_64 = l_Lean_Syntax_node2(x_19, x_63, x_37, x_62); -lean_inc(x_19); -x_65 = l_Lean_Syntax_node1(x_19, x_30, x_64); -x_66 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18; -lean_inc(x_19); -x_67 = l_Lean_Syntax_node1(x_19, x_66, x_65); -x_68 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16; -lean_inc(x_19); -x_69 = l_Lean_Syntax_node1(x_19, x_68, x_67); -x_70 = l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__5; -x_71 = l_Lean_Syntax_node4(x_19, x_70, x_23, x_33, x_35, x_69); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_3); -return x_72; -} -} -} -} -lean_object* initialize_Init_Core(uint8_t builtin, lean_object*); -lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); +lean_object* initialize_Init_PropLemmas(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Classical(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_Core(builtin, lean_io_mk_world()); +res = initialize_Init_PropLemmas(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_NotationExtra(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_tacticBy__cases___x3a_____closed__1 = _init_l_tacticBy__cases___x3a_____closed__1(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__1); -l_tacticBy__cases___x3a_____closed__2 = _init_l_tacticBy__cases___x3a_____closed__2(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__2); -l_tacticBy__cases___x3a_____closed__3 = _init_l_tacticBy__cases___x3a_____closed__3(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__3); -l_tacticBy__cases___x3a_____closed__4 = _init_l_tacticBy__cases___x3a_____closed__4(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__4); -l_tacticBy__cases___x3a_____closed__5 = _init_l_tacticBy__cases___x3a_____closed__5(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__5); -l_tacticBy__cases___x3a_____closed__6 = _init_l_tacticBy__cases___x3a_____closed__6(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__6); -l_tacticBy__cases___x3a_____closed__7 = _init_l_tacticBy__cases___x3a_____closed__7(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__7); -l_tacticBy__cases___x3a_____closed__8 = _init_l_tacticBy__cases___x3a_____closed__8(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__8); -l_tacticBy__cases___x3a_____closed__9 = _init_l_tacticBy__cases___x3a_____closed__9(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__9); -l_tacticBy__cases___x3a_____closed__10 = _init_l_tacticBy__cases___x3a_____closed__10(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__10); -l_tacticBy__cases___x3a_____closed__11 = _init_l_tacticBy__cases___x3a_____closed__11(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__11); -l_tacticBy__cases___x3a_____closed__12 = _init_l_tacticBy__cases___x3a_____closed__12(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__12); -l_tacticBy__cases___x3a_____closed__13 = _init_l_tacticBy__cases___x3a_____closed__13(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__13); -l_tacticBy__cases___x3a_____closed__14 = _init_l_tacticBy__cases___x3a_____closed__14(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__14); -l_tacticBy__cases___x3a_____closed__15 = _init_l_tacticBy__cases___x3a_____closed__15(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__15); -l_tacticBy__cases___x3a_____closed__16 = _init_l_tacticBy__cases___x3a_____closed__16(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__16); -l_tacticBy__cases___x3a_____closed__17 = _init_l_tacticBy__cases___x3a_____closed__17(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__17); -l_tacticBy__cases___x3a_____closed__18 = _init_l_tacticBy__cases___x3a_____closed__18(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__18); -l_tacticBy__cases___x3a_____closed__19 = _init_l_tacticBy__cases___x3a_____closed__19(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__19); -l_tacticBy__cases___x3a_____closed__20 = _init_l_tacticBy__cases___x3a_____closed__20(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__20); -l_tacticBy__cases___x3a_____closed__21 = _init_l_tacticBy__cases___x3a_____closed__21(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__21); -l_tacticBy__cases___x3a_____closed__22 = _init_l_tacticBy__cases___x3a_____closed__22(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__22); -l_tacticBy__cases___x3a_____closed__23 = _init_l_tacticBy__cases___x3a_____closed__23(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__23); -l_tacticBy__cases___x3a_____closed__24 = _init_l_tacticBy__cases___x3a_____closed__24(); -lean_mark_persistent(l_tacticBy__cases___x3a_____closed__24); -l_tacticBy__cases___x3a__ = _init_l_tacticBy__cases___x3a__(); -lean_mark_persistent(l_tacticBy__cases___x3a__); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__1); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__2 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__2(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__2); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__3); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__4); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__5); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__6 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__6(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__6); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____1___closed__7); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__1); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__2); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__3); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__4); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__5 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__5(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__5); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__6 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__6(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__6); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__7); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__8 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__8(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__8); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__9); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__10); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__11); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__12); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__13); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__14 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__14(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__14); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__15); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__16); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__17); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__18); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__19); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__20 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__20(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__20); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__21); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__22); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__23); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__24); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__25); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__26); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__27); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__28); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__29); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__30); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__31); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__32); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__33); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__34); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__35); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__36); -l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37 = _init_l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37(); -lean_mark_persistent(l___aux__Init__Classical______macroRules__tacticBy__cases___x3a____2___closed__37); 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 8fcd0f6fb6..37ca0e819b 100644 --- a/stage0/stdlib/Init/Core.c +++ b/stage0/stdlib/Init/Core.c @@ -31,8 +31,10 @@ LEAN_EXPORT lean_object* l_Quotient_lift___rarg(lean_object*, lean_object*, lean static lean_object* l___aux__Init__Core______macroRules__term___u2295____1___closed__7; LEAN_EXPORT lean_object* l_bne(lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__13; +LEAN_EXPORT lean_object* l_And_elim___rarg(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*); +LEAN_EXPORT lean_object* l_instDecidableEqEmpty___boxed(lean_object*, lean_object*); 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*); @@ -56,6 +58,7 @@ 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); 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*); @@ -116,6 +119,7 @@ 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*); +LEAN_EXPORT lean_object* l_instDecidableEqEmpty(uint8_t, uint8_t); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); LEAN_EXPORT lean_object* l_instInhabitedPUnit; static lean_object* l_term___u2194_____closed__4; @@ -156,11 +160,14 @@ static lean_object* l___aux__Init__Core______macroRules__Lean__Parser__Tactic__t LEAN_EXPORT lean_object* l_Squash_mk___rarg(lean_object*); static lean_object* l_term___x21_x3d_____closed__6; LEAN_EXPORT lean_object* l_Quotient_rec___rarg(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_instDecidableEqPEmpty(uint8_t, uint8_t); 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*); 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*); @@ -169,6 +176,7 @@ LEAN_EXPORT lean_object* l_Task_bind___boxed(lean_object*, lean_object*, lean_ob static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__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*); 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*); static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__1; @@ -235,12 +243,14 @@ LEAN_EXPORT lean_object* l_Thunk_bind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_recOn___boxed(lean_object*, lean_object*, lean_object*); 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*); lean_object* lean_mk_thunk(lean_object*); LEAN_EXPORT lean_object* l_term___u2295_x27__; lean_object* lean_thunk_pure(lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__6; 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*); 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*); @@ -283,6 +293,7 @@ LEAN_EXPORT lean_object* l_term___u2295__; 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; +LEAN_EXPORT lean_object* l_instInhabitedPSum___rarg(lean_object*); static lean_object* l___aux__Init__Core______unexpand__Iff__1___closed__3; LEAN_EXPORT lean_object* l_Task_Priority_dedicated; LEAN_EXPORT lean_object* l_Quotient_mk_x27___rarg(lean_object*); @@ -291,7 +302,9 @@ LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__bne__1(lean_object*, 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 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*); LEAN_EXPORT lean_object* l_Lean_reduceNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_instInhabitedMProd___rarg(lean_object*, lean_object*); @@ -310,6 +323,7 @@ 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*); +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; static lean_object* l___aux__Init__Core______macroRules__term___x21_x3d____1___closed__4; @@ -326,6 +340,7 @@ static lean_object* l_term_x7b_x7d___closed__6; LEAN_EXPORT lean_object* l_Thunk_mk___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Quotient_mk___boxed(lean_object*, lean_object*); static lean_object* l_term___u2295_____closed__7; +LEAN_EXPORT lean_object* l_instInhabitedPSum__1___rarg(lean_object*); LEAN_EXPORT lean_object* l_noConfusionEnum___rarg___lambda__1(lean_object*); static lean_object* l___aux__Init__Core______macroRules__term___x3c_x2d_x3e____1___closed__2; static lean_object* l_term___x3c_x2d_x3e_____closed__6; @@ -341,6 +356,7 @@ static lean_object* l_term___u2248_____closed__6; LEAN_EXPORT lean_object* l_Eq_ndrecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Core______unexpand__Iff__1___lambda__1(lean_object*, lean_object*, lean_object*); 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; LEAN_EXPORT uint8_t l_instDecidableEqPUnit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Squash_lift___rarg(lean_object*, lean_object*); @@ -374,6 +390,8 @@ LEAN_EXPORT lean_object* l_instDecidableEqPUnit___boxed(lean_object*, lean_objec 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*); 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*); 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*); @@ -384,6 +402,7 @@ 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*); static lean_object* l___aux__Init__Core______macroRules__term___u2295_x27____1___closed__4; LEAN_EXPORT lean_object* l_Quot_hrecOn(lean_object*, lean_object*, lean_object*); 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*); @@ -441,6 +460,82 @@ x_4 = lean_alloc_closure((void*)(l_flip___rarg), 3, 0); return x_4; } } +LEAN_EXPORT lean_object* l_Empty_elim(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_Empty_elim___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Empty_elim(x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqEmpty(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_instDecidableEqEmpty___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_instDecidableEqEmpty(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_PEmpty_elim___rarg(uint8_t x_1) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_PEmpty_elim(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PEmpty_elim___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_PEmpty_elim___rarg___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_PEmpty_elim___rarg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_instDecidableEqPEmpty(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_instDecidableEqPEmpty___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_instDecidableEqPEmpty(x_3, x_4); +return x_5; +} +} LEAN_EXPORT lean_object* l_Thunk_mk___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2172,6 +2267,40 @@ lean_dec(x_1); return x_8; } } +LEAN_EXPORT lean_object* l_instInhabitedPSum___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_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_instInhabitedPSum(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_instInhabitedPSum___rarg), 1, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_instInhabitedPSum__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_instInhabitedPSum__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_instInhabitedPSum__1___rarg), 1, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_instInhabitedForInStep___rarg(lean_object* x_1) { _start: { @@ -4150,6 +4279,12 @@ return x_22; } } } +static lean_object* _init_l_instTransPropIff() { +_start: +{ +return lean_box(0); +} +} LEAN_EXPORT uint8_t l_toBoolUsing___rarg(uint8_t x_1) { _start: { @@ -5033,6 +5168,44 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l_Not_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_And_elim___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_2(x_1, lean_box(0), lean_box(0)); +return x_3; +} +} +LEAN_EXPORT lean_object* l_And_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_And_elim___rarg), 2, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Iff_elim___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_2(x_1, lean_box(0), lean_box(0)); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Iff_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Iff_elim___rarg), 2, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Quot_liftOn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5824,6 +5997,7 @@ l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed lean_mark_persistent(l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__10); l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__11 = _init_l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__11(); lean_mark_persistent(l___aux__Init__Core______macroRules__Lean__Parser__Tactic__tacticRfl__1___closed__11); +l_instTransPropIff = _init_l_instTransPropIff(); l_instDecidableTrue = _init_l_instDecidableTrue(); l_instDecidableFalse = _init_l_instDecidableFalse(); l_noConfusionEnum___rarg___closed__1 = _init_l_noConfusionEnum___rarg___closed__1(); diff --git a/stage0/stdlib/Init/Data/Array/DecidableEq.c b/stage0/stdlib/Init/Data/Array/DecidableEq.c index 4d42b0de08..a9a860c454 100644 --- a/stage0/stdlib/Init/Data/Array/DecidableEq.c +++ b/stage0/stdlib/Init/Data/Array/DecidableEq.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Array.DecidableEq -// Imports: Init.Data.Array.Basic Init.Classical +// Imports: Init.Data.Array.Basic Init.ByCases #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -135,7 +135,7 @@ return x_5; } } lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*); -lean_object* initialize_Init_Classical(uint8_t builtin, lean_object*); +lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_Array_DecidableEq(uint8_t builtin, lean_object* w) { lean_object * res; @@ -144,7 +144,7 @@ _G_initialized = true; res = initialize_Init_Data_Array_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Classical(builtin, lean_io_mk_world()); +res = initialize_Init_ByCases(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/Init/Data/List/Basic.c b/stage0/stdlib/Init/Data/List/Basic.c index 30cbf1f6c7..9d5463fda5 100644 --- a/stage0/stdlib/Init/Data/List/Basic.c +++ b/stage0/stdlib/Init/Data/List/Basic.c @@ -83,11 +83,13 @@ lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_List_get___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_bind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x5b___x5d___closed__13; LEAN_EXPORT lean_object* l_List_find_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_reverseAux(lean_object*); LEAN_EXPORT uint8_t l_List_any___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_and___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_zipWithAll___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_eraseIdx___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean___aux__Init__Data__List__Basic______macroRules__term_x5b___x5d__1_expandListLit___closed__9; LEAN_EXPORT lean_object* l_List_eraseIdx___rarg(lean_object*, lean_object*); @@ -132,10 +134,12 @@ static lean_object* l_Lean___aux__Init__Data__List__Basic______macroRules__term_ LEAN_EXPORT lean_object* l___private_Init_Data_List_Basic_0__List_lengthTRAux_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filter___rarg(lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_List_zipWithAll(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_zip(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_dropLast(lean_object*); LEAN_EXPORT lean_object* l_List_replicate___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x25_x5b___x7c___x5d___closed__6; static lean_object* l_term_x5b___x5d___closed__7; LEAN_EXPORT lean_object* l_List_span___rarg(lean_object*, lean_object*); @@ -245,6 +249,7 @@ static lean_object* l_Lean___aux__Init__Data__List__Basic______macroRules__term_ LEAN_EXPORT lean_object* l_List_any(lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_instAppendList___closed__1; LEAN_EXPORT lean_object* l_List_eraseReps___rarg(lean_object*, lean_object*); static lean_object* l_term_x5b___x5d___closed__21; @@ -284,6 +289,7 @@ LEAN_EXPORT lean_object* l_List_maximum_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_isPrefixOf_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_or___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_foldr(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_appendTR(lean_object*); LEAN_EXPORT lean_object* l_List_takeWhile(lean_object*); LEAN_EXPORT lean_object* l_List_take(lean_object*); @@ -4001,6 +4007,232 @@ lean_dec(x_1); return x_3; } } +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +lean_dec(x_1); +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; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_6); +lean_inc(x_1); +x_10 = lean_apply_2(x_1, x_8, x_9); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_10); +{ +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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +lean_inc(x_1); +x_16 = lean_apply_2(x_1, x_14, x_15); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_3); +x_2 = x_13; +x_3 = x_17; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_List_mapTR_loop___at_List_zipWithAll___spec__1___rarg), 3, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +lean_dec(x_1); +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; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_6); +x_9 = lean_box(0); +lean_inc(x_1); +x_10 = lean_apply_2(x_1, x_8, x_9); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_10); +{ +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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_12); +x_15 = lean_box(0); +lean_inc(x_1); +x_16 = lean_apply_2(x_1, x_14, x_15); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_3); +x_2 = x_13; +x_3 = x_17; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_List_zipWithAll___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_List_mapTR_loop___at_List_zipWithAll___spec__2___rarg), 3, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_zipWithAll___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_box(0); +x_5 = l_List_mapTR_loop___at_List_zipWithAll___spec__1___rarg(x_1, x_3, x_4); +return x_5; +} +else +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = l_List_mapTR_loop___at_List_zipWithAll___spec__2___rarg(x_1, x_2, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_2); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_box(0); +x_13 = l_List_mapTR_loop___at_List_zipWithAll___spec__2___rarg(x_1, x_11, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_3); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_3, 0); +x_18 = lean_ctor_get(x_3, 1); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_17); +lean_inc(x_1); +x_21 = lean_apply_2(x_1, x_19, x_20); +x_22 = l_List_zipWithAll___rarg(x_1, x_15, x_18); +lean_ctor_set(x_3, 1, x_22); +lean_ctor_set(x_3, 0, x_21); +return x_3; +} +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_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_14); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_23); +lean_inc(x_1); +x_27 = lean_apply_2(x_1, x_25, x_26); +x_28 = l_List_zipWithAll___rarg(x_1, x_15, x_24); +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_List_zipWithAll(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_List_zipWithAll___rarg), 3, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_List_unzip___rarg(lean_object* x_1) { _start: { diff --git a/stage0/stdlib/Init/Data/Nat.c b/stage0/stdlib/Init/Data/Nat.c index daf9d19dfe..cdafc85d32 100644 --- a/stage0/stdlib/Init/Data/Nat.c +++ b/stage0/stdlib/Init/Data/Nat.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Nat -// Imports: Init.Data.Nat.Basic Init.Data.Nat.Div Init.Data.Nat.Gcd Init.Data.Nat.Bitwise Init.Data.Nat.Control Init.Data.Nat.Log2 Init.Data.Nat.Power2 Init.Data.Nat.Linear Init.Data.Nat.SOM +// Imports: Init.Data.Nat.Basic Init.Data.Nat.Div Init.Data.Nat.Dvd Init.Data.Nat.Gcd Init.Data.Nat.MinMax Init.Data.Nat.Bitwise Init.Data.Nat.Control Init.Data.Nat.Log2 Init.Data.Nat.Power2 Init.Data.Nat.Linear Init.Data.Nat.SOM #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,7 +15,9 @@ extern "C" { #endif lean_object* initialize_Init_Data_Nat_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Div(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Nat_Dvd(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Gcd(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Nat_MinMax(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Bitwise(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Control(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Log2(uint8_t builtin, lean_object*); @@ -33,9 +35,15 @@ lean_dec_ref(res); res = initialize_Init_Data_Nat_Div(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_Nat_Dvd(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Data_Nat_Gcd(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_Nat_MinMax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Data_Nat_Bitwise(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Init/Data/Nat/Dvd.c b/stage0/stdlib/Init/Data/Nat/Dvd.c new file mode 100644 index 0000000000..d9e9b436e6 --- /dev/null +++ b/stage0/stdlib/Init/Data/Nat/Dvd.c @@ -0,0 +1,66 @@ +// Lean compiler output +// Module: Init.Data.Nat.Dvd +// Imports: Init.Data.Nat.Div +#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_Nat_decidable__dvd___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Nat_decidable__dvd(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Nat_instDvdNat; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* lean_nat_mod(lean_object*, lean_object*); +static lean_object* _init_l_Nat_instDvdNat() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Nat_decidable__dvd(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_nat_mod(x_2, x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Nat_decidable__dvd___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Nat_decidable__dvd(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* initialize_Init_Data_Nat_Div(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_Nat_Dvd(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_Data_Nat_Div(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Nat_instDvdNat = _init_l_Nat_instDvdNat(); +lean_mark_persistent(l_Nat_instDvdNat); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Data/Nat/Gcd.c b/stage0/stdlib/Init/Data/Nat/Gcd.c index 0f7222f955..0e64f1f532 100644 --- a/stage0/stdlib/Init/Data/Nat/Gcd.c +++ b/stage0/stdlib/Init/Data/Nat/Gcd.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Nat.Gcd -// Imports: Init.Data.Nat.Div +// Imports: Init.Data.Nat.Dvd #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -25,13 +25,13 @@ lean_dec(x_1); return x_3; } } -lean_object* initialize_Init_Data_Nat_Div(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_Nat_Dvd(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Data_Nat_Gcd(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_Data_Nat_Div(builtin, lean_io_mk_world()); +res = initialize_Init_Data_Nat_Dvd(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/Init/Data/Nat/Linear.c b/stage0/stdlib/Init/Data/Nat/Linear.c index 6538eaf08a..f7d0a4e790 100644 --- a/stage0/stdlib/Init/Data/Nat/Linear.c +++ b/stage0/stdlib/Init/Data/Nat/Linear.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Data.Nat.Linear -// Imports: Init.Coe Init.Classical Init.SimpLemmas Init.Data.Nat.Basic Init.Data.List.Basic Init.Data.Prod +// Imports: Init.Coe Init.ByCases Init.Data.Nat.Basic Init.Data.List.Basic Init.Data.Prod #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -4016,8 +4016,7 @@ return x_4; } } lean_object* initialize_Init_Coe(uint8_t builtin, lean_object*); -lean_object* initialize_Init_Classical(uint8_t builtin, lean_object*); -lean_object* initialize_Init_SimpLemmas(uint8_t builtin, lean_object*); +lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Prod(uint8_t builtin, lean_object*); @@ -4029,10 +4028,7 @@ _G_initialized = true; res = initialize_Init_Coe(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Init_Classical(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_SimpLemmas(builtin, lean_io_mk_world()); +res = initialize_Init_ByCases(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Init_Data_Nat_Basic(builtin, lean_io_mk_world()); diff --git a/stage0/stdlib/Init/Data/Nat/MinMax.c b/stage0/stdlib/Init/Data/Nat/MinMax.c new file mode 100644 index 0000000000..da918f3354 --- /dev/null +++ b/stage0/stdlib/Init/Data/Nat/MinMax.c @@ -0,0 +1,29 @@ +// Lean compiler output +// Module: Init.Data.Nat.MinMax +// Imports: Init.ByCases +#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_ByCases(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_Data_Nat_MinMax(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_ByCases(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/Init/Notation.c b/stage0/stdlib/Init/Notation.c index 24dc30504b..888dec9c01 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -20,6 +20,7 @@ static lean_object* l___aux__Init__Notation______macroRules__termWithout__expect LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x2f____1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x5c_x2f____1___closed__7; static lean_object* l_termDepIfThenElse___closed__6; +LEAN_EXPORT lean_object* l_Lean_runMeta; static lean_object* l_precArg___closed__5; static lean_object* l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__9; static lean_object* l_boolIfThenElse___closed__9; @@ -99,6 +100,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3e____1 static lean_object* l_Lean_binderIdent___closed__4; static lean_object* l_term___x24_______closed__1; static lean_object* l_termIfThenElse___closed__4; +static lean_object* l_Lean_runMeta___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term_x7b___x3a___x2f_x2f___x7d__1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3d_x3d____1___closed__6; static lean_object* l_term_x7e_x7e_x7e_____closed__7; @@ -114,6 +116,7 @@ static lean_object* l_term___x3c_x3d_____closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Category_command; static lean_object* l_term___x26_x26_x26_____closed__2; static lean_object* l_termDepIfThenElse___closed__21; +static lean_object* l_Lean_runCmd___closed__3; static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__4; LEAN_EXPORT lean_object* l_term___x26_x26__; static lean_object* l_termIfLet___closed__17; @@ -148,6 +151,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____2 static lean_object* l_term___x3e_____closed__5; static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___closed__7; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__or__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_runCmd___closed__5; static lean_object* l_term___x3c_x24_x3e_____closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____2___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; @@ -169,6 +173,7 @@ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_term___x5e_x5e_x5e_____closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3d_x3d____1___closed__2; static lean_object* l_Lean_rawStx_quot___closed__9; +static lean_object* l_Lean_byElab___closed__2; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term_x21____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Category_rawStx; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____2(lean_object*, lean_object*, lean_object*); @@ -247,6 +252,7 @@ static lean_object* l_termDepIfThenElse___closed__11; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__4; static lean_object* l_term___x3d_____closed__2; static lean_object* l___aux__Init__Notation______macroRules__boolIfThenElse__1___closed__7; +static lean_object* l_Lean_runMeta___closed__6; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Neg__neg__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_addPrec___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HDiv__hDiv__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,6 +277,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e_ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HDiv__hDiv__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x5e_x5e_x5e_____closed__6; static lean_object* l___aux__Init__Notation______macroRules__term___x3e____1___closed__6; +static lean_object* l_Lean_byElab___closed__7; static lean_object* l_term___x2f_x5c_____closed__4; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HShiftRight__hShiftRight__1(lean_object*, lean_object*, lean_object*); static lean_object* l_precLead___closed__3; @@ -316,6 +323,7 @@ static lean_object* l_term___x3c_x2a_x3e_____closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x2a_x3e____1___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x2a_x3e____1___closed__5; static lean_object* l_term___x5e_x5e_x5e_____closed__2; +static lean_object* l_Lean_runMeta___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Category_term; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2b__1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3c_x2a_____closed__4; @@ -355,12 +363,14 @@ static lean_object* l_term___u2208_____closed__3; static lean_object* l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__2; static lean_object* l_term___x7c_x7c_____closed__2; static lean_object* l_Lean_withAnnotateTerm___closed__1; +static lean_object* l_Lean_runCmd___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x3c____1___closed__1; static lean_object* l_precMax___closed__2; static lean_object* l_Lean_Attr_coe___closed__4; static lean_object* l_Lean_deprecated___closed__1; static lean_object* l_term___u2223_____closed__3; static lean_object* l_term_x7b___x3a___x2f_x2f___x7d___closed__18; +static lean_object* l_Lean_runElab___closed__1; static lean_object* l_termIfLet___closed__9; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x25____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x2b_x2b____1(lean_object*, lean_object*, lean_object*); @@ -394,6 +404,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e_ static lean_object* l___aux__Init__Notation______macroRules__term___x5e____2___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___closed__4; static lean_object* l___aux__Init__Notation______macroRules__termIfLet__1___closed__9; +static lean_object* l_Lean_byElab___closed__5; static lean_object* l_term___x3c_x3c_x3c_____closed__1; static lean_object* l_termDepIfThenElse___closed__18; static lean_object* l_termMax__prec___closed__1; @@ -443,6 +454,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Category_stx; static lean_object* l___aux__Init__Notation______macroRules__boolIfThenElse__1___closed__1; static lean_object* l_term___x5e_____closed__7; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_runCmd___closed__4; static lean_object* l_prec_x28___x29___closed__8; static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__15; @@ -504,6 +516,7 @@ static lean_object* l_Lean_Parser_Syntax_subPrio___closed__1; LEAN_EXPORT lean_object* l_Lean_instCoeSyntaxTSyntaxConsSyntaxNodeKindMkStr1Nil(lean_object*); static lean_object* l_term___x7c_x7c_____closed__4; static lean_object* l_termIfLet___closed__7; +static lean_object* l_Lean_byElab___closed__9; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x26_x26____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_subPrec___closed__1; static lean_object* l_term___x3d_x3d_____closed__3; @@ -514,6 +527,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Prod__1(lean_obj static lean_object* l_termIfThenElse___closed__9; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3d____1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term_x2d____2___closed__1; +static lean_object* l_Lean_runElab___closed__2; static lean_object* l___aux__Init__Notation______macroRules__termIfLet__1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x26_x26____1___closed__7; static lean_object* l_term_x7e_x7e_x7e_____closed__3; @@ -675,6 +689,7 @@ static lean_object* l_termDepIfThenElse___closed__9; static lean_object* l_term_x2d_____closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Category_attr; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3d____1___closed__5; +static lean_object* l_Lean_runElab___closed__6; static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3e____1___closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HAdd__hAdd__1(lean_object*, lean_object*, lean_object*); @@ -687,6 +702,7 @@ static lean_object* l_Lean_Parser_Syntax_addPrec___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3c_x3c____1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HAppend__hAppend__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__prioMid__1___closed__1; +static lean_object* l_Lean_byElab___closed__3; static lean_object* l_term___xd7_____closed__1; static lean_object* l_term___x3a_x3a_____closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x2b_x2b____1___closed__2; @@ -772,6 +788,7 @@ static lean_object* l___aux__Init__Notation______macroRules__boolIfThenElse__1__ static lean_object* l_term___x2b_x2b_____closed__3; static lean_object* l_prioDefault___closed__5; static lean_object* l_term_x7b___x3a___x2f_x2f___x7d___closed__11; +LEAN_EXPORT lean_object* l_Lean_runCmd; static lean_object* l___aux__Init__Notation______macroRules__stx___x2b__1___closed__1; static lean_object* l_Lean_rawStx_quot___closed__8; static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1___closed__6; @@ -859,6 +876,7 @@ static lean_object* l_term___x5c_x2f_____closed__3; static lean_object* l_term___x3d_x3d_____closed__5; static lean_object* l_termIfThenElse___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term_x7b___x3a___x2f_x2f___x7d__1___closed__4; +static lean_object* l_Lean_byElab___closed__8; static lean_object* l_precMax___closed__5; LEAN_EXPORT lean_object* l_boolIfThenElse; static lean_object* l_term___u2218_____closed__1; @@ -872,7 +890,9 @@ lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3e_x3d____1___closed__4; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__SeqRight__seqRight__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_runElab; LEAN_EXPORT lean_object* l_Lean_Parser_Syntax_addPrio; +static lean_object* l_Lean_byElab___closed__1; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x5c_x2f____1(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x26_x26_____closed__1; static lean_object* l_Lean_Parser_Tactic_caseArg___closed__1; @@ -999,6 +1019,7 @@ static lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1__ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__LE__le__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x5e_____closed__3; static lean_object* l_stx___x2a___closed__5; +static lean_object* l_Lean_runElab___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a____1___closed__7; static lean_object* l_termDepIfThenElse___closed__5; LEAN_EXPORT lean_object* l_termMax__prec; @@ -1018,6 +1039,7 @@ static lean_object* l_Lean_Parser_Syntax_subPrec___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x2b____1___closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HXor__hXor__1(lean_object*, lean_object*, lean_object*); static lean_object* l_stx___x3f___closed__2; +static lean_object* l_Lean_runMeta___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3c____1___closed__5; static lean_object* l_Lean_Attr_coe___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x2f_x5c____1___closed__5; @@ -1084,6 +1106,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___c LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Functor__map__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_termIfThenElse; static lean_object* l___aux__Init__Notation______macroRules__term___x7c_x7c____1___closed__3; +static lean_object* l_Lean_byElab___closed__6; static lean_object* l_term___x3e_x3e_x3e_____closed__1; static lean_object* l_term___x5e_x5e_x5e_____closed__1; static lean_object* l_stx___x2a___closed__4; @@ -1091,6 +1114,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x2f____1___c static lean_object* l_term___u2227_____closed__4; static lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__and__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_byElab___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term_x7e_x7e_x7e____1___closed__2; LEAN_EXPORT lean_object* l_term___x2a__; static lean_object* l_Lean_Parser_Tactic_caseArg___closed__5; @@ -1210,6 +1234,7 @@ static lean_object* l_term___x2b_x2b_____closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x3c____1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__LE__le__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_runMeta___closed__5; static lean_object* l_term___x26_x26_____closed__6; static lean_object* l_term___x3d_x3d_____closed__6; static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1___closed__7; @@ -1225,6 +1250,7 @@ LEAN_EXPORT lean_object* l_term___u2227__; static lean_object* l_term_x7e_x7e_x7e_____closed__4; static lean_object* l_term___x3a_x3a_____closed__4; static lean_object* l_prec_x28___x29___closed__7; +static lean_object* l_Lean_runElab___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term_x7e_x7e_x7e____1___closed__3; static lean_object* l_term___x3e_____closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1___closed__12; @@ -1266,6 +1292,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x5e____2___c static lean_object* l___aux__Init__Notation______macroRules__term___x5e____1___closed__2; static lean_object* l_termDepIfThenElse___closed__7; static lean_object* l_Lean_deprecated___closed__5; +static lean_object* l_Lean_runCmd___closed__1; static lean_object* l_termWithout__expected__type_____closed__1; static lean_object* l_term_x7b___x3a___x2f_x2f___x7d___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -1291,6 +1318,7 @@ static lean_object* l_prio_x28___x29___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x26_x26____1___closed__3; LEAN_EXPORT lean_object* l_term_xac__; static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___closed__5; +static lean_object* l_Lean_runMeta___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x3a_x3a____1___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___closed__5; LEAN_EXPORT lean_object* l_Lean_instCoeOutTSyntaxSyntax___rarg___boxed(lean_object*); @@ -1304,14 +1332,17 @@ static lean_object* l_termWithout__expected__type_____closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x25____1___closed__7; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Function__comp__1___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term_xac____1___closed__1; +static lean_object* l_Lean_runCmd___closed__6; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__List__cons__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3d____1___closed__6; static lean_object* l_term___x2b_x2b_____closed__4; +LEAN_EXPORT lean_object* l_Lean_byElab; static lean_object* l_stx___x2b___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a____1___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__SeqRight__seqRight__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withAnnotateTerm___closed__3; static lean_object* l_term___x24_______closed__4; +static lean_object* l_Lean_runElab___closed__5; static lean_object* l___aux__Init__Notation______macroRules__term_x7e_x7e_x7e____1___closed__7; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__2; LEAN_EXPORT lean_object* l_stx___x2c_x2a; @@ -25976,6 +26007,106 @@ return x_35; } } } +static lean_object* _init_l_Lean_byElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("byElab", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_byElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__1; +x_2 = l_Lean_byElab___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_byElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("by_elab ", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_byElab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_byElab___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_byElab___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeq", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_byElab___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_byElab___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_byElab___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_byElab___closed__6; +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_byElab___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__7; +x_2 = l_Lean_byElab___closed__4; +x_3 = l_Lean_byElab___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_byElab___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_byElab___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_byElab___closed__8; +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_byElab() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_byElab___closed__9; +return x_1; +} +} static lean_object* _init_l_Lean_rawStx_quot___closed__1() { _start: { @@ -26467,6 +26598,222 @@ x_1 = l_Lean_includeStr___closed__6; return x_1; } } +static lean_object* _init_l_Lean_runCmd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runCmd", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_runCmd___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__1; +x_2 = l_Lean_runCmd___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_runCmd___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("run_cmd ", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_runCmd___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_runCmd___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_runCmd___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__7; +x_2 = l_Lean_runCmd___closed__4; +x_3 = l_Lean_byElab___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_runCmd___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_runCmd___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_runCmd___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_runCmd() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_runCmd___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_runElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runElab", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_runElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__1; +x_2 = l_Lean_runElab___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_runElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("run_elab ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_runElab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_runElab___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_runElab___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__7; +x_2 = l_Lean_runElab___closed__4; +x_3 = l_Lean_byElab___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_runElab___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_runElab___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_runElab___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_runElab() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_runElab___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_runMeta___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runMeta", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_runMeta___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__1; +x_2 = l_Lean_runMeta___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_runMeta___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("run_meta ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_runMeta___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_runMeta___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_runMeta___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__7; +x_2 = l_Lean_runMeta___closed__4; +x_3 = l_Lean_byElab___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_runMeta___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_runMeta___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_runMeta___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_runMeta() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_runMeta___closed__6; +return x_1; +} +} lean_object* initialize_Init_Prelude(uint8_t builtin, lean_object*); lean_object* initialize_Init_Coe(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -28650,6 +28997,26 @@ l___aux__Init__Notation______macroRules__termWithout__expected__type____1___clos lean_mark_persistent(l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__8); l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__9 = _init_l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__9(); lean_mark_persistent(l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__9); +l_Lean_byElab___closed__1 = _init_l_Lean_byElab___closed__1(); +lean_mark_persistent(l_Lean_byElab___closed__1); +l_Lean_byElab___closed__2 = _init_l_Lean_byElab___closed__2(); +lean_mark_persistent(l_Lean_byElab___closed__2); +l_Lean_byElab___closed__3 = _init_l_Lean_byElab___closed__3(); +lean_mark_persistent(l_Lean_byElab___closed__3); +l_Lean_byElab___closed__4 = _init_l_Lean_byElab___closed__4(); +lean_mark_persistent(l_Lean_byElab___closed__4); +l_Lean_byElab___closed__5 = _init_l_Lean_byElab___closed__5(); +lean_mark_persistent(l_Lean_byElab___closed__5); +l_Lean_byElab___closed__6 = _init_l_Lean_byElab___closed__6(); +lean_mark_persistent(l_Lean_byElab___closed__6); +l_Lean_byElab___closed__7 = _init_l_Lean_byElab___closed__7(); +lean_mark_persistent(l_Lean_byElab___closed__7); +l_Lean_byElab___closed__8 = _init_l_Lean_byElab___closed__8(); +lean_mark_persistent(l_Lean_byElab___closed__8); +l_Lean_byElab___closed__9 = _init_l_Lean_byElab___closed__9(); +lean_mark_persistent(l_Lean_byElab___closed__9); +l_Lean_byElab = _init_l_Lean_byElab(); +lean_mark_persistent(l_Lean_byElab); l_Lean_rawStx_quot___closed__1 = _init_l_Lean_rawStx_quot___closed__1(); lean_mark_persistent(l_Lean_rawStx_quot___closed__1); l_Lean_rawStx_quot___closed__2 = _init_l_Lean_rawStx_quot___closed__2(); @@ -28738,6 +29105,48 @@ l_Lean_includeStr___closed__6 = _init_l_Lean_includeStr___closed__6(); lean_mark_persistent(l_Lean_includeStr___closed__6); l_Lean_includeStr = _init_l_Lean_includeStr(); lean_mark_persistent(l_Lean_includeStr); +l_Lean_runCmd___closed__1 = _init_l_Lean_runCmd___closed__1(); +lean_mark_persistent(l_Lean_runCmd___closed__1); +l_Lean_runCmd___closed__2 = _init_l_Lean_runCmd___closed__2(); +lean_mark_persistent(l_Lean_runCmd___closed__2); +l_Lean_runCmd___closed__3 = _init_l_Lean_runCmd___closed__3(); +lean_mark_persistent(l_Lean_runCmd___closed__3); +l_Lean_runCmd___closed__4 = _init_l_Lean_runCmd___closed__4(); +lean_mark_persistent(l_Lean_runCmd___closed__4); +l_Lean_runCmd___closed__5 = _init_l_Lean_runCmd___closed__5(); +lean_mark_persistent(l_Lean_runCmd___closed__5); +l_Lean_runCmd___closed__6 = _init_l_Lean_runCmd___closed__6(); +lean_mark_persistent(l_Lean_runCmd___closed__6); +l_Lean_runCmd = _init_l_Lean_runCmd(); +lean_mark_persistent(l_Lean_runCmd); +l_Lean_runElab___closed__1 = _init_l_Lean_runElab___closed__1(); +lean_mark_persistent(l_Lean_runElab___closed__1); +l_Lean_runElab___closed__2 = _init_l_Lean_runElab___closed__2(); +lean_mark_persistent(l_Lean_runElab___closed__2); +l_Lean_runElab___closed__3 = _init_l_Lean_runElab___closed__3(); +lean_mark_persistent(l_Lean_runElab___closed__3); +l_Lean_runElab___closed__4 = _init_l_Lean_runElab___closed__4(); +lean_mark_persistent(l_Lean_runElab___closed__4); +l_Lean_runElab___closed__5 = _init_l_Lean_runElab___closed__5(); +lean_mark_persistent(l_Lean_runElab___closed__5); +l_Lean_runElab___closed__6 = _init_l_Lean_runElab___closed__6(); +lean_mark_persistent(l_Lean_runElab___closed__6); +l_Lean_runElab = _init_l_Lean_runElab(); +lean_mark_persistent(l_Lean_runElab); +l_Lean_runMeta___closed__1 = _init_l_Lean_runMeta___closed__1(); +lean_mark_persistent(l_Lean_runMeta___closed__1); +l_Lean_runMeta___closed__2 = _init_l_Lean_runMeta___closed__2(); +lean_mark_persistent(l_Lean_runMeta___closed__2); +l_Lean_runMeta___closed__3 = _init_l_Lean_runMeta___closed__3(); +lean_mark_persistent(l_Lean_runMeta___closed__3); +l_Lean_runMeta___closed__4 = _init_l_Lean_runMeta___closed__4(); +lean_mark_persistent(l_Lean_runMeta___closed__4); +l_Lean_runMeta___closed__5 = _init_l_Lean_runMeta___closed__5(); +lean_mark_persistent(l_Lean_runMeta___closed__5); +l_Lean_runMeta___closed__6 = _init_l_Lean_runMeta___closed__6(); +lean_mark_persistent(l_Lean_runMeta___closed__6); +l_Lean_runMeta = _init_l_Lean_runMeta(); +lean_mark_persistent(l_Lean_runMeta); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/PropLemmas.c b/stage0/stdlib/Init/PropLemmas.c new file mode 100644 index 0000000000..a212d8f27d --- /dev/null +++ b/stage0/stdlib/Init/PropLemmas.c @@ -0,0 +1,295 @@ +// Lean compiler output +// Module: Init.PropLemmas +// Imports: Init.Core Init.NotationExtra +#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_decidable__of__iff(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases_x27(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_exists__prop__decidable___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_forall__prop__decidable(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_exists__prop__decidable___rarg(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_forall__prop__decidable___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_decidable__of__bool___rarg(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_decidable__of__bool(lean_object*); +LEAN_EXPORT uint8_t l_decidable__of__iff_x27___rarg(uint8_t); +LEAN_EXPORT lean_object* l_decidable__of__bool___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_decidable__of__iff___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_decidable__of__iff___rarg(uint8_t); +LEAN_EXPORT lean_object* l_decidable__of__iff_x27(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Decidable_predToBool___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Decidable_predToBool(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_decidable__of__iff_x27___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_forall__prop__decidable___rarg(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_exists__prop__decidable(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases_x27___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Or_by__cases___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_6; +lean_dec(x_4); +x_6 = lean_apply_1(x_5, lean_box(0)); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_5); +x_7 = lean_apply_1(x_4, lean_box(0)); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Or_by__cases(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Or_by__cases___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Or_by__cases___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Or_by__cases___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Or_by__cases_x27___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_6; +lean_dec(x_5); +x_6 = lean_apply_1(x_4, lean_box(0)); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = lean_apply_1(x_5, lean_box(0)); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Or_by__cases_x27(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Or_by__cases_x27___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Or_by__cases_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Or_by__cases_x27___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_exists__prop__decidable___rarg(uint8_t x_1, lean_object* x_2) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_3; lean_object* x_4; +lean_dec(x_2); +x_3 = 0; +x_4 = lean_box(x_3); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_apply_1(x_2, lean_box(0)); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_exists__prop__decidable(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_exists__prop__decidable___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_exists__prop__decidable___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_exists__prop__decidable___rarg(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_forall__prop__decidable___rarg(uint8_t x_1, lean_object* x_2) { +_start: +{ +if (x_1 == 0) +{ +uint8_t x_3; lean_object* x_4; +lean_dec(x_2); +x_3 = 1; +x_4 = lean_box(x_3); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_apply_1(x_2, lean_box(0)); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_forall__prop__decidable(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_forall__prop__decidable___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_forall__prop__decidable___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_forall__prop__decidable___rarg(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT uint8_t l_decidable__of__iff___rarg(uint8_t x_1) { +_start: +{ +return x_1; +} +} +LEAN_EXPORT lean_object* l_decidable__of__iff(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_decidable__of__iff___rarg___boxed), 1, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_decidable__of__iff___rarg___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_decidable__of__iff___rarg(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_decidable__of__iff_x27___rarg(uint8_t x_1) { +_start: +{ +return x_1; +} +} +LEAN_EXPORT lean_object* l_decidable__of__iff_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_decidable__of__iff_x27___rarg___boxed), 1, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_decidable__of__iff_x27___rarg___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_decidable__of__iff_x27___rarg(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Decidable_predToBool___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Decidable_predToBool(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Decidable_predToBool___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT uint8_t l_decidable__of__bool___rarg(uint8_t x_1, lean_object* x_2) { +_start: +{ +return x_1; +} +} +LEAN_EXPORT lean_object* l_decidable__of__bool(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_decidable__of__bool___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_decidable__of__bool___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_decidable__of__bool___rarg(x_3, x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* initialize_Init_Core(uint8_t builtin, lean_object*); +lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Init_PropLemmas(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_Core(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_NotationExtra(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/Init/Tactics.c b/stage0/stdlib/Init/Tactics.c index 1bf8e9def3..ab04226b09 100644 --- a/stage0/stdlib/Init/Tactics.c +++ b/stage0/stdlib/Init/Tactics.c @@ -28,6 +28,7 @@ static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_specialize; static lean_object* l_Lean_Parser_Tactic_withUnfoldingAll___closed__3; static lean_object* l_Lean_Parser_Tactic_case_x27___closed__8; +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__3; static lean_object* l_Lean_Parser_Tactic_split___closed__5; static lean_object* l_Lean_Parser_Tactic_intro___closed__15; static lean_object* l_term_____x5b___x5d___closed__5; @@ -41,12 +42,14 @@ static lean_object* l_Lean_Parser_Tactic_discharger___closed__10; LEAN_EXPORT lean_object* l_tacticGet__elem__tactic__trivial; static lean_object* l_Lean_Parser_Tactic_discharger___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__1; +static lean_object* l_Lean_Parser_Tactic_tacticAnd__intros___closed__4; static lean_object* l_Lean_Parser_Tactic_simpStar___closed__2; static lean_object* l_Lean_Parser_Tactic_injection___closed__7; static lean_object* l_term_u2039___u203a___closed__5; static lean_object* l_term_u2039___u203a___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_first___closed__27; +static lean_object* l_Lean_Parser_Tactic_tacticAnd__intros___closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Parser_Tactic_inductionAltLHS___closed__10; @@ -87,6 +90,7 @@ static lean_object* l_Lean_Parser_Tactic_simpStar___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRfl_x27__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_runTac___closed__7; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__9; @@ -97,6 +101,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__5; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__2; static lean_object* l_Lean_Parser_Tactic_refine___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticInfer__instance___closed__4; +static lean_object* l_Lean_Parser_Tactic_tacticAnd__intros___closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__11; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__1; @@ -140,6 +145,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__1; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__1; 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; 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; @@ -147,6 +153,7 @@ static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__13; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRfl_x27__1___closed__8; static lean_object* l_Lean_Parser_Tactic_intro___closed__21; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticAnd__intros; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__13; static lean_object* l_Lean_Parser_Tactic_traceState___closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__10; @@ -175,6 +182,7 @@ static lean_object* l_Lean_Parser_Tactic_intros___closed__13; static lean_object* l_Lean_Parser_Tactic_subst___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNofun__1___closed__1; static lean_object* l_Lean_Parser_Tactic_fail___closed__3; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__5; static lean_object* l_Lean_Parser_Tactic_revert___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRfl__2___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticRwa_______closed__1; @@ -304,18 +312,22 @@ static lean_object* l_term_____x5b___x5d_x27_____closed__3; static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__19; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__7; LEAN_EXPORT lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_repeat_x27; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__11; static lean_object* l_Lean_Parser_Tactic_config___closed__2; +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; 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; static lean_object* l_Lean_Parser_Attr_simp___closed__6; static lean_object* l_Lean_Parser_Tactic_simp___closed__18; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__4; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_replace; static lean_object* l_Lean_Parser_Tactic_intros___closed__15; static lean_object* l_Lean_Parser_Tactic_substVars___closed__3; static lean_object* l_Lean_Parser_Tactic_specialize___closed__4; @@ -347,6 +359,7 @@ static lean_object* l_Lean_Parser_Tactic_config___closed__12; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__24; static lean_object* l_Lean_Parser_Tactic_tacticNofun___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rename; +static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__5; static lean_object* l_Lean_Parser_Tactic_change___closed__8; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__3; @@ -365,6 +378,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__6; static lean_object* l_Lean_Parser_Tactic_delta___closed__7; LEAN_EXPORT lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticInfer__instance; +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRwa_______closed__4; static lean_object* l_Lean_Parser_Tactic_eqRefl___closed__1; static lean_object* l_term_____x5b___x5d___closed__7; @@ -413,6 +427,8 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRul static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__2; static lean_object* l_Lean_Parser_Tactic_case_x27___closed__3; +static lean_object* l_Lean_Parser_Tactic_replace___closed__2; +static lean_object* l_Lean_Parser_Tactic_tacticAnd__intros___closed__3; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__20; static lean_object* l_Lean_Parser_Tactic_renameI___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_generalizeArg; @@ -428,11 +444,13 @@ static lean_object* l_Lean_Parser_Tactic_rwRule___closed__1; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__3; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5; static lean_object* l_Lean_Parser_Tactic_first___closed__9; +static lean_object* l_Lean_Parser_Tactic_replace___closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticLet_x27__; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; static lean_object* l_Lean_Parser_Tactic_exact___closed__6; static lean_object* l_Lean_Parser_Tactic_delta___closed__4; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__3; @@ -452,6 +470,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11; static lean_object* l_term_____x5b___x5d___closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__4; +static lean_object* l_Lean_Parser_Tactic_tacticAnd__intros___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); @@ -465,6 +484,7 @@ static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__2; 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_anyGoals___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__1; @@ -487,9 +507,11 @@ static lean_object* l_Lean_Parser_Tactic_simpPost___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAltLHS___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__15; +static lean_object* l_Lean_Parser_Tactic_replace___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__1; static lean_object* l_Lean_Parser_Tactic_rename___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRfl_x27___closed__3; +static lean_object* l_Lean_Parser_Tactic_replace___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rwRuleSeq; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1___closed__2; static lean_object* l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__4; @@ -549,6 +571,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L LEAN_EXPORT lean_object* l___aux__Init__Tactics______macroRules__term_____x5b___x5d_x27____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_cases___closed__11; static lean_object* l_Lean_Parser_Tactic_right___closed__3; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__8; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__7; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__8; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1; @@ -578,6 +601,7 @@ static lean_object* l_Lean_Parser_Tactic_split___closed__7; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__11; LEAN_EXPORT lean_object* l_term_u2039___u203a; static lean_object* l_Lean_Parser_Tactic_discharger___closed__14; +static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__2; static lean_object* l_Lean_Parser_Tactic_skip___closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; static lean_object* l_Lean_Parser_Tactic_discharger___closed__5; @@ -626,6 +650,7 @@ static lean_object* l_Lean_Parser_Tactic_clear___closed__4; static lean_object* l_Lean_Parser_Tactic_apply___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__4; static lean_object* l_Lean_Parser_Tactic_focus___closed__5; static lean_object* l_Lean_Parser_Tactic_simpStar___closed__4; @@ -641,6 +666,7 @@ static lean_object* l_Lean_Parser_Tactic_withUnfoldingAll___closed__6; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c___closed__3; static lean_object* l_Lean_Parser_Tactic_unfold___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_repeat1_x27; static lean_object* l_Lean_Parser_Tactic_induction___closed__15; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticExists___x2c_x2c__1___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__4; @@ -728,6 +754,7 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticRwa_______closed__7; static lean_object* l_Lean_Parser_Tactic_cases___closed__3; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticInfer__instance__1___closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAltLHS___closed__11; static lean_object* l_Lean_Parser_Tactic_intro___closed__22; @@ -742,6 +769,7 @@ 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_simp___closed__16; static lean_object* l_Lean_Parser_Tactic_inductionAltLHS___closed__5; +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__12; static lean_object* l_Lean_Parser_Tactic_assumption___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__3; @@ -749,6 +777,7 @@ static lean_object* l_Lean_Parser_Attr_simp___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_withAnnotateState; static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__22; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__2; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__9; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__7; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; @@ -854,6 +883,7 @@ static lean_object* l_Lean_Parser_Tactic_intros___closed__5; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__8; static lean_object* l_Lean_Parser_Tactic_tacDepIfThenElse___closed__31; +static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c; static lean_object* l_tacticGet__elem__tactic___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__25; @@ -924,6 +954,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__4; static lean_object* l_Lean_Parser_Tactic_location___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c___closed__5; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__4; +static lean_object* l_Lean_Parser_Tactic_repeat_x27___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__5___closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__3; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__21; @@ -967,6 +998,7 @@ static lean_object* l_Lean_Parser_Tactic_intro___closed__1; static lean_object* l_Lean_Parser_Tactic_paren___closed__11; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__5; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__1; +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__4; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c___closed__4; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__2; @@ -1004,9 +1036,11 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_revert; static lean_object* l___aux__Init__Tactics______macroRules__term_____x5b___x5d__1___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__5; static lean_object* l_Lean_Parser_Tactic_config___closed__10; +static lean_object* l_Lean_Parser_Tactic_runTac___closed__1; static lean_object* l_Lean_Parser_Tactic_paren___closed__6; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__5; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__13; +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__5; static lean_object* l_Lean_Parser_Tactic_intros___closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNomatch___x2c_x2c__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_caseArg; @@ -1071,6 +1105,7 @@ static lean_object* l_Lean_Parser_Tactic_anyGoals___closed__1; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__14; static lean_object* l_Lean_Parser_Tactic_config___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticAnd__intros__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__10; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__11; static lean_object* l_Lean_Parser_Tactic_first___closed__10; @@ -1107,6 +1142,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_simpPre___closed__5; static lean_object* l_Lean_Parser_Tactic_case___closed__10; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_repeat1_x27___closed__6; static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__1___closed__1; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__13; static lean_object* l_Lean_Parser_Tactic_intro___closed__8; @@ -1227,6 +1263,7 @@ static lean_object* l_Lean_Parser_Tactic_change___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSuffices____1___closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__11; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_runTac; static lean_object* l_Lean_Parser_Tactic_first___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAll; static lean_object* l_Lean_Parser_Tactic_specialize___closed__6; @@ -6807,36 +6844,22 @@ return x_5; static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7; -x_2 = l_Lean_Parser_Tactic_revert___closed__6; -x_3 = l_Lean_Parser_Tactic_withAnnotateState___closed__16; -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_locationHyp___closed__4() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("patternIgnore", 13); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__4; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__5() { _start: { lean_object* x_1; @@ -6844,33 +6867,33 @@ x_1 = lean_mk_string_from_bytes("noWs", 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__6; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__7; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__6; 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_Tactic_locationHyp___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__8() { _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_intro___closed__7; -x_3 = l_Lean_Parser_Tactic_locationHyp___closed__8; +x_3 = l_Lean_Parser_Tactic_locationHyp___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); @@ -6878,7 +6901,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__9() { _start: { lean_object* x_1; @@ -6886,23 +6909,23 @@ x_1 = lean_mk_string_from_bytes("-", 1); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__10; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__9; 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_Tactic_locationHyp___closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__11() { _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_locationHyp___closed__9; -x_3 = l_Lean_Parser_Tactic_locationHyp___closed__11; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__8; +x_3 = l_Lean_Parser_Tactic_locationHyp___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); @@ -6910,11 +6933,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_config___closed__4; +x_2 = l_Lean_Parser_Tactic_locationHyp___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_Parser_Tactic_locationHyp___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_first___closed__8; x_2 = l_Lean_Parser_Tactic_locationHyp___closed__12; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6925,24 +6960,12 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_first___closed__8; -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__13; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__15() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("token", 5); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__16() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__15() { _start: { lean_object* x_1; @@ -6950,34 +6973,48 @@ x_1 = lean_mk_string_from_bytes("⊢", 3); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__17() { +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__16; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__14; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__15; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +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_Tactic_locationHyp___closed__18() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__16; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__16; +x_3 = l_Lean_Parser_Tactic_locationHyp___closed__17; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__16; -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__17; +x_1 = l_Lean_Parser_Tactic_intros___closed__5; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__13; x_3 = l_Lean_Parser_Tactic_locationHyp___closed__18; -x_4 = lean_alloc_ctor(9, 3, 0); +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); @@ -6988,8 +7025,8 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_intros___closed__5; -x_2 = l_Lean_Parser_Tactic_locationHyp___closed__14; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7; +x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__16; x_3 = l_Lean_Parser_Tactic_locationHyp___closed__19; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -7002,7 +7039,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__5; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__4; x_2 = l_Lean_Parser_Tactic_locationHyp___closed__20; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7027,7 +7064,7 @@ _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_locationHyp___closed__3; +x_2 = l_Lean_Parser_Tactic_revert___closed__6; x_3 = l_Lean_Parser_Tactic_locationHyp___closed__22; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -7394,7 +7431,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rwRule___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__14; x_2 = l_Lean_Parser_Tactic_rwRule___closed__3; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -7436,7 +7473,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rwRule___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__14; x_2 = l_Lean_Parser_Tactic_rwRule___closed__7; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -7484,7 +7521,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_rwRule___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__5; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__4; x_2 = l_Lean_Parser_Tactic_rwRule___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8792,7 +8829,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_discharger___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__14; x_2 = l_Lean_Parser_Tactic_discharger___closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -8836,7 +8873,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_discharger___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__15; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__14; x_2 = l_Lean_Parser_Tactic_discharger___closed__6; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -8886,7 +8923,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_discharger___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_locationHyp___closed__5; +x_1 = l_Lean_Parser_Tactic_locationHyp___closed__4; x_2 = l_Lean_Parser_Tactic_discharger___closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9225,7 +9262,7 @@ _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_locationHyp___closed__11; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__10; x_3 = l_Lean_Parser_Tactic_intro___closed__18; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -16049,6 +16086,483 @@ return x_26; } } } +static lean_object* _init_l_Lean_Parser_Tactic_replace___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("replace", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_replace___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_replace___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_replace___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_replace___closed__1; +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_replace___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7; +x_2 = l_Lean_Parser_Tactic_replace___closed__3; +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_replace___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_replace___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_replace___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_replace() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_replace___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat'", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat_x27___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_repeat_x27___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_repeat_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat' ", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat_x27___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_repeat_x27___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_repeat_x27___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_repeat_x27___closed__4; +x_3 = l_Lean_Parser_Tactic_case___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_Parser_Tactic_repeat_x27___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_repeat_x27___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_repeat_x27___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_repeat_x27() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_repeat_x27___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat1_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat1'", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat1_x27___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_repeat1_x27___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_repeat1_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat1' ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_repeat1_x27___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_repeat1_x27___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_repeat1_x27___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_repeat1_x27___closed__4; +x_3 = l_Lean_Parser_Tactic_case___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_Parser_Tactic_repeat1_x27___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_repeat1_x27___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_repeat1_x27___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_repeat1_x27() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_repeat1_x27___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticAnd_intros", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticAnd__intros___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_tacticAnd__intros___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_tacticAnd__intros___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("and_intros", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticAnd__intros___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_tacticAnd__intros___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_tacticAnd__intros___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_tacticAnd__intros___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_tacticAnd__intros() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_tacticAnd__intros___closed__5; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticAnd__intros__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_tacticAnd__intros___closed__2; +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); +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; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; +x_8 = lean_ctor_get(x_2, 5); +lean_inc(x_8); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l_Lean_Parser_Tactic_repeat_x27___closed__1; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_refine___closed__1; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__4; +x_18 = l_Lean_addMacroScope(x_12, x_17, x_11); +x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__2; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__6___closed__6; +lean_inc(x_10); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_10); +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_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__6; +lean_inc(x_10); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +lean_inc(x_10); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_10); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +lean_inc(x_10); +x_27 = l_Lean_Syntax_node1(x_10, x_26, x_25); +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; +lean_inc(x_10); +x_29 = l_Lean_Syntax_node2(x_10, x_28, x_23, x_27); +x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; +lean_inc(x_29); +lean_inc(x_10); +x_31 = l_Lean_Syntax_node2(x_10, x_30, x_29, x_29); +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__2; +lean_inc(x_10); +x_33 = l_Lean_Syntax_node2(x_10, x_32, x_21, x_31); +x_34 = l_Lean_Parser_Tactic_refine___closed__2; +lean_inc(x_10); +x_35 = l_Lean_Syntax_node2(x_10, x_34, x_16, x_33); +lean_inc(x_10); +x_36 = l_Lean_Syntax_node1(x_10, x_30, x_35); +x_37 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__3; +lean_inc(x_10); +x_38 = l_Lean_Syntax_node1(x_10, x_37, x_36); +x_39 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__1; +lean_inc(x_10); +x_40 = l_Lean_Syntax_node1(x_10, x_39, x_38); +x_41 = l_Lean_Parser_Tactic_repeat_x27___closed__2; +x_42 = l_Lean_Syntax_node2(x_10, x_41, x_14, x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_3); +return x_43; +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_runTac___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runTac", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_runTac___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_runTac___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_runTac___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("run_tac ", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_runTac___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_runTac___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_runTac___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeq", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_runTac___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_runTac___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_runTac___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_runTac___closed__6; +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_Tactic_runTac___closed__8() { +_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_runTac___closed__4; +x_3 = l_Lean_Parser_Tactic_runTac___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_runTac___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_runTac___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_runTac___closed__8; +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_runTac() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_runTac___closed__9; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Attr_simp___closed__1() { _start: { @@ -17045,7 +17559,7 @@ _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_locationHyp___closed__8; +x_2 = l_Lean_Parser_Tactic_locationHyp___closed__7; x_3 = l_term_____x5b___x5d___closed__3; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -19643,6 +20157,78 @@ l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNomatch___x2c_x2c__1___closed__1); l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNomatch___x2c_x2c__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNomatch___x2c_x2c__1___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNomatch___x2c_x2c__1___closed__2); +l_Lean_Parser_Tactic_replace___closed__1 = _init_l_Lean_Parser_Tactic_replace___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace___closed__1); +l_Lean_Parser_Tactic_replace___closed__2 = _init_l_Lean_Parser_Tactic_replace___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace___closed__2); +l_Lean_Parser_Tactic_replace___closed__3 = _init_l_Lean_Parser_Tactic_replace___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace___closed__3); +l_Lean_Parser_Tactic_replace___closed__4 = _init_l_Lean_Parser_Tactic_replace___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace___closed__4); +l_Lean_Parser_Tactic_replace___closed__5 = _init_l_Lean_Parser_Tactic_replace___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace___closed__5); +l_Lean_Parser_Tactic_replace = _init_l_Lean_Parser_Tactic_replace(); +lean_mark_persistent(l_Lean_Parser_Tactic_replace); +l_Lean_Parser_Tactic_repeat_x27___closed__1 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__1); +l_Lean_Parser_Tactic_repeat_x27___closed__2 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__2); +l_Lean_Parser_Tactic_repeat_x27___closed__3 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__3); +l_Lean_Parser_Tactic_repeat_x27___closed__4 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__4); +l_Lean_Parser_Tactic_repeat_x27___closed__5 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__5); +l_Lean_Parser_Tactic_repeat_x27___closed__6 = _init_l_Lean_Parser_Tactic_repeat_x27___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27___closed__6); +l_Lean_Parser_Tactic_repeat_x27 = _init_l_Lean_Parser_Tactic_repeat_x27(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat_x27); +l_Lean_Parser_Tactic_repeat1_x27___closed__1 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__1); +l_Lean_Parser_Tactic_repeat1_x27___closed__2 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__2); +l_Lean_Parser_Tactic_repeat1_x27___closed__3 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__3); +l_Lean_Parser_Tactic_repeat1_x27___closed__4 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__4); +l_Lean_Parser_Tactic_repeat1_x27___closed__5 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__5); +l_Lean_Parser_Tactic_repeat1_x27___closed__6 = _init_l_Lean_Parser_Tactic_repeat1_x27___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27___closed__6); +l_Lean_Parser_Tactic_repeat1_x27 = _init_l_Lean_Parser_Tactic_repeat1_x27(); +lean_mark_persistent(l_Lean_Parser_Tactic_repeat1_x27); +l_Lean_Parser_Tactic_tacticAnd__intros___closed__1 = _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros___closed__1); +l_Lean_Parser_Tactic_tacticAnd__intros___closed__2 = _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros___closed__2); +l_Lean_Parser_Tactic_tacticAnd__intros___closed__3 = _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros___closed__3); +l_Lean_Parser_Tactic_tacticAnd__intros___closed__4 = _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticAnd__intros___closed__4); +l_Lean_Parser_Tactic_tacticAnd__intros___closed__5 = _init_l_Lean_Parser_Tactic_tacticAnd__intros___closed__5(); +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_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(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__2); +l_Lean_Parser_Tactic_runTac___closed__3 = _init_l_Lean_Parser_Tactic_runTac___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__3); +l_Lean_Parser_Tactic_runTac___closed__4 = _init_l_Lean_Parser_Tactic_runTac___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__4); +l_Lean_Parser_Tactic_runTac___closed__5 = _init_l_Lean_Parser_Tactic_runTac___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__5); +l_Lean_Parser_Tactic_runTac___closed__6 = _init_l_Lean_Parser_Tactic_runTac___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__6); +l_Lean_Parser_Tactic_runTac___closed__7 = _init_l_Lean_Parser_Tactic_runTac___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__7); +l_Lean_Parser_Tactic_runTac___closed__8 = _init_l_Lean_Parser_Tactic_runTac___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_runTac___closed__8); +l_Lean_Parser_Tactic_runTac___closed__9 = _init_l_Lean_Parser_Tactic_runTac___closed__9(); +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_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/TacticsExtra.c b/stage0/stdlib/Init/TacticsExtra.c index 0eb9c6d9a0..bb03b8649e 100644 --- a/stage0/stdlib/Init/TacticsExtra.c +++ b/stage0/stdlib/Init/TacticsExtra.c @@ -16,7 +16,10 @@ extern "C" { static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__27; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__25; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__4; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__20; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__19; @@ -31,16 +34,20 @@ static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIf static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__40; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__18; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__13; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__41; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__1; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__3; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__2; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__56; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__11; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__9; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__3; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__55; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__42; @@ -48,16 +55,23 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__3; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__22; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__3; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__10; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__4; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__15; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__1; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__5; +static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -67,19 +81,27 @@ static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIf LEAN_EXPORT lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__15; +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticIterate________; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__36; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__9; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__16; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__52; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__22; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__45; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__21; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__32; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__54; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__2; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__5; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___closed__2; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__10; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__8; @@ -87,22 +109,30 @@ lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__5; +lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__19; size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__28; lean_object* l_Lean_Syntax_node8(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_Parser_Tactic_tacticIterate___________closed__18; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__48; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__17; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__14; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__17; lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__11; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__37; lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__14; +static lean_object* l_Lean_Parser_Tactic_tacticIterate___________closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacDepIfThenElse__1___lambda__1___closed__2; static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__53; @@ -111,8 +141,13 @@ static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIf lean_object* l_String_toSubstring_x27(lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__38; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Syntax_toNat(lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34; +static lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3; +lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__29; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: @@ -2390,6 +2425,529 @@ return x_29; } } } +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticIterate____", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_4 = l_Lean_Parser_Tactic_tacticIterate___________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_tacticIterate___________closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("andthen", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("iterate", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__5; +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_tacticIterate___________closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("optional", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ppSpace", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________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_Tactic_tacticIterate___________closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__10; +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_Tactic_tacticIterate___________closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("num", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__13; +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_Tactic_tacticIterate___________closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4; +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__11; +x_3 = l_Lean_Parser_Tactic_tacticIterate___________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_Tactic_tacticIterate___________closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__8; +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__15; +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_Tactic_tacticIterate___________closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4; +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__6; +x_3 = l_Lean_Parser_Tactic_tacticIterate___________closed__16; +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_tacticIterate___________closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4; +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__17; +x_3 = l_Lean_Parser_Tactic_tacticIterate___________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_Parser_Tactic_tacticIterate___________closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__23; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticIterate___________closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__19; +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_Tactic_tacticIterate___________closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__4; +x_2 = l_Lean_Parser_Tactic_tacticIterate___________closed__18; +x_3 = l_Lean_Parser_Tactic_tacticIterate___________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_Parser_Tactic_tacticIterate___________closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_tacticIterate___________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_Parser_Tactic_tacticIterate________() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_tacticIterate___________closed__22; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("seq1", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________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___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________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_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticTry_", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___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___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__1; +x_2 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__2; +x_3 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__12; +x_4 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___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_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("try", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________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_tacticIterate___________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; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(0u); +lean_inc(x_9); +x_11 = l_Lean_Syntax_matchesNull(x_9, x_10); +if (x_11 == 0) +{ +uint8_t x_12; +lean_inc(x_9); +x_12 = l_Lean_Syntax_matchesNull(x_9, x_8); +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; uint8_t x_19; +x_15 = l_Lean_Syntax_getArg(x_9, x_10); +lean_dec(x_9); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +lean_dec(x_1); +x_18 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24; +lean_inc(x_17); +x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_2); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = l_Lean_Syntax_toNat(x_15); +lean_dec(x_15); +x_23 = lean_nat_dec_eq(x_22, x_10); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_24 = lean_nat_sub(x_22, x_8); +lean_dec(x_22); +x_25 = lean_ctor_get(x_2, 5); +lean_inc(x_25); +lean_dec(x_2); +x_26 = 0; +x_27 = l_Lean_SourceInfo_fromRef(x_25, x_26); +x_28 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35; +lean_inc(x_27); +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51; +lean_inc(x_27); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +x_32 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34; +lean_inc(x_17); +lean_inc(x_27); +x_33 = l_Lean_Syntax_node3(x_27, x_32, x_29, x_17, x_31); +x_34 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49; +lean_inc(x_27); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_27); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Parser_Tactic_tacticIterate___________closed__5; +lean_inc(x_27); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Nat_repr(x_24); +x_39 = lean_box(2); +x_40 = l_Lean_Syntax_mkNumLit(x_38, x_39); +x_41 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +lean_inc(x_27); +x_42 = l_Lean_Syntax_node1(x_27, x_41, x_40); +lean_inc(x_27); +x_43 = l_Lean_Syntax_node3(x_27, x_4, x_37, x_42, x_17); +lean_inc(x_27); +x_44 = l_Lean_Syntax_node3(x_27, x_41, x_33, x_35, x_43); +x_45 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2; +x_46 = l_Lean_Syntax_node1(x_27, x_45, x_44); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_3); +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; +lean_dec(x_22); +lean_dec(x_17); +x_48 = lean_ctor_get(x_2, 5); +lean_inc(x_48); +lean_dec(x_2); +x_49 = 0; +x_50 = l_Lean_SourceInfo_fromRef(x_48, x_49); +x_51 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__30; +lean_inc(x_50); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__31; +x_54 = l_Lean_Syntax_node1(x_50, x_53, x_52); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +return x_55; +} +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_9); +x_56 = lean_unsigned_to_nat(2u); +x_57 = l_Lean_Syntax_getArg(x_1, x_56); +lean_dec(x_1); +x_58 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__24; +lean_inc(x_57); +x_59 = l_Lean_Syntax_isOfKind(x_57, x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_57); +lean_dec(x_2); +x_60 = lean_box(1); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_3); +return x_61; +} +else +{ +lean_object* x_62; uint8_t 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; +x_62 = lean_ctor_get(x_2, 5); +lean_inc(x_62); +lean_dec(x_2); +x_63 = 0; +x_64 = l_Lean_SourceInfo_fromRef(x_62, x_63); +x_65 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5; +lean_inc(x_64); +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__35; +lean_inc(x_64); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__51; +lean_inc(x_64); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_64); +lean_ctor_set(x_70, 1, x_69); +x_71 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__34; +lean_inc(x_57); +lean_inc(x_64); +x_72 = l_Lean_Syntax_node3(x_64, x_71, x_68, x_57, x_70); +x_73 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__49; +lean_inc(x_64); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_64); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Parser_Tactic_tacticIterate___________closed__5; +lean_inc(x_64); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_64); +lean_ctor_set(x_76, 1, x_75); +x_77 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__16; +x_78 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__21; +lean_inc(x_64); +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_64); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 2, x_78); +lean_inc(x_64); +x_80 = l_Lean_Syntax_node3(x_64, x_4, x_76, x_79, x_57); +lean_inc(x_64); +x_81 = l_Lean_Syntax_node3(x_64, x_77, x_72, x_74, x_80); +x_82 = l___private_Init_TacticsExtra_0__Lean_Parser_Tactic_expandIfThenElse___closed__26; +lean_inc(x_64); +x_83 = l_Lean_Syntax_node1(x_64, x_82, x_81); +lean_inc(x_64); +x_84 = l_Lean_Syntax_node1(x_64, x_58, x_83); +x_85 = l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4; +x_86 = l_Lean_Syntax_node2(x_64, x_85, x_66, x_84); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_3); +return x_87; +} +} +} +} +} lean_object* initialize_Init_Tactics(uint8_t builtin, lean_object*); lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -2541,6 +3099,62 @@ l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Ta lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__1); l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacIfThenElse__1___closed__2); +l_Lean_Parser_Tactic_tacticIterate___________closed__1 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__1); +l_Lean_Parser_Tactic_tacticIterate___________closed__2 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__2); +l_Lean_Parser_Tactic_tacticIterate___________closed__3 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__3); +l_Lean_Parser_Tactic_tacticIterate___________closed__4 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__4); +l_Lean_Parser_Tactic_tacticIterate___________closed__5 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__5); +l_Lean_Parser_Tactic_tacticIterate___________closed__6 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__6); +l_Lean_Parser_Tactic_tacticIterate___________closed__7 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__7); +l_Lean_Parser_Tactic_tacticIterate___________closed__8 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__8); +l_Lean_Parser_Tactic_tacticIterate___________closed__9 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__9); +l_Lean_Parser_Tactic_tacticIterate___________closed__10 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__10); +l_Lean_Parser_Tactic_tacticIterate___________closed__11 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__11); +l_Lean_Parser_Tactic_tacticIterate___________closed__12 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__12); +l_Lean_Parser_Tactic_tacticIterate___________closed__13 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__13); +l_Lean_Parser_Tactic_tacticIterate___________closed__14 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__14); +l_Lean_Parser_Tactic_tacticIterate___________closed__15 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__15); +l_Lean_Parser_Tactic_tacticIterate___________closed__16 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__16); +l_Lean_Parser_Tactic_tacticIterate___________closed__17 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__17); +l_Lean_Parser_Tactic_tacticIterate___________closed__18 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__18); +l_Lean_Parser_Tactic_tacticIterate___________closed__19 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__19(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__19); +l_Lean_Parser_Tactic_tacticIterate___________closed__20 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__20(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__20); +l_Lean_Parser_Tactic_tacticIterate___________closed__21 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__21(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__21); +l_Lean_Parser_Tactic_tacticIterate___________closed__22 = _init_l_Lean_Parser_Tactic_tacticIterate___________closed__22(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate___________closed__22); +l_Lean_Parser_Tactic_tacticIterate________ = _init_l_Lean_Parser_Tactic_tacticIterate________(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticIterate________); +l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__1); +l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__2); +l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__3); +l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__4); +l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5 = _init_l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__TacticsExtra______macroRules__Lean__Parser__Tactic__tacticIterate__________1___closed__5); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c b/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c index ab403f5d35..a477d1cd36 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c @@ -39,6 +39,7 @@ lean_object* l_LLVM_i16Type(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanInitTaskManager(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_add_case(size_t, size_t, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__2(size_t, size_t, size_t, size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__2(size_t, size_t, size_t, size_t, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_instToStringRefcountKind___boxed(lean_object*); lean_object* lean_llvm_append_basic_block_in_context(size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_IR_instInhabitedAlt; @@ -65,6 +66,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_getModuleFunctions(size_t, size_t, lean_objec static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_throwInvalidExportName___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntSizeT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitExternDeclAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_hasMainFn___rarg___boxed(lean_object*, lean_object*); @@ -84,6 +86,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntUnsigned(size_t, lean_object static lean_object* l_Lean_IR_EmitLLVM_emitJp___closed__3; static lean_object* l_Lean_IR_EmitLLVM_emitInitFn___closed__2; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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_object* lean_llvm_position_builder_before(size_t, size_t, size_t, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_instInhabitedM___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_EmitLLVM_emitDeclAux___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_IR_EmitLLVM_addVartoState___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -122,6 +125,7 @@ static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__8___closed__2; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_IR_EmitLLVM_emitFnDecls___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getInitFnNameForCore_x3f(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitPartialApp(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitReuse___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDec(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -211,7 +215,6 @@ uint8_t l_List_any___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanInitialize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCStrToNatFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFnBody___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_get_named_global(size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_callLeanMarkPersistentFn___closed__1; @@ -240,6 +243,7 @@ static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFns(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCStrToNatFn(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThenElse_____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_IR_EmitLLVM_constInt64(size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitApp___spec__1(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitFnDeclAux___spec__1(size_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitSProj___closed__5; @@ -309,7 +313,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_addJpTostate(size_t, lean_object*, s uint8_t l_Lean_IR_usesModuleFrom(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_IR_EmitLLVM_emitInitFn___spec__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_LLVM_constInt32(size_t, uint64_t, uint8_t, lean_object*); lean_object* l_Lean_IR_Decl_params(lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getDecl___boxed(lean_object*); @@ -349,8 +352,11 @@ static lean_object* l_Lean_IR_EmitLLVM_toCInitName___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getEnv___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIsScalar(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt8(size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt64___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isExternC(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_emitLLVM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_llvm_get_first_instruction(size_t, size_t, lean_object*); lean_object* lean_llvm_create_builder_in_context(size_t, lean_object*); lean_object* lean_llvm_build_cond_br(size_t, size_t, size_t, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_IR_EmitLLVM_addJpTostate___spec__7(size_t, lean_object*, size_t, lean_object*); @@ -374,10 +380,12 @@ static lean_object* l_Lean_IR_EmitLLVM_emitInitFn___closed__3; static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__6; static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_LLVM_unsignedType(size_t, lean_object*); lean_object* lean_llvm_add_global(size_t, size_t, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitTailCall___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCtorGetUsize(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); +lean_object* lean_llvm_verify_module(size_t, size_t, lean_object*); uint8_t l_Lean_IR_IRType_isObj(lean_object*); static lean_object* l_Lean_IR_getLeanHBcPath___closed__1; static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__1___closed__2; @@ -414,6 +422,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_RefcountKind_noConfusion___rarg___la static lean_object* l_Lean_IR_EmitLLVM_emitReset___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_hasMainFn(size_t, lean_object*); extern uint64_t l_LLVM_AttributeIndex_AttributeFunctionIndex; +static lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2; static lean_object* l_Lean_IR_EmitLLVM_emitJDecl___closed__1; lean_object* l_LLVM_constFalse(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -477,6 +486,7 @@ static lean_object* l_Lean_IR_EmitLLVM_toCName___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_IR_EmitLLVM_emitJp___spec__1(size_t, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_callUnboxForType___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_IR_EmitLLVM_emitFnDecls___spec__4___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_emitLLVM___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getModName(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_addVartoState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callPureDeclInitFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -495,6 +505,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclAux___boxed(lean_object*, le static lean_object* l_Lean_IR_EmitLLVM_callLeanBox___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__3(size_t, size_t, size_t, lean_object*, lean_object*, size_t, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_main(size_t, lean_object*, lean_object*, lean_object*); +lean_object* lean_llvm_get_entry_basic_block(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callModInitFn(size_t, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_toLLVMType___closed__4; LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_EmitLLVM_addVartoState___spec__5___at_Lean_IR_EmitLLVM_addVartoState___spec__6___boxed(lean_object*, lean_object*, lean_object*); @@ -506,7 +517,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitJDecl(size_t, size_t, lean_objec LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_toCInitName___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitSProj___closed__4; static lean_object* l_Lean_IR_EmitLLVM_instToStringRefcountKind___closed__1; -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_callLeanObjTag___closed__1; static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_EmitLLVM_addVartoState___spec__5(size_t, lean_object*, lean_object*, lean_object*); @@ -527,6 +538,7 @@ LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__7___boxe size_t lean_hashmap_mk_idx(lean_object*, uint64_t); static lean_object* l_Lean_IR_EmitLLVM_buildWhile_____closed__2; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitBox___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanBox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__6___boxed(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___closed__2; @@ -538,6 +550,8 @@ static lean_object* l_Lean_IR_EmitLLVM_callLeanIOResultIsOk___closed__1; static lean_object* l_Lean_IR_EmitLLVM_toCName___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFnDeclAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_RefcountKind_noConfusion___rarg___closed__1; +lean_object* l_LLVM_constIntSizeT(size_t, uint64_t, uint8_t, lean_object*); +lean_object* lean_llvm_count_basic_blocks(size_t, size_t, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_callLeanCStrToNatFn___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitDeclAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__7___rarg___boxed(lean_object*); @@ -570,12 +584,13 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callIODeclInitFn___boxed(lean_object static lean_object* l_Lean_IR_EmitLLVM_callUnboxForType___closed__4; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitUProj___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFnDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_LLVM_unsignedType___boxed(lean_object*, lean_object*); static lean_object* l_Lean_IR_LLVM_getOrAddFunction___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_IR_EmitLLVM_toLLVMType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitLhsVal(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanUnboxUint32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildWhile__(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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_Lean_IR_EmitLLVM_emitMainFn___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_Lean_IR_EmitLLVM_callUnboxForType___closed__3; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(size_t, size_t, size_t, size_t, lean_object*, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_emitLLVM___spec__5___closed__1; @@ -728,6 +743,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_getFunIdTy static lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___closed__3; static lean_object* l_Lean_IR_EmitLLVM_callLeanCtorRelease___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitInc___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); lean_object* l_Lean_Environment_imports(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitFullApp___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_HashMapImp_expand___at_Lean_IR_EmitLLVM_addVartoState___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -747,6 +763,7 @@ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_IR_EmitLLVM_addVartoState___spec__7(size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThen_____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitReset___spec__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__1(size_t, size_t, size_t, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_IR_EmitLLVM_emitLhsSlot_____spec__1(size_t, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); @@ -814,6 +831,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanInitializeRuntimeModule___bo uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_IR_EmitLLVM_emitJmp___lambda__2___closed__2; static lean_object* l_Lean_IR_EmitLLVM_emitDeclInit___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_IR_emitLLVM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_toCInitName(size_t); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanBox(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_collectUsedDecls(lean_object*, lean_object*, lean_object*); @@ -826,6 +844,7 @@ static lean_object* l_Lean_IR_EmitLLVM_callLeanIOResultMKOk___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callUnboxForType___lambda__1(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_Decl_normalizeIds(lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___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_nat_add(lean_object*, lean_object*); lean_object* lean_llvm_build_sext(size_t, size_t, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitReuse___lambda__3(size_t, lean_object*, lean_object*, uint8_t, lean_object*, size_t, lean_object*, lean_object*, lean_object*); @@ -833,6 +852,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitFnDe lean_object* lean_llvm_add_function(size_t, size_t, lean_object*, size_t, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_callLeanFinalizeTaskManager___closed__1; static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__7; +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___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_IR_EmitLLVM_emitFnDeclAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___closed__3; @@ -840,13 +860,14 @@ static lean_object* l_Lean_IR_EmitLLVM_callLeanIOMkWorld___closed__1; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitSimpleExternalCall___spec__1(size_t, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitJp___closed__1; +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntSizeT(size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_link_modules(size_t, size_t, size_t, lean_object*); lean_object* lean_get_libdir(lean_object*, lean_object*); lean_object* lean_llvm_set_visibility(size_t, size_t, uint64_t, lean_object*); LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitLLVM_quoteString___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitSetTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(size_t, size_t, size_t, uint64_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_IR_EmitLLVM_emitInitFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThen_____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThenElse_____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -873,6 +894,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_getLLVMModule___rarg(lean_object*, l LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitReuse(size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_IR_IRType_isScalar(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_EmitLLVM_emitLhsSlot_____spec__2(size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanRefcountFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitApp___spec__2___closed__1; static lean_object* l_Lean_IR_EmitLLVM_hasMainFn___rarg___closed__1; @@ -881,8 +903,9 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildIfThenElse_____lambda__2(size_t lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitJmp___lambda__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitSProj(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(size_t, size_t, lean_object*, size_t, size_t, size_t, uint64_t, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(size_t, size_t, lean_object*, size_t, size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_toCName___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_addJpTostate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitExternDeclAux(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_leanMainFn; @@ -917,27 +940,10 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_LLVM_size__tType(size_t x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; +lean_object* x_3; x_3 = l_LLVM_i64Type(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ return x_3; } -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -} } LEAN_EXPORT lean_object* l_Lean_IR_LLVM_size__tType___boxed(lean_object* x_1, lean_object* x_2) { _start: @@ -949,6 +955,24 @@ x_4 = l_Lean_IR_LLVM_size__tType(x_3, x_2); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_IR_LLVM_unsignedType(size_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_LLVM_i32Type(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_IR_LLVM_unsignedType___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +size_t x_3; lean_object* x_4; +x_3 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_4 = l_Lean_IR_LLVM_unsignedType(x_3, x_2); +return x_4; +} +} static lean_object* _init_l_Lean_IR_LLVM_getOrAddFunction___closed__1() { _start: { @@ -2966,6 +2990,147 @@ x_3 = l_Lean_IR_EmitLLVM_getDecl(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt8(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint64_t x_6; uint8_t x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_uint64_of_nat(x_2); +x_7 = 0; +x_8 = l_LLVM_constInt8(x_1, x_6, x_7, x_5); +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); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +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); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, 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_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt8___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; lean_object* x_7; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = l_Lean_IR_EmitLLVM_constInt8(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt64(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint64_t x_6; uint8_t x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_uint64_of_nat(x_2); +x_7 = 0; +x_8 = l_LLVM_constInt64(x_1, x_6, x_7, x_5); +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); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +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); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, 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_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constInt64___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; lean_object* x_7; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = l_Lean_IR_EmitLLVM_constInt64(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntSizeT(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint64_t x_6; uint8_t x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_uint64_of_nat(x_2); +x_7 = 0; +x_8 = l_LLVM_constIntSizeT(x_1, x_6, x_7, x_5); +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); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +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); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, 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_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntSizeT___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; lean_object* x_7; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = l_Lean_IR_EmitLLVM_constIntSizeT(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_constIntUnsigned(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3099,7 +3264,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_IR_LLVM_size__tType(x_1, x_10); +x_11 = l_LLVM_i64Type(x_1, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -3614,7 +3779,7 @@ lean_inc(x_74); x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); lean_dec(x_73); -x_76 = l_Lean_IR_LLVM_size__tType(x_1, x_75); +x_76 = l_LLVM_i64Type(x_1, x_75); x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); x_78 = lean_ctor_get(x_76, 1); @@ -3909,7 +4074,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanUnsignedToNatFn(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _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_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; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +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; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_8 = l_Lean_IR_EmitLLVM_getLLVMModule___rarg(x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); @@ -3943,42 +4108,44 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = !lean_is_exclusive(x_24); -if (x_26 == 0) -{ -lean_object* x_27; uint8_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint64_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; uint8_t x_41; -x_27 = lean_ctor_get(x_24, 0); -x_28 = 0; -x_29 = lean_unbox_usize(x_18); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 0; +x_28 = lean_unbox_usize(x_18); lean_dec(x_18); -x_30 = lean_llvm_function_type(x_1, x_29, x_16, x_28, x_25); +x_29 = lean_llvm_function_type(x_1, x_28, x_16, x_27, x_25); lean_dec(x_16); -x_31 = lean_ctor_get(x_30, 0); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); +lean_dec(x_29); +x_32 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_3, x_5, x_6, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; uint8_t x_41; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_array_push(x_15, x_36); +x_38 = lean_unbox_usize(x_30); lean_dec(x_30); -x_33 = lean_uint64_of_nat(x_3); -x_34 = l_LLVM_constInt32(x_1, x_33, x_28, 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_array_push(x_15, x_35); -x_38 = lean_unbox_usize(x_31); -lean_dec(x_31); -x_39 = lean_unbox_usize(x_27); -lean_dec(x_27); -x_40 = lean_llvm_build_call2(x_1, x_2, x_38, x_39, x_37, x_4, x_36); +x_39 = lean_unbox_usize(x_26); +lean_dec(x_26); +x_40 = lean_llvm_build_call2(x_1, x_2, x_38, x_39, x_37, x_4, x_34); lean_dec(x_37); x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { lean_object* x_42; x_42 = lean_ctor_get(x_40, 0); -lean_ctor_set(x_24, 0, x_42); -lean_ctor_set(x_40, 0, x_24); +lean_ctor_set(x_33, 0, x_42); +lean_ctor_set(x_40, 0, x_33); return x_40; } else @@ -3989,65 +4156,48 @@ x_44 = lean_ctor_get(x_40, 1); lean_inc(x_44); lean_inc(x_43); lean_dec(x_40); -lean_ctor_set(x_24, 0, x_43); +lean_ctor_set(x_33, 0, x_43); x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_24); +lean_ctor_set(x_45, 0, x_33); lean_ctor_set(x_45, 1, x_44); return x_45; } } else { -lean_object* x_46; uint8_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint64_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; size_t x_57; size_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_46 = lean_ctor_get(x_24, 0); +lean_object* x_46; lean_object* x_47; size_t x_48; size_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_46 = lean_ctor_get(x_33, 0); lean_inc(x_46); -lean_dec(x_24); -x_47 = 0; -x_48 = lean_unbox_usize(x_18); -lean_dec(x_18); -x_49 = lean_llvm_function_type(x_1, x_48, x_16, x_47, x_25); -lean_dec(x_16); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +lean_dec(x_33); +x_47 = lean_array_push(x_15, x_46); +x_48 = lean_unbox_usize(x_30); +lean_dec(x_30); +x_49 = lean_unbox_usize(x_26); +lean_dec(x_26); +x_50 = lean_llvm_build_call2(x_1, x_2, x_48, x_49, x_47, x_4, x_34); +lean_dec(x_47); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_uint64_of_nat(x_3); -x_53 = l_LLVM_constInt32(x_1, x_52, x_47, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_array_push(x_15, x_54); -x_57 = lean_unbox_usize(x_50); -lean_dec(x_50); -x_58 = lean_unbox_usize(x_46); -lean_dec(x_46); -x_59 = lean_llvm_build_call2(x_1, x_2, x_57, x_58, x_56, x_4, x_55); -lean_dec(x_56); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_62 = x_59; +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; } else { - lean_dec_ref(x_59); - x_62 = lean_box(0); + lean_dec_ref(x_50); + x_53 = lean_box(0); } -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_60); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_51); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_62; + x_55 = x_53; } -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; } } } @@ -4891,7 +5041,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanAllocCtor(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +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; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_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; 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; uint8_t x_47; x_10 = l_LLVM_voidPtrType(x_1, x_9); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -4929,58 +5079,64 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint64_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint64_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint64_t 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; size_t x_52; size_t x_53; lean_object* x_54; uint8_t x_55; -x_31 = lean_ctor_get(x_28, 0); -x_32 = 0; -x_33 = lean_unbox_usize(x_11); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = 0; +x_32 = lean_unbox_usize(x_11); lean_dec(x_11); -x_34 = lean_llvm_function_type(x_1, x_33, x_19, x_32, x_29); +x_33 = lean_llvm_function_type(x_1, x_32, x_19, x_31, x_29); lean_dec(x_19); -x_35 = lean_ctor_get(x_34, 0); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_uint64_of_nat(x_3); -x_38 = l_LLVM_constInt32(x_1, x_37, x_32, x_36); -x_39 = lean_ctor_get(x_38, 0); +lean_dec(x_33); +x_36 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_3, x_7, x_8, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_uint64_of_nat(x_4); -x_42 = l_LLVM_constInt32(x_1, x_41, x_32, x_40); -x_43 = lean_ctor_get(x_42, 0); +lean_dec(x_37); +x_40 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_4, x_7, x_8, x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 0); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_uint64_of_nat(x_5); -x_46 = l_LLVM_constInt32(x_1, x_45, x_32, x_44); -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); +lean_dec(x_41); +x_44 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_5, x_7, x_8, x_42); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_45, 0); x_49 = lean_array_push(x_16, x_39); x_50 = lean_array_push(x_49, x_43); -x_51 = lean_array_push(x_50, x_47); -x_52 = lean_unbox_usize(x_35); -lean_dec(x_35); -x_53 = lean_unbox_usize(x_31); -lean_dec(x_31); -x_54 = lean_llvm_build_call2(x_1, x_2, x_52, x_53, x_51, x_6, x_48); +x_51 = lean_array_push(x_50, x_48); +x_52 = lean_unbox_usize(x_34); +lean_dec(x_34); +x_53 = lean_unbox_usize(x_30); +lean_dec(x_30); +x_54 = lean_llvm_build_call2(x_1, x_2, x_52, x_53, x_51, x_6, x_46); lean_dec(x_51); x_55 = !lean_is_exclusive(x_54); if (x_55 == 0) { lean_object* x_56; x_56 = lean_ctor_get(x_54, 0); -lean_ctor_set(x_28, 0, x_56); -lean_ctor_set(x_54, 0, x_28); +lean_ctor_set(x_45, 0, x_56); +lean_ctor_set(x_54, 0, x_45); return x_54; } else @@ -4991,81 +5147,50 @@ x_58 = lean_ctor_get(x_54, 1); lean_inc(x_58); lean_inc(x_57); lean_dec(x_54); -lean_ctor_set(x_28, 0, x_57); +lean_ctor_set(x_45, 0, x_57); x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_28); +lean_ctor_set(x_59, 0, x_45); lean_ctor_set(x_59, 1, x_58); return x_59; } } else { -lean_object* x_60; uint8_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint64_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint64_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint64_t 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; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_60 = lean_ctor_get(x_28, 0); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_60 = lean_ctor_get(x_45, 0); lean_inc(x_60); -lean_dec(x_28); -x_61 = 0; -x_62 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_63 = lean_llvm_function_type(x_1, x_62, x_19, x_61, x_29); -lean_dec(x_19); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); +lean_dec(x_45); +x_61 = lean_array_push(x_16, x_39); +x_62 = lean_array_push(x_61, x_43); +x_63 = lean_array_push(x_62, x_60); +x_64 = lean_unbox_usize(x_34); +lean_dec(x_34); +x_65 = lean_unbox_usize(x_30); +lean_dec(x_30); +x_66 = lean_llvm_build_call2(x_1, x_2, x_64, x_65, x_63, x_6, x_46); lean_dec(x_63); -x_66 = lean_uint64_of_nat(x_3); -x_67 = l_LLVM_constInt32(x_1, x_66, x_61, x_65); -x_68 = lean_ctor_get(x_67, 0); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_uint64_of_nat(x_4); -x_71 = l_LLVM_constInt32(x_1, x_70, x_61, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_uint64_of_nat(x_5); -x_75 = l_LLVM_constInt32(x_1, x_74, x_61, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_array_push(x_16, x_68); -x_79 = lean_array_push(x_78, x_72); -x_80 = lean_array_push(x_79, x_76); -x_81 = lean_unbox_usize(x_64); -lean_dec(x_64); -x_82 = lean_unbox_usize(x_60); -lean_dec(x_60); -x_83 = lean_llvm_build_call2(x_1, x_2, x_81, x_82, x_80, x_6, x_77); -lean_dec(x_80); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_86 = x_83; +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; } else { - lean_dec_ref(x_83); - x_86 = lean_box(0); + lean_dec_ref(x_66); + x_69 = lean_box(0); } -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_84); -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(0, 2, 0); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_67); +if (lean_is_scalar(x_69)) { + x_71 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_86; + x_71 = x_69; } -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_85); -return x_88; +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_68); +return x_71; } } } @@ -5110,7 +5235,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i32Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -5386,13 +5511,13 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_IR_LLVM_size__tType(x_1, x_15); +x_16 = l_LLVM_i32Type(x_1, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_19 = l_Lean_IR_LLVM_size__tType(x_1, x_18); +x_19 = l_LLVM_i32Type(x_1, x_18); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -5569,7 +5694,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_IR_LLVM_size__tType(x_1, x_15); +x_16 = l_LLVM_i32Type(x_1, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -6045,7 +6170,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i32Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -6162,7 +6287,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i8Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -6311,7 +6436,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_IR_EmitLLVM_toLLVMType___closed__1; x_2 = l_Lean_IR_EmitLLVM_toLLVMType___closed__2; -x_3 = lean_unsigned_to_nat(314u); +x_3 = lean_unsigned_to_nat(327u); x_4 = lean_unsigned_to_nat(25u); x_5 = l_Lean_IR_EmitLLVM_toLLVMType___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6324,7 +6449,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_IR_EmitLLVM_toLLVMType___closed__1; x_2 = l_Lean_IR_EmitLLVM_toLLVMType___closed__2; -x_3 = lean_unsigned_to_nat(315u); +x_3 = lean_unsigned_to_nat(328u); x_4 = lean_unsigned_to_nat(25u); x_5 = l_Lean_IR_EmitLLVM_toLLVMType___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6504,7 +6629,7 @@ case 5: lean_object* x_50; uint8_t x_51; lean_dec(x_4); lean_dec(x_3); -x_50 = l_Lean_IR_LLVM_size__tType(x_1, x_5); +x_50 = l_LLVM_i64Type(x_1, x_5); x_51 = !lean_is_exclusive(x_50); if (x_51 == 0) { @@ -7497,6 +7622,272 @@ lean_dec(x_3); return x_9; } } +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__1(size_t x_1, size_t x_2, size_t x_3, lean_object* x_4, size_t 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; uint8_t x_15; +x_10 = lean_llvm_build_alloca(x_1, x_2, x_3, x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_box_usize(x_1); +x_14 = lean_llvm_position_builder_at_end(x_13, x_2, x_5, x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_11); +x_20 = lean_alloc_ctor(0, 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_IR_EmitLLVM_buildPrologueAlloca___lambda__2(size_t x_1, size_t x_2, size_t x_3, size_t x_4, lean_object* x_5, size_t 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; size_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_11 = lean_llvm_get_entry_basic_block(x_1, x_2, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_unbox_usize(x_12); +x_15 = lean_llvm_get_first_instruction(x_1, x_14, x_13); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_box_usize(x_1); +x_19 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_20 = lean_llvm_position_builder_at_end(x_18, x_3, x_19, x_17); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__1(x_1, x_3, x_4, x_5, x_6, x_21, x_8, x_9, x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_21); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_12); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +x_25 = lean_ctor_get(x_16, 0); +lean_inc(x_25); +lean_dec(x_16); +x_26 = lean_unbox_usize(x_25); +lean_dec(x_25); +x_27 = lean_llvm_position_builder_before(x_1, x_3, x_26, x_24); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__1(x_1, x_3, x_4, x_5, x_6, x_28, x_8, x_9, x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_28); +return x_30; +} +} +} +static lean_object* _init_l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Attempt to obtain first BB of function without BBs", 50); +return x_1; +} +} +static lean_object* _init_l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___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_IR_EmitLLVM_buildPrologueAlloca(size_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +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; size_t x_16; lean_object* x_17; uint8_t x_18; +x_8 = lean_box_usize(x_1); +x_9 = lean_llvm_get_insert_block(x_8, x_2, 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 = l_Lean_IR_EmitLLVM_builderGetInsertionFn(x_1, x_2, x_5, x_6, x_11); +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, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_unbox_usize(x_15); +x_17 = lean_llvm_count_basic_blocks(x_1, x_16, x_14); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint64_t x_21; uint64_t x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = 0; +x_22 = lean_unbox_uint64(x_19); +lean_dec(x_19); +x_23 = lean_uint64_dec_eq(x_22, x_21); +if (x_23 == 0) +{ +lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +lean_free_object(x_17); +x_24 = lean_box(0); +x_25 = lean_unbox_usize(x_15); +lean_dec(x_15); +x_26 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_27 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__2(x_1, x_25, x_2, x_3, x_4, x_26, x_24, x_5, x_6, x_20); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_28 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2; +lean_ctor_set(x_17, 0, x_28); +return x_17; +} +} +else +{ +lean_object* x_29; lean_object* x_30; uint64_t x_31; uint64_t x_32; uint8_t x_33; +x_29 = lean_ctor_get(x_17, 0); +x_30 = lean_ctor_get(x_17, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_17); +x_31 = 0; +x_32 = lean_unbox_uint64(x_29); +lean_dec(x_29); +x_33 = lean_uint64_dec_eq(x_32, x_31); +if (x_33 == 0) +{ +lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_34 = lean_box(0); +x_35 = lean_unbox_usize(x_15); +lean_dec(x_15); +x_36 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_37 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__2(x_1, x_35, x_2, x_3, x_4, x_36, x_34, x_5, x_6, x_30); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_38 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_30); +return x_39; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___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: +{ +size_t x_10; size_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__1(x_10, x_11, x_12, x_4, x_13, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_16 = l_Lean_IR_EmitLLVM_buildPrologueAlloca___lambda__2(x_11, x_12, x_13, x_14, x_5, x_15, x_7, x_8, x_9, x_10); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildPrologueAlloca___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_8 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_9 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_10 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_11 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_8, x_9, x_10, x_4, x_5, x_6, x_7); +return x_11; +} +} static lean_object* _init_l_Lean_IR_EmitLLVM_buildWhile_____closed__1() { _start: { @@ -8612,43 +9003,79 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_buildLeanBoolTrue_x3f(size_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint64_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint64_t x_13; size_t x_14; lean_object* x_15; uint8_t x_16; -x_8 = 0; -x_9 = 0; -x_10 = l_LLVM_constInt8(x_1, x_8, x_9, x_7); -x_11 = lean_ctor_get(x_10, 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); +x_9 = l_Lean_IR_EmitLLVM_constInt8(x_1, x_8, x_5, x_6, 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); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_LLVM_IntPredicate_NE; -x_14 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_15 = lean_llvm_build_icmp(x_1, x_2, x_13, x_3, x_14, x_4, x_12); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_15, 0, x_18); -return x_15; +lean_object* x_13; uint64_t x_14; size_t x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_10, 0); +x_14 = l_LLVM_IntPredicate_NE; +x_15 = lean_unbox_usize(x_13); +lean_dec(x_13); +x_16 = lean_llvm_build_icmp(x_1, x_2, x_14, x_3, x_15, x_4, x_11); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set(x_16, 0, x_10); +return x_16; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_16, 1); lean_inc(x_20); lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_19); -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; +lean_dec(x_16); +lean_ctor_set(x_10, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_10); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; uint64_t x_23; size_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; +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_LLVM_IntPredicate_NE; +x_24 = lean_unbox_usize(x_22); +lean_dec(x_22); +x_25 = lean_llvm_build_icmp(x_1, x_2, x_23, x_3, x_24, x_4, x_11); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_26); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; } } } @@ -11244,11 +11671,13 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l_Lean_IR_EmitLLVM_emitLhsSlot__(x_1, x_7, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint64_t x_17; uint8_t 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_object* x_26; uint8_t x_27; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; x_9 = l_LLVM_voidPtrType(x_1, x_6); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); @@ -11257,100 +11686,169 @@ lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_IR_EmitLLVM_emitArgSlot_____closed__1; x_13 = lean_unbox_usize(x_10); -x_14 = lean_llvm_build_alloca(x_1, x_2, x_13, x_12, x_11); +lean_inc(x_5); +lean_inc(x_4); +x_14 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_13, x_12, x_4, x_5, x_11); 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 = 0; -x_18 = 0; -x_19 = l_LLVM_constIntUnsigned(x_1, x_17, x_18, x_16); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; +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); +lean_ctor_set(x_14, 0, x_20); +return x_14; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_14, 1); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_IR_EmitLLVM_emitArgSlot_____closed__2; -x_23 = lean_unbox_usize(x_20); -lean_dec(x_20); -x_24 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_2, x_23, x_22, x_4, x_5, x_21); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +lean_dec(x_14); +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + x_23 = x_15; +} else { + lean_dec_ref(x_15); + x_23 = lean_box(0); +} +if (lean_is_scalar(x_23)) { + x_24 = lean_alloc_ctor(0, 1, 0); +} else { + x_24 = x_23; +} +lean_ctor_set(x_24, 0, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_21); +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; lean_object* x_32; lean_object* x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_26 = lean_ctor_get(x_14, 1); lean_inc(x_26); -lean_dec(x_24); -x_27 = !lean_is_exclusive(x_25); -if (x_27 == 0) +lean_dec(x_14); +x_27 = lean_ctor_get(x_15, 0); +lean_inc(x_27); +lean_dec(x_15); +x_28 = lean_unsigned_to_nat(0u); +x_29 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_28, x_4, x_5, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_IR_EmitLLVM_emitArgSlot_____closed__2; +x_34 = lean_unbox_usize(x_32); +lean_dec(x_32); +x_35 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_2, x_34, x_33, x_4, x_5, x_31); +lean_dec(x_5); +lean_dec(x_4); +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); +x_38 = !lean_is_exclusive(x_36); +if (x_38 == 0) { -lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_25, 0); -x_29 = lean_unbox_usize(x_28); -lean_dec(x_28); -x_30 = lean_unbox_usize(x_15); -x_31 = lean_llvm_build_store(x_1, x_2, x_29, x_30, x_26); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_36, 0); +x_40 = lean_unbox_usize(x_39); +lean_dec(x_39); +x_41 = lean_unbox_usize(x_27); +x_42 = lean_llvm_build_store(x_1, x_2, x_40, x_41, x_37); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_10); -lean_ctor_set(x_34, 1, x_15); -lean_ctor_set(x_25, 0, x_34); -lean_ctor_set(x_31, 0, x_25); -return x_31; +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_10); +lean_ctor_set(x_45, 1, x_27); +lean_ctor_set(x_36, 0, x_45); +lean_ctor_set(x_42, 0, x_36); +return x_42; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_10); -lean_ctor_set(x_36, 1, x_15); -lean_ctor_set(x_25, 0, x_36); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_25); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_10); +lean_ctor_set(x_47, 1, x_27); +lean_ctor_set(x_36, 0, x_47); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_36); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } else { -lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_38 = lean_ctor_get(x_25, 0); -lean_inc(x_38); -lean_dec(x_25); -x_39 = lean_unbox_usize(x_38); -lean_dec(x_38); -x_40 = lean_unbox_usize(x_15); -x_41 = lean_llvm_build_store(x_1, x_2, x_39, x_40, x_26); -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; +lean_object* x_49; size_t x_50; size_t 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; +x_49 = lean_ctor_get(x_36, 0); +lean_inc(x_49); +lean_dec(x_36); +x_50 = lean_unbox_usize(x_49); +lean_dec(x_49); +x_51 = lean_unbox_usize(x_27); +x_52 = lean_llvm_build_store(x_1, x_2, x_50, x_51, x_37); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; } else { - lean_dec_ref(x_41); - x_43 = lean_box(0); + lean_dec_ref(x_52); + x_54 = lean_box(0); } -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_10); -lean_ctor_set(x_44, 1, x_15); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -if (lean_is_scalar(x_43)) { - x_46 = lean_alloc_ctor(0, 2, 0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_10); +lean_ctor_set(x_55, 1, x_27); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +if (lean_is_scalar(x_54)) { + x_57 = lean_alloc_ctor(0, 2, 0); } else { - x_46 = x_43; + x_57 = x_54; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_53); +return x_57; } -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_42); -return x_46; } } } @@ -11364,8 +11862,6 @@ lean_dec(x_1); x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = l_Lean_IR_EmitLLVM_emitArgSlot__(x_7, x_8, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); return x_9; } } @@ -11580,8 +12076,6 @@ lean_dec(x_1); x_9 = lean_unbox_usize(x_2); lean_dec(x_2); x_10 = l_Lean_IR_EmitLLVM_emitArgVal(x_8, x_9, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); return x_10; } } @@ -11688,6 +12182,8 @@ if (x_35 == 0) lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_36 = l_Lean_IR_instInhabitedArg; x_37 = l___private_Init_Util_0__outOfBounds___rarg(x_36); +lean_inc(x_9); +lean_inc(x_8); x_38 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_37, x_26, x_8, x_9, x_33); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); @@ -11721,7 +12217,7 @@ goto block_23; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint64_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; size_t x_54; lean_object* x_55; lean_object* x_56; size_t x_57; lean_object* x_58; lean_object* x_59; +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; size_t x_51; size_t x_52; size_t x_53; lean_object* x_54; lean_object* x_55; size_t x_56; lean_object* x_57; lean_object* x_58; x_44 = lean_ctor_get(x_39, 0); lean_inc(x_44); lean_dec(x_39); @@ -11731,177 +12227,181 @@ lean_dec(x_38); x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); lean_dec(x_44); -x_47 = lean_uint64_of_nat(x_25); +x_47 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_25, x_8, x_9, x_45); lean_dec(x_25); -x_48 = 0; -x_49 = l_LLVM_constIntUnsigned(x_1, x_47, x_48, x_45); -x_50 = lean_ctor_get(x_49, 0); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_unbox_usize(x_34); -x_53 = lean_unbox_usize(x_50); +lean_dec(x_48); +x_51 = lean_unbox_usize(x_34); +x_52 = lean_unbox_usize(x_50); lean_dec(x_50); -x_54 = lean_unbox_usize(x_46); +x_53 = lean_unbox_usize(x_46); lean_dec(x_46); -x_55 = l_Lean_IR_EmitLLVM_callLeanCtorSet(x_1, x_2, x_52, x_53, x_54, x_8, x_9, x_51); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_unbox_usize(x_34); +x_54 = l_Lean_IR_EmitLLVM_callLeanCtorSet(x_1, x_2, x_51, x_52, x_53, x_8, x_9, x_49); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_56 = lean_unbox_usize(x_34); lean_dec(x_34); lean_inc(x_3); -x_58 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_57, x_8, x_9, x_56); -x_59 = lean_ctor_get(x_58, 0); +x_57 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_56, x_8, x_9, x_55); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); -if (lean_obj_tag(x_59) == 0) +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); +x_15 = x_58; +x_16 = x_59; +goto block_23; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 0); +lean_inc(x_61); lean_dec(x_58); -x_61 = !lean_is_exclusive(x_59); -if (x_61 == 0) -{ -x_15 = x_59; -x_16 = x_60; -goto block_23; -} -else -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_59, 0); -lean_inc(x_62); -lean_dec(x_59); -x_63 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_15 = x_63; -x_16 = x_60; +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_15 = x_62; +x_16 = x_59; goto block_23; } } else { -lean_object* x_64; lean_object* x_65; -lean_dec(x_59); -x_64 = lean_ctor_get(x_58, 1); -lean_inc(x_64); +lean_object* x_63; lean_object* x_64; lean_dec(x_58); -x_65 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; -x_15 = x_65; -x_16 = x_64; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; +x_15 = x_64; +x_16 = x_63; goto block_23; } } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_array_fget(x_4, x_25); -x_67 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_66, x_26, x_8, x_9, x_33); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 0) +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_array_fget(x_4, x_25); +lean_inc(x_9); +lean_inc(x_8); +x_66 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_65, x_26, x_8, x_9, x_33); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; uint8_t x_70; +lean_object* x_68; uint8_t x_69; lean_dec(x_34); lean_dec(x_25); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) +{ +x_15 = x_67; +x_16 = x_68; +goto block_23; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 0); +lean_inc(x_70); lean_dec(x_67); -x_70 = !lean_is_exclusive(x_68); -if (x_70 == 0) -{ -x_15 = x_68; -x_16 = x_69; -goto block_23; -} -else -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_68, 0); -lean_inc(x_71); -lean_dec(x_68); -x_72 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_15 = x_72; -x_16 = x_69; +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_15 = x_71; +x_16 = x_68; goto block_23; } } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; size_t x_86; lean_object* x_87; lean_object* x_88; -x_73 = lean_ctor_get(x_68, 0); +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; size_t x_79; size_t x_80; size_t x_81; lean_object* x_82; lean_object* x_83; size_t x_84; lean_object* x_85; lean_object* x_86; +x_72 = lean_ctor_get(x_67, 0); +lean_inc(x_72); +lean_dec(x_67); +x_73 = lean_ctor_get(x_66, 1); lean_inc(x_73); -lean_dec(x_68); -x_74 = lean_ctor_get(x_67, 1); +lean_dec(x_66); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); -lean_dec(x_67); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_uint64_of_nat(x_25); +lean_dec(x_72); +x_75 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_25, x_8, x_9, x_73); lean_dec(x_25); -x_77 = 0; -x_78 = l_LLVM_constIntUnsigned(x_1, x_76, x_77, x_74); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_unbox_usize(x_34); -x_82 = lean_unbox_usize(x_79); -lean_dec(x_79); -x_83 = lean_unbox_usize(x_75); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); lean_dec(x_75); -x_84 = l_Lean_IR_EmitLLVM_callLeanCtorSet(x_1, x_2, x_81, x_82, x_83, x_8, x_9, x_80); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = lean_unbox_usize(x_34); +x_78 = lean_ctor_get(x_76, 0); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox_usize(x_34); +x_80 = lean_unbox_usize(x_78); +lean_dec(x_78); +x_81 = lean_unbox_usize(x_74); +lean_dec(x_74); +x_82 = l_Lean_IR_EmitLLVM_callLeanCtorSet(x_1, x_2, x_79, x_80, x_81, x_8, x_9, x_77); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_unbox_usize(x_34); lean_dec(x_34); lean_inc(x_3); -x_87 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_86, x_8, x_9, x_85); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -if (lean_obj_tag(x_88) == 0) +x_85 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_84, x_8, x_9, x_83); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_89; uint8_t x_90; -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = !lean_is_exclusive(x_86); +if (x_88 == 0) { -x_15 = x_88; -x_16 = x_89; +x_15 = x_86; +x_16 = x_87; goto block_23; } else { +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_86, 0); +lean_inc(x_89); +lean_dec(x_86); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_15 = x_90; +x_16 = x_87; +goto block_23; +} +} +else +{ lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_88, 0); +lean_dec(x_86); +x_91 = lean_ctor_get(x_85, 1); lean_inc(x_91); -lean_dec(x_88); -x_92 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_92, 0, x_91); +lean_dec(x_85); +x_92 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; x_15 = x_92; -x_16 = x_89; -goto block_23; -} -} -else -{ -lean_object* x_93; lean_object* x_94; -lean_dec(x_88); -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -x_94 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; -x_15 = x_94; -x_16 = x_93; +x_16 = x_91; goto block_23; } } @@ -11913,6 +12413,8 @@ if (lean_obj_tag(x_15) == 0) { uint8_t x_17; lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_3); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) @@ -11948,14 +12450,16 @@ goto _start; } else { -lean_object* x_95; lean_object* x_96; +lean_object* x_93; lean_object* x_94; +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); -x_95 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_10); -return x_96; +x_93 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_10); +return x_94; } } } @@ -11966,8 +12470,6 @@ lean_object* x_8; lean_object* x_9; x_8 = lean_array_get_size(x_4); lean_inc(x_8); x_9 = l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitCtorSetArgs___spec__1(x_1, x_2, x_3, x_4, x_8, x_8, x_8, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_8); return x_9; } @@ -11981,8 +12483,6 @@ lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitCtorSetArgs___spec__1(x_11, x_12, 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_6); lean_dec(x_5); lean_dec(x_4); @@ -12173,7 +12673,7 @@ else lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; size_t x_69; size_t x_70; lean_object* x_71; uint8_t x_72; lean_dec(x_3); x_58 = lean_ctor_get(x_4, 1); -x_59 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_58, x_6, x_7, x_22); +x_59 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_58, x_6, x_7, x_22); x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); x_61 = lean_ctor_get(x_59, 1); @@ -12317,32 +12817,33 @@ x_24 = lean_unsigned_to_nat(1u); x_25 = lean_nat_dec_eq(x_4, x_24); if (x_25 == 0) { -uint64_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; size_t x_33; lean_object* x_34; -x_26 = lean_uint64_of_nat(x_4); -x_27 = 0; -x_28 = l_LLVM_constIntUnsigned(x_1, x_26, x_27, x_22); -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; size_t x_32; lean_object* x_33; +x_26 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_4, x_6, x_7, x_22); +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_27, 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(1, 1, 0); -lean_ctor_set(x_31, 0, x_29); -x_32 = 0; -x_33 = lean_unbox_usize(x_23); +lean_dec(x_27); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = 0; +x_32 = lean_unbox_usize(x_23); lean_dec(x_23); -x_34 = l_Lean_IR_EmitLLVM_callLeanRefcountFn(x_1, x_2, x_32, x_5, x_33, x_31, x_6, x_7, x_30); -return x_34; +x_33 = l_Lean_IR_EmitLLVM_callLeanRefcountFn(x_1, x_2, x_31, x_5, x_32, x_30, x_6, x_7, x_28); +return x_33; } else { -lean_object* x_35; uint8_t x_36; size_t x_37; lean_object* x_38; -x_35 = lean_box(0); -x_36 = 0; -x_37 = lean_unbox_usize(x_23); +lean_object* x_34; uint8_t x_35; size_t x_36; lean_object* x_37; +x_34 = lean_box(0); +x_35 = 0; +x_36 = lean_unbox_usize(x_23); lean_dec(x_23); -x_38 = l_Lean_IR_EmitLLVM_callLeanRefcountFn(x_1, x_2, x_36, x_5, x_37, x_35, x_6, x_7, x_22); -return x_38; +x_37 = l_Lean_IR_EmitLLVM_callLeanRefcountFn(x_1, x_2, x_35, x_5, x_36, x_34, x_6, x_7, x_22); +return x_37; } } } @@ -13018,6 +13519,8 @@ if (x_44 == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; x_45 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_8); +lean_inc(x_7); x_46 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_39, x_45, x_7, x_8, x_9); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); @@ -13203,6 +13706,8 @@ if (x_81 == 0) { lean_object* x_82; lean_object* x_83; lean_object* x_84; x_82 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_8); +lean_inc(x_7); x_83 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_39, x_82, x_7, x_8, x_9); x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); @@ -15300,6 +15805,8 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = l_Lean_IR_instInhabitedArg; x_28 = l___private_Init_Util_0__outOfBounds___rarg(x_27); +lean_inc(x_9); +lean_inc(x_8); x_29 = l_Lean_IR_EmitLLVM_emitArgSlot__(x_1, x_2, x_28, x_8, x_9, x_10); x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); @@ -15384,6 +15891,8 @@ else { lean_object* x_54; lean_object* x_55; lean_object* x_56; x_54 = lean_array_fget(x_3, x_25); +lean_inc(x_9); +lean_inc(x_8); x_55 = l_Lean_IR_EmitLLVM_emitArgSlot__(x_1, x_2, x_54, x_8, x_9, x_10); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); @@ -15470,6 +15979,8 @@ if (lean_obj_tag(x_15) == 0) { uint8_t x_17; lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) { @@ -15505,6 +16016,8 @@ goto _start; else { lean_object* x_80; lean_object* x_81; +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); x_80 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; x_81 = lean_alloc_ctor(0, 2, 0); @@ -15788,8 +16301,6 @@ x_75 = lean_unbox_usize(x_70); lean_dec(x_70); lean_inc(x_58); x_76 = l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitPartialApp___spec__1(x_1, x_2, x_5, x_58, x_75, x_58, x_58, x_6, x_7, x_74); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_58); lean_dec(x_5); return x_76; @@ -15837,8 +16348,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); x_14 = l_Nat_forM_loop___at_Lean_IR_EmitLLVM_emitPartialApp___spec__1(x_11, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); @@ -15865,6 +16374,8 @@ x_9 = lean_usize_dec_lt(x_4, x_3); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_5); x_11 = lean_alloc_ctor(0, 2, 0); @@ -15879,6 +16390,8 @@ x_12 = lean_array_uget(x_5, x_4); x_13 = lean_unsigned_to_nat(0u); x_14 = lean_array_uset(x_5, x_4, x_13); x_15 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_7); +lean_inc(x_6); x_16 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_12, x_15, x_6, x_7, x_8); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); @@ -15886,6 +16399,8 @@ if (lean_obj_tag(x_17) == 0) { uint8_t x_18; lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); x_18 = !lean_is_exclusive(x_16); if (x_18 == 0) { @@ -15981,6 +16496,8 @@ _start: if (lean_obj_tag(x_6) == 0) { lean_object* x_11; lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_7); x_12 = lean_alloc_ctor(0, 2, 0); @@ -16019,6 +16536,8 @@ if (lean_obj_tag(x_15) == 0) { uint8_t x_17; lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) { @@ -16054,6 +16573,8 @@ if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); lean_dec(x_23); @@ -16086,6 +16607,8 @@ if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); lean_dec(x_28); @@ -16114,6 +16637,8 @@ block_73: { lean_object* x_36; lean_object* x_37; lean_object* x_38; x_36 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_9); +lean_inc(x_8); x_37 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_35, x_36, x_8, x_9, x_10); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -16268,6 +16793,8 @@ uint8_t x_22; lean_dec(x_18); lean_dec(x_16); lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); x_22 = !lean_is_exclusive(x_20); @@ -16331,6 +16858,8 @@ lean_inc(x_33); lean_dec(x_21); x_34 = lean_usize_of_nat(x_9); x_35 = 0; +lean_inc(x_7); +lean_inc(x_6); x_36 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitApp___spec__1(x_1, x_2, x_34, x_35, x_5, x_6, x_7, x_32); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); @@ -16341,6 +16870,8 @@ lean_dec(x_33); lean_dec(x_18); lean_dec(x_16); lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_3); x_38 = !lean_is_exclusive(x_36); if (x_38 == 0) @@ -16464,13 +16995,15 @@ lean_dec(x_79); x_82 = lean_unbox_usize(x_80); lean_dec(x_80); x_83 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_82, x_6, x_7, x_81); +lean_dec(x_7); +lean_dec(x_6); return x_83; } } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint64_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; lean_object* x_100; lean_object* x_101; +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint64_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; lean_object* x_94; lean_object* x_95; x_84 = l_LLVM_voidPtrType(x_1, x_8); x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); @@ -16489,229 +17022,318 @@ lean_dec(x_89); x_92 = l_Lean_IR_EmitLLVM_emitApp___closed__2; x_93 = lean_unbox_usize(x_90); lean_dec(x_90); -x_94 = lean_llvm_build_alloca(x_1, x_2, x_93, x_92, x_91); +lean_inc(x_7); +lean_inc(x_6); +x_94 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_93, x_92, x_6, x_7, x_91); x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -lean_inc(x_9); -x_97 = l_List_range(x_9); -x_98 = lean_box(0); -x_99 = lean_unbox_usize(x_95); -x_100 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitApp___spec__2(x_1, x_2, x_5, x_9, x_99, x_97, x_98, x_6, x_7, x_96); -lean_dec(x_5); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -if (lean_obj_tag(x_101) == 0) +if (lean_obj_tag(x_95) == 0) { -uint8_t x_102; -lean_dec(x_95); +uint8_t x_96; lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_102 = !lean_is_exclusive(x_100); -if (x_102 == 0) +x_96 = !lean_is_exclusive(x_94); +if (x_96 == 0) { -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_100, 0); -lean_dec(x_103); -x_104 = !lean_is_exclusive(x_101); -if (x_104 == 0) +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_94, 0); +lean_dec(x_97); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) { -return x_100; +return x_94; } else { -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_101, 0); -lean_inc(x_105); -lean_dec(x_101); -x_106 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_100, 0, x_106); -return x_100; +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_95, 0); +lean_inc(x_99); +lean_dec(x_95); +x_100 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_94, 0, x_100); +return x_94; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_107 = lean_ctor_get(x_100, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_101 = lean_ctor_get(x_94, 1); +lean_inc(x_101); +lean_dec(x_94); +x_102 = lean_ctor_get(x_95, 0); +lean_inc(x_102); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + x_103 = x_95; +} else { + lean_dec_ref(x_95); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 1, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_102); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +return x_105; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; size_t x_110; lean_object* x_111; lean_object* x_112; +x_106 = lean_ctor_get(x_94, 1); +lean_inc(x_106); +lean_dec(x_94); +x_107 = lean_ctor_get(x_95, 0); lean_inc(x_107); -lean_dec(x_100); -x_108 = lean_ctor_get(x_101, 0); -lean_inc(x_108); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - x_109 = x_101; -} else { - lean_dec_ref(x_101); - x_109 = lean_box(0); +lean_dec(x_95); +lean_inc(x_9); +x_108 = l_List_range(x_9); +x_109 = lean_box(0); +x_110 = lean_unbox_usize(x_107); +lean_inc(x_7); +lean_inc(x_6); +x_111 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitApp___spec__2(x_1, x_2, x_5, x_9, x_110, x_108, x_109, x_6, x_7, x_106); +lean_dec(x_5); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +uint8_t x_113; +lean_dec(x_107); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_113 = !lean_is_exclusive(x_111); +if (x_113 == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = lean_ctor_get(x_111, 0); +lean_dec(x_114); +x_115 = !lean_is_exclusive(x_112); +if (x_115 == 0) +{ +return x_111; } -if (lean_is_scalar(x_109)) { - x_110 = lean_alloc_ctor(0, 1, 0); -} else { - x_110 = x_109; -} -lean_ctor_set(x_110, 0, x_108); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_107); +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_112, 0); +lean_inc(x_116); +lean_dec(x_112); +x_117 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_111, 0, x_117); return x_111; } } else { -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_dec(x_101); -x_112 = lean_ctor_get(x_100, 1); -lean_inc(x_112); -lean_dec(x_100); -x_113 = l_LLVM_voidPtrType(x_1, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_IR_EmitLLVM_emitJp___closed__3; -x_117 = l_Lean_IR_EmitLLVM_emitLhsVal(x_1, x_2, x_4, x_116, x_6, x_7, x_115); -x_118 = lean_ctor_get(x_117, 0); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_118 = lean_ctor_get(x_111, 1); lean_inc(x_118); -if (lean_obj_tag(x_118) == 0) -{ -uint8_t x_119; -lean_dec(x_114); -lean_dec(x_95); -lean_dec(x_9); -lean_dec(x_3); -x_119 = !lean_is_exclusive(x_117); -if (x_119 == 0) -{ -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_117, 0); -lean_dec(x_120); -x_121 = !lean_is_exclusive(x_118); -if (x_121 == 0) -{ -return x_117; +lean_dec(x_111); +x_119 = lean_ctor_get(x_112, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + x_120 = x_112; +} else { + lean_dec_ref(x_112); + x_120 = lean_box(0); } -else -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_118, 0); -lean_inc(x_122); -lean_dec(x_118); -x_123 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_117, 0, x_123); -return x_117; +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 1, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_119); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_118); +return x_122; } } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_dec(x_117); -x_125 = lean_ctor_get(x_118, 0); +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_dec(x_112); +x_123 = lean_ctor_get(x_111, 1); +lean_inc(x_123); +lean_dec(x_111); +x_124 = l_LLVM_voidPtrType(x_1, x_123); +x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - x_126 = x_118; -} else { - lean_dec_ref(x_118); - x_126 = lean_box(0); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +x_128 = l_Lean_IR_EmitLLVM_emitLhsVal(x_1, x_2, x_4, x_127, x_6, x_7, x_126); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +if (lean_obj_tag(x_129) == 0) +{ +uint8_t x_130; +lean_dec(x_125); +lean_dec(x_107); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_130 = !lean_is_exclusive(x_128); +if (x_130 == 0) +{ +lean_object* x_131; uint8_t x_132; +x_131 = lean_ctor_get(x_128, 0); +lean_dec(x_131); +x_132 = !lean_is_exclusive(x_129); +if (x_132 == 0) +{ +return x_128; } -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(0, 1, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_125); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_124); +else +{ +lean_object* x_133; lean_object* x_134; +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_128, 0, x_134); return x_128; } } else { -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; size_t x_149; size_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; size_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; size_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; size_t x_165; lean_object* x_166; -x_129 = lean_ctor_get(x_117, 1); -lean_inc(x_129); -lean_dec(x_117); -x_130 = lean_ctor_get(x_118, 0); -lean_inc(x_130); -lean_dec(x_118); -x_131 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_9, x_6, x_7, x_129); -lean_dec(x_9); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_132, 0); -lean_inc(x_134); -lean_dec(x_132); -x_135 = l_Lean_IR_EmitLLVM_callLeanAllocCtor___closed__1; -x_136 = lean_array_push(x_135, x_130); -x_137 = lean_array_push(x_136, x_134); -x_138 = lean_array_push(x_137, x_95); -x_139 = l_LLVM_voidPtrType(x_1, x_133); -x_140 = lean_ctor_get(x_139, 0); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_135 = lean_ctor_get(x_128, 1); +lean_inc(x_135); +lean_dec(x_128); +x_136 = lean_ctor_get(x_129, 0); +lean_inc(x_136); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + x_137 = x_129; +} else { + lean_dec_ref(x_129); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 1, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_136); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_135); +return x_139; +} +} +else +{ +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; size_t x_167; size_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; size_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; size_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; size_t x_183; lean_object* x_184; +x_140 = lean_ctor_get(x_128, 1); lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); +lean_dec(x_128); +x_141 = lean_ctor_get(x_129, 0); lean_inc(x_141); -lean_dec(x_139); -x_142 = l_Lean_IR_EmitLLVM_callLeanBox___closed__1; -x_143 = lean_array_push(x_142, x_140); -x_144 = l_Lean_IR_EmitLLVM_getLLVMModule___rarg(x_7, x_141); -x_145 = lean_ctor_get(x_144, 0); +lean_dec(x_129); +x_142 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_9, x_6, x_7, x_140); +lean_dec(x_9); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_ctor_get(x_143, 0); lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = lean_ctor_get(x_145, 0); -lean_inc(x_147); -lean_dec(x_145); -x_148 = l_Lean_IR_EmitLLVM_emitApp___closed__3; -x_149 = lean_unbox_usize(x_147); -lean_dec(x_147); -x_150 = lean_unbox_usize(x_114); -x_151 = l_Lean_IR_EmitLLVM_getOrCreateFunctionPrototype(x_1, x_149, x_150, x_148, x_143, x_6, x_7, x_146); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_ctor_get(x_152, 0); -lean_inc(x_154); -lean_dec(x_152); -x_155 = 0; -x_156 = lean_unbox_usize(x_114); -lean_dec(x_114); -x_157 = lean_llvm_function_type(x_1, x_156, x_143, x_155, x_153); lean_dec(x_143); -x_158 = lean_ctor_get(x_157, 0); +x_146 = l_Lean_IR_EmitLLVM_callLeanAllocCtor___closed__1; +x_147 = lean_array_push(x_146, x_141); +x_148 = lean_array_push(x_147, x_145); +x_149 = lean_array_push(x_148, x_107); +x_150 = l_LLVM_voidPtrType(x_1, x_144); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +x_153 = l_LLVM_i32Type(x_1, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_LLVM_voidPtrType(x_1, x_155); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_unbox_usize(x_158); -lean_dec(x_158); -x_161 = lean_unbox_usize(x_154); -lean_dec(x_154); -x_162 = lean_llvm_build_call2(x_1, x_2, x_160, x_161, x_138, x_116, x_159); -lean_dec(x_138); +lean_dec(x_156); +x_159 = lean_array_push(x_146, x_151); +x_160 = lean_array_push(x_159, x_154); +x_161 = lean_array_push(x_160, x_157); +x_162 = l_Lean_IR_EmitLLVM_getLLVMModule___rarg(x_7, x_158); x_163 = lean_ctor_get(x_162, 0); lean_inc(x_163); x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); lean_dec(x_162); -x_165 = lean_unbox_usize(x_163); +x_165 = lean_ctor_get(x_163, 0); +lean_inc(x_165); lean_dec(x_163); -x_166 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_165, x_6, x_7, x_164); -return x_166; +x_166 = l_Lean_IR_EmitLLVM_emitApp___closed__3; +x_167 = lean_unbox_usize(x_165); +lean_dec(x_165); +x_168 = lean_unbox_usize(x_125); +x_169 = l_Lean_IR_EmitLLVM_getOrCreateFunctionPrototype(x_1, x_167, x_168, x_166, x_161, x_6, x_7, x_164); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +x_172 = lean_ctor_get(x_170, 0); +lean_inc(x_172); +lean_dec(x_170); +x_173 = 0; +x_174 = lean_unbox_usize(x_125); +lean_dec(x_125); +x_175 = lean_llvm_function_type(x_1, x_174, x_161, x_173, x_171); +lean_dec(x_161); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox_usize(x_176); +lean_dec(x_176); +x_179 = lean_unbox_usize(x_172); +lean_dec(x_172); +x_180 = lean_llvm_build_call2(x_1, x_2, x_178, x_179, x_149, x_127, x_177); +lean_dec(x_149); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_unbox_usize(x_181); +lean_dec(x_181); +x_184 = l_Lean_IR_EmitLLVM_emitLhsSlotStore(x_1, x_2, x_3, x_183, x_6, x_7, x_182); +lean_dec(x_7); +lean_dec(x_6); +return x_184; +} } } } @@ -16730,8 +17352,6 @@ lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitApp___spec__1(x_9, x_10, x_11, x_12, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); return x_13; } } @@ -16746,8 +17366,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); x_14 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitApp___spec__2(x_11, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); return x_14; @@ -16762,8 +17380,6 @@ lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = l_Lean_IR_EmitLLVM_emitApp(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); return x_11; } } @@ -16775,6 +17391,8 @@ x_9 = lean_usize_dec_lt(x_4, x_3); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_5); x_11 = lean_alloc_ctor(0, 2, 0); @@ -16788,6 +17406,8 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean x_12 = lean_array_uget(x_5, x_4); x_13 = lean_unsigned_to_nat(0u); x_14 = lean_array_uset(x_5, x_4, x_13); +lean_inc(x_7); +lean_inc(x_6); x_28 = l_Lean_IR_EmitLLVM_emitArgSlot__(x_1, x_2, x_12, x_6, x_7, x_8); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); @@ -16887,6 +17507,8 @@ if (lean_obj_tag(x_15) == 0) { uint8_t x_17; lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) { @@ -17330,6 +17952,8 @@ lean_dec(x_78); x_91 = lean_usize_of_nat(x_38); lean_dec(x_38); x_92 = 0; +lean_inc(x_7); +lean_inc(x_6); x_93 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitFullApp___spec__1(x_1, x_2, x_91, x_92, x_5, x_6, x_7, x_89); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); @@ -17814,8 +18438,6 @@ lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitFullApp___spec__1(x_9, x_10, x_11, x_12, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); return x_13; } } @@ -17937,7 +18559,7 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_26; x_21 = lean_ctor_get(x_9, 1); lean_inc(x_21); lean_dec(x_9); @@ -17946,236 +18568,309 @@ lean_inc(x_22); lean_dec(x_10); x_23 = l_Lean_IR_EmitLLVM_emitJp___closed__3; x_24 = lean_unbox_usize(x_22); -x_25 = lean_llvm_build_alloca(x_1, x_2, x_24, x_23, x_21); -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_unbox_usize(x_26); -x_29 = lean_unbox_usize(x_22); -lean_dec(x_22); -x_30 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_3, x_28, x_29, x_6, x_7, x_27); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_5, 0); -lean_inc(x_32); -lean_dec(x_5); lean_inc(x_7); lean_inc(x_6); -x_33 = l_Lean_IR_EmitLLVM_emitNumLit(x_1, x_2, x_4, x_32, x_6, x_7, x_31); -if (lean_obj_tag(x_33) == 0) +x_25 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_24, x_23, x_6, x_7, x_21); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -lean_dec(x_26); -lean_dec(x_7); -lean_dec(x_6); -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_33, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_34); -if (x_37 == 0) -{ -return x_33; -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_34, 0); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_33, 0, x_39); -return x_33; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); -lean_dec(x_33); -x_41 = lean_ctor_get(x_34, 0); -lean_inc(x_41); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_42 = x_34; -} else { - lean_dec_ref(x_34); - x_42 = lean_box(0); -} -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 1, 0); -} else { - x_43 = x_42; -} -lean_ctor_set(x_43, 0, x_41); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_40); -return x_44; -} -} -else -{ -lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_33, 1); -lean_inc(x_45); -lean_dec(x_33); -x_46 = lean_ctor_get(x_34, 0); -lean_inc(x_46); -lean_dec(x_34); -x_47 = lean_unbox_usize(x_26); -lean_dec(x_26); -x_48 = lean_unbox_usize(x_46); -lean_dec(x_46); -x_49 = l_Lean_IR_EmitLLVM_emitLit___lambda__1(x_1, x_2, x_47, x_48, x_6, x_7, x_45); -lean_dec(x_7); -lean_dec(x_6); -return x_49; -} -} -else -{ -uint8_t x_50; -lean_dec(x_26); -lean_dec(x_7); -lean_dec(x_6); -x_50 = !lean_is_exclusive(x_33); -if (x_50 == 0) -{ -return x_33; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_33, 0); -x_52 = lean_ctor_get(x_33, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_33); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -else -{ -lean_object* x_54; lean_object* x_55; uint64_t x_56; uint8_t 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; size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint64_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; size_t x_85; size_t x_86; lean_object* x_87; -lean_dec(x_4); -x_54 = lean_ctor_get(x_30, 1); -lean_inc(x_54); -lean_dec(x_30); -x_55 = lean_ctor_get(x_5, 0); -lean_inc(x_55); -lean_dec(x_5); -x_56 = 0; -x_57 = 0; -x_58 = l_LLVM_constIntUnsigned(x_1, x_56, x_57, x_54); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_llvm_build_global_string(x_1, x_2, x_55, x_23, x_60); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_llvm_opaque_pointer_type_in_context(x_1, x_56, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_IR_EmitLLVM_callLeanBox___closed__1; -x_68 = lean_array_push(x_67, x_59); -x_69 = lean_unbox_usize(x_65); -lean_dec(x_65); -x_70 = lean_unbox_usize(x_62); -lean_dec(x_62); -x_71 = lean_llvm_build_inbounds_gep2(x_1, x_2, x_69, x_70, x_68, x_23, x_66); -lean_dec(x_68); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_string_utf8_byte_size(x_55); -lean_dec(x_55); -x_75 = lean_uint64_of_nat(x_74); -lean_dec(x_74); -x_76 = l_LLVM_constIntUnsigned(x_1, x_75, x_57, x_73); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_unbox_usize(x_72); -lean_dec(x_72); -x_80 = lean_unbox_usize(x_77); -lean_dec(x_77); -x_81 = l_Lean_IR_EmitLLVM_callLeanMkStringFromBytesFn(x_1, x_2, x_79, x_80, x_23, x_6, x_7, x_78); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_unbox_usize(x_26); -lean_dec(x_26); -x_86 = lean_unbox_usize(x_84); -lean_dec(x_84); -x_87 = l_Lean_IR_EmitLLVM_emitLit___lambda__1(x_1, x_2, x_85, x_86, x_6, x_7, x_83); -lean_dec(x_7); -lean_dec(x_6); -return x_87; -} -} -} -else -{ -uint8_t x_88; +uint8_t x_27; +lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_88 = !lean_is_exclusive(x_9); -if (x_88 == 0) +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_25, 0); +lean_dec(x_28); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_25, 0, x_31); +return x_25; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +lean_dec(x_25); +x_33 = lean_ctor_get(x_26, 0); +lean_inc(x_33); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + x_34 = x_26; +} else { + lean_dec_ref(x_26); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 1, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_33); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_32); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_25, 1); +lean_inc(x_37); +lean_dec(x_25); +x_38 = lean_ctor_get(x_26, 0); +lean_inc(x_38); +lean_dec(x_26); +x_39 = lean_unbox_usize(x_38); +x_40 = lean_unbox_usize(x_22); +lean_dec(x_22); +x_41 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_3, x_39, x_40, x_6, x_7, x_37); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get(x_5, 0); +lean_inc(x_43); +lean_dec(x_5); +lean_inc(x_7); +lean_inc(x_6); +x_44 = l_Lean_IR_EmitLLVM_emitNumLit(x_1, x_2, x_4, x_43, x_6, x_7, x_42); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +uint8_t x_46; +lean_dec(x_38); +lean_dec(x_7); +lean_dec(x_6); +x_46 = !lean_is_exclusive(x_44); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_44, 0); +lean_dec(x_47); +x_48 = !lean_is_exclusive(x_45); +if (x_48 == 0) +{ +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_45, 0); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_44, 0, x_50); +return x_44; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_44, 1); +lean_inc(x_51); +lean_dec(x_44); +x_52 = lean_ctor_get(x_45, 0); +lean_inc(x_52); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + x_53 = x_45; +} else { + lean_dec_ref(x_45); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 1, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_52); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_44, 1); +lean_inc(x_56); +lean_dec(x_44); +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +lean_dec(x_45); +x_58 = lean_unbox_usize(x_38); +lean_dec(x_38); +x_59 = lean_unbox_usize(x_57); +lean_dec(x_57); +x_60 = l_Lean_IR_EmitLLVM_emitLit___lambda__1(x_1, x_2, x_58, x_59, x_6, x_7, x_56); +lean_dec(x_7); +lean_dec(x_6); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_dec(x_38); +lean_dec(x_7); +lean_dec(x_6); +x_61 = !lean_is_exclusive(x_44); +if (x_61 == 0) +{ +return x_44; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_44, 0); +x_63 = lean_ctor_get(x_44, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_44); +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 +{ +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; uint64_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; size_t x_91; size_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; size_t x_97; size_t x_98; lean_object* x_99; +lean_dec(x_4); +x_65 = lean_ctor_get(x_41, 1); +lean_inc(x_65); +lean_dec(x_41); +x_66 = lean_ctor_get(x_5, 0); +lean_inc(x_66); +lean_dec(x_5); +x_67 = lean_unsigned_to_nat(0u); +x_68 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_67, x_6, x_7, x_65); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_llvm_build_global_string(x_1, x_2, x_66, x_23, x_70); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = 0; +x_76 = lean_llvm_opaque_pointer_type_in_context(x_1, x_75, x_74); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_IR_EmitLLVM_callLeanBox___closed__1; +x_80 = lean_array_push(x_79, x_71); +x_81 = lean_unbox_usize(x_77); +lean_dec(x_77); +x_82 = lean_unbox_usize(x_73); +lean_dec(x_73); +x_83 = lean_llvm_build_inbounds_gep2(x_1, x_2, x_81, x_82, x_80, x_23, x_78); +lean_dec(x_80); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_string_utf8_byte_size(x_66); +lean_dec(x_66); +x_87 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_86, x_6, x_7, x_85); +lean_dec(x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_ctor_get(x_88, 0); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_unbox_usize(x_84); +lean_dec(x_84); +x_92 = lean_unbox_usize(x_90); +lean_dec(x_90); +x_93 = l_Lean_IR_EmitLLVM_callLeanMkStringFromBytesFn(x_1, x_2, x_91, x_92, x_23, x_6, x_7, x_89); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox_usize(x_38); +lean_dec(x_38); +x_98 = lean_unbox_usize(x_96); +lean_dec(x_96); +x_99 = l_Lean_IR_EmitLLVM_emitLit___lambda__1(x_1, x_2, x_97, x_98, x_6, x_7, x_95); +lean_dec(x_7); +lean_dec(x_6); +return x_99; +} +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_100 = !lean_is_exclusive(x_9); +if (x_100 == 0) { return x_9; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_9, 0); -x_90 = lean_ctor_get(x_9, 1); -lean_inc(x_90); -lean_inc(x_89); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_9, 0); +x_102 = lean_ctor_get(x_9, 1); +lean_inc(x_102); +lean_inc(x_101); lean_dec(x_9); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } @@ -18525,7 +19220,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanCtorGetUsize(size_t x_1, siz _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; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; size_t 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; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_9 = l_Lean_IR_LLVM_size__tType(x_1, x_8); +x_9 = l_LLVM_i64Type(x_1, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -18537,7 +19232,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i32Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -18929,7 +19624,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_IR_LLVM_size__tType(x_1, x_15); +x_16 = l_LLVM_i32Type(x_1, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -20002,7 +20697,7 @@ lean_dec(x_10); x_41 = lean_ctor_get(x_11, 0); lean_inc(x_41); lean_dec(x_11); -x_42 = l_Lean_IR_LLVM_size__tType(x_1, x_40); +x_42 = l_LLVM_i64Type(x_1, x_40); x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); x_44 = lean_ctor_get(x_42, 1); @@ -20029,7 +20724,7 @@ lean_dec(x_10); x_50 = lean_ctor_get(x_11, 0); lean_inc(x_50); lean_dec(x_11); -x_51 = l_Lean_IR_LLVM_size__tType(x_1, x_49); +x_51 = l_LLVM_i64Type(x_1, x_49); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); @@ -20057,7 +20752,7 @@ lean_dec(x_10); x_59 = lean_ctor_get(x_11, 0); lean_inc(x_59); lean_dec(x_11); -x_60 = l_Lean_IR_LLVM_size__tType(x_1, x_58); +x_60 = l_LLVM_i64Type(x_1, x_58); x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); x_62 = lean_ctor_get(x_60, 1); @@ -20073,7 +20768,7 @@ lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = l_Lean_IR_LLVM_size__tType(x_1, x_67); +x_68 = l_LLVM_i64Type(x_1, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -20802,7 +21497,7 @@ default: { 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_dec(x_3); -x_93 = l_Lean_IR_LLVM_size__tType(x_1, x_8); +x_93 = l_LLVM_i64Type(x_1, x_8); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); x_95 = lean_ctor_get(x_93, 1); @@ -21491,7 +22186,7 @@ x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_26, x_5, x_6, x_25); +x_27 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_26, x_5, x_6, x_25); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -22125,7 +22820,7 @@ x_55 = lean_ctor_get(x_43, 0); lean_inc(x_55); lean_dec(x_43); x_56 = lean_ctor_get(x_5, 1); -x_57 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_56, x_7, x_8, x_54); +x_57 = l_Lean_IR_EmitLLVM_constInt8(x_1, x_56, x_7, x_8, x_54); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); @@ -22564,8 +23259,6 @@ x_37 = lean_ctor_get(x_5, 1); lean_inc(x_37); lean_dec(x_5); x_38 = l_Lean_IR_EmitLLVM_emitApp(x_1, x_2, x_3, x_36, x_37, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); return x_38; } case 9: @@ -22811,7 +23504,7 @@ return x_19; } else { -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_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; x_20 = lean_ctor_get(x_8, 1); lean_inc(x_20); lean_dec(x_8); @@ -22820,45 +23513,111 @@ lean_inc(x_21); lean_dec(x_9); x_22 = l_Lean_IR_EmitLLVM_declareVar___closed__1; x_23 = lean_unbox_usize(x_21); -x_24 = lean_llvm_build_alloca(x_1, x_2, x_23, x_22, x_20); +lean_inc(x_6); +lean_inc(x_5); +x_24 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_23, x_22, x_5, x_6, x_20); 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_unbox_usize(x_25); -lean_dec(x_25); -x_28 = lean_unbox_usize(x_21); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; lean_dec(x_21); -x_29 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_3, x_27, x_28, x_5, x_6, x_26); lean_dec(x_6); lean_dec(x_5); -return x_29; +lean_dec(x_3); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_25); +if (x_28 == 0) +{ +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_24, 0, x_30); +return x_24; } } else { -uint8_t x_30; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_24, 1); +lean_inc(x_31); +lean_dec(x_24); +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + x_33 = x_25; +} else { + lean_dec_ref(x_25); + 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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_24, 1); +lean_inc(x_36); +lean_dec(x_24); +x_37 = lean_ctor_get(x_25, 0); +lean_inc(x_37); +lean_dec(x_25); +x_38 = lean_unbox_usize(x_37); +lean_dec(x_37); +x_39 = lean_unbox_usize(x_21); +lean_dec(x_21); +x_40 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_3, x_38, x_39, x_5, x_6, x_36); +lean_dec(x_6); +lean_dec(x_5); +return x_40; +} +} +} +else +{ +uint8_t x_41; lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_30 = !lean_is_exclusive(x_8); -if (x_30 == 0) +x_41 = !lean_is_exclusive(x_8); +if (x_41 == 0) { return x_8; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_8, 0); -x_32 = lean_ctor_get(x_8, 1); -lean_inc(x_32); -lean_inc(x_31); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_8, 0); +x_43 = lean_ctor_get(x_8, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_8); -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; +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; } } } @@ -23450,7 +24209,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i32Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -23507,6 +24266,8 @@ if (lean_obj_tag(x_43) == 0) uint8_t x_44; lean_dec(x_39); lean_dec(x_35); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); x_44 = !lean_is_exclusive(x_42); if (x_44 == 0) @@ -23692,8 +24453,6 @@ lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = l_Lean_IR_EmitLLVM_emitSet(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); return x_11; } @@ -23722,13 +24481,13 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_IR_LLVM_size__tType(x_1, x_14); +x_15 = l_LLVM_i32Type(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_IR_LLVM_size__tType(x_1, x_17); +x_18 = l_LLVM_i64Type(x_1, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -23975,6 +24734,8 @@ x_9 = lean_usize_dec_lt(x_4, x_3); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_5); x_11 = lean_alloc_ctor(0, 2, 0); @@ -23989,6 +24750,8 @@ x_12 = lean_array_uget(x_5, x_4); x_13 = lean_unsigned_to_nat(0u); x_14 = lean_array_uset(x_5, x_4, x_13); x_15 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_7); +lean_inc(x_6); x_16 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_12, x_15, x_6, x_7, x_8); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); @@ -23996,6 +24759,8 @@ if (lean_obj_tag(x_17) == 0) { uint8_t x_18; lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); x_18 = !lean_is_exclusive(x_16); if (x_18 == 0) { @@ -24077,6 +24842,8 @@ x_9 = lean_array_get_size(x_1); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; +lean_inc(x_7); +lean_inc(x_6); x_12 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitTailCall___spec__1(x_2, x_3, x_10, x_11, x_1, x_6, x_7, x_8); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); @@ -24410,8 +25177,6 @@ lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = l_Array_mapMUnsafe_map___at_Lean_IR_EmitLLVM_emitTailCall___spec__1(x_9, x_10, x_11, x_12, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); return x_13; } } @@ -24448,6 +25213,8 @@ x_34 = lean_usize_dec_lt(x_5, x_4); if (x_34 == 0) { lean_object* x_35; lean_object* x_36; +lean_dec(x_8); +lean_dec(x_7); x_35 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_35, 0, x_6); x_36 = lean_alloc_ctor(0, 2, 0); @@ -24466,6 +25233,8 @@ x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); x_40 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +lean_inc(x_8); +lean_inc(x_7); x_41 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_39, x_40, x_7, x_8, x_9); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); @@ -24561,6 +25330,8 @@ block_33: if (lean_obj_tag(x_10) == 0) { uint8_t x_12; +lean_dec(x_8); +lean_dec(x_7); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { @@ -24595,6 +25366,8 @@ x_18 = lean_ctor_get(x_10, 0); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; +lean_dec(x_8); +lean_dec(x_7); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec(x_18); @@ -24628,6 +25401,8 @@ lean_dec(x_10); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_8); +lean_dec(x_7); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); lean_dec(x_25); @@ -24716,6 +25491,8 @@ x_12 = lean_usize_of_nat(x_11); lean_dec(x_11); x_13 = 0; x_14 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); x_15 = l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitJmp___spec__1(x_3, x_4, x_10, x_12, x_13, x_14, x_7, x_8, x_9); lean_dec(x_10); x_16 = lean_ctor_get(x_15, 0); @@ -24723,6 +25500,8 @@ lean_inc(x_16); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) @@ -24782,6 +25561,8 @@ x_27 = lean_ctor_get(x_15, 1); lean_inc(x_27); lean_dec(x_15); x_28 = l_Lean_IR_EmitLLVM_emitJp(x_3, x_5, x_7, x_8, x_27); +lean_dec(x_8); +lean_dec(x_7); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); if (lean_obj_tag(x_29) == 0) @@ -24921,8 +25702,6 @@ else lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); x_15 = l_Lean_IR_EmitLLVM_emitJmp___lambda__1(x_5, x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_1); lean_dec(x_5); return x_15; @@ -24991,8 +25770,6 @@ lean_dec(x_4); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); x_14 = l_Array_forInUnsafe_loop___at_Lean_IR_EmitLLVM_emitJmp___spec__1(x_10, x_11, x_3, x_12, x_13, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_3); return x_14; } @@ -25016,8 +25793,6 @@ lean_dec(x_3); x_11 = lean_unbox_usize(x_4); lean_dec(x_4); x_12 = l_Lean_IR_EmitLLVM_emitJmp___lambda__1(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); @@ -25063,7 +25838,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_IR_LLVM_size__tType(x_1, x_15); +x_16 = l_LLVM_i32Type(x_1, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -25666,7 +26441,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_IR_LLVM_size__tType(x_1, x_10); +x_11 = l_LLVM_i8Type(x_1, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -25782,7 +26557,7 @@ lean_inc(x_49); x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); lean_dec(x_48); -x_51 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_4, x_5, x_6, x_50); +x_51 = l_Lean_IR_EmitLLVM_constInt8(x_1, x_4, x_5, x_6, x_50); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); @@ -26040,7 +26815,7 @@ lean_dec(x_41); x_44 = lean_ctor_get(x_42, 0); lean_inc(x_44); lean_dec(x_42); -x_45 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_36, x_10, x_11, x_43); +x_45 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_36, x_10, x_11, x_43); lean_dec(x_36); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -26965,6 +27740,8 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_3, 3); lean_inc(x_57); lean_dec(x_3); +lean_inc(x_5); +lean_inc(x_4); x_58 = l_Lean_IR_EmitLLVM_emitSet(x_1, x_2, x_54, x_55, x_56, x_4, x_5, x_6); lean_dec(x_55); x_59 = lean_ctor_get(x_58, 0); @@ -27595,8 +28372,6 @@ lean_inc(x_191); lean_dec(x_3); x_192 = l_Lean_IR_EmitLLVM_emitBlock___closed__1; x_193 = l_Lean_IR_EmitLLVM_emitArgVal(x_1, x_2, x_191, x_192, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); x_194 = lean_ctor_get(x_193, 0); lean_inc(x_194); if (lean_obj_tag(x_194) == 0) @@ -28130,30 +28905,30 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_34; lean_object* x_72; uint8_t x_73; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_34; lean_object* x_77; uint8_t x_78; lean_dec(x_6); x_12 = lean_ctor_get(x_5, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); lean_dec(x_5); -x_72 = lean_array_get_size(x_4); -x_73 = lean_nat_dec_lt(x_12, x_72); -lean_dec(x_72); -if (x_73 == 0) +x_77 = lean_array_get_size(x_4); +x_78 = lean_nat_dec_lt(x_12, x_77); +lean_dec(x_77); +if (x_78 == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = l_Lean_IR_instInhabitedParam; -x_75 = l___private_Init_Util_0__outOfBounds___rarg(x_74); -x_34 = x_75; -goto block_71; +lean_object* x_79; lean_object* x_80; +x_79 = l_Lean_IR_instInhabitedParam; +x_80 = l___private_Init_Util_0__outOfBounds___rarg(x_79); +x_34 = x_80; +goto block_76; } else { -lean_object* x_76; -x_76 = lean_array_fget(x_4, x_12); -x_34 = x_76; -goto block_71; +lean_object* x_81; +x_81 = lean_array_fget(x_4, x_12); +x_34 = x_81; +goto block_76; } block_33: { @@ -28258,7 +29033,7 @@ goto _start; } } } -block_71: +block_76: { lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_34, 1); @@ -28301,7 +29076,7 @@ goto block_33; } 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; size_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint64_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; size_t x_57; size_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; lean_object* x_50; lean_object* x_51; x_42 = lean_ctor_get(x_36, 1); lean_inc(x_42); lean_dec(x_36); @@ -28316,69 +29091,107 @@ lean_dec(x_44); x_47 = l_Lean_IR_EmitLLVM_emitJp___closed__3; x_48 = lean_string_append(x_46, x_47); x_49 = lean_unbox_usize(x_43); -x_50 = lean_llvm_build_alloca(x_1, x_2, x_49, x_48, x_42); +lean_inc(x_8); +lean_inc(x_7); +x_50 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_49, x_48, x_7, x_8, x_42); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +lean_dec(x_43); +lean_dec(x_34); +lean_dec(x_12); x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); lean_dec(x_50); -x_53 = lean_uint64_of_nat(x_12); -lean_dec(x_12); -x_54 = llvm_get_param(x_1, x_3, x_53, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_unbox_usize(x_55); -lean_dec(x_55); -x_58 = lean_unbox_usize(x_51); -x_59 = lean_llvm_build_store(x_1, x_2, x_57, x_58, x_56); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_ctor_get(x_34, 0); -lean_inc(x_61); -lean_dec(x_34); -x_62 = lean_unbox_usize(x_51); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +x_14 = x_51; +x_15 = x_52; +goto block_33; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 0); +lean_inc(x_54); lean_dec(x_51); -x_63 = lean_unbox_usize(x_43); -lean_dec(x_43); -x_64 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_61, x_62, x_63, x_7, x_8, x_60); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___closed__4; -x_14 = x_66; -x_15 = x_65; +x_55 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_14 = x_55; +x_15 = x_52; goto block_33; } } else { -uint8_t x_67; +lean_object* x_56; lean_object* x_57; uint64_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_56 = lean_ctor_get(x_50, 1); +lean_inc(x_56); +lean_dec(x_50); +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +lean_dec(x_51); +x_58 = lean_uint64_of_nat(x_12); +lean_dec(x_12); +x_59 = llvm_get_param(x_1, x_3, x_58, x_56); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_unbox_usize(x_60); +lean_dec(x_60); +x_63 = lean_unbox_usize(x_57); +x_64 = lean_llvm_build_store(x_1, x_2, x_62, x_63, x_61); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get(x_34, 0); +lean_inc(x_66); +lean_dec(x_34); +x_67 = lean_unbox_usize(x_57); +lean_dec(x_57); +x_68 = lean_unbox_usize(x_43); +lean_dec(x_43); +x_69 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_66, x_67, x_68, x_7, x_8, x_65); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___closed__4; +x_14 = x_71; +x_15 = x_70; +goto block_33; +} +} +} +else +{ +uint8_t x_72; lean_dec(x_34); lean_dec(x_13); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); -x_67 = !lean_is_exclusive(x_36); -if (x_67 == 0) +x_72 = !lean_is_exclusive(x_36); +if (x_72 == 0) { return x_36; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_36, 0); -x_69 = lean_ctor_get(x_36, 1); -lean_inc(x_69); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_36, 0); +x_74 = lean_ctor_get(x_36, 1); +lean_inc(x_74); +lean_inc(x_73); lean_dec(x_36); -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; +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; } } } @@ -28421,18 +29234,18 @@ x_35 = lean_nat_dec_lt(x_13, x_5); x_36 = l_LLVM_voidPtrType(x_1, x_10); if (x_35 == 0) { -lean_object* x_92; lean_object* x_93; -x_92 = l_Lean_IR_instInhabitedParam; -x_93 = l___private_Init_Util_0__outOfBounds___rarg(x_92); -x_37 = x_93; -goto block_91; +lean_object* x_97; lean_object* x_98; +x_97 = l_Lean_IR_instInhabitedParam; +x_98 = l___private_Init_Util_0__outOfBounds___rarg(x_97); +x_37 = x_98; +goto block_96; } else { -lean_object* x_94; -x_94 = lean_array_fget(x_3, x_13); -x_37 = x_94; -goto block_91; +lean_object* x_99; +x_99 = lean_array_fget(x_3, x_13); +x_37 = x_99; +goto block_96; } block_34: { @@ -28537,7 +29350,7 @@ goto _start; } } } -block_91: +block_96: { 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; size_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; x_38 = lean_ctor_get(x_36, 0); @@ -28611,7 +29424,7 @@ goto block_34; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; size_t 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; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; size_t 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; size_t x_73; lean_object* x_74; lean_object* x_75; x_62 = lean_ctor_get(x_56, 1); lean_inc(x_62); lean_dec(x_56); @@ -28633,62 +29446,100 @@ x_71 = lean_string_append(x_70, x_46); lean_dec(x_46); x_72 = lean_string_append(x_71, x_64); x_73 = lean_unbox_usize(x_63); -x_74 = lean_llvm_build_alloca(x_1, x_2, x_73, x_72, x_69); +lean_inc(x_9); +lean_inc(x_8); +x_74 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_2, x_73, x_72, x_8, x_9, x_69); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; uint8_t x_77; +lean_dec(x_68); +lean_dec(x_63); +lean_dec(x_37); x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); lean_dec(x_74); -x_77 = lean_unbox_usize(x_68); -lean_dec(x_68); -x_78 = lean_unbox_usize(x_75); -x_79 = lean_llvm_build_store(x_1, x_2, x_77, x_78, x_76); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get(x_37, 0); -lean_inc(x_81); -lean_dec(x_37); -x_82 = lean_unbox_usize(x_75); +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +x_15 = x_75; +x_16 = x_76; +goto block_34; +} +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 0); +lean_inc(x_78); lean_dec(x_75); -x_83 = lean_unbox_usize(x_63); -lean_dec(x_63); -x_84 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_81, x_82, x_83, x_8, x_9, x_80); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___closed__4; -x_15 = x_86; -x_16 = x_85; +x_79 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_15 = x_79; +x_16 = x_76; goto block_34; } } else { -uint8_t x_87; +lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_80 = lean_ctor_get(x_74, 1); +lean_inc(x_80); +lean_dec(x_74); +x_81 = lean_ctor_get(x_75, 0); +lean_inc(x_81); +lean_dec(x_75); +x_82 = lean_unbox_usize(x_68); +lean_dec(x_68); +x_83 = lean_unbox_usize(x_81); +x_84 = lean_llvm_build_store(x_1, x_2, x_82, x_83, x_80); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_ctor_get(x_37, 0); +lean_inc(x_86); +lean_dec(x_37); +x_87 = lean_unbox_usize(x_81); +lean_dec(x_81); +x_88 = lean_unbox_usize(x_63); +lean_dec(x_63); +x_89 = l_Lean_IR_EmitLLVM_addVartoState(x_1, x_86, x_87, x_88, x_8, x_9, x_85); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_List_forIn_loop___at_Lean_IR_EmitLLVM_emitFnDecls___spec__5___closed__4; +x_15 = x_91; +x_16 = x_90; +goto block_34; +} +} +} +else +{ +uint8_t x_92; lean_dec(x_53); lean_dec(x_46); lean_dec(x_37); lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); -x_87 = !lean_is_exclusive(x_56); -if (x_87 == 0) +x_92 = !lean_is_exclusive(x_56); +if (x_92 == 0) { return x_56; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_56, 0); -x_89 = lean_ctor_get(x_56, 1); -lean_inc(x_89); -lean_inc(x_88); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_56, 0); +x_94 = lean_ctor_get(x_56, 1); +lean_inc(x_94); +lean_inc(x_93); lean_dec(x_56); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } @@ -34419,19 +35270,21 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitInitFn___lambda__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint64_t x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t 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; uint8_t x_25; -x_6 = 0; -x_7 = 0; -x_8 = l_LLVM_constIntUnsigned(x_1, x_6, x_7, x_5); -x_9 = lean_ctor_get(x_8, 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; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t 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; uint8_t x_25; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_6, x_3, x_4, x_5); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); lean_inc(x_10); lean_dec(x_8); x_11 = l_Lean_IR_EmitLLVM_emitReset___lambda__2___closed__1; -x_12 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_13 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_2, x_12, x_11, x_3, x_4, x_10); +x_12 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_13 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_2, x_12, x_11, x_3, x_4, x_9); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -34807,22 +35660,24 @@ return x_120; } else { -lean_object* x_121; uint64_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; size_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; size_t x_138; lean_object* x_139; uint8_t x_140; +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; size_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; size_t x_138; lean_object* x_139; uint8_t x_140; lean_dec(x_110); x_121 = lean_ctor_get(x_109, 1); lean_inc(x_121); lean_dec(x_109); -x_122 = 0; -x_123 = l_LLVM_constIntUnsigned(x_1, x_122, x_27, x_121); -x_124 = lean_ctor_get(x_123, 0); +x_122 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_104, x_4, x_5, x_121); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); +lean_dec(x_122); +x_125 = lean_ctor_get(x_123, 0); lean_inc(x_125); lean_dec(x_123); x_126 = l_Lean_IR_EmitLLVM_emitReset___lambda__2___closed__1; -x_127 = lean_unbox_usize(x_124); -lean_dec(x_124); -x_128 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_127, x_126, x_4, x_5, x_125); +x_127 = lean_unbox_usize(x_125); +lean_dec(x_125); +x_128 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_127, x_126, x_4, x_5, x_124); x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); x_130 = lean_ctor_get(x_128, 1); @@ -34976,22 +35831,24 @@ return x_165; } else { -lean_object* x_166; uint64_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; size_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; size_t x_183; lean_object* x_184; uint8_t x_185; +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; size_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; size_t x_183; lean_object* x_184; uint8_t x_185; lean_dec(x_155); x_166 = lean_ctor_get(x_154, 1); lean_inc(x_166); lean_dec(x_154); -x_167 = 0; -x_168 = l_LLVM_constIntUnsigned(x_1, x_167, x_27, x_166); -x_169 = lean_ctor_get(x_168, 0); +x_167 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_104, x_4, x_5, x_166); +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_167, 1); lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); +lean_dec(x_167); +x_170 = lean_ctor_get(x_168, 0); lean_inc(x_170); lean_dec(x_168); x_171 = l_Lean_IR_EmitLLVM_emitReset___lambda__2___closed__1; -x_172 = lean_unbox_usize(x_169); -lean_dec(x_169); -x_173 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_172, x_171, x_4, x_5, x_170); +x_172 = lean_unbox_usize(x_170); +lean_dec(x_170); +x_173 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_172, x_171, x_4, x_5, x_169); x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); x_175 = lean_ctor_get(x_173, 1); @@ -35217,22 +36074,24 @@ return x_226; } else { -lean_object* x_227; uint64_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; size_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; size_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; size_t x_244; lean_object* x_245; uint8_t x_246; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; size_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; size_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; size_t x_244; lean_object* x_245; uint8_t x_246; lean_dec(x_216); x_227 = lean_ctor_get(x_215, 1); lean_inc(x_227); lean_dec(x_215); -x_228 = 0; -x_229 = l_LLVM_constIntUnsigned(x_1, x_228, x_27, x_227); -x_230 = lean_ctor_get(x_229, 0); +x_228 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_104, x_4, x_5, x_227); +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_228, 1); lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); +lean_dec(x_228); +x_231 = lean_ctor_get(x_229, 0); lean_inc(x_231); lean_dec(x_229); x_232 = l_Lean_IR_EmitLLVM_emitReset___lambda__2___closed__1; -x_233 = lean_unbox_usize(x_230); -lean_dec(x_230); -x_234 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_233, x_232, x_4, x_5, x_231); +x_233 = lean_unbox_usize(x_231); +lean_dec(x_231); +x_234 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_3, x_233, x_232, x_4, x_5, x_230); x_235 = lean_ctor_get(x_234, 0); lean_inc(x_235); x_236 = lean_ctor_get(x_234, 1); @@ -36759,7 +37618,7 @@ x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_12, x_5, x_6, x_11); +x_13 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_12, x_5, x_6, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -36899,7 +37758,7 @@ x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_IR_EmitLLVM_constIntUnsigned(x_1, x_15, x_8, x_9, x_14); +x_16 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_15, x_8, x_9, x_14); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -37120,313 +37979,374 @@ x_1 = lean_mk_string_from_bytes("argv", 4); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(size_t x_1, size_t x_2, lean_object* x_3, size_t x_4, size_t x_5, size_t 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) { +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(size_t x_1, size_t x_2, lean_object* x_3, size_t x_4, size_t x_5, size_t x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _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; uint8_t x_19; -x_13 = l_Lean_IR_EmitLLVM_callLeanDecRef(x_1, x_9, x_2, x_10, x_11, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_IR_EmitLLVM_callLeanInitTaskManager(x_1, x_9, x_10, x_11, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_array_get_size(x_3); -x_18 = lean_unsigned_to_nat(2u); -x_19 = lean_nat_dec_eq(x_17, x_18); -lean_dec(x_17); -if (x_19 == 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; +x_12 = l_Lean_IR_EmitLLVM_callLeanDecRef(x_1, x_8, x_2, x_9, x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_IR_EmitLLVM_callLeanInitTaskManager(x_1, x_8, x_9, x_10, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_array_get_size(x_3); +x_17 = lean_unsigned_to_nat(2u); +x_18 = lean_nat_dec_eq(x_16, x_17); +lean_dec(x_16); +if (x_18 == 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; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; lean_object* x_32; uint8_t x_33; -x_20 = l_Lean_IR_EmitLLVM_callLeanIOMkWorld(x_1, x_9, x_10, x_11, x_16); -x_21 = lean_ctor_get(x_20, 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; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; uint8_t x_32; +x_19 = l_Lean_IR_EmitLLVM_callLeanIOMkWorld(x_1, x_8, x_9, x_10, 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); -x_22 = lean_ctor_get(x_20, 1); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); lean_dec(x_20); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(0); -x_25 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; -x_26 = lean_unbox_usize(x_23); -lean_dec(x_23); -x_27 = l_Lean_IR_EmitLLVM_callLeanMainFn(x_1, x_9, x_24, x_26, x_25, x_10, x_11, x_22); -lean_dec(x_11); +x_23 = lean_box(0); +x_24 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; +x_25 = lean_unbox_usize(x_22); +lean_dec(x_22); +x_26 = l_Lean_IR_EmitLLVM_callLeanMainFn(x_1, x_8, x_23, x_25, x_24, x_9, x_10, x_21); lean_dec(x_10); -x_28 = lean_ctor_get(x_27, 0); +lean_dec(x_9); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_unbox_usize(x_30); -lean_dec(x_30); -x_32 = lean_llvm_build_store(x_1, x_9, x_31, x_4, x_29); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_30 = lean_unbox_usize(x_29); +lean_dec(x_29); +x_31 = lean_llvm_build_store(x_1, x_8, x_30, x_4, x_28); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -x_35 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; -lean_ctor_set(x_32, 0, x_35); -return x_32; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; +lean_ctor_set(x_31, 0, x_34); +return x_31; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -lean_dec(x_32); -x_37 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -return x_38; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; +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_39; lean_object* x_40; lean_object* x_41; uint64_t x_42; uint8_t x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t 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; size_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t 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; -x_39 = l_Lean_IR_LLVM_size__tType(x_1, x_16); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_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; size_t x_56; lean_object* x_57; lean_object* x_58; +x_38 = lean_unsigned_to_nat(0u); +x_39 = l_Lean_IR_EmitLLVM_constIntSizeT(x_1, x_38, x_9, x_10, x_15); 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 = 0; -x_43 = 0; -x_44 = lean_unbox_usize(x_40); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); lean_dec(x_40); -x_45 = lean_llvm_const_int(x_1, x_44, x_42, x_43, x_41); +x_43 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___closed__6; +x_44 = lean_unbox_usize(x_42); +lean_dec(x_42); +x_45 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_8, x_44, x_43, x_9, x_10, x_41); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___closed__6; -x_49 = lean_unbox_usize(x_46); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); lean_dec(x_46); -x_50 = l_Lean_IR_EmitLLVM_callLeanBox(x_1, x_9, x_49, x_48, x_10, x_11, x_47); -x_51 = lean_ctor_get(x_50, 0); +x_49 = lean_unbox_usize(x_48); +lean_dec(x_48); +x_50 = lean_llvm_build_store(x_1, x_8, x_49, x_5, x_47); +x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); +x_52 = l_LLVM_i64Type(x_1, x_51); +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_unbox_usize(x_53); -lean_dec(x_53); -x_55 = lean_llvm_build_store(x_1, x_9, x_54, x_5, x_52); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = l_Lean_IR_LLVM_size__tType(x_1, x_56); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__2; +x_56 = lean_unbox_usize(x_53); +lean_inc(x_10); +lean_inc(x_9); +x_57 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_8, x_56, x_55, x_9, x_10, x_54); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__2; -x_61 = lean_unbox_usize(x_58); -x_62 = lean_llvm_build_alloca(x_1, x_9, x_61, x_60, x_59); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +if (lean_obj_tag(x_58) == 0) +{ +uint8_t x_59; +lean_dec(x_53); +lean_dec(x_10); +lean_dec(x_9); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; uint8_t x_61; +x_60 = lean_ctor_get(x_57, 0); +lean_dec(x_60); +x_61 = !lean_is_exclusive(x_58); +if (x_61 == 0) +{ +return x_57; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_58, 0); +lean_inc(x_62); +lean_dec(x_58); +x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_57, 0, x_63); +return x_57; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_64 = lean_ctor_get(x_57, 1); lean_inc(x_64); -lean_dec(x_62); -x_65 = llvm_get_param(x_1, x_6, x_42, x_64); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = llvm_get_param(x_1, x_6, x_7, x_67); -x_69 = lean_ctor_get(x_68, 0); +lean_dec(x_57); +x_65 = lean_ctor_get(x_58, 0); +lean_inc(x_65); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + x_66 = x_58; +} else { + lean_dec_ref(x_58); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 1, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_65); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_64); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; uint64_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint64_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_69 = lean_ctor_get(x_57, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec(x_57); +x_70 = lean_ctor_get(x_58, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_unbox_usize(x_66); -lean_dec(x_66); -x_72 = lean_unbox_usize(x_63); -x_73 = lean_llvm_build_store(x_1, x_9, x_71, x_72, x_70); -x_74 = lean_ctor_get(x_73, 1); +lean_dec(x_58); +x_71 = 0; +x_72 = llvm_get_param(x_1, x_6, x_71, x_69); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); +lean_dec(x_72); +x_75 = 1; +x_76 = llvm_get_param(x_1, x_6, x_75, x_74); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_unbox_usize(x_73); lean_dec(x_73); -x_75 = lean_box_usize(x_1); -lean_inc(x_63); -lean_inc(x_58); -x_76 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__1___boxed), 7, 3); -lean_closure_set(x_76, 0, x_75); -lean_closure_set(x_76, 1, x_58); -lean_closure_set(x_76, 2, x_63); -x_77 = lean_box_usize(x_1); -x_78 = lean_box_usize(x_8); -x_79 = lean_box_usize(x_5); -x_80 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___boxed), 10, 6); -lean_closure_set(x_80, 0, x_77); -lean_closure_set(x_80, 1, x_58); -lean_closure_set(x_80, 2, x_63); -lean_closure_set(x_80, 3, x_69); -lean_closure_set(x_80, 4, x_78); -lean_closure_set(x_80, 5, x_79); -x_81 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__3; -lean_inc(x_11); +x_80 = lean_unbox_usize(x_70); +x_81 = lean_llvm_build_store(x_1, x_8, x_79, x_80, x_78); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_box_usize(x_1); +lean_inc(x_70); +lean_inc(x_53); +x_84 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__1___boxed), 7, 3); +lean_closure_set(x_84, 0, x_83); +lean_closure_set(x_84, 1, x_53); +lean_closure_set(x_84, 2, x_70); +x_85 = lean_box_usize(x_1); +x_86 = lean_box_usize(x_7); +x_87 = lean_box_usize(x_5); +x_88 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__2___boxed), 10, 6); +lean_closure_set(x_88, 0, x_85); +lean_closure_set(x_88, 1, x_53); +lean_closure_set(x_88, 2, x_70); +lean_closure_set(x_88, 3, x_77); +lean_closure_set(x_88, 4, x_86); +lean_closure_set(x_88, 5, x_87); +x_89 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__3; lean_inc(x_10); -x_82 = l_Lean_IR_EmitLLVM_buildWhile__(x_1, x_9, x_81, x_76, x_80, x_10, x_11, x_74); -if (lean_obj_tag(x_82) == 0) +lean_inc(x_9); +x_90 = l_Lean_IR_EmitLLVM_buildWhile__(x_1, x_8, x_89, x_84, x_88, x_9, x_10, x_82); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_83; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) +lean_object* x_91; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +if (lean_obj_tag(x_91) == 0) { -uint8_t x_84; -lean_dec(x_11); +uint8_t x_92; lean_dec(x_10); -x_84 = !lean_is_exclusive(x_82); -if (x_84 == 0) +lean_dec(x_9); +x_92 = !lean_is_exclusive(x_90); +if (x_92 == 0) { -lean_object* x_85; uint8_t x_86; -x_85 = lean_ctor_get(x_82, 0); -lean_dec(x_85); -x_86 = !lean_is_exclusive(x_83); -if (x_86 == 0) +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_90, 0); +lean_dec(x_93); +x_94 = !lean_is_exclusive(x_91); +if (x_94 == 0) { -return x_82; +return x_90; } else { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_83, 0); -lean_inc(x_87); -lean_dec(x_83); -x_88 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_82, 0, x_88); -return x_82; +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_91, 0); +lean_inc(x_95); +lean_dec(x_91); +x_96 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_90, 0, x_96); +return x_90; } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_89 = lean_ctor_get(x_82, 1); -lean_inc(x_89); -lean_dec(x_82); -x_90 = lean_ctor_get(x_83, 0); -lean_inc(x_90); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - x_91 = x_83; -} else { - lean_dec_ref(x_83); - x_91 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(0, 1, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_90); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_89); -return x_93; -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; size_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; size_t x_109; lean_object* x_110; uint8_t x_111; -lean_dec(x_83); -x_94 = lean_ctor_get(x_82, 1); -lean_inc(x_94); -lean_dec(x_82); -x_95 = l_Lean_IR_EmitLLVM_callLeanIOMkWorld(x_1, x_9, x_10, x_11, x_94); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_97 = lean_ctor_get(x_90, 1); lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_ctor_get(x_96, 0); +lean_dec(x_90); +x_98 = lean_ctor_get(x_91, 0); lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_llvm_build_load2(x_1, x_9, x_8, x_5, x_48, x_97); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_100); -x_103 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; -x_104 = lean_unbox_usize(x_98); -lean_dec(x_98); -x_105 = l_Lean_IR_EmitLLVM_callLeanMainFn(x_1, x_9, x_102, x_104, x_103, x_10, x_11, x_101); -lean_dec(x_11); -lean_dec(x_10); -x_106 = lean_ctor_get(x_105, 0); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + x_99 = x_91; +} else { + lean_dec_ref(x_91); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(0, 1, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_97); +return x_101; +} +} +else +{ +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; size_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; size_t x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_91); +x_102 = lean_ctor_get(x_90, 1); +lean_inc(x_102); +lean_dec(x_90); +x_103 = l_Lean_IR_EmitLLVM_callLeanIOMkWorld(x_1, x_8, x_9, x_10, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_104, 0); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_ctor_get(x_106, 0); +lean_dec(x_104); +x_107 = lean_llvm_build_load2(x_1, x_8, x_7, x_5, x_43, x_105); +x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_108); +x_111 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; +x_112 = lean_unbox_usize(x_106); lean_dec(x_106); -x_109 = lean_unbox_usize(x_108); -lean_dec(x_108); -x_110 = lean_llvm_build_store(x_1, x_9, x_109, x_4, x_107); -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_110, 0); -lean_dec(x_112); -x_113 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; -lean_ctor_set(x_110, 0, x_113); -return x_110; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_115 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -return x_116; -} -} -} -else -{ -uint8_t x_117; -lean_dec(x_11); +x_113 = l_Lean_IR_EmitLLVM_callLeanMainFn(x_1, x_8, x_110, x_112, x_111, x_9, x_10, x_109); lean_dec(x_10); -x_117 = !lean_is_exclusive(x_82); -if (x_117 == 0) +lean_dec(x_9); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = lean_ctor_get(x_114, 0); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_unbox_usize(x_116); +lean_dec(x_116); +x_118 = lean_llvm_build_store(x_1, x_8, x_117, x_4, x_115); +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) { -return x_82; +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_118, 0); +lean_dec(x_120); +x_121 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; +lean_ctor_set(x_118, 0, x_121); +return x_118; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_82, 0); -x_119 = lean_ctor_get(x_82, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_82); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_118, 1); +lean_inc(x_122); +lean_dec(x_118); +x_123 = l_Lean_IR_EmitLLVM_emitReset___lambda__1___closed__1; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +return x_124; +} +} +} +else +{ +uint8_t x_125; +lean_dec(x_10); +lean_dec(x_9); +x_125 = !lean_is_exclusive(x_90); +if (x_125 == 0) +{ +return x_90; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_90, 0); +x_127 = lean_ctor_get(x_90, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_90); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} } } } @@ -37494,22 +38414,24 @@ x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_B lean_dec(x_10); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; uint64_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; uint8_t x_22; +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; size_t x_20; lean_object* x_21; uint8_t x_22; x_13 = l_Lean_IR_EmitLLVM_callLeanDecRef(x_2, x_6, x_3, x_7, x_8, x_9); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = 0; -x_16 = 0; -x_17 = l_LLVM_constInt64(x_2, x_15, x_16, x_14); -x_18 = lean_ctor_get(x_17, 0); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Lean_IR_EmitLLVM_constInt64(x_2, x_15, x_7, x_8, x_14); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); lean_dec(x_17); -x_20 = lean_unbox_usize(x_18); -lean_dec(x_18); -x_21 = lean_llvm_build_ret(x_2, x_6, x_20, x_19); +x_20 = lean_unbox_usize(x_19); +lean_dec(x_19); +x_21 = lean_llvm_build_ret(x_2, x_6, x_20, x_18); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -37617,39 +38539,42 @@ return x_63; } } } -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(size_t x_1, size_t x_2, size_t x_3, uint64_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(size_t x_1, size_t x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; uint8_t x_26; -x_9 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; -x_10 = lean_llvm_build_load2(x_1, x_5, x_2, x_3, x_9, x_8); -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; uint8_t x_26; +x_8 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___closed__1; +x_9 = lean_llvm_build_load2(x_1, x_4, x_2, x_3, x_8, 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); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); +lean_dec(x_9); +x_12 = l_Lean_IR_EmitLLVM_emitJp___closed__3; +x_13 = lean_unbox_usize(x_10); +x_14 = l_Lean_IR_EmitLLVM_callLeanIOResultShowError(x_1, x_4, x_13, x_12, x_5, x_6, x_11); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_unbox_usize(x_10); lean_dec(x_10); -x_13 = l_Lean_IR_EmitLLVM_emitJp___closed__3; -x_14 = lean_unbox_usize(x_11); -x_15 = l_Lean_IR_EmitLLVM_callLeanIOResultShowError(x_1, x_5, x_14, x_13, x_6, x_7, x_12); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_18 = l_Lean_IR_EmitLLVM_callLeanDecRef(x_1, x_5, x_17, x_6, x_7, x_16); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = 0; -x_21 = l_LLVM_constInt64(x_1, x_4, x_20, x_19); -x_22 = lean_ctor_get(x_21, 0); +x_17 = l_Lean_IR_EmitLLVM_callLeanDecRef(x_1, x_4, x_16, x_5, x_6, x_15); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Lean_IR_EmitLLVM_constInt64(x_1, x_19, x_5, x_6, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); lean_dec(x_21); -x_24 = lean_unbox_usize(x_22); -lean_dec(x_22); -x_25 = lean_llvm_build_ret(x_1, x_5, x_24, x_23); +x_24 = lean_unbox_usize(x_23); +lean_dec(x_23); +x_25 = lean_llvm_build_ret(x_1, x_4, x_24, x_22); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) { @@ -37743,19 +38668,10 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1() { -_start: -{ -uint64_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = lean_box_uint64(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(size_t x_1, size_t x_2, size_t x_3, size_t x_4, lean_object* x_5, size_t 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: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; size_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; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t 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; size_t 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; size_t x_77; lean_object* x_78; +lean_object* x_15; lean_object* x_16; lean_object* x_17; size_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; 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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t 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; size_t 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; size_t x_76; lean_object* x_77; x_15 = l_LLVM_constFalse(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); @@ -37786,15 +38702,17 @@ lean_dec(x_25); x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); lean_dec(x_26); -x_29 = 1; -x_30 = 0; -x_31 = l_LLVM_constInt8(x_1, x_29, x_30, x_27); -x_32 = lean_ctor_get(x_31, 0); +x_29 = lean_unsigned_to_nat(1u); +x_30 = l_Lean_IR_EmitLLVM_constInt8(x_1, x_29, x_12, x_13, x_27); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); lean_dec(x_31); -x_34 = l_Lean_IR_EmitLLVM_getModName___rarg(x_13, x_33); +x_34 = l_Lean_IR_EmitLLVM_getModName___rarg(x_13, x_32); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -37807,8 +38725,8 @@ x_38 = 1; x_39 = l_Lean_Name_toString(x_37, x_38); x_40 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__1; x_41 = lean_string_append(x_39, x_40); -x_42 = lean_unbox_usize(x_32); -lean_dec(x_32); +x_42 = lean_unbox_usize(x_33); +lean_dec(x_33); x_43 = lean_unbox_usize(x_24); lean_dec(x_24); x_44 = l_Lean_IR_EmitLLVM_callModInitFn(x_1, x_2, x_28, x_42, x_43, x_41, x_12, x_13, x_36); @@ -37864,271 +38782,267 @@ x_69 = lean_box_usize(x_1); x_70 = lean_box_usize(x_3); x_71 = lean_box_usize(x_6); x_72 = lean_box_usize(x_7); -x_73 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1; -x_74 = lean_box_usize(x_8); -x_75 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___boxed), 12, 8); -lean_closure_set(x_75, 0, x_69); -lean_closure_set(x_75, 1, x_61); -lean_closure_set(x_75, 2, x_5); -lean_closure_set(x_75, 3, x_70); -lean_closure_set(x_75, 4, x_71); -lean_closure_set(x_75, 5, x_72); -lean_closure_set(x_75, 6, x_73); -lean_closure_set(x_75, 7, x_74); -x_76 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__3; -x_77 = lean_unbox_usize(x_68); +x_73 = lean_box_usize(x_8); +x_74 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__3___boxed), 11, 7); +lean_closure_set(x_74, 0, x_69); +lean_closure_set(x_74, 1, x_61); +lean_closure_set(x_74, 2, x_5); +lean_closure_set(x_74, 3, x_70); +lean_closure_set(x_74, 4, x_71); +lean_closure_set(x_74, 5, x_72); +lean_closure_set(x_74, 6, x_73); +x_75 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__3; +x_76 = lean_unbox_usize(x_68); lean_dec(x_68); lean_inc(x_13); lean_inc(x_12); -x_78 = l_Lean_IR_EmitLLVM_buildIfThen__(x_1, x_2, x_76, x_77, x_75, x_12, x_13, x_67); +x_77 = l_Lean_IR_EmitLLVM_buildIfThen__(x_1, x_2, x_75, x_76, x_74, x_12, x_13, x_67); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); if (lean_obj_tag(x_78) == 0) { -lean_object* x_79; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -if (lean_obj_tag(x_79) == 0) -{ -uint8_t x_80; +uint8_t x_79; lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); -x_80 = !lean_is_exclusive(x_78); -if (x_80 == 0) +x_79 = !lean_is_exclusive(x_77); +if (x_79 == 0) { -lean_object* x_81; uint8_t x_82; -x_81 = lean_ctor_get(x_78, 0); -lean_dec(x_81); -x_82 = !lean_is_exclusive(x_79); -if (x_82 == 0) +lean_object* x_80; uint8_t x_81; +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) { -return x_78; +return x_77; } else { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_79, 0); -lean_inc(x_83); -lean_dec(x_79); -x_84 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_78, 0, x_84); -return x_78; +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_78, 0); +lean_inc(x_82); +lean_dec(x_78); +x_83 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_77, 0, x_83); +return x_77; } } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_78, 1); +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_84 = lean_ctor_get(x_77, 1); +lean_inc(x_84); +lean_dec(x_77); +x_85 = lean_ctor_get(x_78, 0); lean_inc(x_85); -lean_dec(x_78); -x_86 = lean_ctor_get(x_79, 0); -lean_inc(x_86); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - x_87 = x_79; +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + x_86 = x_78; } else { - lean_dec_ref(x_79); - x_87 = lean_box(0); + lean_dec_ref(x_78); + x_86 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 1, 0); } else { - x_88 = x_87; + x_87 = x_86; } -lean_ctor_set(x_88, 0, x_86); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_85); -return x_89; +lean_ctor_set(x_87, 0, x_85); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_84); +return x_88; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_79); -x_90 = lean_ctor_get(x_78, 1); -lean_inc(x_90); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec(x_78); -x_91 = lean_environment_find(x_9, x_10); -x_92 = l_Lean_IR_EmitLLVM_callLeanFinalizeTaskManager(x_1, x_2, x_12, x_13, x_90); -if (lean_obj_tag(x_91) == 0) +x_89 = lean_ctor_get(x_77, 1); +lean_inc(x_89); +lean_dec(x_77); +x_90 = lean_environment_find(x_9, x_10); +x_91 = l_Lean_IR_EmitLLVM_callLeanFinalizeTaskManager(x_1, x_2, x_12, x_13, x_89); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_142; lean_object* x_143; -x_142 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__8; -x_143 = l_panic___at_Lean_IR_EmitLLVM_emitMainFn___spec__1(x_142); -x_93 = x_143; -goto block_141; +lean_object* x_140; lean_object* x_141; +x_140 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__8; +x_141 = l_panic___at_Lean_IR_EmitLLVM_emitMainFn___spec__1(x_140); +x_92 = x_141; +goto block_139; } else { -lean_object* x_144; -x_144 = lean_ctor_get(x_91, 0); -lean_inc(x_144); +lean_object* x_142; +x_142 = lean_ctor_get(x_90, 0); +lean_inc(x_142); +lean_dec(x_90); +x_92 = x_142; +goto block_139; +} +block_139: +{ +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; size_t 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; size_t x_114; lean_object* x_115; +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); lean_dec(x_91); -x_93 = x_144; -goto block_141; -} -block_141: -{ -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; size_t 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; size_t x_116; lean_object* x_117; -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); +x_94 = l_Lean_ConstantInfo_type(x_92); lean_dec(x_92); -x_95 = l_Lean_ConstantInfo_type(x_93); -lean_dec(x_93); -x_96 = l_Lean_Expr_getForallBody(x_95); +x_95 = l_Lean_Expr_getForallBody(x_94); +lean_dec(x_94); +x_96 = l_Lean_Expr_appArg_x21(x_95); lean_dec(x_95); -x_97 = l_Lean_Expr_appArg_x21(x_96); -lean_dec(x_96); -x_98 = lean_llvm_build_load2(x_1, x_2, x_4, x_3, x_59, x_94); -x_99 = lean_ctor_get(x_98, 0); +x_97 = lean_llvm_build_load2(x_1, x_2, x_4, x_3, x_59, x_93); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_unbox_usize(x_99); -x_102 = l_Lean_IR_EmitLLVM_callLeanIOResultIsOk(x_1, x_2, x_101, x_63, x_12, x_13, x_100); -x_103 = lean_ctor_get(x_102, 0); +lean_dec(x_97); +x_100 = lean_unbox_usize(x_98); +x_101 = l_Lean_IR_EmitLLVM_callLeanIOResultIsOk(x_1, x_2, x_100, x_63, x_12, x_13, x_99); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); +lean_dec(x_101); +x_104 = lean_ctor_get(x_102, 0); lean_inc(x_104); lean_dec(x_102); -x_105 = lean_ctor_get(x_103, 0); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_box_usize(x_1); -x_107 = lean_box_usize(x_4); -x_108 = lean_box_usize(x_3); -x_109 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___boxed), 9, 5); -lean_closure_set(x_109, 0, x_97); -lean_closure_set(x_109, 1, x_106); -lean_closure_set(x_109, 2, x_99); -lean_closure_set(x_109, 3, x_107); -lean_closure_set(x_109, 4, x_108); -x_110 = lean_box_usize(x_1); -x_111 = lean_box_usize(x_4); -x_112 = lean_box_usize(x_3); -x_113 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1; -x_114 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__5___boxed), 8, 4); -lean_closure_set(x_114, 0, x_110); -lean_closure_set(x_114, 1, x_111); -lean_closure_set(x_114, 2, x_112); -lean_closure_set(x_114, 3, x_113); -x_115 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__4; -x_116 = lean_unbox_usize(x_105); -lean_dec(x_105); -x_117 = l_Lean_IR_EmitLLVM_buildIfThenElse__(x_1, x_2, x_115, x_116, x_109, x_114, x_12, x_13, x_104); -if (lean_obj_tag(x_117) == 0) +x_105 = lean_box_usize(x_1); +x_106 = lean_box_usize(x_4); +x_107 = lean_box_usize(x_3); +x_108 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___boxed), 9, 5); +lean_closure_set(x_108, 0, x_96); +lean_closure_set(x_108, 1, x_105); +lean_closure_set(x_108, 2, x_98); +lean_closure_set(x_108, 3, x_106); +lean_closure_set(x_108, 4, x_107); +x_109 = lean_box_usize(x_1); +x_110 = lean_box_usize(x_4); +x_111 = lean_box_usize(x_3); +x_112 = lean_alloc_closure((void*)(l_Lean_IR_EmitLLVM_emitMainFn___lambda__5___boxed), 7, 3); +lean_closure_set(x_112, 0, x_109); +lean_closure_set(x_112, 1, x_110); +lean_closure_set(x_112, 2, x_111); +x_113 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__4; +x_114 = lean_unbox_usize(x_104); +lean_dec(x_104); +x_115 = l_Lean_IR_EmitLLVM_buildIfThenElse__(x_1, x_2, x_113, x_114, x_108, x_112, x_12, x_13, x_103); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_118; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -if (lean_obj_tag(x_118) == 0) +lean_object* x_116; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) { -uint8_t x_119; -x_119 = !lean_is_exclusive(x_117); +uint8_t x_117; +x_117 = !lean_is_exclusive(x_115); +if (x_117 == 0) +{ +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +x_119 = !lean_is_exclusive(x_116); if (x_119 == 0) { -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_117, 0); -lean_dec(x_120); -x_121 = !lean_is_exclusive(x_118); -if (x_121 == 0) -{ -return x_117; +return x_115; } else { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_118, 0); +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_116, 0); +lean_inc(x_120); +lean_dec(x_116); +x_121 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_115, 0, x_121); +return x_115; +} +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_122 = lean_ctor_get(x_115, 1); lean_inc(x_122); -lean_dec(x_118); -x_123 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_117, 0, x_123); -return x_117; +lean_dec(x_115); +x_123 = lean_ctor_get(x_116, 0); +lean_inc(x_123); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + x_124 = x_116; +} else { + lean_dec_ref(x_116); + x_124 = lean_box(0); +} +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(0, 1, 0); +} else { + x_125 = x_124; +} +lean_ctor_set(x_125, 0, x_123); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_122); +return x_126; } } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_dec(x_117); -x_125 = lean_ctor_get(x_118, 0); -lean_inc(x_125); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - x_126 = x_118; -} else { - lean_dec_ref(x_118); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(0, 1, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_125); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_124); +lean_object* x_127; lean_object* x_128; uint8_t x_129; +lean_dec(x_116); +x_127 = lean_ctor_get(x_115, 1); +lean_inc(x_127); +lean_dec(x_115); +x_128 = lean_llvm_build_unreachable(x_1, x_2, x_127); +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_128, 0); +lean_dec(x_130); +x_131 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; +lean_ctor_set(x_128, 0, x_131); return x_128; } -} else { -lean_object* x_129; lean_object* x_130; uint8_t x_131; -lean_dec(x_118); -x_129 = lean_ctor_get(x_117, 1); -lean_inc(x_129); -lean_dec(x_117); -x_130 = lean_llvm_build_unreachable(x_1, x_2, x_129); -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_130, 0); -lean_dec(x_132); +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_128, 1); +lean_inc(x_132); +lean_dec(x_128); x_133 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; -lean_ctor_set(x_130, 0, x_133); -return x_130; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_130, 1); -lean_inc(x_134); -lean_dec(x_130); -x_135 = l_Lean_IR_EmitLLVM_addVartoState___closed__1; -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -return x_136; +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +return x_134; } } } else { -uint8_t x_137; -x_137 = !lean_is_exclusive(x_117); -if (x_137 == 0) +uint8_t x_135; +x_135 = !lean_is_exclusive(x_115); +if (x_135 == 0) { -return x_117; +return x_115; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_117, 0); -x_139 = lean_ctor_get(x_117, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_117); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_115, 0); +x_137 = lean_ctor_get(x_115, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_115); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } @@ -38136,28 +39050,28 @@ return x_140; } else { -uint8_t x_145; +uint8_t x_143; lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); -x_145 = !lean_is_exclusive(x_78); -if (x_145 == 0) +x_143 = !lean_is_exclusive(x_77); +if (x_143 == 0) { -return x_78; +return x_77; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_78, 0); -x_147 = lean_ctor_get(x_78, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_78); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_77, 0); +x_145 = lean_ctor_get(x_77, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_77); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } @@ -38199,7 +39113,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__7(size_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -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; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t 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; size_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; lean_object* x_72; +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; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_dec(x_6); x_10 = l_Lean_IR_EmitLLVM_getEnv___rarg(x_8, x_9); x_11 = lean_ctor_get(x_10, 0); @@ -38291,90 +39205,230 @@ lean_dec(x_55); x_58 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__3; x_59 = lean_unbox_usize(x_56); lean_dec(x_56); -x_60 = lean_llvm_build_alloca(x_1, x_3, x_59, x_58, x_57); +lean_inc(x_8); +lean_inc(x_7); +x_60 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_3, x_59, x_58, x_7, x_8, x_57); x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_LLVM_voidPtrType(x_1, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_unbox_usize(x_64); -x_67 = lean_llvm_pointer_type(x_1, x_66, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__4; -x_71 = lean_unbox_usize(x_68); -lean_dec(x_68); -x_72 = lean_llvm_build_alloca(x_1, x_3, x_71, x_70, x_69); -if (x_15 == 0) +if (lean_obj_tag(x_61) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; size_t x_81; size_t x_82; size_t x_83; lean_object* x_84; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_IR_EmitLLVM_callLeanInitializeRuntimeModule(x_1, x_3, x_7, x_8, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_unbox_usize(x_73); -lean_dec(x_73); -x_80 = lean_unbox_usize(x_64); -lean_dec(x_64); -x_81 = lean_unbox_usize(x_61); -lean_dec(x_61); -x_82 = lean_unbox_usize(x_40); -lean_dec(x_40); -x_83 = lean_unbox_usize(x_52); +uint8_t x_62; lean_dec(x_52); -x_84 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(x_1, x_3, x_79, x_80, x_4, x_81, x_82, x_83, x_13, x_5, x_78, x_7, x_8, x_77); -lean_dec(x_78); -return x_84; +lean_dec(x_40); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_62 = !lean_is_exclusive(x_60); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_60, 0); +lean_dec(x_63); +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) +{ +return x_60; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; size_t x_91; size_t x_92; size_t x_93; size_t x_94; size_t x_95; lean_object* x_96; -x_85 = lean_ctor_get(x_72, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_72, 1); -lean_inc(x_86); -lean_dec(x_72); -x_87 = l_Lean_IR_EmitLLVM_callLeanInitialize(x_1, x_3, x_7, x_8, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_ctor_get(x_88, 0); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_unbox_usize(x_85); -lean_dec(x_85); -x_92 = lean_unbox_usize(x_64); -lean_dec(x_64); -x_93 = lean_unbox_usize(x_61); +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); lean_dec(x_61); -x_94 = lean_unbox_usize(x_40); -lean_dec(x_40); -x_95 = lean_unbox_usize(x_52); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_60, 0, x_66); +return x_60; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_60, 1); +lean_inc(x_67); +lean_dec(x_60); +x_68 = lean_ctor_get(x_61, 0); +lean_inc(x_68); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_69 = x_61; +} else { + lean_dec_ref(x_61); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 1, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_68); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_67); +return x_71; +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; lean_object* x_83; lean_object* x_84; +x_72 = lean_ctor_get(x_60, 1); +lean_inc(x_72); +lean_dec(x_60); +x_73 = lean_ctor_get(x_61, 0); +lean_inc(x_73); +lean_dec(x_61); +x_74 = l_LLVM_voidPtrType(x_1, x_72); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_unbox_usize(x_75); +x_78 = lean_llvm_pointer_type(x_1, x_77, x_76); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__4; +x_82 = lean_unbox_usize(x_79); +lean_dec(x_79); +lean_inc(x_8); +lean_inc(x_7); +x_83 = l_Lean_IR_EmitLLVM_buildPrologueAlloca(x_1, x_3, x_82, x_81, x_7, x_8, x_80); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +if (lean_obj_tag(x_84) == 0) +{ +uint8_t x_85; +lean_dec(x_75); +lean_dec(x_73); lean_dec(x_52); -x_96 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(x_1, x_3, x_91, x_92, x_4, x_93, x_94, x_95, x_13, x_5, x_90, x_7, x_8, x_89); -lean_dec(x_90); -return x_96; +lean_dec(x_40); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_85 = !lean_is_exclusive(x_83); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_83, 0); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +return x_83; +} +else +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_84, 0); +lean_inc(x_88); +lean_dec(x_84); +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_83, 0, x_89); +return x_83; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_83, 1); +lean_inc(x_90); +lean_dec(x_83); +x_91 = lean_ctor_get(x_84, 0); +lean_inc(x_91); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + x_92 = x_84; +} else { + lean_dec_ref(x_84); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 1, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_91); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_90); +return x_94; +} +} +else +{ +if (x_15 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; size_t x_103; size_t x_104; size_t x_105; lean_object* x_106; +x_95 = lean_ctor_get(x_83, 1); +lean_inc(x_95); +lean_dec(x_83); +x_96 = lean_ctor_get(x_84, 0); +lean_inc(x_96); +lean_dec(x_84); +x_97 = l_Lean_IR_EmitLLVM_callLeanInitializeRuntimeModule(x_1, x_3, x_7, x_8, x_95); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_ctor_get(x_98, 0); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_unbox_usize(x_96); +lean_dec(x_96); +x_102 = lean_unbox_usize(x_75); +lean_dec(x_75); +x_103 = lean_unbox_usize(x_73); +lean_dec(x_73); +x_104 = lean_unbox_usize(x_40); +lean_dec(x_40); +x_105 = lean_unbox_usize(x_52); +lean_dec(x_52); +x_106 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(x_1, x_3, x_101, x_102, x_4, x_103, x_104, x_105, x_13, x_5, x_100, x_7, x_8, x_99); +lean_dec(x_100); +return x_106; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; size_t x_114; size_t x_115; size_t x_116; size_t x_117; lean_object* x_118; +x_107 = lean_ctor_get(x_83, 1); +lean_inc(x_107); +lean_dec(x_83); +x_108 = lean_ctor_get(x_84, 0); +lean_inc(x_108); +lean_dec(x_84); +x_109 = l_Lean_IR_EmitLLVM_callLeanInitialize(x_1, x_3, x_7, x_8, x_107); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_ctor_get(x_110, 0); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_unbox_usize(x_108); +lean_dec(x_108); +x_114 = lean_unbox_usize(x_75); +lean_dec(x_75); +x_115 = lean_unbox_usize(x_73); +lean_dec(x_73); +x_116 = lean_unbox_usize(x_40); +lean_dec(x_40); +x_117 = lean_unbox_usize(x_52); +lean_dec(x_52); +x_118 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6(x_1, x_3, x_113, x_114, x_4, x_115, x_116, x_117, x_13, x_5, x_112, x_7, x_8, x_111); +lean_dec(x_112); +return x_118; +} +} } } } @@ -38618,29 +39672,27 @@ lean_dec(x_8); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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: { -size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; uint64_t x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_13 = lean_unbox_usize(x_1); +size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_12 = lean_unbox_usize(x_1); lean_dec(x_1); -x_14 = lean_unbox_usize(x_2); +x_13 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = lean_unbox_usize(x_4); +x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_16 = lean_unbox_usize(x_5); +x_15 = lean_unbox_usize(x_5); lean_dec(x_5); -x_17 = lean_unbox_usize(x_6); +x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_18 = lean_unbox_uint64(x_7); +x_17 = lean_unbox_usize(x_7); lean_dec(x_7); -x_19 = lean_unbox_usize(x_8); +x_18 = lean_unbox_usize(x_8); lean_dec(x_8); -x_20 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_21 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(x_13, x_14, x_3, x_15, x_16, x_17, x_18, x_19, x_20, x_10, x_11, x_12); +x_19 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__3(x_12, x_13, x_3, x_14, x_15, x_16, x_17, x_18, x_9, x_10, x_11); lean_dec(x_3); -return x_21; +return x_19; } } LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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) { @@ -38664,24 +39716,22 @@ lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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) { _start: { -size_t x_9; size_t x_10; size_t x_11; uint64_t x_12; size_t x_13; lean_object* x_14; -x_9 = lean_unbox_usize(x_1); +size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_8 = lean_unbox_usize(x_1); lean_dec(x_1); -x_10 = lean_unbox_usize(x_2); +x_9 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); +x_10 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox_uint64(x_4); +x_11 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_14 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(x_9, x_10, x_11, x_12, x_13, x_6, x_7, x_8); -lean_dec(x_7); +x_12 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__5(x_8, x_9, x_10, x_11, x_5, x_6, x_7); lean_dec(x_6); -return x_14; +lean_dec(x_5); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -39912,10 +40962,39 @@ x_2 = lean_alloc_closure((void*)(l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__ return x_2; } } +LEAN_EXPORT lean_object* l_Lean_IR_emitLLVM___lambda__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_llvm_write_bitcode_to_file(x_1, x_2, x_3, x_5); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_llvm_dispose_module(x_1, x_2, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} LEAN_EXPORT lean_object* lean_ir_emit_llvm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_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; size_t x_109; lean_object* x_110; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_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; size_t x_114; lean_object* x_115; x_5 = lean_llvm_initialize_target_info(x_4); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); @@ -39944,98 +41023,77 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_16 = lean_box(0); } -x_99 = l_Lean_IR_EmitLLVM_Context_jpMap___default___closed__1; -x_100 = lean_box(0); -x_101 = l_Lean_IR_EmitLLVM_Context_mainParams___default___closed__1; +x_104 = l_Lean_IR_EmitLLVM_Context_jpMap___default___closed__1; +x_105 = lean_box(0); +x_106 = l_Lean_IR_EmitLLVM_Context_mainParams___default___closed__1; lean_inc(x_14); -x_102 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_102, 0, x_1); -lean_ctor_set(x_102, 1, x_2); -lean_ctor_set(x_102, 2, x_99); -lean_ctor_set(x_102, 3, x_100); -lean_ctor_set(x_102, 4, x_101); -lean_ctor_set(x_102, 5, x_14); -x_103 = lean_unsigned_to_nat(8u); -x_104 = l_Lean_mkHashMapImp___rarg(x_103); -lean_inc(x_104); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_st_mk_ref(x_105, x_15); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_unbox_usize(x_8); -lean_inc(x_107); -x_110 = l_Lean_IR_EmitLLVM_main(x_109, x_107, x_102, x_108); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; uint8_t x_113; -lean_dec(x_107); -x_112 = lean_ctor_get(x_110, 1); +x_107 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_107, 0, x_1); +lean_ctor_set(x_107, 1, x_2); +lean_ctor_set(x_107, 2, x_104); +lean_ctor_set(x_107, 3, x_105); +lean_ctor_set(x_107, 4, x_106); +lean_ctor_set(x_107, 5, x_14); +x_108 = lean_unsigned_to_nat(8u); +x_109 = l_Lean_mkHashMapImp___rarg(x_108); +lean_inc(x_109); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_st_mk_ref(x_110, x_15); +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_110); -x_113 = !lean_is_exclusive(x_111); -if (x_113 == 0) -{ -x_17 = x_111; -x_18 = x_112; -goto block_98; -} -else -{ -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_111, 0); -lean_inc(x_114); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); lean_dec(x_111); -x_115 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_115, 0, x_114); -x_17 = x_115; -x_18 = x_112; -goto block_98; -} -} -else +x_114 = lean_unbox_usize(x_8); +lean_inc(x_112); +x_115 = l_Lean_IR_EmitLLVM_main(x_114, x_112, x_107, x_113); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_110, 1); +lean_object* x_116; +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -lean_dec(x_110); -x_117 = !lean_is_exclusive(x_111); -if (x_117 == 0) +if (lean_obj_tag(x_116) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_118 = lean_ctor_get(x_111, 0); -x_119 = lean_st_ref_get(x_107, x_116); -lean_dec(x_107); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_118); -lean_ctor_set(x_122, 1, x_120); -lean_ctor_set(x_111, 0, x_122); -x_17 = x_111; -x_18 = x_121; -goto block_98; +lean_object* x_117; uint8_t x_118; +lean_dec(x_112); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = !lean_is_exclusive(x_116); +if (x_118 == 0) +{ +x_17 = x_116; +x_18 = x_117; +goto block_103; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_123 = lean_ctor_get(x_111, 0); -lean_inc(x_123); -lean_dec(x_111); -x_124 = lean_st_ref_get(x_107, x_116); -lean_dec(x_107); +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_116, 0); +lean_inc(x_119); +lean_dec(x_116); +x_120 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_17 = x_120; +x_18 = x_117; +goto block_103; +} +} +else +{ +lean_object* x_121; uint8_t x_122; +x_121 = lean_ctor_get(x_115, 1); +lean_inc(x_121); +lean_dec(x_115); +x_122 = !lean_is_exclusive(x_116); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_123 = lean_ctor_get(x_116, 0); +x_124 = lean_st_ref_get(x_112, x_121); +lean_dec(x_112); x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); x_126 = lean_ctor_get(x_124, 1); @@ -40044,42 +41102,63 @@ lean_dec(x_124); x_127 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_127, 0, x_123); lean_ctor_set(x_127, 1, x_125); -x_128 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_17 = x_128; +lean_ctor_set(x_116, 0, x_127); +x_17 = x_116; x_18 = x_126; -goto block_98; +goto block_103; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_128 = lean_ctor_get(x_116, 0); +lean_inc(x_128); +lean_dec(x_116); +x_129 = lean_st_ref_get(x_112, x_121); +lean_dec(x_112); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_128); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_17 = x_133; +x_18 = x_131; +goto block_103; } } } else { -uint8_t x_129; -lean_dec(x_107); +uint8_t x_134; +lean_dec(x_112); lean_dec(x_16); lean_dec(x_14); lean_dec(x_8); lean_dec(x_3); -x_129 = !lean_is_exclusive(x_110); -if (x_129 == 0) +x_134 = !lean_is_exclusive(x_115); +if (x_134 == 0) { -return x_110; +return x_115; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_110, 0); -x_131 = lean_ctor_get(x_110, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_110); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_115, 0); +x_136 = lean_ctor_get(x_115, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_115); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } -block_98: +block_103: { if (lean_obj_tag(x_17) == 0) { @@ -40201,117 +41280,144 @@ x_73 = l_Array_forInUnsafe_loop___at_Lean_IR_emitLLVM___spec__5(x_71, x_72, x_55 lean_dec(x_55); if (lean_obj_tag(x_73) == 0) { -lean_object* x_74; size_t x_75; size_t x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; +lean_object* x_74; size_t x_75; size_t x_76; lean_object* x_77; lean_object* x_78; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = lean_unbox_usize(x_8); x_76 = lean_unbox_usize(x_14); -x_77 = lean_llvm_write_bitcode_to_file(x_75, x_76, x_3, x_74); -lean_dec(x_3); -x_78 = lean_ctor_get(x_77, 1); +x_77 = lean_llvm_verify_module(x_75, x_76, x_74); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; size_t x_80; size_t x_81; lean_object* x_82; +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); lean_dec(x_77); -x_79 = lean_unbox_usize(x_8); +x_80 = lean_unbox_usize(x_8); lean_dec(x_8); -x_80 = lean_unbox_usize(x_14); +x_81 = lean_unbox_usize(x_14); lean_dec(x_14); -x_81 = lean_llvm_dispose_module(x_79, x_80, x_78); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) -{ -return x_81; +x_82 = l_Lean_IR_emitLLVM___lambda__1(x_80, x_81, x_3, x_64, x_79); +lean_dec(x_3); +return x_82; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -else -{ -uint8_t x_86; +uint8_t x_83; lean_dec(x_14); lean_dec(x_8); lean_dec(x_3); -x_86 = !lean_is_exclusive(x_73); -if (x_86 == 0) +x_83 = !lean_is_exclusive(x_77); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_77, 0); +lean_dec(x_84); +x_85 = lean_ctor_get(x_78, 0); +lean_inc(x_85); +lean_dec(x_78); +x_86 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set_tag(x_77, 1); +lean_ctor_set(x_77, 0, x_86); +return x_77; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_77, 1); +lean_inc(x_87); +lean_dec(x_77); +x_88 = lean_ctor_get(x_78, 0); +lean_inc(x_88); +lean_dec(x_78); +x_89 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; +} +} +} +else +{ +uint8_t x_91; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_3); +x_91 = !lean_is_exclusive(x_73); +if (x_91 == 0) { return x_73; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_73, 0); -x_88 = lean_ctor_get(x_73, 1); -lean_inc(x_88); -lean_inc(x_87); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_73, 0); +x_93 = lean_ctor_get(x_73, 1); +lean_inc(x_93); +lean_inc(x_92); lean_dec(x_73); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -uint8_t x_90; +uint8_t x_95; lean_dec(x_55); lean_dec(x_14); lean_dec(x_8); lean_dec(x_3); -x_90 = !lean_is_exclusive(x_67); -if (x_90 == 0) +x_95 = !lean_is_exclusive(x_67); +if (x_95 == 0) { return x_67; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_67, 0); -x_92 = lean_ctor_get(x_67, 1); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_67, 0); +x_97 = lean_ctor_get(x_67, 1); +lean_inc(x_97); +lean_inc(x_96); lean_dec(x_67); -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; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -uint8_t x_94; +uint8_t x_99; lean_dec(x_14); lean_dec(x_8); lean_dec(x_3); -x_94 = !lean_is_exclusive(x_22); -if (x_94 == 0) +x_99 = !lean_is_exclusive(x_22); +if (x_99 == 0) { return x_22; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_22, 0); -x_96 = lean_ctor_get(x_22, 1); -lean_inc(x_96); -lean_inc(x_95); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_22, 0); +x_101 = lean_ctor_get(x_22, 1); +lean_inc(x_101); +lean_inc(x_100); lean_dec(x_22); -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; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } } @@ -40430,6 +41536,20 @@ x_3 = l_Lean_mkHashMap___at_Lean_IR_emitLLVM___spec__7(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_IR_emitLLVM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Lean_IR_emitLLVM___lambda__1(x_6, x_7, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_HashMap(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Runtime(uint8_t builtin, lean_object*); @@ -40599,6 +41719,10 @@ l_Lean_IR_EmitLLVM_toCName___rarg___closed__5 = _init_l_Lean_IR_EmitLLVM_toCName lean_mark_persistent(l_Lean_IR_EmitLLVM_toCName___rarg___closed__5); l_Lean_IR_EmitLLVM_toCInitName___rarg___closed__1 = _init_l_Lean_IR_EmitLLVM_toCInitName___rarg___closed__1(); lean_mark_persistent(l_Lean_IR_EmitLLVM_toCInitName___rarg___closed__1); +l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__1 = _init_l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__1(); +lean_mark_persistent(l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__1); +l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2 = _init_l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2(); +lean_mark_persistent(l_Lean_IR_EmitLLVM_buildPrologueAlloca___closed__2); l_Lean_IR_EmitLLVM_buildWhile_____closed__1 = _init_l_Lean_IR_EmitLLVM_buildWhile_____closed__1(); lean_mark_persistent(l_Lean_IR_EmitLLVM_buildWhile_____closed__1); l_Lean_IR_EmitLLVM_buildWhile_____closed__2 = _init_l_Lean_IR_EmitLLVM_buildWhile_____closed__2(); @@ -40883,8 +42007,6 @@ l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__7 = _init_l_Lean_IR_EmitLLVM lean_mark_persistent(l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__7); l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__8 = _init_l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__8(); lean_mark_persistent(l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__8); -l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1 = _init_l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1(); -lean_mark_persistent(l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___boxed__const__1); l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__1 = _init_l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__1(); lean_mark_persistent(l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__1); l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__2 = _init_l_Lean_IR_EmitLLVM_emitMainFn___lambda__7___closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/IR/LLVMBindings.c b/stage0/stdlib/Lean/Compiler/IR/LLVMBindings.c index df31c6c0b4..ad791ee08c 100644 --- a/stage0/stdlib/Lean/Compiler/IR/LLVMBindings.c +++ b/stage0/stdlib/Lean/Compiler/IR/LLVMBindings.c @@ -37,6 +37,7 @@ LEAN_EXPORT lean_object* l_LLVM_setDLLStorageClass___boxed(lean_object*, lean_ob LEAN_EXPORT lean_object* l_LLVM_moduleToString___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_LLVM_Linkage_weakAny; LEAN_EXPORT lean_object* l_LLVM_constInt32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_llvm_position_builder_before(size_t, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getNextFunction___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_addGlobal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_print_module_to_string(size_t, size_t, lean_object*); @@ -80,12 +81,14 @@ LEAN_EXPORT lean_object* l_LLVM_addAttributeAtIndex___boxed(lean_object*, lean_o LEAN_EXPORT lean_object* l_LLVM_functionType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_PassManagerBuilder_setOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_const_array(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_getEntryBasicBlock___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_get_named_global(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_countParams___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_setTailCall___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_constInt_x27(size_t, uint64_t, uint64_t, uint8_t, lean_object*); lean_object* lean_llvm_build_mul(size_t, size_t, size_t, size_t, lean_object*, lean_object*); lean_object* lean_llvm_build_unreachable(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_verifyModule___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_i16Type___boxed(lean_object*, lean_object*); LEAN_EXPORT uint64_t l_LLVM_Linkage_common; LEAN_EXPORT lean_object* l_LLVM_PassManagerBuilder_populateModulePassManager___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,6 +114,7 @@ lean_object* lean_llvm_create_pass_manager(size_t, lean_object*); lean_object* lean_llvm_parse_bitcode(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getFirstFunction___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_clearInsertionPosition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_llvm_get_first_instruction(size_t, size_t, lean_object*); lean_object* lean_llvm_create_builder_in_context(size_t, lean_object*); lean_object* lean_llvm_build_cond_br(size_t, size_t, size_t, size_t, size_t, lean_object*); lean_object* lean_llvm_set_linkage(size_t, size_t, uint64_t, lean_object*); @@ -125,6 +129,7 @@ LEAN_EXPORT lean_object* l_LLVM_Value_isNull(size_t); LEAN_EXPORT lean_object* l_LLVM_buildGEP2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_i32Type___boxed(lean_object*, lean_object*); lean_object* lean_llvm_add_global(size_t, size_t, lean_object*, size_t, lean_object*); +lean_object* lean_llvm_verify_module(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_isDeclaration___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getNextGlobal___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_build_gep2(size_t, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -148,11 +153,14 @@ LEAN_EXPORT lean_object* l_LLVM_arrayType___boxed(lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_LLVM_buildZext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_setVisibility___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_i8PtrType(size_t, lean_object*); +lean_object* lean_llvm_get_entry_basic_block(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getUndef___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_disposePassManager___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_create_memory_buffer_with_contents_of_file(size_t, lean_object*, lean_object*); lean_object* lean_llvm_run_pass_manager(size_t, size_t, size_t, lean_object*); lean_object* lean_llvm_float_type_in_context(size_t, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_constIntSizeT(size_t, uint64_t, uint8_t, lean_object*); +lean_object* lean_llvm_count_basic_blocks(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_createMemoryBufferWithContentsOfFile___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_set_initializer(size_t, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_buildBr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -173,6 +181,7 @@ lean_object* lean_llvm_build_sub(size_t, size_t, size_t, size_t, lean_object*, l lean_object* lean_llvm_get_named_function(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_setInitializer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_LLVM_Linkage_dllExport; +LEAN_EXPORT lean_object* l_LLVM_countBasicBlocks___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_LLVM_Linkage_external; LEAN_EXPORT lean_object* l_LLVM_i32Type(size_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_constIntUnsigned(size_t, uint64_t, uint8_t, lean_object*); @@ -189,6 +198,8 @@ LEAN_EXPORT lean_object* l_LLVM_disposePassManagerBuilder___boxed(lean_object*, LEAN_EXPORT uint64_t l_LLVM_Linkage_linkerPrivate; LEAN_EXPORT lean_object* l_LLVM_constPointerNull___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_dispose_module(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_constIntSizeT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_positionBuilderBefore___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_buildSub___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getTargetFromTriple___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_getNamedFunction___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -237,6 +248,7 @@ lean_object* lean_llvm_link_modules(size_t, size_t, size_t, lean_object*); lean_object* lean_llvm_set_visibility(size_t, size_t, uint64_t, lean_object*); LEAN_EXPORT lean_object* l_LLVM_constArray___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_constTrue(size_t, lean_object*); +LEAN_EXPORT lean_object* l_LLVM_getFirstInstruction___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_LLVM_buildRet___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_LLVM_DLLStorageClass_import; LEAN_EXPORT lean_object* l_LLVM_i64Type___boxed(lean_object*, lean_object*); @@ -733,6 +745,56 @@ lean_dec(x_3); return x_7; } } +LEAN_EXPORT lean_object* l_LLVM_countBasicBlocks___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 = lean_llvm_count_basic_blocks(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_LLVM_getEntryBasicBlock___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 = lean_llvm_get_entry_basic_block(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_LLVM_getFirstInstruction___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 = lean_llvm_get_first_instruction(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_LLVM_positionBuilderBefore___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; size_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_llvm_position_builder_before(x_5, x_6, x_7, x_4); +return x_8; +} +} LEAN_EXPORT lean_object* l_LLVM_positionBuilderAtEnd___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -1399,6 +1461,18 @@ x_6 = lean_llvm_dispose_module(x_4, x_5, x_3); return x_6; } } +LEAN_EXPORT lean_object* l_LLVM_verifyModule___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 = lean_llvm_verify_module(x_4, x_5, x_3); +return x_6; +} +} LEAN_EXPORT lean_object* l_LLVM_createStringAttribute___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2075,7 +2149,7 @@ x_8 = l_LLVM_constInt64(x_5, x_6, x_7, x_4); return x_8; } } -LEAN_EXPORT lean_object* l_LLVM_constIntUnsigned(size_t x_1, uint64_t x_2, uint8_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_LLVM_constIntSizeT(size_t x_1, uint64_t x_2, uint8_t x_3, lean_object* x_4) { _start: { uint64_t x_5; lean_object* x_6; @@ -2084,6 +2158,29 @@ x_6 = l_LLVM_constInt_x27(x_1, x_5, x_2, x_3, x_4); return x_6; } } +LEAN_EXPORT lean_object* l_LLVM_constIntSizeT___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; uint64_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_6 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_7 = lean_unbox(x_3); +lean_dec(x_3); +x_8 = l_LLVM_constIntSizeT(x_5, x_6, x_7, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_LLVM_constIntUnsigned(size_t x_1, uint64_t x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +uint64_t x_5; lean_object* x_6; +x_5 = 32; +x_6 = l_LLVM_constInt_x27(x_1, x_5, x_2, x_3, x_4); +return x_6; +} +} LEAN_EXPORT lean_object* l_LLVM_constIntUnsigned___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 3b6b7d290e..4ece114c4b 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -22,6 +22,7 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_ela static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabExport___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__6; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd_declRange___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -31,34 +32,40 @@ LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elab static lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection___closed__3; lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__16; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(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_expandInCmd___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__3; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___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_Lean_Elab_Command_elabCheckCore___lambda__3(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_Command_elabEvalUnsafe___lambda__4___closed__38; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__22; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__2(lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__11; static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__2; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunElab_unsafe__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabExport___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__1___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabChoice___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___lambda__1(lean_object*, lean_object*, uint8_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_ppSignature(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__1; lean_object* l_Lean_log___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__26; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages___rarg(lean_object*, lean_object*); @@ -69,11 +76,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__5; lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__6; lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__2___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__2___closed__2; static lean_object* l_Lean_Elab_Command_elabOpen___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__4; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAddDeclDoc___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -82,21 +92,25 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce___lambda__1(lean_object* static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__1; lean_object* l_Lean_mkSimpleThunk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_popScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange(lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___spec__15___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabExport___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___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* l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange___closed__5; lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__3; static lean_object* l_Lean_Elab_Command_elabSetOption___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange___closed__6; @@ -106,16 +120,18 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange_ lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__1; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabExport___spec__22(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabVariable___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_Command_elabRunCmd_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Command_elabOpen___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17; static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__7; lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elabOpen___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__17; static lean_object* l_Lean_Elab_Command_elabExit___rarg___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Command_elabOpen___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,12 +139,12 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange___closed__4; static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elabExport___spec__3___closed__2; lean_object* l_List_mapTR_loop___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice_declRange___closed__7; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabExport___spec__21___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange(lean_object*); @@ -136,6 +152,7 @@ static lean_object* l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabImport___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5___closed__4; @@ -144,25 +161,30 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore(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_Command_elabOpen___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__29; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__4; lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__7; +static lean_object* l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3; lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAddDeclDoc___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__27; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_containsId___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_addAuxDeclarationRanges___at_Lean_Elab_Command_elabAddDeclDoc___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitQuot___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__6; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12; lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__4; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -173,47 +195,43 @@ static lean_object* l_Lean_Elab_Command_elabReduce___closed__1; lean_object* l_Lean_PPContext_runMetaM___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExit___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___closed__6; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__5; lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__3; -lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__3; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elabOpen___spec__7(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVariable___closed__2; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__2___closed__3; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__4; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__4; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabExit___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabSection(lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___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_Command_elabRunMeta___closed__28; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabOpen___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__28; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabCheckCore___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_Command_elabCheck_declRange___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___closed__4; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_foldArgsM___at_Lean_Elab_Command_elabUniverse___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAddDeclDoc___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__25; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5___closed__2; lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); @@ -223,24 +241,23 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___closed__7; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce___lambda__2___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_elabChoice_declRange___closed__2; lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScopes___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2___at_Lean_Elab_Command_elabVariable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__7; -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__6; extern lean_object* l_Lean_instInhabitedException; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__1; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__5; lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabAddDeclDoc___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,14 +267,14 @@ LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spe LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSection___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabChoice(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabCheckCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_docString(lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__4___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_Command_elabOpen___spec__17___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_Command_elabImport___closed__2; @@ -271,28 +288,29 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mk extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_Syntax_node5(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_Command_elabCheckCore___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__1; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4(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_resolveNamespaceCore___at_Lean_Elab_Command_elabExport___spec__3___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEnd(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Elab_Command_elabAddDeclDoc___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_Command_elabEvalUnsafe___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*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabExport___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd(lean_object*); extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabAddDeclDoc___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAddDeclDoc___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -307,20 +325,24 @@ static lean_object* l_Lean_Elab_Command_elabCheckCore___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withNamespace(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Command_elabExport___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_instBEqExpr; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__15; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__4; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__8; lean_object* l_Lean_Exception_toMessageData(lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__5; +LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___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_Command_elabOpen___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Command_elabExport___spec__18___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__2; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__5; lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_Command_elabOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__6; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabAddDeclDoc___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elabExport___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); @@ -350,30 +372,32 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___c static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEoi(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Command_elabExport___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__21; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__3(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__16; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__8; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__10; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__3; -lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_containsId(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__6; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__9; +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange(lean_object*); @@ -383,9 +407,11 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabAddDeclDoc___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport_declRange___closed__7; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEoi___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunElab(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_containsId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__2; lean_object* l_List_mapTR_loop___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); @@ -401,6 +427,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___close LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabOpen___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabModuleDoc___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__1; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32; static lean_object* l_Lean_Elab_Command_elabSection___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot(lean_object*); lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -412,12 +439,13 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice_declRange___closed__5; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__27; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__11; static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_docString___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkAnonymousScope(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__3; LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabExport___spec__21___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getBracketedBinderIds(lean_object*); @@ -428,12 +456,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__7; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc___closed__2; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__7; static lean_object* l_Lean_Elab_Command_elabSection___closed__2; static lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__19; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheck(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInCmd___closed__2; @@ -453,6 +483,8 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCom lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInCmd(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__1; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSection(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -460,6 +492,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__2; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__3; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__3; @@ -467,6 +500,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___clos lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_exprToSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__2; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__17; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitQuot(lean_object*); @@ -475,46 +509,52 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc___closed__3; static lean_object* l_Lean_Elab_Command_elabExport___closed__1; static lean_object* l_Lean_Elab_Command_elabNonComputableSection___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_Command_elabImport_declRange___closed__6; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__5; static lean_object* l_Lean_Elab_Command_elabExport___closed__2; static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__5; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__1; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__3; lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabCheckCore___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__8(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Command_elabCheckCore___spec__1___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_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_declRange___closed__7; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Command_elabCheckCore___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_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___lambda__1___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___lambda__1___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunMeta(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__4; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__17; lean_object* l_Lean_Exception_getRef(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi___closed__2; LEAN_EXPORT lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__15; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__3; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__4___boxed(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_Command_elabOpen___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabOpen___spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); @@ -522,7 +562,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen static lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExit(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___closed__7; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(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_Command_elabEvalUnsafe___lambda__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___regBuiltin_Lean_Elab_Command_elabImport_declRange___closed__3; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -541,6 +581,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___close LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___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_elabEval_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__12; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__10; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__21(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -550,32 +593,33 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__2; static lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__1; +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabExport___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabNamespace(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__10; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAddDeclDoc___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___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_Command_elabRunCmd___closed__6; static lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_Command_elabOpen___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___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_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__5; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__37; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__3; static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__2; 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_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -587,40 +631,46 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabExpor static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEoi___boxed(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*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__19___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_Command_elabAddDeclDoc(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes___closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__5; -lean_object* l_Lean_instHashableLocalInstance___boxed(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice_declRange(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2___boxed(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*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38; static lean_object* l_Lean_Elab_Command_elabExport___closed__4; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__13; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__2; lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___lambda__2(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__2; +static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2; static lean_object* l_Lean_Elab_Command_elabSection___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__5; extern lean_object* l_Lean_Elab_macroAttribute; extern lean_object* l_Lean_warningAsError; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabExport___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__2; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabAddDeclDoc___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunCmd(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_Command_elabExport___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___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_Command_elabRunMeta___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__7; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -628,10 +678,12 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spe LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__7; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__4; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__10___closed__1; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elabExport___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable(lean_object*); @@ -646,10 +698,10 @@ extern lean_object* l_Lean_scopedEnvExtensionsRef; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabImport___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___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_Command_elabRunCmd_declRange(lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__1; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__30; 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_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(lean_object*, 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_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__5; @@ -663,6 +715,7 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mk LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Command_elabOpen___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAddDeclDoc___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__6; lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_add_alias(lean_object*, lean_object*, lean_object*); @@ -672,13 +725,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce(lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__3; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15; static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabAddDeclDoc___spec__10___closed__2; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunCmd_unsafe__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabImport___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabOpen(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___spec__15___closed__2; LEAN_EXPORT lean_object* l_Lean_popScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__13; static lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_docString(lean_object*); @@ -688,11 +743,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Command_elabExport___spec__16___closed__2; lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___closed__3; static lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__4___closed__1; @@ -700,12 +753,15 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExit___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5___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_Command_elabVariable_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__4; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__24; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCheckCore___spec__3___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_Command_elabEnd_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__2; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__20; static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Command_elabExport___spec__7___closed__1; uint8_t l_Lean_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_elabChoiceAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -717,18 +773,22 @@ static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange(lean_object*); lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange___closed__7; static lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd_declRange___closed__7; static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__2; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__11; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__14; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__12; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCheckCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -736,29 +796,27 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_withNamespace___rarg(lean_object*, uint8_t l_List_beq___at___private_Lean_Data_OpenDecl_0__Lean_beqOpenDecl____x40_Lean_Data_OpenDecl___hyg_39____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitQuot___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5(lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange___closed__4; static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__5; static lean_object* l_Lean_Elab_Command_elabCheckCore___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17___lambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_docString(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabAddDeclDoc___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_docString___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__6___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_Command_elabEvalUnsafe___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*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__3; lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange___closed__1; 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_getRefPos___at_Lean_Elab_Command_elabExport___spec__18___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_Elab_Command_elabEvalUnsafe___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabImport___boxed(lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__21; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__4(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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExport(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__2; @@ -766,26 +824,26 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mk extern lean_object* l___private_Lean_DocString_0__Lean_moduleDocExt; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__4; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabAddDeclDoc___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabVariable(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__20___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_Command_elabModuleDoc___closed__10; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5___closed__1; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkEndHeader(lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__7; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__10; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___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_object* l_List_drop___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__5(size_t, size_t, lean_object*); @@ -802,11 +860,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___close LEAN_EXPORT lean_object* l_Lean_Elab_Command_failIfSucceeds(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__2___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport___closed__1; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -817,19 +875,19 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolv LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___closed__1; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__3; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabCheckCore___spec__5(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_Command_elabCheckCore___spec__8___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_docString(lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces___at_Lean_Elab_Command_elabExport___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Command_elabExport___spec__18(lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__8; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi___closed__4; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Command_elabExport___spec__7___closed__2; @@ -839,21 +897,23 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpe LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabModuleDoc___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabExport___spec__19(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___lambda__2___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_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___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___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4(uint8_t, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabUniverse___spec__3___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduce(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__11; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23; static lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__4; uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabOpen___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -865,15 +925,15 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAddDeclDoc___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__5; -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange___closed__7; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___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_Command_elabVariable___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange___closed__5; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__9; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___closed__7; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Command_elabExport___spec__14(lean_object*, lean_object*, lean_object*); @@ -886,9 +946,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure(lean_ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___closed__4; -lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck(lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExit(lean_object*); lean_object* l_Lean_toMessageList(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabOpen___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -898,8 +959,8 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_ela static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__7(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__1; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__10; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEval(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___lambda__2___boxed(lean_object*); @@ -922,7 +983,6 @@ static lean_object* l_Lean_Elab_Command_elabOpen___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabModuleDoc(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabOpen___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -931,8 +991,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckFailure(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Command_elabExport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__1___closed__1; static lean_object* l_Lean_Elab_Command_elabEnd___closed__1; @@ -940,6 +1002,7 @@ extern lean_object* l_Lean_Elab_Command_instInhabitedScope; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce___lambda__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___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection___closed__3; +static lean_object* l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_docString___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_docString___closed__1; @@ -954,6 +1017,7 @@ static lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1; size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__23; static lean_object* l_Lean_Elab_Command_elabExit___rarg___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Command_elabCheckCore___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -966,17 +1030,18 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabAdd lean_object* l_List_toString___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabImport_declRange(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__1___boxed(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_Command_elabExport___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_forArgsM___at_Lean_Elab_Command_elabUniverse___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__36; +static lean_object* l_Lean_Elab_Command_elabRunElab___closed__18; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange___closed__2; static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__2; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabOpen___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange___closed__2; static lean_object* l_Lean_Elab_Command_elabModuleDoc___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Command_elabCheckCore___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -992,26 +1057,35 @@ static lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabModuleDoc___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10(lean_object*, lean_object*, 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_Elab_Command_elabEvalUnsafe___lambda__3___closed__20; 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_elabNamespace___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange___closed__1; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange___closed__4; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__10___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__4; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__8; +LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__18; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable_declRange___closed__1; static lean_object* l_Lean_Elab_Command_elabSynth___lambda__2___closed__1; +static lean_object* l_Lean_Elab_Command_elabRunMeta___closed__5; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -1020,6 +1094,8 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Built LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__6___closed__1; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange___closed__2; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -1028,7 +1104,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabEx extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__4; uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd_declRange___closed__6; static lean_object* l_Lean_Elab_Command_elabReduce___lambda__2___closed__2; @@ -1041,6 +1116,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCom LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__4___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__4; @@ -1050,12 +1126,11 @@ static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabOpen___s static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__3; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabImport(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__4; uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___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_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange(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*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport___closed__3; @@ -1068,7 +1143,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce(lean_object static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExport___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__3; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(size_t, size_t, lean_object*); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); @@ -1078,12 +1152,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___closed__6; lean_object* l_String_toSubstring_x27(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabNonComputableSection(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___closed__3; lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__23(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__2; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__13; static lean_object* l_Lean_Elab_Command_elabEnd___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__5___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange___closed__5; @@ -1093,8 +1170,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__5; static lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___closed__1; uint8_t l_Lean_Expr_isSyntheticSorry(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__3; +static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabOpen___lambda__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__5; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__7; @@ -1106,13 +1185,12 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mk static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__25(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange___closed__6; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Command_elabEnd___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__5; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkEvalInstCore___closed__7; +static lean_object* l_Lean_Elab_Command_elabRunCmd___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAddDeclDoc___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Command_elabExport___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -22362,7 +22440,7 @@ return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___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; 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; @@ -22409,438 +22487,15 @@ return x_22; } } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3; -x_2 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5; -x_3 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12; -x_4 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___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; uint8_t x_12; -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; uint8_t x_21; -x_13 = lean_ctor_get(x_10, 4); -lean_dec(x_13); -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -x_15 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2; -lean_ctor_set(x_10, 4, x_15); -lean_ctor_set(x_10, 0, x_1); -x_16 = lean_st_ref_set(x_7, x_10, x_11); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_ref_take(x_5, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_19, 1); -lean_dec(x_22); -x_23 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17; -lean_ctor_set(x_19, 1, x_23); -x_24 = lean_st_ref_set(x_5, x_19, x_20); -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; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 2); -x_33 = lean_ctor_get(x_19, 3); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -x_34 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17; -x_35 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_32); -lean_ctor_set(x_35, 3, x_33); -x_36 = lean_st_ref_set(x_5, x_35, x_20); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_38 = x_36; -} else { - lean_dec_ref(x_36); - x_38 = lean_box(0); -} -x_39 = lean_box(0); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; -} -} -else -{ -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; -x_41 = lean_ctor_get(x_10, 1); -x_42 = lean_ctor_get(x_10, 2); -x_43 = lean_ctor_get(x_10, 3); -x_44 = lean_ctor_get(x_10, 5); -x_45 = lean_ctor_get(x_10, 6); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_10); -x_46 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2; -x_47 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_41); -lean_ctor_set(x_47, 2, x_42); -lean_ctor_set(x_47, 3, x_43); -lean_ctor_set(x_47, 4, x_46); -lean_ctor_set(x_47, 5, x_44); -lean_ctor_set(x_47, 6, x_45); -x_48 = lean_st_ref_set(x_7, x_47, x_11); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_take(x_5, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 2); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 3); -lean_inc(x_55); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - lean_ctor_release(x_51, 3); - x_56 = x_51; -} else { - lean_dec_ref(x_51); - x_56 = lean_box(0); -} -x_57 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17; -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 4, 0); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -x_59 = lean_st_ref_set(x_5, x_58, x_52); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_61; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg___boxed), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___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, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -22853,7 +22508,7 @@ x_10 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_10, 0, x_9); x_11 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_11, 0, x_10); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_12; } else @@ -22870,15 +22525,15 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___rarg___boxed), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___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_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___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, 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; @@ -22895,147 +22550,21 @@ x_13 = lean_ctor_get(x_6, 2); x_14 = lean_eval_const(x_12, x_13, x_1); lean_dec(x_1); lean_dec(x_12); -x_15 = l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_15 = l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg___boxed), 8, 0); return x_2; } } LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 5); -x_14 = lean_apply_3(x_5, x_1, x_2, x_12); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -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 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_17); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = 0; -x_22 = l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(x_3, x_20, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_4); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_18, 0); -lean_inc(x_24); -lean_dec(x_18); -x_25 = lean_io_error_to_string(x_24); -x_26 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -lean_dec(x_8); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_ctor_get(x_18, 0); -lean_inc(x_30); -lean_dec(x_18); -x_31 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -lean_dec(x_8); -lean_dec(x_6); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_4); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_4); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -x_36 = !lean_is_exclusive(x_14); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_14, 0); -x_38 = lean_io_error_to_string(x_37); -x_39 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_39, 0, x_38); -x_40 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_40, 0, x_39); -lean_inc(x_13); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_13); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_14, 0, x_41); -return x_14; -} -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; -x_42 = lean_ctor_get(x_14, 0); -x_43 = lean_ctor_get(x_14, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_14); -x_44 = lean_io_error_to_string(x_42); -x_45 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_46, 0, x_45); -lean_inc(x_13); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_13); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_43); -return x_48; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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; uint8_t x_15; lean_object* x_16; x_13 = l_Lean_Expr_const___override(x_1, x_2); x_14 = l_Lean_Expr_app___override(x_13, x_3); @@ -23049,7 +22578,7 @@ if (x_17 == 0) { lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_alloc_ctor(1, 1, 0); +x_19 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_16, 0, x_19); return x_16; @@ -23062,7 +22591,7 @@ x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); lean_inc(x_20); lean_dec(x_16); -x_22 = lean_alloc_ctor(1, 1, 0); +x_22 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_22, 0, x_20); x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); @@ -23094,7 +22623,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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; @@ -23178,7 +22707,7 @@ return x_22; } } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -23186,19 +22715,19 @@ x_1 = lean_mk_string_from_bytes("CommandElabM", 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; -x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1; +x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -23207,11 +22736,11 @@ x_2 = l_Lean_mkHashSetImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3; x_2 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_1); @@ -23220,7 +22749,7 @@ lean_ctor_set(x_3, 2, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -23228,27 +22757,27 @@ x_1 = lean_mk_string_from_bytes("Unit", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__5; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8() { _start: { lean_object* x_1; @@ -23256,17 +22785,17 @@ x_1 = lean_mk_string_from_bytes("term_>>=_", 9); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__8; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10() { _start: { lean_object* x_1; @@ -23274,7 +22803,7 @@ x_1 = lean_mk_string_from_bytes(">>=", 3); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11() { _start: { lean_object* x_1; @@ -23282,19 +22811,19 @@ x_1 = lean_mk_string_from_bytes("fun", 3); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; -x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11; +x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__13() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13() { _start: { lean_object* x_1; @@ -23302,19 +22831,19 @@ x_1 = lean_mk_string_from_bytes("basicFun", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; -x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__13; +x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15() { _start: { lean_object* x_1; @@ -23322,26 +22851,26 @@ x_1 = lean_mk_string_from_bytes("v", 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__15; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18() { _start: { lean_object* x_1; @@ -23349,7 +22878,7 @@ x_1 = lean_mk_string_from_bytes("=>", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__19() { _start: { lean_object* x_1; @@ -23357,19 +22886,19 @@ x_1 = lean_mk_string_from_bytes("app", 3); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; -x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19; +x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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_Command_elabEvalUnsafe___lambda__4___closed__21() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21() { _start: { lean_object* x_1; @@ -23377,16 +22906,16 @@ x_1 = lean_mk_string_from_bytes("IO.println", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__21; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23() { _start: { lean_object* x_1; @@ -23394,7 +22923,7 @@ x_1 = lean_mk_string_from_bytes("IO", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24() { _start: { lean_object* x_1; @@ -23402,63 +22931,63 @@ x_1 = lean_mk_string_from_bytes("println", 7); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23; -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25; 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_Command_elabEvalUnsafe___lambda__4___closed__27() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25; 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_Command_elabEvalUnsafe___lambda__4___closed__28() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__27; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27; 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_Command_elabEvalUnsafe___lambda__4___closed__29() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26; -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__28; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28; 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_Command_elabEvalUnsafe___lambda__4___closed__30() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30() { _start: { lean_object* x_1; @@ -23466,19 +22995,19 @@ x_1 = lean_mk_string_from_bytes("paren", 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31() { _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_Command_elabModuleDoc___closed__1; x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; -x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__30; +x_4 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32() { _start: { lean_object* x_1; @@ -23486,959 +23015,76 @@ x_1 = lean_mk_string_from_bytes("repr", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34; 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_Command_elabEvalUnsafe___lambda__4___closed__36() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34; 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_Command_elabEvalUnsafe___lambda__4___closed__37() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__36; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36; 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_Command_elabEvalUnsafe___lambda__4___closed__38() { +static lean_object* _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35; -x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__37; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35; +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_174; lean_object* x_175; -x_174 = 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_2); -x_175 = l_Lean_Elab_Term_elabTerm(x_4, x_2, x_174, x_174, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = 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_179 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_178, x_178, x_5, x_6, x_7, x_8, x_9, x_10, x_177); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -lean_dec(x_179); -lean_inc(x_176); -x_181 = l_Lean_Meta_getMVars(x_176, x_7, x_8, x_9, x_10, x_180); -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -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_2); -x_184 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_182, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_183); -lean_dec(x_182); -if (lean_obj_tag(x_184) == 0) -{ -lean_object* x_185; uint8_t x_186; -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_unbox(x_185); -lean_dec(x_185); -if (x_186 == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_184, 1); -lean_inc(x_187); -lean_dec(x_184); -x_188 = lean_box(0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_189 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(x_176, x_188, x_5, x_6, x_7, x_8, x_9, x_10, x_187); -if (lean_obj_tag(x_189) == 0) -{ -lean_object* x_190; lean_object* x_191; -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_12 = x_190; -x_13 = x_191; -goto block_173; -} -else -{ -uint8_t x_192; -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); -lean_dec(x_2); -lean_dec(x_1); -x_192 = !lean_is_exclusive(x_189); -if (x_192 == 0) -{ -return x_189; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_193 = lean_ctor_get(x_189, 0); -x_194 = lean_ctor_get(x_189, 1); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_189); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -return x_195; -} -} -} -else -{ -lean_object* x_196; lean_object* x_197; uint8_t x_198; -lean_dec(x_176); -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); -lean_dec(x_2); -lean_dec(x_1); -x_196 = lean_ctor_get(x_184, 1); -lean_inc(x_196); -lean_dec(x_184); -x_197 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_196); -x_198 = !lean_is_exclusive(x_197); -if (x_198 == 0) -{ -return x_197; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_197, 0); -x_200 = lean_ctor_get(x_197, 1); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_197); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; -} -} -} -else -{ -uint8_t x_202; -lean_dec(x_176); -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); -lean_dec(x_2); -lean_dec(x_1); -x_202 = !lean_is_exclusive(x_184); -if (x_202 == 0) -{ -return x_184; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_184, 0); -x_204 = lean_ctor_get(x_184, 1); -lean_inc(x_204); -lean_inc(x_203); -lean_dec(x_184); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -return x_205; -} -} -} -else -{ -uint8_t x_206; -lean_dec(x_176); -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); -lean_dec(x_2); -lean_dec(x_1); -x_206 = !lean_is_exclusive(x_179); -if (x_206 == 0) -{ -return x_179; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_179, 0); -x_208 = lean_ctor_get(x_179, 1); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_179); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -return x_209; -} -} -} -else -{ -uint8_t x_210; -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); -lean_dec(x_2); -lean_dec(x_1); -x_210 = !lean_is_exclusive(x_175); -if (x_210 == 0) -{ -return x_175; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_211 = lean_ctor_get(x_175, 0); -x_212 = lean_ctor_get(x_175, 1); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_175); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -return x_213; -} -} -block_173: -{ -lean_object* x_14; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_12); -x_14 = lean_infer_type(x_12, x_7, x_8, x_9, x_10, 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; lean_object* x_21; uint8_t x_22; -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_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_15, x_5, x_6, x_7, x_8, x_9, x_10, 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 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2; -x_21 = lean_unsigned_to_nat(1u); -x_22 = l_Lean_Expr_isAppOfArity(x_18, x_20, x_21); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_18); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_23 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval(x_12, x_7, x_8, x_9, x_10, x_19); -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; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_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_st_ref_get(x_10, 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_27, 0); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_9, 2); -lean_inc(x_30); -x_31 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_28); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__5; -x_35 = l_Lean_Elab_Term_levelMVarToParam(x_32, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -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); -lean_inc(x_36); -x_38 = lean_infer_type(x_36, x_7, x_8, x_9, x_10, x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -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 = lean_box(0); -x_42 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4; -lean_inc(x_36); -x_43 = l_Lean_CollectLevelParams_main(x_36, x_42); -x_44 = lean_ctor_get(x_43, 2); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_40); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_array_to_list(lean_box(0), x_44); -lean_inc(x_3); -x_49 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_49, 0, x_3); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_49, 2, x_39); -lean_inc(x_3); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_3); -lean_ctor_set(x_50, 1, x_41); -x_51 = lean_box(0); -x_52 = 0; -x_53 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_53, 0, x_49); -lean_ctor_set(x_53, 1, x_46); -lean_ctor_set(x_53, 2, x_51); -lean_ctor_set(x_53, 3, x_50); -lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -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_54); -x_55 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_47); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -lean_inc(x_10); -lean_inc(x_9); -x_57 = l_Lean_addAndCompile(x_54, x_9, x_10, x_56); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -lean_inc(x_5); -x_59 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -lean_inc(x_29); -x_62 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_61); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(x_29, x_30, x_1, x_2, x_60, x_5, x_6, x_7, x_8, x_9, x_10, x_63); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_1); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -lean_dec(x_30); -lean_dec(x_2); -lean_dec(x_1); -x_65 = lean_ctor_get(x_59, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_59, 1); -lean_inc(x_66); -lean_dec(x_59); -x_67 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_66); -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_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_67, 0); -lean_dec(x_69); -lean_ctor_set_tag(x_67, 1); -lean_ctor_set(x_67, 0, x_65); -return x_67; -} -else -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -lean_dec(x_67); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_65); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -lean_dec(x_30); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_72 = lean_ctor_get(x_57, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_57, 1); -lean_inc(x_73); -lean_dec(x_57); -x_74 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_73); -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_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set_tag(x_74, 1); -lean_ctor_set(x_74, 0, x_72); -return x_74; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_72); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -lean_dec(x_54); -lean_dec(x_30); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_79 = lean_ctor_get(x_55, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_55, 1); -lean_inc(x_80); -lean_dec(x_55); -x_81 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_80); -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_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) -{ -lean_object* x_83; -x_83 = lean_ctor_get(x_81, 0); -lean_dec(x_83); -lean_ctor_set_tag(x_81, 1); -lean_ctor_set(x_81, 0, x_79); -return x_81; -} -else -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -lean_dec(x_36); -lean_dec(x_30); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_86 = lean_ctor_get(x_38, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_38, 1); -lean_inc(x_87); -lean_dec(x_38); -x_88 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_87); -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_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) -{ -lean_object* x_90; -x_90 = lean_ctor_get(x_88, 0); -lean_dec(x_90); -lean_ctor_set_tag(x_88, 1); -lean_ctor_set(x_88, 0, x_86); -return x_88; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_dec(x_88); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_86); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -} -else -{ -uint8_t x_93; -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); -lean_dec(x_2); -lean_dec(x_1); -x_93 = !lean_is_exclusive(x_23); -if (x_93 == 0) -{ -return x_23; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_23, 0); -x_95 = lean_ctor_get(x_23, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_23); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -} -else -{ -lean_object* x_97; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(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); -x_97 = l_Lean_Elab_Term_exprToSyntax(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_19); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = l_Lean_Expr_appArg_x21(x_18); -lean_dec(x_18); -x_101 = lean_box(0); -x_102 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_103 = l_Lean_Meta_isExprDefEq(x_100, x_102, x_7, x_8, x_9, x_10, x_99); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; uint8_t x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_unbox(x_104); -lean_dec(x_104); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 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; -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_106); -lean_dec(x_103); -x_107 = lean_ctor_get(x_9, 5); -lean_inc(x_107); -x_108 = 0; -x_109 = l_Lean_SourceInfo_fromRef(x_107, x_108); -x_110 = lean_ctor_get(x_9, 10); -lean_inc(x_110); -x_111 = lean_st_ref_get(x_10, x_106); -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); -lean_dec(x_112); -x_115 = lean_environment_main_module(x_114); -x_116 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10; -lean_inc(x_109); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_109); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11; -lean_inc(x_109); -x_119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_119, 0, x_109); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17; -lean_inc(x_110); -lean_inc(x_115); -x_121 = l_Lean_addMacroScope(x_115, x_120, x_110); -x_122 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16; -lean_inc(x_109); -x_123 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_123, 0, x_109); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_121); -lean_ctor_set(x_123, 3, x_101); -x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; -lean_inc(x_109); -x_125 = l_Lean_Syntax_node1(x_109, x_124, x_123); -x_126 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; -lean_inc(x_109); -x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_109); -lean_ctor_set(x_127, 1, x_124); -lean_ctor_set(x_127, 2, x_126); -x_128 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18; -lean_inc(x_109); -x_129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_129, 0, x_109); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25; -lean_inc(x_110); -lean_inc(x_115); -x_131 = l_Lean_addMacroScope(x_115, x_130, x_110); -x_132 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22; -x_133 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__29; -lean_inc(x_109); -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_109); -lean_ctor_set(x_134, 1, x_132); -lean_ctor_set(x_134, 2, x_131); -lean_ctor_set(x_134, 3, x_133); -x_135 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__6; -lean_inc(x_109); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_109); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34; -x_138 = l_Lean_addMacroScope(x_115, x_137, x_110); -x_139 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33; -x_140 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__38; -lean_inc(x_109); -x_141 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_141, 0, x_109); -lean_ctor_set(x_141, 1, x_139); -lean_ctor_set(x_141, 2, x_138); -lean_ctor_set(x_141, 3, x_140); -x_142 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20; -lean_inc(x_125); -lean_inc(x_109); -x_143 = l_Lean_Syntax_node2(x_109, x_142, x_141, x_125); -x_144 = l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; -lean_inc(x_109); -x_145 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_145, 0, x_109); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31; -lean_inc(x_109); -x_147 = l_Lean_Syntax_node3(x_109, x_146, x_136, x_143, x_145); -lean_inc(x_109); -x_148 = l_Lean_Syntax_node1(x_109, x_124, x_147); -lean_inc(x_109); -x_149 = l_Lean_Syntax_node2(x_109, x_142, x_134, x_148); -x_150 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14; -lean_inc(x_109); -x_151 = l_Lean_Syntax_node4(x_109, x_150, x_125, x_127, x_129, x_149); -x_152 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12; -lean_inc(x_109); -x_153 = l_Lean_Syntax_node2(x_109, x_152, x_119, x_151); -x_154 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9; -x_155 = l_Lean_Syntax_node3(x_109, x_154, x_98, x_117, x_153); -x_156 = lean_box(0); -x_157 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_20, x_101, x_102, x_155, x_156, x_5, x_6, x_7, x_8, x_9, x_10, x_113); -return x_157; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_103, 1); -lean_inc(x_158); -lean_dec(x_103); -x_159 = lean_box(0); -x_160 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_20, x_101, x_102, x_98, x_159, x_5, x_6, x_7, x_8, x_9, x_10, x_158); -return x_160; -} -} -else -{ -uint8_t x_161; -lean_dec(x_98); -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_161 = !lean_is_exclusive(x_103); -if (x_161 == 0) -{ -return x_103; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_103, 0); -x_163 = lean_ctor_get(x_103, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_103); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; -} -} -} -else -{ -uint8_t x_165; -lean_dec(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); -x_165 = !lean_is_exclusive(x_97); -if (x_165 == 0) -{ -return x_97; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_97, 0); -x_167 = lean_ctor_get(x_97, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_97); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; -} -} -} -} -else -{ -uint8_t x_169; -lean_dec(x_12); -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); -lean_dec(x_2); -lean_dec(x_1); -x_169 = !lean_is_exclusive(x_14); -if (x_169 == 0) -{ -return x_14; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_14, 0); -x_171 = lean_ctor_get(x_14, 1); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_14); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -return x_172; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, 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_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4), 11, 4); -lean_closure_set(x_13, 0, x_1); -lean_closure_set(x_13, 1, x_2); -lean_closure_set(x_13, 2, x_3); -lean_closure_set(x_13, 3, x_4); -x_14 = l_Lean_Elab_Term_withDeclName___rarg(x_3, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_7, 5); -x_11 = lean_apply_1(x_2, x_9); -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; uint8_t x_18; lean_object* x_19; +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_23; lean_object* x_24; lean_object* x_31; lean_object* x_32; uint8_t x_171; lean_object* x_172; +x_11 = lean_st_ref_get(x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -24446,112 +23092,752 @@ lean_inc(x_13); lean_dec(x_11); 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_alloc_ctor(3, 1, 0); -lean_ctor_set(x_16, 0, x_14); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_16); -x_18 = 0; -x_19 = l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(x_1, x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -if (lean_obj_tag(x_15) == 0) +x_171 = 1; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_172 = l_Lean_Elab_Term_elabTerm(x_2, x_3, x_171, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_172) == 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_19, 1); -lean_inc(x_20); +lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = 0; +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_176 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_175, x_175, x_4, x_5, x_6, x_7, x_8, x_9, x_174); +if (lean_obj_tag(x_176) == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +lean_dec(x_176); +lean_inc(x_173); +x_178 = l_Lean_Meta_getMVars(x_173, x_6, x_7, x_8, x_9, x_177); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +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_181 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_179, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_180); +lean_dec(x_179); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; uint8_t x_183; +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +lean_dec(x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_181, 1); +lean_inc(x_184); +lean_dec(x_181); +x_185 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_186 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_173, x_185, x_4, x_5, x_6, x_7, x_8, x_9, x_184); +if (lean_obj_tag(x_186) == 0) +{ +lean_object* x_187; lean_object* x_188; +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_31 = x_187; +x_32 = x_188; +goto block_170; +} +else +{ +lean_object* x_189; lean_object* x_190; +lean_dec(x_1); +x_189 = lean_ctor_get(x_186, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_186, 1); +lean_inc(x_190); +lean_dec(x_186); +x_23 = x_189; +x_24 = x_190; +goto block_30; +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_173); +lean_dec(x_1); +x_191 = lean_ctor_get(x_181, 1); +lean_inc(x_191); +lean_dec(x_181); +x_192 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_191); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_23 = x_193; +x_24 = x_194; +goto block_30; +} +} +else +{ +lean_object* x_195; lean_object* x_196; +lean_dec(x_173); +lean_dec(x_1); +x_195 = lean_ctor_get(x_181, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_181, 1); +lean_inc(x_196); +lean_dec(x_181); +x_23 = x_195; +x_24 = x_196; +goto block_30; +} +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_173); +lean_dec(x_3); +lean_dec(x_1); +x_197 = lean_ctor_get(x_176, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_176, 1); +lean_inc(x_198); +lean_dec(x_176); +x_23 = x_197; +x_24 = x_198; +goto block_30; +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_3); +lean_dec(x_1); +x_199 = lean_ctor_get(x_172, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_172, 1); +lean_inc(x_200); +lean_dec(x_172); +x_23 = x_199; +x_24 = x_200; +goto block_30; +} +block_22: +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +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_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); lean_dec(x_19); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_io_error_to_string(x_21); -x_23 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +lean_ctor_set(x_17, 0, x_15); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +block_30: +{ +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_14, x_4, x_5, 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); +lean_dec(x_5); +lean_dec(x_4); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set_tag(x_25, 1); +lean_ctor_set(x_25, 0, x_23); return x_25; } else { -uint8_t x_26; -lean_dec(x_15); -lean_dec(x_3); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_19, 0); -lean_dec(x_27); -x_28 = lean_box(0); -lean_ctor_set(x_19, 0, x_28); -return x_19; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_19, 1); -lean_inc(x_29); -lean_dec(x_19); -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; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } -} -else +block_170: { -uint8_t x_32; -lean_dec(x_3); -x_32 = !lean_is_exclusive(x_11); -if (x_32 == 0) +lean_object* x_33; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_31); +x_33 = lean_infer_type(x_31, x_6, x_7, x_8, x_9, x_32); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_11, 0); -x_34 = lean_io_error_to_string(x_33); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_35); -lean_inc(x_10); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_10); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_11, 0, x_37); -return x_11; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_38 = lean_ctor_get(x_11, 0); -x_39 = lean_ctor_get(x_11, 1); -lean_inc(x_39); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -lean_dec(x_11); -x_40 = lean_io_error_to_string(x_38); -x_41 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_inc(x_10); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_10); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_39); -return x_44; +lean_dec(x_36); +x_39 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; +x_40 = lean_unsigned_to_nat(1u); +x_41 = l_Lean_Expr_isAppOfArity(x_37, x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_37); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_42 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval(x_31, x_6, x_7, x_8, x_9, x_38); +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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__5; +x_49 = l_Lean_Elab_Term_levelMVarToParam(x_46, x_48, x_4, x_5, x_6, x_7, x_8, x_9, x_47); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_50); +x_52 = lean_infer_type(x_50, x_6, x_7, x_8, x_9, x_51); +if (lean_obj_tag(x_52) == 0) +{ +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; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_box(0); +x_56 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4; +lean_inc(x_50); +x_57 = l_Lean_CollectLevelParams_main(x_50, x_56); +x_58 = lean_ctor_get(x_57, 2); +lean_inc(x_58); +lean_dec(x_57); +x_59 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_54); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_array_to_list(lean_box(0), x_58); +lean_inc(x_1); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_1); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_53); +lean_inc(x_1); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_1); +lean_ctor_set(x_64, 1, x_55); +x_65 = lean_box(0); +x_66 = 0; +x_67 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_60); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_64); +lean_ctor_set_uint8(x_67, sizeof(void*)*4, x_66); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_68); +x_69 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_68, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +lean_inc(x_9); +lean_inc(x_8); +x_71 = l_Lean_addAndCompile(x_68, x_8, x_9, x_70); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +lean_inc(x_4); +x_73 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_72); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_74); +x_15 = x_76; +x_16 = x_75; +goto block_22; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_73, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_dec(x_73); +x_23 = x_77; +x_24 = x_78; +goto block_30; +} +} +else +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_1); +x_79 = lean_ctor_get(x_71, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_71, 1); +lean_inc(x_80); +lean_dec(x_71); +x_23 = x_79; +x_24 = x_80; +goto block_30; +} +} +else +{ +lean_object* x_81; lean_object* x_82; +lean_dec(x_68); +lean_dec(x_1); +x_81 = lean_ctor_get(x_69, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_69, 1); +lean_inc(x_82); +lean_dec(x_69); +x_23 = x_81; +x_24 = x_82; +goto block_30; +} +} +else +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_50); +lean_dec(x_1); +x_83 = lean_ctor_get(x_52, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_52, 1); +lean_inc(x_84); +lean_dec(x_52); +x_23 = x_83; +x_24 = x_84; +goto block_30; +} +} +else +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_1); +x_85 = lean_ctor_get(x_42, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_42, 1); +lean_inc(x_86); +lean_dec(x_42); +x_23 = x_85; +x_24 = x_86; +goto block_30; +} +} +else +{ +lean_object* x_87; +lean_dec(x_1); +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_87 = l_Lean_Elab_Term_exprToSyntax(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_38); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_Expr_appArg_x21(x_37); +lean_dec(x_37); +x_91 = lean_box(0); +x_92 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_93 = l_Lean_Meta_isExprDefEq(x_90, x_92, x_6, x_7, x_8, x_9, x_89); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_unbox(x_94); +lean_dec(x_94); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_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; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_ctor_get(x_8, 5); +lean_inc(x_97); +x_98 = 0; +x_99 = l_Lean_SourceInfo_fromRef(x_97, x_98); +x_100 = lean_ctor_get(x_8, 10); +lean_inc(x_100); +x_101 = lean_st_ref_get(x_9, x_96); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_ctor_get(x_102, 0); +lean_inc(x_104); +lean_dec(x_102); +x_105 = lean_environment_main_module(x_104); +x_106 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10; +lean_inc(x_99); +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_99); +lean_ctor_set(x_107, 1, x_106); +x_108 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11; +lean_inc(x_99); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_99); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__17; +lean_inc(x_100); +lean_inc(x_105); +x_111 = l_Lean_addMacroScope(x_105, x_110, x_100); +x_112 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16; +lean_inc(x_99); +x_113 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_113, 0, x_99); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_113, 2, x_111); +lean_ctor_set(x_113, 3, x_91); +x_114 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; +lean_inc(x_99); +x_115 = l_Lean_Syntax_node1(x_99, x_114, x_113); +x_116 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; +lean_inc(x_99); +x_117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_117, 0, x_99); +lean_ctor_set(x_117, 1, x_114); +lean_ctor_set(x_117, 2, x_116); +x_118 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18; +lean_inc(x_99); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_99); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25; +lean_inc(x_100); +lean_inc(x_105); +x_121 = l_Lean_addMacroScope(x_105, x_120, x_100); +x_122 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22; +x_123 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29; +lean_inc(x_99); +x_124 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_124, 0, x_99); +lean_ctor_set(x_124, 1, x_122); +lean_ctor_set(x_124, 2, x_121); +lean_ctor_set(x_124, 3, x_123); +x_125 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__6; +lean_inc(x_99); +x_126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_126, 0, x_99); +lean_ctor_set(x_126, 1, x_125); +x_127 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34; +x_128 = l_Lean_addMacroScope(x_105, x_127, x_100); +x_129 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33; +x_130 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38; +lean_inc(x_99); +x_131 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_131, 0, x_99); +lean_ctor_set(x_131, 1, x_129); +lean_ctor_set(x_131, 2, x_128); +lean_ctor_set(x_131, 3, x_130); +x_132 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20; +lean_inc(x_115); +lean_inc(x_99); +x_133 = l_Lean_Syntax_node2(x_99, x_132, x_131, x_115); +x_134 = l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; +lean_inc(x_99); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_99); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31; +lean_inc(x_99); +x_137 = l_Lean_Syntax_node3(x_99, x_136, x_126, x_133, x_135); +lean_inc(x_99); +x_138 = l_Lean_Syntax_node1(x_99, x_114, x_137); +lean_inc(x_99); +x_139 = l_Lean_Syntax_node2(x_99, x_132, x_124, x_138); +x_140 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14; +lean_inc(x_99); +x_141 = l_Lean_Syntax_node4(x_99, x_140, x_115, x_117, x_119, x_139); +x_142 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__12; +lean_inc(x_99); +x_143 = l_Lean_Syntax_node2(x_99, x_142, x_109, x_141); +x_144 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__9; +x_145 = l_Lean_Syntax_node3(x_99, x_144, x_88, x_107, x_143); +x_146 = lean_box(0); +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_147 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(x_39, x_91, x_92, x_145, x_146, x_4, x_5, x_6, x_7, x_8, x_9, x_103); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_15 = x_148; +x_16 = x_149; +goto block_22; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_147, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_147, 1); +lean_inc(x_151); +lean_dec(x_147); +x_23 = x_150; +x_24 = x_151; +goto block_30; +} +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_93, 1); +lean_inc(x_152); +lean_dec(x_93); +x_153 = lean_box(0); +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_154 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(x_39, x_91, x_92, x_88, x_153, x_4, x_5, x_6, x_7, x_8, x_9, x_152); +if (lean_obj_tag(x_154) == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +lean_dec(x_154); +x_15 = x_155; +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_154, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_154, 1); +lean_inc(x_158); +lean_dec(x_154); +x_23 = x_157; +x_24 = x_158; +goto block_30; +} +} +} +else +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_88); +x_159 = lean_ctor_get(x_93, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_93, 1); +lean_inc(x_160); +lean_dec(x_93); +x_23 = x_159; +x_24 = x_160; +goto block_30; +} +} +else +{ +lean_object* x_161; lean_object* x_162; +lean_dec(x_37); +x_161 = lean_ctor_get(x_87, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_87, 1); +lean_inc(x_162); +lean_dec(x_87); +x_23 = x_161; +x_24 = x_162; +goto block_30; +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; +lean_dec(x_31); +lean_dec(x_1); +x_163 = lean_ctor_get(x_33, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_33, 1); +lean_inc(x_164); +lean_dec(x_33); +x_165 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_164); +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_166 = !lean_is_exclusive(x_165); +if (x_166 == 0) +{ +lean_object* x_167; +x_167 = lean_ctor_get(x_165, 0); +lean_dec(x_167); +lean_ctor_set_tag(x_165, 1); +lean_ctor_set(x_165, 0, x_163); +return x_165; +} +else +{ +lean_object* x_168; lean_object* x_169; +x_168 = lean_ctor_get(x_165, 1); +lean_inc(x_168); +lean_dec(x_165); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_163); +lean_ctor_set(x_169, 1, x_168); +return x_169; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__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, lean_object* x_10, lean_object* x_11) { +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_88; lean_object* x_89; -x_88 = 1; +lean_object* x_12; lean_object* x_13; +lean_inc(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3), 10, 3); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +lean_closure_set(x_12, 2, x_3); +x_13 = l_Lean_Elab_Term_withDeclName___rarg(x_1, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, 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; lean_object* x_24; lean_object* x_25; lean_object* x_32; lean_object* x_33; uint8_t x_105; lean_object* x_106; +x_12 = lean_st_ref_get(x_10, x_11); +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, 0); +lean_inc(x_15); +lean_dec(x_13); +x_105 = 1; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -24559,563 +23845,491 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_89 = l_Lean_Elab_Term_elabTerm(x_3, x_4, x_88, x_88, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_89) == 0) +x_106 = l_Lean_Elab_Term_elabTerm(x_3, x_4, x_105, x_105, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_106) == 0) { -lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = 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_93 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_92, x_92, x_5, x_6, x_7, x_8, x_9, x_10, x_91); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -lean_inc(x_90); -x_95 = l_Lean_Meta_getMVars(x_90, x_7, x_8, x_9, x_10, x_94); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -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_98 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_97); -lean_dec(x_96); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; uint8_t x_100; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_unbox(x_99); -lean_dec(x_99); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_98, 1); -lean_inc(x_101); -lean_dec(x_98); -x_102 = lean_box(0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_103 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(x_90, x_102, x_5, x_6, x_7, x_8, x_9, x_10, x_101); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_12 = x_104; -x_13 = x_105; -goto block_87; -} -else -{ -uint8_t x_106; -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_2); -x_106 = !lean_is_exclusive(x_103); -if (x_106 == 0) -{ -return x_103; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_103, 0); -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); +lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; +x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); -lean_dec(x_103); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; -lean_dec(x_90); -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_2); -x_110 = lean_ctor_get(x_98, 1); -lean_inc(x_110); -lean_dec(x_98); -x_111 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_110); -x_112 = !lean_is_exclusive(x_111); -if (x_112 == 0) -{ -return x_111; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_111, 0); -x_114 = lean_ctor_get(x_111, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_111); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -else -{ -uint8_t x_116; -lean_dec(x_90); -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_2); -x_116 = !lean_is_exclusive(x_98); -if (x_116 == 0) -{ -return x_98; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_98, 0); -x_118 = lean_ctor_get(x_98, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_98); -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; -} -} -} -else -{ -uint8_t x_120; -lean_dec(x_90); -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); -x_120 = !lean_is_exclusive(x_93); -if (x_120 == 0) -{ -return x_93; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_93, 0); -x_122 = lean_ctor_get(x_93, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_93); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} -} -} -else -{ -uint8_t x_124; -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); -x_124 = !lean_is_exclusive(x_89); -if (x_124 == 0) -{ -return x_89; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_89, 0); -x_126 = lean_ctor_get(x_89, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_89); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; -} -} -block_87: -{ -lean_object* x_14; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_14 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval(x_12, x_7, x_8, x_9, x_10, 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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_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 = lean_st_ref_get(x_10, 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_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_19); -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_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__5; -x_25 = l_Lean_Elab_Term_levelMVarToParam(x_22, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_23); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_26); -x_28 = lean_infer_type(x_26, x_7, x_8, x_9, x_10, x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -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_box(0); -x_32 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4; -lean_inc(x_26); -x_33 = l_Lean_CollectLevelParams_main(x_26, x_32); -x_34 = lean_ctor_get(x_33, 2); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -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); -x_38 = lean_array_to_list(lean_box(0), x_34); -lean_inc(x_2); -x_39 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_39, 0, x_2); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_39, 2, x_29); -lean_inc(x_2); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_2); -lean_ctor_set(x_40, 1, x_31); -x_41 = lean_box(0); -x_42 = 0; -x_43 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_43, 0, x_39); -lean_ctor_set(x_43, 1, x_36); -lean_ctor_set(x_43, 2, x_41); -lean_ctor_set(x_43, 3, x_40); -lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_42); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = 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); -lean_inc(x_44); -x_45 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_44, x_5, x_6, x_7, x_8, x_9, x_10, x_37); -if (lean_obj_tag(x_45) == 0) +x_110 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_109, x_109, x_5, x_6, x_7, x_8, x_9, x_10, x_108); +if (lean_obj_tag(x_110) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +lean_inc(x_107); +x_112 = l_Lean_Meta_getMVars(x_107, x_7, x_8, x_9, x_10, x_111); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); lean_inc(x_10); lean_inc(x_9); -x_47 = l_Lean_addAndCompile(x_44, x_9, x_10, x_46); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -x_49 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_48); -if (lean_obj_tag(x_49) == 0) +x_115 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_114); +lean_dec(x_113); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_51); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_dec(x_52); -x_54 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__6(x_1, x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_54; +lean_object* x_116; uint8_t x_117; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_unbox(x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_115, 1); +lean_inc(x_118); +lean_dec(x_115); +x_119 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_120 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_107, x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_118); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_32 = x_121; +x_33 = x_122; +goto block_104; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_55 = lean_ctor_get(x_49, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_49, 1); -lean_inc(x_56); -lean_dec(x_49); -x_57 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_56); +lean_object* x_123; lean_object* x_124; +lean_dec(x_1); +x_123 = lean_ctor_get(x_120, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_120, 1); +lean_inc(x_124); +lean_dec(x_120); +x_24 = x_123; +x_25 = x_124; +goto block_31; +} +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_107); +lean_dec(x_1); +x_125 = lean_ctor_get(x_115, 1); +lean_inc(x_125); +lean_dec(x_115); +x_126 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_125); +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_24 = x_127; +x_25 = x_128; +goto block_31; +} +} +else +{ +lean_object* x_129; lean_object* x_130; +lean_dec(x_107); +lean_dec(x_1); +x_129 = lean_ctor_get(x_115, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_115, 1); +lean_inc(x_130); +lean_dec(x_115); +x_24 = x_129; +x_25 = x_130; +goto block_31; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_107); +lean_dec(x_4); +lean_dec(x_1); +x_131 = lean_ctor_get(x_110, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_110, 1); +lean_inc(x_132); +lean_dec(x_110); +x_24 = x_131; +x_25 = x_132; +goto block_31; +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_4); +lean_dec(x_1); +x_133 = lean_ctor_get(x_106, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_106, 1); +lean_inc(x_134); +lean_dec(x_106); +x_24 = x_133; +x_25 = x_134; +goto block_31; +} +block_23: +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_17); 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_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 1); -lean_ctor_set(x_57, 0, x_55); -return x_57; +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_16); +return x_18; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_55); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } -} -else +block_31: { -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -lean_dec(x_2); -x_62 = lean_ctor_get(x_47, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_47, 1); -lean_inc(x_63); -lean_dec(x_47); -x_64 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_63); +lean_object* x_26; uint8_t x_27; +x_26 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_25); 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_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_64, 0); -lean_dec(x_66); -lean_ctor_set_tag(x_64, 1); -lean_ctor_set(x_64, 0, x_62); -return x_64; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -lean_dec(x_64); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_62); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_44); -lean_dec(x_2); -x_69 = lean_ctor_get(x_45, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_45, 1); -lean_inc(x_70); -lean_dec(x_45); -x_71 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_70); -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_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) -{ -lean_object* x_73; -x_73 = lean_ctor_get(x_71, 0); -lean_dec(x_73); -lean_ctor_set_tag(x_71, 1); -lean_ctor_set(x_71, 0, x_69); -return x_71; -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -lean_dec(x_26); -lean_dec(x_2); -x_76 = lean_ctor_get(x_28, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_28, 1); -lean_inc(x_77); +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); lean_dec(x_28); -x_78 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_77); -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_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_78, 0); -lean_dec(x_80); -lean_ctor_set_tag(x_78, 1); -lean_ctor_set(x_78, 0, x_76); -return x_78; +lean_ctor_set_tag(x_26, 1); +lean_ctor_set(x_26, 0, x_24); +return x_26; } else { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_dec(x_78); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_76); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } -} -else +block_104: { -uint8_t x_83; -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_2); -x_83 = !lean_is_exclusive(x_14); -if (x_83 == 0) +lean_object* x_34; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_34 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval(x_32, x_7, x_8, x_9, x_10, x_33); +if (lean_obj_tag(x_34) == 0) { -return x_14; -} -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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_List_forIn_loop___at_Lean_Elab_Command_elabCheckCore___spec__8___closed__5; +x_41 = l_Lean_Elab_Term_levelMVarToParam(x_38, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_42); +x_44 = lean_infer_type(x_42, x_7, x_8, x_9, x_10, x_43); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_14, 0); -x_85 = lean_ctor_get(x_14, 1); -lean_inc(x_85); +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; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_box(0); +x_48 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4; +lean_inc(x_42); +x_49 = l_Lean_CollectLevelParams_main(x_42, x_48); +x_50 = lean_ctor_get(x_49, 2); +lean_inc(x_50); +lean_dec(x_49); +x_51 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +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_to_list(lean_box(0), x_50); +lean_inc(x_1); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_1); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_45); +lean_inc(x_1); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_1); +lean_ctor_set(x_56, 1, x_47); +x_57 = lean_box(0); +x_58 = 0; +x_59 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_52); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_56); +lean_ctor_set_uint8(x_59, sizeof(void*)*4, x_58); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_59); +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_60); +x_61 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_60, x_5, x_6, x_7, x_8, x_9, x_10, x_53); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +lean_inc(x_10); +lean_inc(x_9); +x_63 = l_Lean_addAndCompile(x_60, x_9, x_10, x_62); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +lean_inc(x_5); +x_65 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_64); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_ctor_get(x_9, 5); +lean_inc(x_68); +x_69 = lean_apply_1(x_66, x_67); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; +lean_dec(x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_dec(x_70); +x_74 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_74, 0, x_72); +x_75 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_75, 0, x_74); +x_76 = 0; +x_77 = l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(x_2, x_75, x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_71); +if (lean_obj_tag(x_73) == 0) +{ +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_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_ctor_get(x_73, 0); +lean_inc(x_79); +lean_dec(x_73); +x_80 = lean_io_error_to_string(x_79); +x_81 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +lean_inc(x_5); +x_83 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_82, x_5, x_6, x_7, x_8, x_9, x_10, x_78); +x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -lean_dec(x_14); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_24 = x_84; +x_25 = x_85; +goto block_31; +} +else +{ +lean_object* x_86; lean_object* x_87; +lean_dec(x_73); +x_86 = lean_ctor_get(x_77, 1); +lean_inc(x_86); +lean_dec(x_77); +x_87 = lean_box(0); +x_16 = x_87; +x_17 = x_86; +goto block_23; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_ctor_get(x_69, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_69, 1); +lean_inc(x_89); +lean_dec(x_69); +x_90 = lean_io_error_to_string(x_88); +x_91 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_68); +lean_ctor_set(x_93, 1, x_92); +x_24 = x_93; +x_25 = x_89; +goto block_31; +} +} +else +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_65, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_65, 1); +lean_inc(x_95); +lean_dec(x_65); +x_24 = x_94; +x_25 = x_95; +goto block_31; +} +} +else +{ +lean_object* x_96; lean_object* x_97; +lean_dec(x_1); +x_96 = lean_ctor_get(x_63, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_63, 1); +lean_inc(x_97); +lean_dec(x_63); +x_24 = x_96; +x_25 = x_97; +goto block_31; +} +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_dec(x_60); +lean_dec(x_1); +x_98 = lean_ctor_get(x_61, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_61, 1); +lean_inc(x_99); +lean_dec(x_61); +x_24 = x_98; +x_25 = x_99; +goto block_31; +} +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_42); +lean_dec(x_1); +x_100 = lean_ctor_get(x_44, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_44, 1); +lean_inc(x_101); +lean_dec(x_44); +x_24 = x_100; +x_25 = x_101; +goto block_31; +} +} +else +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_1); +x_102 = lean_ctor_get(x_34, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_34, 1); +lean_inc(x_103); +lean_dec(x_34); +x_24 = x_102; +x_25 = x_103; +goto block_31; } } } } -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; -lean_inc(x_2); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___boxed), 11, 4); +lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___boxed), 11, 4); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); lean_closure_set(x_13, 3, x_4); -x_14 = l_Lean_Elab_Term_withDeclName___rarg(x_2, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Elab_Term_withDeclName___rarg(x_1, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -25184,15 +24398,14 @@ lean_dec(x_1); x_12 = lean_box(0); x_13 = l_Lean_Elab_Command_elabEvalUnsafe___closed__4; lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___boxed), 11, 3); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_11); +lean_closure_set(x_14, 2, x_12); lean_inc(x_9); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___boxed), 12, 4); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_12); -lean_closure_set(x_14, 2, x_13); -lean_closure_set(x_14, 3, x_11); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__8___boxed), 12, 4); -lean_closure_set(x_15, 0, x_9); -lean_closure_set(x_15, 1, x_13); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEvalUnsafe___lambda__6___boxed), 12, 4); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_9); lean_closure_set(x_15, 2, x_11); lean_closure_set(x_15, 3, x_12); x_16 = lean_st_ref_get(x_3, x_4); @@ -25210,6 +24423,7 @@ if (x_21 == 0) { lean_object* x_22; lean_dec(x_14); +lean_dec(x_9); x_22 = l_Lean_Elab_Command_runTermElabM___rarg(x_15, x_2, x_3, x_18); lean_dec(x_3); lean_dec(x_2); @@ -25227,78 +24441,210 @@ x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); if (lean_obj_tag(x_24) == 0) { -uint8_t x_25; -lean_dec(x_3); -lean_dec(x_2); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_23, 0, x_27); -return x_23; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_9); +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); +lean_dec(x_24); +x_27 = lean_apply_3(x_26, x_2, x_3, x_25); +return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_28 = lean_ctor_get(x_23, 1); lean_inc(x_28); lean_dec(x_23); -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; -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_dec(x_23); -x_32 = lean_ctor_get(x_24, 0); -lean_inc(x_32); +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); lean_dec(x_24); -x_33 = lean_apply_3(x_32, x_2, x_3, x_31); -return x_33; -} +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, 0); +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, 2); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Elab_Command_instInhabitedScope; +x_39 = l_List_head_x21___rarg(x_38, x_37); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_apply_3(x_29, x_33, x_40, x_36); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_46, 0, x_44); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = 0; +x_49 = l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(x_9, x_47, x_48, x_2, x_3, x_43); +lean_dec(x_9); +if (lean_obj_tag(x_45) == 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; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_ctor_get(x_45, 0); +lean_inc(x_51); +lean_dec(x_45); +x_52 = lean_io_error_to_string(x_51); +x_53 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_55 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_54, x_2, x_3, x_50); +lean_dec(x_3); +return x_55; } else { -uint8_t x_34; +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_dec(x_49); +x_57 = lean_ctor_get(x_45, 0); +lean_inc(x_57); +lean_dec(x_45); +x_58 = l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(x_57, x_2, x_3, x_56); lean_dec(x_3); lean_dec(x_2); -x_34 = !lean_is_exclusive(x_23); -if (x_34 == 0) +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +x_61 = lean_box(0); +lean_ctor_set(x_58, 0, x_61); +return x_58; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_58, 1); +lean_inc(x_62); +lean_dec(x_58); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_9); +lean_dec(x_3); +x_65 = !lean_is_exclusive(x_41); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_41, 0); +x_67 = lean_ctor_get(x_2, 6); +lean_inc(x_67); +lean_dec(x_2); +x_68 = lean_io_error_to_string(x_66); +x_69 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_41, 0, x_71); +return x_41; +} +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; +x_72 = lean_ctor_get(x_41, 0); +x_73 = lean_ctor_get(x_41, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_41); +x_74 = lean_ctor_get(x_2, 6); +lean_inc(x_74); +lean_dec(x_2); +x_75 = lean_io_error_to_string(x_72); +x_76 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_74); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_73); +return x_79; +} +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_80 = !lean_is_exclusive(x_23); +if (x_80 == 0) { return x_23; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_23, 0); -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_23, 0); +x_82 = lean_ctor_get(x_23, 1); +lean_inc(x_82); +lean_inc(x_81); lean_dec(x_23); -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; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___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: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(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); @@ -25307,25 +24653,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___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_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___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: { lean_object* x_9; -x_9 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___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); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___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: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabEvalUnsafe___spec__5___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___rarg(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); @@ -25334,24 +24666,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___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) { +LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg(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_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___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: -{ -lean_object* x_9; -x_9 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___rarg(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); @@ -25365,71 +24684,44 @@ _start: { lean_object* x_13; x_13 = l_Lean_Elab_Command_elabEvalUnsafe___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); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_Command_elabEvalUnsafe___lambda__6(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_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__7(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_1); +x_12 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_4); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, 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_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__5(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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(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 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); return x_13; } @@ -25478,7 +24770,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEval_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(700u); +x_1 = lean_unsigned_to_nat(705u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25490,7 +24782,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEval_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(700u); +x_1 = lean_unsigned_to_nat(705u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25518,7 +24810,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEval_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(700u); +x_1 = lean_unsigned_to_nat(705u); x_2 = lean_unsigned_to_nat(7u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25530,7 +24822,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEval_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(700u); +x_1 = lean_unsigned_to_nat(705u); x_2 = lean_unsigned_to_nat(15u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25576,6 +24868,1638 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("to use this command, include `import Lean.Elab.Command`", 55); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_st_ref_get(x_2, x_3); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; +x_10 = l_Lean_Environment_contains(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_free_object(x_4); +x_11 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2; +x_12 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_11, x_1, x_2, x_7); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_box(0); +lean_ctor_set(x_4, 0, x_13); +return x_4; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_4); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; +x_18 = l_Lean_Environment_contains(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2; +x_20 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_19, x_1, x_2, x_15); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_1); +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_15); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___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_Command_elabEvalUnsafe___lambda__3___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__1; +x_2 = l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunCmd_unsafe__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; uint8_t x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3; +x_10 = 1; +x_11 = l_Lean_Elab_Term_evalTerm___rarg(x_9, x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runCmd", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l_Lean_Elab_Command_elabRunCmd___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("discard", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabRunCmd___closed__3; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___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_Command_elabRunCmd___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Functor", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabRunCmd___closed__6; +x_2 = l_Lean_Elab_Command_elabRunCmd___closed__3; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunCmd___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___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_Command_elabRunCmd___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("do", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___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 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunCmd___closed__10; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_run_cmd", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunCmd___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunCmd___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunCmd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_elabRunCmd___closed__2; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +lean_inc(x_2); +x_10 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(x_2, x_3, x_4); +if (lean_obj_tag(x_10) == 0) +{ +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; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_getRef(x_2, x_3, x_11); +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 = 0; +x_16 = l_Lean_SourceInfo_fromRef(x_13, x_15); +x_17 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_14); +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 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Command_elabRunCmd___closed__5; +x_24 = l_Lean_addMacroScope(x_21, x_23, x_18); +x_25 = l_Lean_Elab_Command_elabRunCmd___closed__4; +x_26 = l_Lean_Elab_Command_elabRunCmd___closed__9; +lean_inc(x_16); +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_26); +x_28 = l_Lean_Elab_Command_elabRunCmd___closed__10; +lean_inc(x_16); +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_16); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_Command_elabRunCmd___closed__11; +lean_inc(x_16); +x_31 = l_Lean_Syntax_node2(x_16, x_30, x_29, x_9); +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; +lean_inc(x_16); +x_33 = l_Lean_Syntax_node1(x_16, x_32, x_31); +x_34 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20; +x_35 = l_Lean_Syntax_node2(x_16, x_34, x_27, x_33); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabRunCmd_unsafe__1), 8, 1); +lean_closure_set(x_36, 0, x_35); +x_37 = l_Lean_Elab_Command_elabRunCmd___closed__13; +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_36); +x_39 = l_Lean_Elab_Command_liftTermElabM___rarg(x_38, x_2, x_3, x_22); +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_3(x_40, x_2, x_3, x_41); +return x_42; +} +else +{ +uint8_t x_43; +lean_dec(x_3); +lean_dec(x_2); +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; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_47 = !lean_is_exclusive(x_10); +if (x_47 == 0) +{ +return x_10; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_10, 0); +x_49 = lean_ctor_get(x_10, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_10); +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; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabRunCmd", 10); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd___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_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunCmd___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_Command_elabRunCmd___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabRunCmd), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd(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_Command_elabModuleDoc___closed__9; +x_3 = l_Lean_Elab_Command_elabRunCmd___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabRunCmd___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_Command_elabRunCmd_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(712u); +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___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(719u); +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_Command_elabRunCmd_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_Command_elabRunCmd_declRange___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunCmd_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_Command_elabRunCmd_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(712u); +x_2 = lean_unsigned_to_nat(4u); +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_Command_elabRunCmd_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(712u); +x_2 = lean_unsigned_to_nat(14u); +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_Command_elabRunCmd_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_Command_elabRunCmd_declRange___closed__4; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__5; +x_4 = lean_unsigned_to_nat(14u); +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_Command_elabRunCmd_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunCmd_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_Command_elabRunCmd_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunElab_unsafe__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; uint8_t x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3; +x_10 = 1; +x_11 = l_Lean_Elab_Term_evalTerm___rarg(x_9, x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runElab", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l_Lean_Elab_Command_elabRunElab___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_<|_", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Command.liftTermElabM", 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabRunElab___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("liftTermElabM", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; +x_2 = l_Lean_Elab_Command_elabRunElab___closed__7; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; +x_4 = l_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunElab___closed__9; +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_Command_elabRunElab___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabRunElab___closed__9; +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_Command_elabRunElab___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_Command_elabRunElab___closed__11; +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_Command_elabRunElab___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabRunElab___closed__10; +x_2 = l_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("<|", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunCmd___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__15; +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_Command_elabRunElab___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_run_elab", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_elabRunElab___closed__2; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +lean_inc(x_2); +x_10 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(x_2, x_3, x_4); +if (lean_obj_tag(x_10) == 0) +{ +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; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_getRef(x_2, x_3, x_11); +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 = 0; +x_16 = l_Lean_SourceInfo_fromRef(x_13, x_15); +x_17 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_14); +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 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Command_elabRunElab___closed__8; +lean_inc(x_18); +lean_inc(x_21); +x_24 = l_Lean_addMacroScope(x_21, x_23, x_18); +x_25 = l_Lean_Elab_Command_elabRunElab___closed__6; +x_26 = l_Lean_Elab_Command_elabRunElab___closed__13; +lean_inc(x_16); +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_26); +x_28 = l_Lean_Elab_Command_elabRunElab___closed__14; +lean_inc(x_16); +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_16); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_Command_elabRunCmd___closed__5; +x_31 = l_Lean_addMacroScope(x_21, x_30, x_18); +x_32 = l_Lean_Elab_Command_elabRunCmd___closed__4; +x_33 = l_Lean_Elab_Command_elabRunElab___closed__16; +lean_inc(x_16); +x_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_16); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_33); +x_35 = l_Lean_Elab_Command_elabRunCmd___closed__10; +lean_inc(x_16); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_16); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_Command_elabRunCmd___closed__11; +lean_inc(x_16); +x_38 = l_Lean_Syntax_node2(x_16, x_37, x_36, x_9); +x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; +lean_inc(x_16); +x_40 = l_Lean_Syntax_node1(x_16, x_39, x_38); +x_41 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20; +lean_inc(x_16); +x_42 = l_Lean_Syntax_node2(x_16, x_41, x_34, x_40); +x_43 = l_Lean_Elab_Command_elabRunElab___closed__4; +x_44 = l_Lean_Syntax_node3(x_16, x_43, x_27, x_29, x_42); +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabRunElab_unsafe__1), 8, 1); +lean_closure_set(x_45, 0, x_44); +x_46 = l_Lean_Elab_Command_elabRunElab___closed__18; +x_47 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_47, 0, x_46); +lean_closure_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_Command_liftTermElabM___rarg(x_47, x_2, x_3, x_22); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_apply_3(x_49, x_2, x_3, x_50); +return x_51; +} +else +{ +uint8_t x_52; +lean_dec(x_3); +lean_dec(x_2); +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) +{ +return x_48; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_48); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_56 = !lean_is_exclusive(x_10); +if (x_56 == 0) +{ +return x_10; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_10, 0); +x_58 = lean_ctor_get(x_10, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_10); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabRunElab", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunElab___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_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabRunElab), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab(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_Command_elabModuleDoc___closed__9; +x_3 = l_Lean_Elab_Command_elabRunElab___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabRunElab___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_Command_elabRunElab_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(722u); +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___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(729u); +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_Command_elabRunElab_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_Command_elabRunElab_declRange___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunElab_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_Command_elabRunElab_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(722u); +x_2 = lean_unsigned_to_nat(4u); +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_Command_elabRunElab_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(722u); +x_2 = lean_unsigned_to_nat(15u); +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_Command_elabRunElab_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_Command_elabRunElab_declRange___closed__4; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__5; +x_4 = lean_unsigned_to_nat(15u); +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_Command_elabRunElab_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunElab_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_Command_elabRunElab_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runMeta", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l_Lean_Elab_Command_elabRunMeta___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("run_elab", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeqIndent", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunMeta___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_Elab_Command_elabRunMeta___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeqItem", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunMeta___closed__6; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doExpr", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___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___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunMeta___closed__8; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("show", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___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 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunMeta___closed__10; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Meta.MetaM", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabRunMeta___closed__12; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Meta", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("MetaM", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l_Lean_Elab_Command_elabRunMeta___closed__14; +x_3 = l_Lean_Elab_Command_elabRunMeta___closed__15; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___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_Command_elabRunMeta___closed__16; +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_Command_elabRunMeta___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabRunMeta___closed__16; +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_Command_elabRunMeta___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunMeta___closed__18; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabRunMeta___closed__17; +x_2 = l_Lean_Elab_Command_elabRunMeta___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_Command_elabRunMeta___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___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; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6; +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_Command_elabRunMeta___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabRunMeta___closed__23; +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_Command_elabRunMeta___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabRunMeta___closed__22; +x_2 = l_Lean_Elab_Command_elabRunMeta___closed__24; +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_Command_elabRunMeta___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fromTerm", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__2; +x_3 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_typelessBinder_x3f___closed__1; +x_4 = l_Lean_Elab_Command_elabRunMeta___closed__26; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabRunMeta___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("from", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabRunMeta(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_elabRunMeta___closed__2; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_inc(x_2); +x_10 = l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds(x_2, x_3, x_4); +if (lean_obj_tag(x_10) == 0) +{ +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; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_getRef(x_2, x_3, x_11); +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 = 0; +x_16 = l_Lean_SourceInfo_fromRef(x_13, x_15); +x_17 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_14); +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 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Command_elabRunMeta___closed__3; +lean_inc(x_16); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__6; +lean_inc(x_16); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_Elab_Command_elabRunMeta___closed__10; +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_Command_elabRunMeta___closed__16; +lean_inc(x_18); +lean_inc(x_21); +x_30 = l_Lean_addMacroScope(x_21, x_29, x_18); +x_31 = l_Lean_Elab_Command_elabRunMeta___closed__13; +x_32 = l_Lean_Elab_Command_elabRunMeta___closed__20; +lean_inc(x_16); +x_33 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_33, 0, x_16); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_30); +lean_ctor_set(x_33, 3, x_32); +x_34 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6; +x_35 = l_Lean_addMacroScope(x_21, x_34, x_18); +x_36 = l_Lean_Elab_Command_elabRunMeta___closed__21; +x_37 = l_Lean_Elab_Command_elabRunMeta___closed__25; +lean_inc(x_16); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_16); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_37); +x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__3; +lean_inc(x_16); +x_40 = l_Lean_Syntax_node1(x_16, x_39, x_38); +x_41 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20; +lean_inc(x_16); +x_42 = l_Lean_Syntax_node2(x_16, x_41, x_33, x_40); +x_43 = l_Lean_Elab_Command_elabRunMeta___closed__28; +lean_inc(x_16); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_16); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Command_elabRunCmd___closed__10; +lean_inc(x_16); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_16); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Command_elabRunCmd___closed__11; +lean_inc(x_16); +x_48 = l_Lean_Syntax_node2(x_16, x_47, x_46, x_9); +x_49 = l_Lean_Elab_Command_elabRunMeta___closed__27; +lean_inc(x_16); +x_50 = l_Lean_Syntax_node2(x_16, x_49, x_44, x_48); +x_51 = l_Lean_Elab_Command_elabRunMeta___closed__11; +lean_inc(x_16); +x_52 = l_Lean_Syntax_node3(x_16, x_51, x_28, x_42, x_50); +x_53 = l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; +lean_inc(x_16); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_16); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31; +lean_inc(x_16); +x_56 = l_Lean_Syntax_node3(x_16, x_55, x_26, x_52, x_54); +x_57 = l_Lean_Elab_Command_elabRunMeta___closed__9; +lean_inc(x_16); +x_58 = l_Lean_Syntax_node1(x_16, x_57, x_56); +x_59 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; +lean_inc(x_16); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_16); +lean_ctor_set(x_60, 1, x_39); +lean_ctor_set(x_60, 2, x_59); +x_61 = l_Lean_Elab_Command_elabRunMeta___closed__7; +lean_inc(x_16); +x_62 = l_Lean_Syntax_node2(x_16, x_61, x_58, x_60); +lean_inc(x_16); +x_63 = l_Lean_Syntax_node1(x_16, x_39, x_62); +x_64 = l_Lean_Elab_Command_elabRunMeta___closed__5; +lean_inc(x_16); +x_65 = l_Lean_Syntax_node1(x_16, x_64, x_63); +x_66 = l_Lean_Elab_Command_elabRunElab___closed__2; +x_67 = l_Lean_Syntax_node2(x_16, x_66, x_24, x_65); +lean_inc(x_67); +x_68 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_67, x_68, x_2, x_3, x_22); +return x_69; +} +else +{ +uint8_t x_70; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_10); +if (x_70 == 0) +{ +return x_10; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_10, 0); +x_72 = lean_ctor_get(x_10, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_10); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabRunMeta", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta___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_Command_elabModuleDoc___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__6; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunMeta___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_Command_elabRunMeta___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabRunMeta), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta(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_Command_elabModuleDoc___closed__9; +x_3 = l_Lean_Elab_Command_elabRunMeta___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabRunMeta___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_Command_elabRunMeta_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(732u); +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___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(738u); +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_Command_elabRunMeta_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_Command_elabRunMeta_declRange___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunMeta_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_Command_elabRunMeta_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(732u); +x_2 = lean_unsigned_to_nat(4u); +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_Command_elabRunMeta_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(732u); +x_2 = lean_unsigned_to_nat(15u); +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_Command_elabRunMeta_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_Command_elabRunMeta_declRange___closed__4; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__5; +x_4 = lean_unsigned_to_nat(15u); +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_Command_elabRunMeta_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunMeta_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_Command_elabRunMeta_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSynth___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: { @@ -25949,7 +26873,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(702u); +x_1 = lean_unsigned_to_nat(740u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25961,7 +26885,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(710u); +x_1 = lean_unsigned_to_nat(748u); x_2 = lean_unsigned_to_nat(11u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25989,7 +26913,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(702u); +x_1 = lean_unsigned_to_nat(740u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26001,7 +26925,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(702u); +x_1 = lean_unsigned_to_nat(740u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26286,7 +27210,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSetOption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(712u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26298,7 +27222,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSetOption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(715u); +x_1 = lean_unsigned_to_nat(753u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26326,7 +27250,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSetOption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(712u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26338,7 +27262,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSetOption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(712u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26519,7 +27443,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(755u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26531,7 +27455,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(719u); +x_1 = lean_unsigned_to_nat(757u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26559,7 +27483,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(755u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26571,7 +27495,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInCmd_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(755u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27982,7 +28906,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(759u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27994,7 +28918,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(732u); +x_1 = lean_unsigned_to_nat(770u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28022,7 +28946,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(759u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28034,7 +28958,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(759u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28244,7 +29168,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabExit_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(734u); +x_1 = lean_unsigned_to_nat(772u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28256,7 +29180,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabExit_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(735u); +x_1 = lean_unsigned_to_nat(773u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28284,7 +29208,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabExit_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(734u); +x_1 = lean_unsigned_to_nat(772u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28296,7 +29220,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabExit_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(734u); +x_1 = lean_unsigned_to_nat(772u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28458,7 +29382,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabImport_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(737u); +x_1 = lean_unsigned_to_nat(775u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28470,7 +29394,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabImport_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(738u); +x_1 = lean_unsigned_to_nat(776u); x_2 = lean_unsigned_to_nat(85u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28498,7 +29422,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabImport_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(737u); +x_1 = lean_unsigned_to_nat(775u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28510,7 +29434,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabImport_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(737u); +x_1 = lean_unsigned_to_nat(775u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28650,7 +29574,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(740u); +x_1 = lean_unsigned_to_nat(778u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28662,7 +29586,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(741u); +x_1 = lean_unsigned_to_nat(779u); x_2 = lean_unsigned_to_nat(8u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28690,7 +29614,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(740u); +x_1 = lean_unsigned_to_nat(778u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28702,7 +29626,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabEoi_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(740u); +x_1 = lean_unsigned_to_nat(778u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -29537,116 +30461,82 @@ l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__4 lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__4); l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__5 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__5(); lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunEval___closed__5); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__1 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__1(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__1); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__4 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__4(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__4); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__5); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__6 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__6(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__6); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__7 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__7(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__7); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__8 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__8(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__8); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__9 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__9(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__9); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__10 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__10(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__10); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__11 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__11(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__11); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__12); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__13 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__13(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__13); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__14 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__14(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__14); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__15 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__15(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__15); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__16 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__16(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__16); -l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17 = _init_l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__17); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__1); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__4); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__5 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__5); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__6); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__7); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__8 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__8); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__9); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__10); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__11); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__12); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__13 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__13); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__14); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__15); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__16); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__17); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__18); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__19); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__20); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__21 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__21); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__22); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__23); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__24); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__25); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__26); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__27 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__27); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__28 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__28); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__29 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__29); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__30 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__30); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__31); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__32); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__33); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__34); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__36 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__36); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__37 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__37); -l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__38 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__38(); -lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__38); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__3); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__4); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__5); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__6); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__7); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__8); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__9 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__9); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__10); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__11); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__12 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__12); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__13); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__14); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__15); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__16); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__17 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__17); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__18); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__19 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__19); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__20); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__21); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__22); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__23); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__24); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__25); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__26); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__27); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__28); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__29); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__30); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__31); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__32); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__33); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__34); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__35); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__36); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__37); +l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38 = _init_l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__38); l_Lean_Elab_Command_elabEvalUnsafe___closed__1 = _init_l_Lean_Elab_Command_elabEvalUnsafe___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabEvalUnsafe___closed__1); l_Lean_Elab_Command_elabEvalUnsafe___closed__2 = _init_l_Lean_Elab_Command_elabEvalUnsafe___closed__2(); @@ -29681,6 +30571,212 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabEval_declRange___close if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabEval_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__1); +l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2 = _init_l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_checkImportsForRunCmds___closed__2); +l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__1 = _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__1); +l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2 = _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__2); +l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3 = _init_l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd_unsafe__1___closed__3); +l_Lean_Elab_Command_elabRunCmd___closed__1 = _init_l_Lean_Elab_Command_elabRunCmd___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__1); +l_Lean_Elab_Command_elabRunCmd___closed__2 = _init_l_Lean_Elab_Command_elabRunCmd___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__2); +l_Lean_Elab_Command_elabRunCmd___closed__3 = _init_l_Lean_Elab_Command_elabRunCmd___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__3); +l_Lean_Elab_Command_elabRunCmd___closed__4 = _init_l_Lean_Elab_Command_elabRunCmd___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__4); +l_Lean_Elab_Command_elabRunCmd___closed__5 = _init_l_Lean_Elab_Command_elabRunCmd___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__5); +l_Lean_Elab_Command_elabRunCmd___closed__6 = _init_l_Lean_Elab_Command_elabRunCmd___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__6); +l_Lean_Elab_Command_elabRunCmd___closed__7 = _init_l_Lean_Elab_Command_elabRunCmd___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__7); +l_Lean_Elab_Command_elabRunCmd___closed__8 = _init_l_Lean_Elab_Command_elabRunCmd___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__8); +l_Lean_Elab_Command_elabRunCmd___closed__9 = _init_l_Lean_Elab_Command_elabRunCmd___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__9); +l_Lean_Elab_Command_elabRunCmd___closed__10 = _init_l_Lean_Elab_Command_elabRunCmd___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__10); +l_Lean_Elab_Command_elabRunCmd___closed__11 = _init_l_Lean_Elab_Command_elabRunCmd___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__11); +l_Lean_Elab_Command_elabRunCmd___closed__12 = _init_l_Lean_Elab_Command_elabRunCmd___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__12); +l_Lean_Elab_Command_elabRunCmd___closed__13 = _init_l_Lean_Elab_Command_elabRunCmd___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunCmd___closed__13); +l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunCmd(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__3); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__4); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__5); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__6); +l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Command_elabRunElab___closed__1 = _init_l_Lean_Elab_Command_elabRunElab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__1); +l_Lean_Elab_Command_elabRunElab___closed__2 = _init_l_Lean_Elab_Command_elabRunElab___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__2); +l_Lean_Elab_Command_elabRunElab___closed__3 = _init_l_Lean_Elab_Command_elabRunElab___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__3); +l_Lean_Elab_Command_elabRunElab___closed__4 = _init_l_Lean_Elab_Command_elabRunElab___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__4); +l_Lean_Elab_Command_elabRunElab___closed__5 = _init_l_Lean_Elab_Command_elabRunElab___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__5); +l_Lean_Elab_Command_elabRunElab___closed__6 = _init_l_Lean_Elab_Command_elabRunElab___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__6); +l_Lean_Elab_Command_elabRunElab___closed__7 = _init_l_Lean_Elab_Command_elabRunElab___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__7); +l_Lean_Elab_Command_elabRunElab___closed__8 = _init_l_Lean_Elab_Command_elabRunElab___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__8); +l_Lean_Elab_Command_elabRunElab___closed__9 = _init_l_Lean_Elab_Command_elabRunElab___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__9); +l_Lean_Elab_Command_elabRunElab___closed__10 = _init_l_Lean_Elab_Command_elabRunElab___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__10); +l_Lean_Elab_Command_elabRunElab___closed__11 = _init_l_Lean_Elab_Command_elabRunElab___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__11); +l_Lean_Elab_Command_elabRunElab___closed__12 = _init_l_Lean_Elab_Command_elabRunElab___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__12); +l_Lean_Elab_Command_elabRunElab___closed__13 = _init_l_Lean_Elab_Command_elabRunElab___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__13); +l_Lean_Elab_Command_elabRunElab___closed__14 = _init_l_Lean_Elab_Command_elabRunElab___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__14); +l_Lean_Elab_Command_elabRunElab___closed__15 = _init_l_Lean_Elab_Command_elabRunElab___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__15); +l_Lean_Elab_Command_elabRunElab___closed__16 = _init_l_Lean_Elab_Command_elabRunElab___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__16); +l_Lean_Elab_Command_elabRunElab___closed__17 = _init_l_Lean_Elab_Command_elabRunElab___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__17); +l_Lean_Elab_Command_elabRunElab___closed__18 = _init_l_Lean_Elab_Command_elabRunElab___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunElab___closed__18); +l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunElab(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__3); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__4); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__5); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__6); +l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Command_elabRunMeta___closed__1 = _init_l_Lean_Elab_Command_elabRunMeta___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__1); +l_Lean_Elab_Command_elabRunMeta___closed__2 = _init_l_Lean_Elab_Command_elabRunMeta___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__2); +l_Lean_Elab_Command_elabRunMeta___closed__3 = _init_l_Lean_Elab_Command_elabRunMeta___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__3); +l_Lean_Elab_Command_elabRunMeta___closed__4 = _init_l_Lean_Elab_Command_elabRunMeta___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__4); +l_Lean_Elab_Command_elabRunMeta___closed__5 = _init_l_Lean_Elab_Command_elabRunMeta___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__5); +l_Lean_Elab_Command_elabRunMeta___closed__6 = _init_l_Lean_Elab_Command_elabRunMeta___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__6); +l_Lean_Elab_Command_elabRunMeta___closed__7 = _init_l_Lean_Elab_Command_elabRunMeta___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__7); +l_Lean_Elab_Command_elabRunMeta___closed__8 = _init_l_Lean_Elab_Command_elabRunMeta___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__8); +l_Lean_Elab_Command_elabRunMeta___closed__9 = _init_l_Lean_Elab_Command_elabRunMeta___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__9); +l_Lean_Elab_Command_elabRunMeta___closed__10 = _init_l_Lean_Elab_Command_elabRunMeta___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__10); +l_Lean_Elab_Command_elabRunMeta___closed__11 = _init_l_Lean_Elab_Command_elabRunMeta___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__11); +l_Lean_Elab_Command_elabRunMeta___closed__12 = _init_l_Lean_Elab_Command_elabRunMeta___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__12); +l_Lean_Elab_Command_elabRunMeta___closed__13 = _init_l_Lean_Elab_Command_elabRunMeta___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__13); +l_Lean_Elab_Command_elabRunMeta___closed__14 = _init_l_Lean_Elab_Command_elabRunMeta___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__14); +l_Lean_Elab_Command_elabRunMeta___closed__15 = _init_l_Lean_Elab_Command_elabRunMeta___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__15); +l_Lean_Elab_Command_elabRunMeta___closed__16 = _init_l_Lean_Elab_Command_elabRunMeta___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__16); +l_Lean_Elab_Command_elabRunMeta___closed__17 = _init_l_Lean_Elab_Command_elabRunMeta___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__17); +l_Lean_Elab_Command_elabRunMeta___closed__18 = _init_l_Lean_Elab_Command_elabRunMeta___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__18); +l_Lean_Elab_Command_elabRunMeta___closed__19 = _init_l_Lean_Elab_Command_elabRunMeta___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__19); +l_Lean_Elab_Command_elabRunMeta___closed__20 = _init_l_Lean_Elab_Command_elabRunMeta___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__20); +l_Lean_Elab_Command_elabRunMeta___closed__21 = _init_l_Lean_Elab_Command_elabRunMeta___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__21); +l_Lean_Elab_Command_elabRunMeta___closed__22 = _init_l_Lean_Elab_Command_elabRunMeta___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__22); +l_Lean_Elab_Command_elabRunMeta___closed__23 = _init_l_Lean_Elab_Command_elabRunMeta___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__23); +l_Lean_Elab_Command_elabRunMeta___closed__24 = _init_l_Lean_Elab_Command_elabRunMeta___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__24); +l_Lean_Elab_Command_elabRunMeta___closed__25 = _init_l_Lean_Elab_Command_elabRunMeta___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__25); +l_Lean_Elab_Command_elabRunMeta___closed__26 = _init_l_Lean_Elab_Command_elabRunMeta___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__26); +l_Lean_Elab_Command_elabRunMeta___closed__27 = _init_l_Lean_Elab_Command_elabRunMeta___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__27); +l_Lean_Elab_Command_elabRunMeta___closed__28 = _init_l_Lean_Elab_Command_elabRunMeta___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabRunMeta___closed__28); +l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunMeta(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__1); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__2); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__3); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__4); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__5); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__6); +l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_Elab_Command_elabSynth___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabSynth___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabSynth___lambda__2___closed__1); l_Lean_Elab_Command_elabSynth___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabSynth___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 63a619edc2..2c898ad9db 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.Elab.SyntheticMVars Lean.Compiler.ImplementedByAttr +// Imports: Init Lean.Compiler.BorrowedAnnotation Lean.Meta.KAbstract Lean.Meta.Closure Lean.Meta.MatchUtil Lean.Compiler.ImplementedByAttr Lean.Elab.SyntheticMVars Lean.Elab.Eval #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,7 +14,6 @@ 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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7; 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*); @@ -23,6 +22,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunc static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__5; static lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__4; static lean_object* l_Lean_Elab_Term_elabShow___closed__5; +LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__25; static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed__1; @@ -33,6 +33,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__2; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(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__6; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__29; 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; @@ -59,6 +60,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange___closed__1; static lean_object* l_Lean_Elab_Term_elabPanic___closed__8; +lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandCDot_x3f_go___spec__3___closed__1; @@ -116,6 +118,7 @@ lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandShow(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__3; +static lean_object* l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_hasCDot___closed__6; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__16; @@ -132,6 +135,7 @@ lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__6; 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; 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; @@ -149,13 +153,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen_declRange___closed lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__7(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation(lean_object*); -lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__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_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; static lean_object* l_Lean_Elab_Term_expandShow___closed__5; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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*); @@ -164,11 +166,11 @@ 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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___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; lean_object* l_Lean_Syntax_getArgs(lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__5; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__22; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__11; @@ -202,6 +204,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_obj lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__42; +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_expandUnreachable___closed__5; @@ -222,7 +225,6 @@ lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_elabShow___closed__6; static lean_object* l_Lean_Elab_Term_expandHave___closed__2; -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange___closed__6; @@ -237,7 +239,10 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_Bu static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__3___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert_declRange___closed__7; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__12___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__9; +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__7; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow___closed__4; @@ -262,18 +267,15 @@ 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_Lean_Elab_Term_elabSubst___closed__11; -extern lean_object* l_Lean_Expr_instBEqExpr; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange___closed__6; static lean_object* l_Lean_Elab_Term_expandHave___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__17; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___lambda__1___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_expandTypeAscription_declRange___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___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_Term_elabNoindex___closed__4; -lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___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_expandCDot_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*); @@ -284,6 +286,7 @@ static lean_object* l_Lean_Elab_Term_expandHave___closed__14; static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__2; static lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__3; static lean_object* l_Lean_Elab_Term_hasCDot___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___closed__5; @@ -294,7 +297,6 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotat 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_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___closed__7; 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; @@ -303,6 +305,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___clo static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__26; static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__7; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11; uint8_t l_Lean_Expr_hasMVar(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__3; static lean_object* l_Lean_Elab_Term_expandAssert___closed__8; @@ -318,7 +321,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandParen(lean_object*) static lean_object* l_Lean_Elab_Term_expandTuple___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange(lean_object*); static lean_object* l_Lean_Elab_Term_expandSuffices___closed__6; @@ -342,9 +344,9 @@ static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___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; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__11(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__9; +LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPosition___at_Lean_Elab_Term_elabPanic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__10; static lean_object* l_Lean_Elab_Term_expandShow___closed__4; @@ -359,6 +361,8 @@ static lean_object* l_Lean_Elab_Term_elabCoe___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__15; 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*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTypeAscription(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_elabStateRefT_declRange___closed__3; @@ -407,15 +411,16 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionA 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___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___closed__5; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7; LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe(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__7; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__16; static lean_object* l_Lean_Elab_Term_expandHave___closed__5; 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*); +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__27; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -430,6 +435,7 @@ 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; 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; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___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_Term_elabShow_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___closed__4; @@ -438,8 +444,8 @@ lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, le lean_object* l_Lean_Elab_Term_elabTerm___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_Term_elabShow___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__2; static lean_object* l_Lean_Elab_Term_elabPanic___closed__11; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__7; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__3; @@ -458,7 +464,6 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription_declRange(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__3; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__3; @@ -467,6 +472,7 @@ static lean_object* l_Lean_Elab_Term_elabShow___closed__8; static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed_declRange___closed__6; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__2; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1; @@ -483,7 +489,6 @@ LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabPanic___spec__ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__2; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription___closed__3; @@ -508,22 +513,20 @@ uint8_t l_Lean_Expr_hasLooseBVars(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*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_coerceToSort_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange___closed__4; 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_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow___closed__2; -extern lean_object* l_Lean_Expr_instHashableExpr; 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*); static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__6; static lean_object* l_Lean_Elab_Term_elabCoeSortNotation___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__7; extern lean_object* l_Lean_levelZero; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow___closed__2; @@ -553,6 +556,7 @@ static lean_object* l_Lean_Elab_Term_elabShow___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription_declRange___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__21; 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; 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; @@ -560,16 +564,17 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabStateRefT___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_hasCDot___closed__5; -lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange___closed__7; -lean_object* l_Lean_instHashableLocalInstance___boxed(lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); -lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__47; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___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_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__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_elabStateRefT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__4; @@ -593,7 +598,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed 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*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__13; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__7; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__8; @@ -618,6 +622,7 @@ lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_T static lean_object* l_Lean_Elab_Term_expandAssert___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple___closed__2; static lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___closed__3; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex(lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2; @@ -653,11 +658,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabShow_declRange___closed__3 static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription(lean_object*); static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___closed__1; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14; static lean_object* l_Lean_Elab_Term_elabPanic___closed__13; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__6; +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeAscription___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___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_Term_elabAnonymousCtor___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -673,6 +681,7 @@ 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; +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*); @@ -685,6 +694,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription_declRange static lean_object* l_Lean_Elab_Term_expandHave___closed__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*); @@ -711,6 +721,7 @@ static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___close static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__10; 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; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBorrowed(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_expandHave___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__4; @@ -740,7 +751,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___clo LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe_declRange(lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange___closed__2; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8; +LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1; @@ -768,10 +780,8 @@ static lean_object* l_Lean_Elab_Term_elabSubst___closed__7; lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandTypeAscription(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandTuple___closed__8; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__15; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabUnsafe___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17; 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; @@ -799,7 +809,6 @@ uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription_declRange___closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -837,15 +846,15 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__5; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__1; 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; 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*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__4; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19; 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; @@ -859,9 +868,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_obje lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(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_elabSorry_declRange___closed__4; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__10; extern lean_object* l_Lean_levelOne; lean_object* l_Array_mkArray1___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__2; @@ -872,7 +881,6 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_hasCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__7; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__13; @@ -880,19 +888,18 @@ lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandTuple(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__3; 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_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; static lean_object* l_Lean_Elab_Term_elabUnsafe___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__12; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__16; -lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__3; lean_object* l_Array_ofSubarray___rarg(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__1; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeFunNotation_declRange___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__39; @@ -900,6 +907,7 @@ LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAl static lean_object* l_Lean_Elab_Term_elabShow___closed__7; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; static lean_object* l_Lean_Elab_Term_expandShow___closed__2; +LEAN_EXPORT lean_object* l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__2; @@ -926,8 +934,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation___closed__ static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__2; static lean_object* l_Lean_Elab_Term_elabSorry___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__15; +lean_object* l_Lean_Elab_Term_evalTerm___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___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*); @@ -939,8 +947,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCoe___boxed(lean_object*, lean_obj 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*); +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTypeAscription_declRange___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__12(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_declRange___closed__6; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__24; @@ -951,10 +961,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor_declRange___ static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_declRange___closed__1; +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__52; static lean_object* l_Lean_Elab_Term_expandAssert___closed__3; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__3; +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; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTuple___closed__3; @@ -996,6 +1009,7 @@ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___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_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab(lean_object*); static lean_object* l_Lean_Elab_Term_elabShow___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___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_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1030,7 +1044,6 @@ static lean_object* l_Lean_Elab_Term_elabSubst___closed__2; 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; -lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1; 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; @@ -1045,6 +1058,7 @@ static lean_object* l_Lean_Elab_Term_expandHave___closed__1; uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro(lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__9; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; @@ -1077,12 +1091,15 @@ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__23; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__10(lean_object*, size_t, size_t, lean_object*); lean_object* l_Nat_repr(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__1; lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__3(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_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___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; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1096,6 +1113,7 @@ static lean_object* l_Lean_Elab_Term_hasCDot___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___closed__6; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__48; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___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*); +static lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2; LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoeSortNotation_declRange___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__13; @@ -1373,7 +1391,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(16u); +x_1 = lean_unsigned_to_nat(17u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1385,7 +1403,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(22u); +x_1 = lean_unsigned_to_nat(23u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1413,7 +1431,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(16u); +x_1 = lean_unsigned_to_nat(17u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1425,7 +1443,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(16u); +x_1 = lean_unsigned_to_nat(17u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1732,7 +1750,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(24u); +x_1 = lean_unsigned_to_nat(25u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1744,7 +1762,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(29u); +x_1 = lean_unsigned_to_nat(30u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1772,7 +1790,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(24u); +x_1 = lean_unsigned_to_nat(25u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1784,7 +1802,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(24u); +x_1 = lean_unsigned_to_nat(25u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2074,7 +2092,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(31u); +x_1 = lean_unsigned_to_nat(32u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2086,7 +2104,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(36u); +x_1 = lean_unsigned_to_nat(37u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2114,7 +2132,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(31u); +x_1 = lean_unsigned_to_nat(32u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2126,7 +2144,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(31u); +x_1 = lean_unsigned_to_nat(32u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3897,7 +3915,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(38u); +x_1 = lean_unsigned_to_nat(39u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3909,7 +3927,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(74u); +x_1 = lean_unsigned_to_nat(75u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3936,20 +3954,19 @@ 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; lean_object* x_3; -x_1 = lean_unsigned_to_nat(38u); -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; +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; } } 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(38u); +x_1 = lean_unsigned_to_nat(39u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4140,7 +4157,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(76u); +x_1 = lean_unsigned_to_nat(77u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4152,7 +4169,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(79u); +x_1 = lean_unsigned_to_nat(80u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4180,7 +4197,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(76u); +x_1 = lean_unsigned_to_nat(77u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4192,7 +4209,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(76u); +x_1 = lean_unsigned_to_nat(77u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4470,7 +4487,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(81u); +x_1 = lean_unsigned_to_nat(82u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4482,7 +4499,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(84u); +x_1 = lean_unsigned_to_nat(85u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4510,7 +4527,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(81u); +x_1 = lean_unsigned_to_nat(82u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4522,7 +4539,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(81u); +x_1 = lean_unsigned_to_nat(82u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5095,7 +5112,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(86u); +x_1 = lean_unsigned_to_nat(87u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5107,7 +5124,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(119u); +x_1 = lean_unsigned_to_nat(120u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5135,7 +5152,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(86u); +x_1 = lean_unsigned_to_nat(87u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5147,7 +5164,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(86u); +x_1 = lean_unsigned_to_nat(87u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6891,7 +6908,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(121u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6903,7 +6920,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(132u); +x_1 = lean_unsigned_to_nat(133u); x_2 = lean_unsigned_to_nat(78u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6931,7 +6948,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(121u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6943,7 +6960,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(121u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7787,7 +7804,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(134u); +x_1 = lean_unsigned_to_nat(135u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7799,7 +7816,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(141u); +x_1 = lean_unsigned_to_nat(142u); x_2 = lean_unsigned_to_nat(95u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7827,7 +7844,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(134u); +x_1 = lean_unsigned_to_nat(135u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7839,7 +7856,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(134u); +x_1 = lean_unsigned_to_nat(135u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9333,7 +9350,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(159u); +x_1 = lean_unsigned_to_nat(160u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9345,7 +9362,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(163u); +x_1 = lean_unsigned_to_nat(164u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9373,7 +9390,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(159u); +x_1 = lean_unsigned_to_nat(160u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9385,7 +9402,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(159u); +x_1 = lean_unsigned_to_nat(160u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9986,7 +10003,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(171u); +x_1 = lean_unsigned_to_nat(172u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9998,7 +10015,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(175u); +x_1 = lean_unsigned_to_nat(176u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10026,7 +10043,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(171u); +x_1 = lean_unsigned_to_nat(172u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10038,7 +10055,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(171u); +x_1 = lean_unsigned_to_nat(172u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10563,7 +10580,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(177u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10575,7 +10592,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(186u); +x_1 = lean_unsigned_to_nat(187u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10603,7 +10620,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(177u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10615,7 +10632,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(177u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10806,7 +10823,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(188u); +x_1 = lean_unsigned_to_nat(189u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10818,7 +10835,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); @@ -10845,7 +10862,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(188u); +x_1 = lean_unsigned_to_nat(189u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10857,7 +10874,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(188u); +x_1 = lean_unsigned_to_nat(189u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11214,7 +11231,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(191u); +x_1 = lean_unsigned_to_nat(192u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11226,7 +11243,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(197u); +x_1 = lean_unsigned_to_nat(198u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11254,7 +11271,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(191u); +x_1 = lean_unsigned_to_nat(192u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11266,7 +11283,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(191u); +x_1 = lean_unsigned_to_nat(192u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11793,7 +11810,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(199u); +x_1 = lean_unsigned_to_nat(200u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11805,7 +11822,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(202u); +x_1 = lean_unsigned_to_nat(203u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11833,7 +11850,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(199u); +x_1 = lean_unsigned_to_nat(200u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11845,7 +11862,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(199u); +x_1 = lean_unsigned_to_nat(200u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12117,7 +12134,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(204u); +x_1 = lean_unsigned_to_nat(205u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12129,7 +12146,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(206u); +x_1 = lean_unsigned_to_nat(207u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12157,7 +12174,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(204u); +x_1 = lean_unsigned_to_nat(205u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12169,7 +12186,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(204u); +x_1 = lean_unsigned_to_nat(205u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18517,7 +18534,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(294u); +x_1 = lean_unsigned_to_nat(295u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18529,7 +18546,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(296u); +x_1 = lean_unsigned_to_nat(297u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18557,7 +18574,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(294u); +x_1 = lean_unsigned_to_nat(295u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18569,7 +18586,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(294u); +x_1 = lean_unsigned_to_nat(295u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18905,7 +18922,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(298u); +x_1 = lean_unsigned_to_nat(299u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18917,7 +18934,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(303u); +x_1 = lean_unsigned_to_nat(304u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18945,7 +18962,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(298u); +x_1 = lean_unsigned_to_nat(299u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18957,7 +18974,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(298u); +x_1 = lean_unsigned_to_nat(299u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19277,7 +19294,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(305u); +x_1 = lean_unsigned_to_nat(306u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19289,7 +19306,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(310u); +x_1 = lean_unsigned_to_nat(311u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19317,7 +19334,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(305u); +x_1 = lean_unsigned_to_nat(306u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19329,7 +19346,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(305u); +x_1 = lean_unsigned_to_nat(306u); x_2 = lean_unsigned_to_nat(73u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19641,7 +19658,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(312u); +x_1 = lean_unsigned_to_nat(313u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19653,7 +19670,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(320u); +x_1 = lean_unsigned_to_nat(321u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19681,7 +19698,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(312u); +x_1 = lean_unsigned_to_nat(313u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19693,7 +19710,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(312u); +x_1 = lean_unsigned_to_nat(313u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25337,7 +25354,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(341u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25349,7 +25366,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(413u); +x_1 = lean_unsigned_to_nat(414u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25377,7 +25394,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(341u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25389,7 +25406,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(341u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25840,7 +25857,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(415u); +x_1 = lean_unsigned_to_nat(416u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25852,7 +25869,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(424u); +x_1 = lean_unsigned_to_nat(425u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25880,7 +25897,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(415u); +x_1 = lean_unsigned_to_nat(416u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25892,7 +25909,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(415u); +x_1 = lean_unsigned_to_nat(416u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26070,7 +26087,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(426u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26082,7 +26099,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(428u); +x_1 = lean_unsigned_to_nat(429u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26110,7 +26127,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(426u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26122,7 +26139,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(426u); +x_1 = lean_unsigned_to_nat(427u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26168,137 +26185,6 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_Lean_Elab_Term_getDeclName_x3f(x_1, x_2, x_3, x_4, 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_st_ref_get(x_7, x_11); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(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; lean_object* x_20; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_box(0); -x_16 = l_Lean_Name_append(x_15, x_5); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_environment_main_module(x_17); -x_19 = lean_ctor_get(x_6, 10); -lean_inc(x_19); -lean_dec(x_6); -x_20 = l_Lean_addMacroScope(x_18, x_16, x_19); -lean_ctor_set(x_12, 0, x_20); -return x_12; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_12); -x_23 = lean_box(0); -x_24 = l_Lean_Name_append(x_23, x_5); -x_25 = lean_ctor_get(x_21, 0); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_environment_main_module(x_25); -x_27 = lean_ctor_get(x_6, 10); -lean_inc(x_27); -lean_dec(x_6); -x_28 = l_Lean_addMacroScope(x_26, x_24, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_22); -return x_29; -} -} -else -{ -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_10, 0); -lean_inc(x_30); -lean_dec(x_10); -x_31 = !lean_is_exclusive(x_12); -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_object* x_37; -x_32 = lean_ctor_get(x_12, 0); -x_33 = l_Lean_Name_append(x_30, x_5); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_environment_main_module(x_34); -x_36 = lean_ctor_get(x_6, 10); -lean_inc(x_36); -lean_dec(x_6); -x_37 = l_Lean_addMacroScope(x_35, x_33, x_36); -lean_ctor_set(x_12, 0, x_37); -return x_12; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_12, 0); -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_12); -x_40 = l_Lean_Name_append(x_30, x_5); -x_41 = lean_ctor_get(x_38, 0); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_environment_main_module(x_41); -x_43 = lean_ctor_get(x_6, 10); -lean_inc(x_43); -lean_dec(x_6); -x_44 = l_Lean_addMacroScope(x_42, x_40, x_43); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_39); -return x_45; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe(lean_object* x_1, lean_object* x_2, 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; -x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___lambda__1___boxed), 8, 5); -lean_closure_set(x_9, 0, x_2); -lean_closure_set(x_9, 1, x_3); -lean_closure_set(x_9, 2, x_4); -lean_closure_set(x_9, 3, x_5); -lean_closure_set(x_9, 4, x_1); -x_10 = l_Lean_Core_withFreshMacroScope___rarg(x_9, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___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___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} static lean_object* _init_l_panic___at_Lean_Elab_Term_elabUnsafe___spec__1___closed__1() { _start: { @@ -26317,400 +26203,6 @@ x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__6() { -_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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8() { -_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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11() { -_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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__15() { -_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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__16() { -_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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__5; -x_2 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7; -x_3 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14; -x_4 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18; -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_setEnv___at_Lean_Elab_Term_elabUnsafe___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: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -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; uint8_t x_21; -x_13 = lean_ctor_get(x_10, 4); -lean_dec(x_13); -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -x_15 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4; -lean_ctor_set(x_10, 4, x_15); -lean_ctor_set(x_10, 0, x_1); -x_16 = lean_st_ref_set(x_7, x_10, x_11); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_ref_take(x_5, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_19, 1); -lean_dec(x_22); -x_23 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19; -lean_ctor_set(x_19, 1, x_23); -x_24 = lean_st_ref_set(x_5, x_19, x_20); -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; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 2); -x_33 = lean_ctor_get(x_19, 3); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -x_34 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19; -x_35 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_32); -lean_ctor_set(x_35, 3, x_33); -x_36 = lean_st_ref_set(x_5, x_35, x_20); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_38 = x_36; -} else { - lean_dec_ref(x_36); - x_38 = lean_box(0); -} -x_39 = lean_box(0); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; -} -} -else -{ -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; -x_41 = lean_ctor_get(x_10, 1); -x_42 = lean_ctor_get(x_10, 2); -x_43 = lean_ctor_get(x_10, 3); -x_44 = lean_ctor_get(x_10, 5); -x_45 = lean_ctor_get(x_10, 6); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_10); -x_46 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4; -x_47 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_41); -lean_ctor_set(x_47, 2, x_42); -lean_ctor_set(x_47, 3, x_43); -lean_ctor_set(x_47, 4, x_46); -lean_ctor_set(x_47, 5, x_44); -lean_ctor_set(x_47, 6, x_45); -x_48 = lean_st_ref_set(x_7, x_47, x_11); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_take(x_5, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 2); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 3); -lean_inc(x_55); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - lean_ctor_release(x_51, 3); - x_56 = x_51; -} else { - lean_dec_ref(x_51); - x_56 = lean_box(0); -} -x_57 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19; -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 4, 0); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -x_59 = lean_st_ref_set(x_5, x_58, x_52); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_61; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -} -} static lean_object* _init_l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___closed__1() { _start: { @@ -26745,11 +26237,6 @@ lean_ctor_set(x_17, 0, x_16); x_18 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_18, 0, x_17); x_19 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_18, x_3, x_4, 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); -lean_dec(x_4); return x_19; } else @@ -26758,12 +26245,7 @@ lean_object* x_20; lean_object* x_21; x_20 = lean_ctor_get(x_15, 0); lean_inc(x_20); lean_dec(x_15); -x_21 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3(x_20, x_3, x_4, 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); -lean_dec(x_4); +x_21 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_3); return x_21; } @@ -26817,7 +26299,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(444u); +x_3 = lean_unsigned_to_nat(439u); 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); @@ -26830,7 +26312,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(445u); +x_3 = lean_unsigned_to_nat(440u); 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); @@ -26841,7 +26323,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__8() _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("impl", 4); +x_1 = lean_mk_string_from_bytes("unsafe_impl", 11); return x_1; } } @@ -26932,7 +26414,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_26 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkAuxNameForElabUnsafe(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_26 = l_Lean_Elab_Term_mkAuxName(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_23); 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; @@ -26994,6 +26476,11 @@ lean_inc(x_43); lean_dec(x_42); lean_inc(x_27); x_44 = l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2(x_27, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_43); +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_44) == 0) { uint8_t x_45; @@ -27466,18 +26953,17 @@ return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___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_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___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) { _start: { -lean_object* x_9; -x_9 = l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_10; +x_10 = l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; +return x_10; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabUnsafe___closed__1() { @@ -27524,7 +27010,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(437u); +x_1 = lean_unsigned_to_nat(432u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27536,7 +27022,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(457u); +x_1 = lean_unsigned_to_nat(452u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27564,7 +27050,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(437u); +x_1 = lean_unsigned_to_nat(432u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27576,7 +27062,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(437u); +x_1 = lean_unsigned_to_nat(432u); x_2 = lean_unsigned_to_nat(14u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27622,13 +27108,991 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Option", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__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_Term_elabRunElab_unsafe__1___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Expr", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___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_Term_elabRunElab_unsafe__1___closed__5; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__3; +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("TermElabM", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___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___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_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__9; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10; +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12() { +_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_Term_mkFreshBinderName___at_Lean_Elab_Term_expandCDot_x3f_go___spec__3___closed__2; +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7; +x_3 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11; +x_4 = 0; +x_5 = l_Lean_Expr_forallE___override(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__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; uint8_t x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12; +x_10 = 1; +x_11 = l_Lean_Elab_Term_evalTerm___rarg(x_9, x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__2___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_Term_elabRunElab_unsafe__1___closed__9; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__1; +x_2 = l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab_unsafe__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; uint8_t x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2; +x_10 = 1; +x_11 = l_Lean_Elab_Term_evalTerm___rarg(x_9, x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___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; 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); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_3, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_3, x_11); +lean_dec(x_3); +x_13 = lean_array_fget(x_1, x_4); +lean_inc(x_2); +x_14 = lean_apply_1(x_2, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_18 = lean_array_push(x_5, x_16); +x_3 = x_12; +x_4 = x_17; +x_5 = x_18; +goto _start; +} +} +else +{ +lean_object* x_20; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_5); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1(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; +x_3 = lean_array_get_size(x_1); +x_4 = lean_mk_empty_array_with_capacity(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___spec__2(x_1, x_2, x_3, x_5, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("do", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___lambda__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___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_elabRunElab___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_Lean_Elab_Term_elabRunElab___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; 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; +x_10 = lean_ctor_get(x_7, 5); +lean_inc(x_10); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); +x_13 = lean_st_ref_get(x_8, x_9); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1; +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_Elab_Term_elabRunElab___lambda__1___closed__2; +x_18 = l_Lean_Syntax_node2(x_12, x_17, x_16, x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_19 = l_Lean_Elab_Term_elabRunElab_unsafe__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_apply_7(x_20, x_3, x_4, x_5, x_6, x_7, x_8, 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_4); +lean_dec(x_3); +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) +{ +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +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_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___lambda__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("byElab", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabCoe___closed__3; +x_2 = l_Lean_Elab_Term_elabRunElab___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeqIndent", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___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___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_elabRunElab___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_Term_elabRunElab___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doSeqItem", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___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_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_elabRunElab___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_Term_elabRunElab___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doExpr", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabRunElab___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___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_elabRunElab___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_Term_elabRunElab___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRunElab___lambda__2), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_elabRunElab___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_elabAnonymousCtor___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); +lean_dec(x_1); +x_15 = l_Lean_Elab_Term_elabRunElab___closed__4; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +x_17 = lean_box(0); +x_18 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_14, x_19); +lean_inc(x_20); +x_21 = l_Lean_Syntax_matchesNull(x_20, x_13); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_20); +lean_dec(x_2); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = l_Lean_Syntax_getArg(x_20, x_19); +lean_dec(x_20); +x_25 = l_Lean_Elab_Term_elabRunElab___closed__6; +lean_inc(x_24); +x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +lean_dec(x_2); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = l_Lean_Syntax_getArg(x_24, x_19); +x_30 = l_Lean_Elab_Term_elabRunElab___closed__8; +lean_inc(x_29); +x_31 = l_Lean_Syntax_isOfKind(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_29); +lean_dec(x_24); +lean_dec(x_2); +x_32 = lean_box(0); +x_33 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = l_Lean_Syntax_getArg(x_29, x_19); +lean_dec(x_29); +x_35 = l_Lean_Syntax_getArg(x_24, x_13); +lean_dec(x_24); +x_36 = l_Lean_Syntax_matchesNull(x_35, x_19); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_34); +lean_dec(x_2); +x_37 = lean_box(0); +x_38 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_38; +} +else +{ +uint8_t x_39; +lean_inc(x_34); +x_39 = l_Lean_Syntax_isOfKind(x_34, x_15); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_34); +lean_dec(x_2); +x_40 = lean_box(0); +x_41 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_41; +} +else +{ +lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Syntax_getArg(x_34, x_19); +lean_inc(x_42); +x_43 = l_Lean_Syntax_matchesNull(x_42, x_13); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_42); +lean_dec(x_34); +lean_dec(x_2); +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_45; +} +else +{ +lean_object* x_46; uint8_t x_47; +x_46 = l_Lean_Syntax_getArg(x_42, x_19); +lean_dec(x_42); +lean_inc(x_46); +x_47 = l_Lean_Syntax_isOfKind(x_46, x_25); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_48 = lean_box(0); +x_49 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_49; +} +else +{ +lean_object* x_50; uint8_t x_51; +x_50 = l_Lean_Syntax_getArg(x_46, x_19); +lean_inc(x_50); +x_51 = l_Lean_Syntax_isOfKind(x_50, x_30); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_50); +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_52 = lean_box(0); +x_53 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_52, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = l_Lean_Syntax_getArg(x_50, x_19); +lean_dec(x_50); +x_55 = l_Lean_Elab_Term_expandDbgTrace___closed__17; +lean_inc(x_54); +x_56 = l_Lean_Syntax_isOfKind(x_54, x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_54); +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_57 = lean_box(0); +x_58 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = l_Lean_Syntax_getArg(x_54, x_13); +lean_dec(x_54); +x_60 = l_Lean_Elab_Term_expandDbgTrace___closed__19; +lean_inc(x_59); +x_61 = l_Lean_Syntax_isOfKind(x_59, x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_59); +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_62 = lean_box(0); +x_63 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = l_Lean_Syntax_getArg(x_59, x_19); +x_65 = l_Lean_Syntax_getArgs(x_64); +lean_dec(x_64); +x_66 = l_Lean_Elab_Term_elabRunElab___closed__9; +x_67 = l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1(x_65, x_66); +lean_dec(x_65); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_59); +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_68 = lean_box(0); +x_69 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_69; +} +else +{ +lean_object* x_70; uint8_t x_71; +lean_dec(x_67); +x_70 = l_Lean_Syntax_getArg(x_59, x_13); +lean_dec(x_59); +x_71 = l_Lean_Syntax_matchesNull(x_70, x_19); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_46); +lean_dec(x_34); +lean_dec(x_2); +x_72 = lean_box(0); +x_73 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_73; +} +else +{ +lean_object* x_74; uint8_t x_75; +x_74 = l_Lean_Syntax_getArg(x_46, x_13); +lean_dec(x_46); +x_75 = l_Lean_Syntax_matchesNull(x_74, x_19); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_34); +lean_dec(x_2); +x_76 = lean_box(0); +x_77 = l_Lean_Elab_Term_elabRunElab___lambda__1(x_14, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_77; +} +else +{ +lean_object* x_78; +lean_dec(x_14); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_78 = l_Lean_Elab_Term_elabRunElab_unsafe__1(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_apply_8(x_79, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +if (lean_obj_tag(x_81) == 0) +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +return x_81; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_81, 0); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_81); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +else +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_81); +if (x_86 == 0) +{ +return x_81; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_81, 0); +x_88 = lean_ctor_get(x_81, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_81); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +uint8_t x_90; +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_90 = !lean_is_exclusive(x_78); +if (x_90 == 0) +{ +return x_78; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_78, 0); +x_92 = lean_ctor_get(x_78, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_78); +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; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_sequenceMap_loop___at_Lean_Elab_Term_elabRunElab___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_sequenceMap___at_Lean_Elab_Term_elabRunElab___spec__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___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_Term_elabRunElab___lambda__1(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_Term_elabRunElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elabRunElab", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabRunElab___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_elabRunElab___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_elabRunElab___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRunElab), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab(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_elabRunElab___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_elabRunElab___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_elabRunElab_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elaborator for `by_elab`. ", 26); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRunElab_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_elabRunElab_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_Term_elabRunElab_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(455u); +x_2 = lean_unsigned_to_nat(28u); +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_elabRunElab_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(468u); +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_elabRunElab_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_elabRunElab_declRange___closed__1; +x_2 = lean_unsigned_to_nat(28u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabRunElab_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_elabRunElab_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(455u); +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_Term_elabRunElab_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(455u); +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_elabRunElab_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_elabRunElab_declRange___closed__4; +x_2 = lean_unsigned_to_nat(32u); +x_3 = l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5; +x_4 = lean_unsigned_to_nat(43u); +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_elabRunElab_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabRunElab_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_elabRunElab_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_elabRunElab___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_elabRunElab_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*); lean_object* initialize_Lean_Meta_Closure(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_MatchUtil(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Elab_SyntheticMVars(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*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_BuiltinNotation(uint8_t builtin, lean_object* w) { lean_object * res; @@ -27649,10 +28113,13 @@ lean_dec_ref(res); res = initialize_Lean_Meta_MatchUtil(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_ImplementedByAttr(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_SyntheticMVars(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Compiler_ImplementedByAttr(builtin, lean_io_mk_world()); +res = initialize_Lean_Elab_Eval(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(); @@ -28943,44 +29410,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_panic___at_Lean_Elab_Term_elabUnsafe___spec__1___closed__1 = _init_l_panic___at_Lean_Elab_Term_elabUnsafe___spec__1___closed__1(); lean_mark_persistent(l_panic___at_Lean_Elab_Term_elabUnsafe___spec__1___closed__1); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__1 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__1(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__1); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__2 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__2(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__2); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__3); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__4); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__5 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__5(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__5); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__6 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__6(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__6); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__7); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__8); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__9); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__10 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__10(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__10); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__11); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__12); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__13 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__13(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__13); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__14); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__15 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__15(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__15); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__16 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__16(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__16); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__17); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__18); -l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19 = _init_l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_elabUnsafe___spec__3___closed__19); l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___closed__1 = _init_l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___closed__1(); lean_mark_persistent(l_Lean_setImplementedBy___at_Lean_Elab_Term_elabUnsafe___spec__2___closed__1); l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabUnsafe___lambda__1___closed__1(); @@ -29031,6 +29460,87 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange___closed if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__1); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__2 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__2); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__3 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__3); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__4); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__5 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__5); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__6); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__7); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__8); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__9 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__9); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__10); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__11); +l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__1___closed__12); +l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__1 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__1); +l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2 = _init_l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab_unsafe__2___closed__2); +l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___lambda__1___closed__1); +l_Lean_Elab_Term_elabRunElab___lambda__1___closed__2 = _init_l_Lean_Elab_Term_elabRunElab___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___lambda__1___closed__2); +l_Lean_Elab_Term_elabRunElab___closed__1 = _init_l_Lean_Elab_Term_elabRunElab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__1); +l_Lean_Elab_Term_elabRunElab___closed__2 = _init_l_Lean_Elab_Term_elabRunElab___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__2); +l_Lean_Elab_Term_elabRunElab___closed__3 = _init_l_Lean_Elab_Term_elabRunElab___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__3); +l_Lean_Elab_Term_elabRunElab___closed__4 = _init_l_Lean_Elab_Term_elabRunElab___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__4); +l_Lean_Elab_Term_elabRunElab___closed__5 = _init_l_Lean_Elab_Term_elabRunElab___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__5); +l_Lean_Elab_Term_elabRunElab___closed__6 = _init_l_Lean_Elab_Term_elabRunElab___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__6); +l_Lean_Elab_Term_elabRunElab___closed__7 = _init_l_Lean_Elab_Term_elabRunElab___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__7); +l_Lean_Elab_Term_elabRunElab___closed__8 = _init_l_Lean_Elab_Term_elabRunElab___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__8); +l_Lean_Elab_Term_elabRunElab___closed__9 = _init_l_Lean_Elab_Term_elabRunElab___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_elabRunElab___closed__9); +l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__1); +l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__2); +l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabRunElab(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Term_elabRunElab_docString___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabRunElab_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__4); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__5); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__6); +l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabRunElab_declRange___closed__7); +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); }return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Eval.c b/stage0/stdlib/Lean/Elab/Eval.c index 66aeca7a87..6ab560a9cb 100644 --- a/stage0/stdlib/Lean/Elab/Eval.c +++ b/stage0/stdlib/Lean/Elab/Eval.c @@ -13,18 +13,446 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__2; +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__16; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12; +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8; +extern lean_object* l_Lean_Expr_instBEqExpr; +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7; +lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Meta_evalExpr___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_instHashableExpr; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg___lambda__1(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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(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_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18; +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__1; +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19; +lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14; +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__10; +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__6; +lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17; +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__6() { +_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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8() { +_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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11() { +_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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__15() { +_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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__16() { +_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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17; +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_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5; +x_2 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7; +x_3 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14; +x_4 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18; +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_setEnv___at_Lean_Elab_Term_evalTerm___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; lean_object* x_10; lean_object* x_11; uint8_t x_12; +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; uint8_t x_21; +x_13 = lean_ctor_get(x_10, 4); +lean_dec(x_13); +x_14 = lean_ctor_get(x_10, 0); +lean_dec(x_14); +x_15 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4; +lean_ctor_set(x_10, 4, x_15); +lean_ctor_set(x_10, 0, x_1); +x_16 = lean_st_ref_set(x_7, x_10, x_11); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_take(x_5, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_19, 1); +lean_dec(x_22); +x_23 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19; +lean_ctor_set(x_19, 1, x_23); +x_24 = lean_st_ref_set(x_5, x_19, x_20); +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; +x_31 = lean_ctor_get(x_19, 0); +x_32 = lean_ctor_get(x_19, 2); +x_33 = lean_ctor_get(x_19, 3); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_19); +x_34 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19; +x_35 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_33); +x_36 = lean_st_ref_set(x_5, x_35, x_20); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +x_39 = lean_box(0); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { + x_40 = x_38; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +return x_40; +} +} +else +{ +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; +x_41 = lean_ctor_get(x_10, 1); +x_42 = lean_ctor_get(x_10, 2); +x_43 = lean_ctor_get(x_10, 3); +x_44 = lean_ctor_get(x_10, 5); +x_45 = lean_ctor_get(x_10, 6); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_10); +x_46 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4; +x_47 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_47, 0, x_1); +lean_ctor_set(x_47, 1, x_41); +lean_ctor_set(x_47, 2, x_42); +lean_ctor_set(x_47, 3, x_43); +lean_ctor_set(x_47, 4, x_46); +lean_ctor_set(x_47, 5, x_44); +lean_ctor_set(x_47, 6, x_45); +x_48 = lean_st_ref_set(x_7, x_47, x_11); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_5, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_51, 2); +lean_inc(x_54); +x_55 = lean_ctor_get(x_51, 3); +lean_inc(x_55); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + lean_ctor_release(x_51, 2); + lean_ctor_release(x_51, 3); + x_56 = x_51; +} else { + lean_dec_ref(x_51); + x_56 = lean_box(0); +} +x_57 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19; +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 4, 0); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_54); +lean_ctor_set(x_58, 3, x_55); +x_59 = lean_st_ref_set(x_5, x_58, x_52); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_61 = x_59; +} else { + lean_dec_ref(x_59); + x_61 = lean_box(0); +} +x_62 = lean_box(0); +if (lean_is_scalar(x_61)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_61; +} +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_60); +return x_63; +} +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg___lambda__1(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, lean_object* x_10, lean_object* x_11) { _start: { @@ -36,196 +464,237 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___rarg(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, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +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_25; lean_object* x_26; uint8_t x_33; lean_object* x_34; lean_inc(x_1); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_1); x_12 = lean_box(0); -x_13 = 1; -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_14 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_11, x_13, x_13, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); +x_13 = lean_st_ref_get(x_9, x_10); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_17 = 0; +x_33 = 1; 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_18 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_17, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_18) == 0) +x_34 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_11, x_33, x_33, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_21); -x_23 = l_Lean_Meta_getMVars(x_21, x_6, x_7, x_8, x_9, x_22); -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); +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +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 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_26 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_24, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -lean_dec(x_24); -if (lean_obj_tag(x_26) == 0) +lean_inc(x_5); +lean_inc(x_4); +x_38 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_37, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_39); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +lean_inc(x_41); +x_43 = l_Lean_Meta_getMVars(x_41, x_6, x_7, x_8, x_9, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +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_46 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_44, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +lean_dec(x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_50 = l_Lean_Meta_evalExpr___rarg(x_1, x_41, x_3, x_6, x_7, x_8, x_9, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; +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_17 = x_51; +x_18 = x_52; +goto block_24; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +lean_dec(x_50); +x_25 = x_53; +x_26 = x_54; +goto block_32; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_41); +lean_dec(x_1); +x_55 = lean_ctor_get(x_46, 1); +lean_inc(x_55); +lean_dec(x_46); +x_56 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_25 = x_57; +x_26 = x_58; +goto block_32; +} +} +else +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_41); +lean_dec(x_1); +x_59 = lean_ctor_get(x_46, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_46, 1); +lean_inc(x_60); +lean_dec(x_46); +x_25 = x_59; +x_26 = x_60; +goto block_32; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_35); +lean_dec(x_1); +x_61 = lean_ctor_get(x_38, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_38, 1); +lean_inc(x_62); +lean_dec(x_38); +x_25 = x_61; +x_26 = x_62; +goto block_32; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_1); +x_63 = lean_ctor_get(x_34, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_34, 1); +lean_inc(x_64); +lean_dec(x_34); +x_25 = x_63; +x_26 = x_64; +goto block_32; +} +block_24: +{ +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +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_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_17); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +block_32: { lean_object* x_27; uint8_t x_28; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_unbox(x_27); -lean_dec(x_27); +x_27 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +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_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = l_Lean_Meta_evalExpr___rarg(x_1, x_21, x_3, x_6, x_7, x_8, x_9, x_29); -return x_30; +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set_tag(x_27, 1); +lean_ctor_set(x_27, 0, x_25); +return x_27; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -lean_dec(x_21); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_dec(x_26); -x_32 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(x_31); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -return x_32; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_32); -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_21); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -return x_26; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_26, 0); -x_39 = lean_ctor_get(x_26, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_26); -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_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_1); -x_41 = !lean_is_exclusive(x_18); -if (x_41 == 0) -{ -return x_18; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_18, 0); -x_43 = lean_ctor_get(x_18, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_18); -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_1); -x_45 = !lean_is_exclusive(x_14); -if (x_45 == 0) -{ -return x_14; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_14, 0); -x_47 = lean_ctor_get(x_14, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_14); -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_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(1, 2, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -238,6 +707,20 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_evalTerm___rarg___boxed), 10, return x_2; } } +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___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_setEnv___at_Lean_Elab_Term_evalTerm___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); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalTerm___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) { _start: { @@ -278,6 +761,44 @@ lean_dec_ref(res); res = initialize_Lean_Elab_SyntheticMVars(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__1 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__1(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__1); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__2 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__2(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__2); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__3); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__4); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__5); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__6 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__6(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__6); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__7); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__8); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__9); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__10 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__10(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__10); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__11); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__12); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__13 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__13(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__13); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__14); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__15 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__15(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__15); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__16 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__16(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__16); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__17); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__18); +l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19 = _init_l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1___closed__19); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic.c b/stage0/stdlib/Lean/Elab/Tactic.c index 863cc2e5a2..8346015396 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.Change +// 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 #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -36,7 +36,9 @@ lean_object* initialize_Lean_Elab_Tactic_Calc(uint8_t builtin, lean_object*); 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_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; @@ -111,9 +113,15 @@ 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_Change(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()); +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/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 072abfc894..387e637e95 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic.BuiltinTactic -// Imports: Init Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Assumption Lean.Meta.Tactic.Contradiction Lean.Meta.Tactic.Refl Lean.Elab.Binders Lean.Elab.Open Lean.Elab.SetOption Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm +// Imports: Init Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Assumption Lean.Meta.Tactic.Contradiction Lean.Meta.Tactic.Refl Lean.Elab.Binders Lean.Elab.Open Lean.Elab.Eval Lean.Elab.SetOption Lean.Elab.Tactic.Basic Lean.Elab.Tactic.ElabTerm Lean.Elab.Do #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -33,6 +33,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__26; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___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___regBuiltin_Lean_Elab_Tactic_evalSubstVars(lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__32___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__12; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__5; @@ -65,6 +66,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___sp static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRange___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21(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_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__1; lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___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*); static lean_object* l_Lean_Elab_Tactic_evalDbgTrace___closed__1; @@ -121,6 +123,7 @@ static lean_object* l_Lean_Elab_Tactic_evalLeft___rarg___lambda__1___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__19; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__29; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___closed__2; +lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__13; static lean_object* l_Lean_Elab_Tactic_renameInaccessibles___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1; @@ -134,6 +137,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__6___closed_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___closed__5; @@ -143,6 +147,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed static lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubstVars___boxed(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__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___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange(lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,6 +183,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Elab_Tactic_renameInaccessibles___spec__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_Lean_Elab_Tactic_forEachVar___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_evalIntro___closed__33; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace(lean_object*); lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase_x27___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_object*, lean_object*); @@ -188,6 +195,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_addCheckpoints(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___lambda__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1(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__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__33(lean_object*, 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_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange(lean_object*); @@ -216,6 +225,7 @@ 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; @@ -223,6 +233,7 @@ lean_object* l_Lean_Elab_Tactic_withoutRecover___rarg(lean_object*, lean_object* lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__32(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_evalReplace___lambda__2___closed__1; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___closed__5; @@ -281,13 +292,16 @@ static lean_object* l_Lean_Elab_Tactic_evalRevert___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__34(lean_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_addConstInfo___at_Lean_Elab_Tactic_evalOpen___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticCDot(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___lambda__2___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___closed__7; extern lean_object* l_Lean_LocalContext_empty; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTraceMessage(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_evalLeft___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -297,6 +311,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed_ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Tactic_renameInaccessibles___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_Elab_goalsToMessageData___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace___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_evalSubst_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail___closed__2; @@ -327,6 +342,7 @@ 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*); @@ -334,10 +350,12 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed_ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState(lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange(lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalAnyGoals___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRight___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_evalReplace___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__8(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_evalLeft___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__4; @@ -346,6 +364,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___closed__6; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalReplace___closed__4; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__4; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6___closed__2; @@ -360,8 +379,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declR static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange___closed__4; static lean_object* l_Lean_Elab_Tactic_evalRight___rarg___lambda__1___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__5; static lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState___closed__5; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; @@ -370,6 +391,7 @@ static lean_object* l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_evalFailIfSuccess___spec__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___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getOptRotation(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___closed__6; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); @@ -409,6 +431,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__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*); 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*); @@ -428,6 +452,7 @@ lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_renameInaccessibles___spec__3___lambda__1(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__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed__7; +lean_object* l_Lean_Elab_Term_Do_getDoHaveVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -442,6 +467,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__5; lean_object* l_List_filterMap___at_Lean_resolveNamespace___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState___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_Lean_Elab_Tactic_evalAllGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,6 +491,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetO LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg(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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__6; static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; @@ -477,6 +504,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___cl static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCase___spec__4(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__35___closed__4; @@ -516,6 +544,7 @@ lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExprMessageData_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__9; static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Tactic_evalTraceMessage___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__1; lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); @@ -576,6 +605,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___clo 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*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___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*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__15; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalReplace___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*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; lean_object* l_IO_sleep(uint32_t, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__3; @@ -603,6 +633,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst___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_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__5; static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__2; @@ -632,6 +663,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst___lambda__1___boxed(lean_o 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*); extern lean_object* l_Lean_Expr_instHashableExpr; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace___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___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCase___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -654,6 +686,8 @@ lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object static lean_object* l_Lean_Elab_Tactic_evalRight___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAnyGoals___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_Tactic_evalIntro_introStep___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_evalAssumption_declRange(lean_object*); @@ -667,6 +701,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__1; static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__35___closed__5; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalReplace___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); @@ -700,6 +736,7 @@ lean_object* l_Lean_MVarId_clear(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_addCheckpoints___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSleep(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_evalReplace___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__11; 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*); @@ -723,6 +760,7 @@ 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; @@ -736,6 +774,7 @@ lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_ob static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__6; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange(lean_object*); @@ -745,6 +784,7 @@ lean_object* l_Lean_MVarId_assumption(lean_object*, lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAssumption___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___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__2; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__5; @@ -761,6 +801,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___closed_ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst_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_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__3(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_evalReplace(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_evalOpen(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_evalUnknown_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -795,6 +836,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__8; static lean_object* l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__8; lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -812,14 +854,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_renameInaccessibles___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__1; 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*); @@ -829,6 +874,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9___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_Lean_Elab_Tactic_evalReplace___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_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); @@ -840,6 +886,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessi static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___closed__4; static lean_object* l_Lean_Elab_Tactic_evalLeft___rarg___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(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_evalRunTac___closed__2; lean_object* l_Lean_Elab_Tactic_saveState___rarg(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___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__3; @@ -847,6 +894,7 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___closed__4; lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(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_addRawTrace___at_Lean_Elab_Tactic_evalTraceState___spec__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___regBuiltin_Lean_Elab_Tactic_evalRunTac(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_forEachVar(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__6; @@ -858,6 +906,9 @@ lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, ui LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__29___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_evalCase_x27_declRange___closed__6; 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; +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; @@ -878,10 +929,12 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange(lean static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___closed__5; 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*); 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; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__6; @@ -905,6 +958,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__28___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_Tactic_evalCase___lambda__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__11; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__3; @@ -913,6 +967,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__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_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___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_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage___closed__5; +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_commaList(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__11(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_evalWithAnnotateState___closed__1; @@ -931,6 +986,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Tactic_renam static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__4; static lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_renameInaccessibles___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDone___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_Tactic_evalReplace___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft_declRange___closed__5; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals(lean_object*); @@ -948,6 +1004,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSkip___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSepByIndentTactic___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -962,6 +1019,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___closed__1; lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg___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_evalReplace_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSubst(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_filterTR_loop___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___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*); @@ -982,6 +1040,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed_ lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__5; lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___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_evalReplace_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption(lean_object*); lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -998,6 +1057,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___cl static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__4; static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals_notFound___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl___closed__4; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__32___closed__1; @@ -1025,9 +1085,11 @@ 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*); +static lean_object* l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__2; lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__6___closed__1; @@ -1036,6 +1098,7 @@ 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; @@ -1043,6 +1106,7 @@ uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); 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; +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_renameInaccessibles___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1056,6 +1120,7 @@ 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*); @@ -1089,11 +1154,13 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro_introStep___lambda__6___closed_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object*); +lean_object* l_Lean_MVarId_tryClearMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalLeft(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Tactic_renameInaccessibles___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___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_Elab_Tactic_evalContradiction___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_evalTerm___rarg(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_Elab_Tactic_evalIntro_introStep___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___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__32___lambda__1___closed__2; static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; @@ -1114,6 +1181,7 @@ static lean_object* l_Lean_Elab_Tactic_elabSetOption___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__3; extern lean_object* l_Lean_instInhabitedName; static lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1152,11 +1220,14 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_num_indices(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRunTac___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; 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*); +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; lean_object* l_Lean_Meta_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFail(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1166,6 +1237,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessi lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg(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_evalChoice(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_evalFail(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__2; @@ -1222,11 +1294,13 @@ uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_evalOpen___spec__26___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_pushInfoLeaf___at_Lean_Elab_Tactic_evalOpen___spec__26(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_evalRunTac___closed__3; lean_object* lean_expr_dbg_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAnyGoals(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_evalTraceState___closed__5; lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, 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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__9; @@ -1316,6 +1390,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_eva static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__34; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__18; uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__6; static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1529,7 +1604,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(20u); +x_1 = lean_unsigned_to_nat(22u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1541,7 +1616,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_ _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(25u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1569,7 +1644,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(20u); +x_1 = lean_unsigned_to_nat(22u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1581,7 +1656,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(20u); +x_1 = lean_unsigned_to_nat(22u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1727,7 +1802,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___c _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(27u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1739,7 +1814,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(26u); +x_1 = lean_unsigned_to_nat(28u); x_2 = lean_unsigned_to_nat(6u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1767,7 +1842,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___c _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(27u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1779,7 +1854,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___c _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(27u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2298,7 +2373,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(28u); +x_1 = lean_unsigned_to_nat(30u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2310,7 +2385,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(34u); +x_1 = lean_unsigned_to_nat(36u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2338,7 +2413,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(28u); +x_1 = lean_unsigned_to_nat(30u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2350,7 +2425,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(28u); +x_1 = lean_unsigned_to_nat(30u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2479,7 +2554,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(36u); +x_1 = lean_unsigned_to_nat(38u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2491,7 +2566,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___ _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(39u); x_2 = lean_unsigned_to_nat(19u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2519,7 +2594,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(36u); +x_1 = lean_unsigned_to_nat(38u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2531,7 +2606,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(36u); +x_1 = lean_unsigned_to_nat(38u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3772,7 +3847,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(112u); +x_1 = lean_unsigned_to_nat(114u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3784,7 +3859,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(113u); +x_1 = lean_unsigned_to_nat(115u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3812,7 +3887,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(112u); +x_1 = lean_unsigned_to_nat(114u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3824,7 +3899,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(112u); +x_1 = lean_unsigned_to_nat(114u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4090,7 +4165,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(115u); +x_1 = lean_unsigned_to_nat(117u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4102,7 +4177,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed _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(122u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4130,7 +4205,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(115u); +x_1 = lean_unsigned_to_nat(117u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4142,7 +4217,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(115u); +x_1 = lean_unsigned_to_nat(117u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4330,7 +4405,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRan _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(124u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4342,7 +4417,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(131u); +x_1 = lean_unsigned_to_nat(133u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4370,7 +4445,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRan _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(124u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4382,7 +4457,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticCDot_declRan _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(124u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4580,7 +4655,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___ _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(135u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4592,7 +4667,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(138u); +x_1 = lean_unsigned_to_nat(140u); x_2 = lean_unsigned_to_nat(21u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4620,7 +4695,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___ _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(135u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4632,7 +4707,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___ _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(135u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4810,7 +4885,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(143u); +x_1 = lean_unsigned_to_nat(145u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4822,7 +4897,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(145u); +x_1 = lean_unsigned_to_nat(147u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4850,7 +4925,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(143u); +x_1 = lean_unsigned_to_nat(145u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4862,7 +4937,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(143u); +x_1 = lean_unsigned_to_nat(145u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5009,7 +5084,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(149u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5021,7 +5096,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(149u); +x_1 = lean_unsigned_to_nat(151u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5049,7 +5124,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(149u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5061,7 +5136,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(149u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12331,7 +12406,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(151u); +x_1 = lean_unsigned_to_nat(153u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12343,7 +12418,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(159u); +x_1 = lean_unsigned_to_nat(161u); x_2 = lean_unsigned_to_nat(12u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12371,7 +12446,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(151u); +x_1 = lean_unsigned_to_nat(153u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12383,7 +12458,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalOpen_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(151u); +x_1 = lean_unsigned_to_nat(153u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13392,7 +13467,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(161u); +x_1 = lean_unsigned_to_nat(163u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13404,7 +13479,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRang _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(166u); x_2 = lean_unsigned_to_nat(21u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13432,7 +13507,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(161u); +x_1 = lean_unsigned_to_nat(163u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13444,7 +13519,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(161u); +x_1 = lean_unsigned_to_nat(163u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14390,7 +14465,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(166u); +x_1 = lean_unsigned_to_nat(168u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14402,7 +14477,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(181u); +x_1 = lean_unsigned_to_nat(183u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14430,7 +14505,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(166u); +x_1 = lean_unsigned_to_nat(168u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14442,7 +14517,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(166u); +x_1 = lean_unsigned_to_nat(168u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15284,7 +15359,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(185u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15296,7 +15371,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_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(200u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15324,7 +15399,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(185u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15336,7 +15411,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(185u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15445,7 +15520,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRang _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(202u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15457,7 +15532,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(201u); +x_1 = lean_unsigned_to_nat(203u); x_2 = lean_unsigned_to_nat(19u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15485,7 +15560,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRang _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(202u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15497,7 +15572,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRang _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(202u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16212,7 +16287,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(212u); +x_1 = lean_unsigned_to_nat(214u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16224,7 +16299,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(213u); +x_1 = lean_unsigned_to_nat(215u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16252,7 +16327,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(212u); +x_1 = lean_unsigned_to_nat(214u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16264,7 +16339,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(212u); +x_1 = lean_unsigned_to_nat(214u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16410,7 +16485,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(215u); +x_1 = lean_unsigned_to_nat(217u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16422,7 +16497,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(215u); +x_1 = lean_unsigned_to_nat(217u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16450,7 +16525,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(215u); +x_1 = lean_unsigned_to_nat(217u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16462,7 +16537,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(215u); +x_1 = lean_unsigned_to_nat(217u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16605,7 +16680,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(217u); +x_1 = lean_unsigned_to_nat(219u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16617,7 +16692,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(218u); +x_1 = lean_unsigned_to_nat(220u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16645,7 +16720,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(217u); +x_1 = lean_unsigned_to_nat(219u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16657,7 +16732,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(217u); +x_1 = lean_unsigned_to_nat(219u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17016,7 +17091,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(220u); +x_1 = lean_unsigned_to_nat(222u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17028,7 +17103,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(224u); +x_1 = lean_unsigned_to_nat(226u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17056,7 +17131,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(220u); +x_1 = lean_unsigned_to_nat(222u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17068,7 +17143,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(220u); +x_1 = lean_unsigned_to_nat(222u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17340,7 +17415,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(226u); +x_1 = lean_unsigned_to_nat(228u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17352,7 +17427,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(228u); +x_1 = lean_unsigned_to_nat(230u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17380,7 +17455,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(226u); +x_1 = lean_unsigned_to_nat(228u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17392,7 +17467,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(226u); +x_1 = lean_unsigned_to_nat(228u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17657,7 +17732,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(230u); +x_1 = lean_unsigned_to_nat(232u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17669,7 +17744,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(233u); +x_1 = lean_unsigned_to_nat(235u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17697,7 +17772,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(230u); +x_1 = lean_unsigned_to_nat(232u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17709,7 +17784,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(230u); +x_1 = lean_unsigned_to_nat(232u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18153,7 +18228,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(237u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18165,7 +18240,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(239u); +x_1 = lean_unsigned_to_nat(241u); x_2 = lean_unsigned_to_nat(90u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18193,7 +18268,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(237u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18205,7 +18280,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(237u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18511,7 +18586,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(241u); +x_1 = lean_unsigned_to_nat(243u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18523,7 +18598,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(242u); +x_1 = lean_unsigned_to_nat(244u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18551,7 +18626,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(241u); +x_1 = lean_unsigned_to_nat(243u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18563,7 +18638,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(241u); +x_1 = lean_unsigned_to_nat(243u); x_2 = lean_unsigned_to_nat(72u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18853,7 +18928,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(244u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18865,7 +18940,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(245u); +x_1 = lean_unsigned_to_nat(247u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18893,7 +18968,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(244u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18905,7 +18980,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(244u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20858,7 +20933,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(249u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20870,7 +20945,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(273u); +x_1 = lean_unsigned_to_nat(275u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20898,7 +20973,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(249u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20910,7 +20985,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(249u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21169,7 +21244,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21181,7 +21256,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(278u); +x_1 = lean_unsigned_to_nat(280u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21209,7 +21284,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21221,7 +21296,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(277u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22086,7 +22161,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22098,7 +22173,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(292u); +x_1 = lean_unsigned_to_nat(294u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22126,7 +22201,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22138,7 +22213,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22433,7 +22508,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(294u); +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); @@ -22445,7 +22520,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_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(301u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22473,7 +22548,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(294u); +x_1 = lean_unsigned_to_nat(296u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22485,7 +22560,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(294u); +x_1 = lean_unsigned_to_nat(296u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22985,7 +23060,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(301u); +x_1 = lean_unsigned_to_nat(303u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22997,7 +23072,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(310u); +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); @@ -23025,7 +23100,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(301u); +x_1 = lean_unsigned_to_nat(303u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23037,7 +23112,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(301u); +x_1 = lean_unsigned_to_nat(303u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23515,7 +23590,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(319u); +x_1 = lean_unsigned_to_nat(321u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23527,7 +23602,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(322u); +x_1 = lean_unsigned_to_nat(324u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23555,7 +23630,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(319u); +x_1 = lean_unsigned_to_nat(321u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23567,7 +23642,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(319u); +x_1 = lean_unsigned_to_nat(321u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23862,7 +23937,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(324u); +x_1 = lean_unsigned_to_nat(326u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23874,7 +23949,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(325u); +x_1 = lean_unsigned_to_nat(327u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23902,7 +23977,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(324u); +x_1 = lean_unsigned_to_nat(326u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23914,7 +23989,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(324u); +x_1 = lean_unsigned_to_nat(326u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23960,6 +24035,226 @@ 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) { +_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_MVarId_substEqs(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_box(0); +x_17 = l_Lean_Elab_Tactic_replaceMainGoal(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Elab_Tactic_replaceMainGoal(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +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_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) +{ +return x_13; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_13, 0); +x_25 = lean_ctor_get(x_13, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_13); +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_10); +if (x_27 == 0) +{ +return x_10; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_10, 0); +x_29 = lean_ctor_get(x_10, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__BuiltinTactic______elabRules__Lean__Elab__Tactic__tacticSubst__eqs__1___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); +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) { +_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; +} +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_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) { _start: { @@ -31854,7 +32149,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(410u); +x_1 = lean_unsigned_to_nat(418u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -31866,7 +32161,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(420u); +x_1 = lean_unsigned_to_nat(428u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -31894,7 +32189,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(410u); +x_1 = lean_unsigned_to_nat(418u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -31906,7 +32201,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(410u); +x_1 = lean_unsigned_to_nat(418u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33400,7 +33695,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(422u); +x_1 = lean_unsigned_to_nat(430u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33412,7 +33707,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(437u); +x_1 = lean_unsigned_to_nat(445u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33440,7 +33735,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(422u); +x_1 = lean_unsigned_to_nat(430u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33452,7 +33747,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(422u); +x_1 = lean_unsigned_to_nat(430u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33698,7 +33993,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(439u); +x_1 = lean_unsigned_to_nat(447u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33710,7 +34005,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(441u); +x_1 = lean_unsigned_to_nat(449u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33738,7 +34033,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(439u); +x_1 = lean_unsigned_to_nat(447u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -33750,7 +34045,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(439u); +x_1 = lean_unsigned_to_nat(447u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34229,7 +34524,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(443u); +x_1 = lean_unsigned_to_nat(451u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34241,7 +34536,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(452u); +x_1 = lean_unsigned_to_nat(460u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34269,7 +34564,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(443u); +x_1 = lean_unsigned_to_nat(451u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34281,7 +34576,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(443u); +x_1 = lean_unsigned_to_nat(451u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34584,7 +34879,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(454u); +x_1 = lean_unsigned_to_nat(462u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34596,7 +34891,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(460u); +x_1 = lean_unsigned_to_nat(468u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34624,7 +34919,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(454u); +x_1 = lean_unsigned_to_nat(462u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34636,7 +34931,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(454u); +x_1 = lean_unsigned_to_nat(462u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34826,7 +35121,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(462u); +x_1 = lean_unsigned_to_nat(470u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34838,7 +35133,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(465u); +x_1 = lean_unsigned_to_nat(473u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34866,7 +35161,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(462u); +x_1 = lean_unsigned_to_nat(470u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -34878,7 +35173,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(462u); +x_1 = lean_unsigned_to_nat(470u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35049,7 +35344,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(467u); +x_1 = lean_unsigned_to_nat(475u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35061,7 +35356,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(470u); +x_1 = lean_unsigned_to_nat(478u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35089,7 +35384,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(467u); +x_1 = lean_unsigned_to_nat(475u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35101,7 +35396,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(467u); +x_1 = lean_unsigned_to_nat(475u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35415,7 +35710,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(472u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35427,7 +35722,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(473u); +x_1 = lean_unsigned_to_nat(481u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35455,7 +35750,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(472u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35467,7 +35762,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(472u); +x_1 = lean_unsigned_to_nat(480u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35771,7 +36066,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(475u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35783,7 +36078,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(476u); +x_1 = lean_unsigned_to_nat(484u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35811,7 +36106,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(475u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35823,7 +36118,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(475u); +x_1 = lean_unsigned_to_nat(483u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -35869,6 +36164,1077 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalReplace___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* 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_4, x_3); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_array_uget(x_2, x_4); +x_18 = l_Lean_Syntax_getId(x_17); +lean_dec(x_17); +lean_inc(x_1); +x_19 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_18); +if (lean_obj_tag(x_19) == 0) +{ +size_t x_20; size_t x_21; +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_4 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +x_24 = l_Lean_LocalDecl_fvarId(x_23); +lean_dec(x_23); +x_25 = lean_array_push(x_5, x_24); +x_26 = 1; +x_27 = lean_usize_add(x_4, x_26); +x_4 = x_27; +x_5 = x_25; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace___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); +lean_inc(x_3); +lean_inc(x_2); +x_11 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, 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; +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_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Lean_MVarId_tryClearMany(x_12, x_1, x_6, x_7, x_8, x_9, 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; +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 = lean_box(0); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Elab_Tactic_replaceMainGoal(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +return x_19; +} +else +{ +uint8_t x_20; +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 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +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 +{ +uint8_t x_24; +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_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) +{ +return x_11; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_11); +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_Tactic_evalReplace___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticHave_", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalReplace___lambda__2___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_Lean_Elab_Tactic_evalReplace___lambda__2___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_evalReplace___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("have", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_12 = l_Lean_Elab_Term_Do_getDoHaveVars(x_1, x_5, x_6, 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; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +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_7, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_9, 5); +lean_inc(x_16); +x_17 = 0; +x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17); +x_19 = lean_st_ref_get(x_10, x_14); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__3; +lean_inc(x_18); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__2; +x_24 = l_Lean_Syntax_node2(x_18, x_23, x_22, x_2); +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); +lean_inc(x_3); +x_25 = l_Lean_Elab_Tactic_evalTactic(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; size_t x_28; size_t 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_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_array_get_size(x_13); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +x_30 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__1; +x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalReplace___spec__1(x_15, x_13, x_28, x_29, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +lean_dec(x_13); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalReplace___lambda__1), 10, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = l_Lean_Elab_Tactic_withMainContext___rarg(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_25); +if (x_36 == 0) +{ +return x_25; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_25, 0); +x_38 = lean_ctor_get(x_25, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_25); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +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_40 = !lean_is_exclusive(x_12); +if (x_40 == 0) +{ +return x_12; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_12, 0); +x_42 = lean_ctor_get(x_12, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalReplace___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("replace", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalReplace___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_Lean_Elab_Tactic_evalReplace___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_evalReplace___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveDecl", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalReplace___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_Lean_Elab_Tactic_evalWithAnnotateState___closed__2; +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__5; +x_4 = l_Lean_Elab_Tactic_evalReplace___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_evalReplace___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__10; +x_2 = lean_box(0); +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_evalReplace___closed__2; +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_evalExact___spec__1___rarg(x_10); +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 = l_Lean_Elab_Tactic_evalReplace___closed__4; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +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_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = l_Lean_Elab_Tactic_evalReplace___closed__5; +lean_inc(x_15); +x_20 = lean_array_push(x_19, x_15); +x_21 = lean_box(2); +x_22 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__9; +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_20); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalReplace___lambda__2___boxed), 11, 2); +lean_closure_set(x_24, 0, x_23); +lean_closure_set(x_24, 1, x_15); +x_25 = l_Lean_Elab_Tactic_withMainContext___rarg(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalReplace___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_3); +lean_dec(x_3); +x_16 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalReplace___spec__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalReplace___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalReplace___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalReplace", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace___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___regBuiltin_Lean_Elab_Tactic_evalReplace___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_evalReplace___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalReplace), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalReplace(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_Lean_Elab_Tactic_evalReplace___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalReplace___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_evalReplace_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(486u); +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_evalReplace_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(498u); +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_evalReplace_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_evalReplace_declRange___closed__1; +x_2 = lean_unsigned_to_nat(26u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalReplace_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_evalReplace_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(486u); +x_2 = lean_unsigned_to_nat(30u); +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_evalReplace_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(486u); +x_2 = lean_unsigned_to_nat(41u); +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_evalReplace_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_evalReplace_declRange___closed__4; +x_2 = lean_unsigned_to_nat(30u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__5; +x_4 = lean_unsigned_to_nat(41u); +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_evalReplace_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalReplace_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_evalReplace_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_evalReplace___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("TacticM", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__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_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_evalRunTac_unsafe__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_Lean_Elab_Tactic_evalRunTac_unsafe__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_evalRunTac_unsafe__1___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unit", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___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_evalRunTac_unsafe__1___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___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_evalRunTac_unsafe__1___closed__5; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__3; +x_2 = l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRunTac_unsafe__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; uint8_t x_10; lean_object* x_11; +x_9 = l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7; +x_10 = 1; +x_11 = l_Lean_Elab_Term_evalTerm___rarg(x_9, x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("runTac", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___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_Lean_Elab_Tactic_evalRunTac___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_evalRunTac___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("app", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___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_Lean_Elab_Tactic_evalWithAnnotateState___closed__2; +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__5; +x_4 = l_Lean_Elab_Tactic_evalRunTac___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_evalRunTac___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("discard", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalRunTac___closed__5; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalRunTac___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Functor", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalRunTac___closed__8; +x_2 = l_Lean_Elab_Tactic_evalRunTac___closed__5; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalRunTac___closed__9; +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_evalRunTac___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_evalRunTac___closed__10; +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_evalRunTac___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("do", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRunTac___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__1; +x_2 = l_Lean_Elab_Tactic_evalWithAnnotateState___closed__2; +x_3 = l_Lean_Elab_Tactic_evalIntro___closed__5; +x_4 = l_Lean_Elab_Tactic_evalRunTac___closed__12; +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_evalRunTac(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_evalRunTac___closed__2; +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_evalExact___spec__1___rarg(x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_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; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_ctor_get(x_8, 5); +lean_inc(x_16); +x_17 = 0; +x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17); +x_19 = lean_ctor_get(x_8, 10); +lean_inc(x_19); +x_20 = lean_st_ref_get(x_9, x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_environment_main_module(x_23); +x_25 = l_Lean_Elab_Tactic_evalRunTac___closed__7; +x_26 = l_Lean_addMacroScope(x_24, x_25, x_19); +x_27 = l_Lean_Elab_Tactic_evalRunTac___closed__6; +x_28 = l_Lean_Elab_Tactic_evalRunTac___closed__11; +lean_inc(x_18); +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_18); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_26); +lean_ctor_set(x_29, 3, x_28); +x_30 = l_Lean_Elab_Tactic_evalRunTac___closed__12; +lean_inc(x_18); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Tactic_evalRunTac___closed__13; +lean_inc(x_18); +x_33 = l_Lean_Syntax_node2(x_18, x_32, x_31, x_15); +x_34 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__9; +lean_inc(x_18); +x_35 = l_Lean_Syntax_node1(x_18, x_34, x_33); +x_36 = l_Lean_Elab_Tactic_evalRunTac___closed__4; +x_37 = l_Lean_Syntax_node2(x_18, x_36, x_29, x_35); +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_38 = l_Lean_Elab_Tactic_evalRunTac_unsafe__1(x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +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 = lean_apply_9(x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_40); +return x_41; +} +else +{ +uint8_t x_42; +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_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalRunTac", 10); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac___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___regBuiltin_Lean_Elab_Tactic_evalRunTac___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_evalRunTac___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRunTac), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRunTac(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_Lean_Elab_Tactic_evalRunTac___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac___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_evalRunTac_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(500u); +x_2 = lean_unsigned_to_nat(25u); +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_evalRunTac_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(505u); +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_evalRunTac_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_evalRunTac_declRange___closed__1; +x_2 = lean_unsigned_to_nat(25u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_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_evalRunTac_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(500u); +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_evalRunTac_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(500u); +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_Tactic_evalRunTac_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_evalRunTac_declRange___closed__4; +x_2 = lean_unsigned_to_nat(29u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__5; +x_4 = lean_unsigned_to_nat(39u); +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_evalRunTac_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_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_evalRunTac_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_evalRunTac___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_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_Meta_Tactic_Apply(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Assumption(uint8_t builtin, lean_object*); @@ -35876,9 +37242,11 @@ lean_object* initialize_Lean_Meta_Tactic_Contradiction(uint8_t builtin, lean_obj lean_object* initialize_Lean_Meta_Tactic_Refl(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Binders(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Open(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Eval(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_SetOption(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_ElabTerm(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Do(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BuiltinTactic(uint8_t builtin, lean_object* w) { lean_object * res; @@ -35905,6 +37273,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Open(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; 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_SetOption(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -35914,6 +37285,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_ElabTerm(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Do(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Tactic_evalWithAnnotateState___closed__1 = _init_l_Lean_Elab_Tactic_evalWithAnnotateState___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalWithAnnotateState___closed__1); l_Lean_Elab_Tactic_evalWithAnnotateState___closed__2 = _init_l_Lean_Elab_Tactic_evalWithAnnotateState___closed__2(); @@ -37134,7 +38508,21 @@ 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_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_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(); 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); @@ -37486,6 +38874,114 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange___close if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRight_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__1); +l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__2); +l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___lambda__2___closed__3); +l_Lean_Elab_Tactic_evalReplace___closed__1 = _init_l_Lean_Elab_Tactic_evalReplace___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___closed__1); +l_Lean_Elab_Tactic_evalReplace___closed__2 = _init_l_Lean_Elab_Tactic_evalReplace___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___closed__2); +l_Lean_Elab_Tactic_evalReplace___closed__3 = _init_l_Lean_Elab_Tactic_evalReplace___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___closed__3); +l_Lean_Elab_Tactic_evalReplace___closed__4 = _init_l_Lean_Elab_Tactic_evalReplace___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___closed__4); +l_Lean_Elab_Tactic_evalReplace___closed__5 = _init_l_Lean_Elab_Tactic_evalReplace___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalReplace___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalReplace(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalReplace_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__1 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__1); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__2 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__2); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__3 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__3); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__4 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__4); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__5 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__5); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__6 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__6); +l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7 = _init_l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac_unsafe__1___closed__7); +l_Lean_Elab_Tactic_evalRunTac___closed__1 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__1); +l_Lean_Elab_Tactic_evalRunTac___closed__2 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__2); +l_Lean_Elab_Tactic_evalRunTac___closed__3 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__3); +l_Lean_Elab_Tactic_evalRunTac___closed__4 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__4); +l_Lean_Elab_Tactic_evalRunTac___closed__5 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__5); +l_Lean_Elab_Tactic_evalRunTac___closed__6 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__6); +l_Lean_Elab_Tactic_evalRunTac___closed__7 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__7); +l_Lean_Elab_Tactic_evalRunTac___closed__8 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__8); +l_Lean_Elab_Tactic_evalRunTac___closed__9 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__9); +l_Lean_Elab_Tactic_evalRunTac___closed__10 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__10); +l_Lean_Elab_Tactic_evalRunTac___closed__11 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__11); +l_Lean_Elab_Tactic_evalRunTac___closed__12 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__12); +l_Lean_Elab_Tactic_evalRunTac___closed__13 = _init_l_Lean_Elab_Tactic_evalRunTac___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRunTac___closed__13); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRunTac(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRunTac_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRunTac_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/Tactic/HaveI.c b/stage0/stdlib/Lean/Elab/Tactic/HaveI.c new file mode 100644 index 0000000000..8089a25b99 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/HaveI.c @@ -0,0 +1,33 @@ +// 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/Tactic/Repeat.c b/stage0/stdlib/Lean/Elab/Tactic/Repeat.c new file mode 100644 index 0000000000..648d6f29db --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/Repeat.c @@ -0,0 +1,2447 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.Repeat +// Imports: Init Lean.Meta.Tactic.Repeat Lean.Elab.Tactic.Basic +#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* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__5; +static lean_object* l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27_declRange___closed__3; +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*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__4; +extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(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*); +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___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_evalRepeat_x27_declRange___closed__4; +static lean_object* l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__1; +static lean_object* l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1; +lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__7; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Elab_Tactic_SavedState_restore(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___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___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*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalRepeat1_x27___closed__1; +lean_object* l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__6; +static lean_object* l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRepeat1_x27(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_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2; +lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRepeat1_x27___closed__2; +static lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1; +lean_object* l_Lean_Elab_Tactic_evalTacticAtRaw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___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_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__1; +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___spec__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*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRepeat_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(lean_object*); +size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_evalRepeat_x27___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__2; +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange(lean_object*); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__2___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_evalRepeat_x27___closed__5; +lean_object* lean_array_get_size(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +lean_object* l_Lean_Elab_Tactic_setGoals(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_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1(lean_object*); +uint8_t l_Lean_Exception_isRuntime(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___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_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___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_Tactic_evalRepeat_x27___closed__2; +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27___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_Tactic_evalRepeat_x27___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; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg), 1, 0); +return x_9; +} +} +static lean_object* _init_l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___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(1, 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_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +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_9); +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); +x_25 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_23); +lean_dec(x_20); +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_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_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_11 = x_29; +x_12 = x_27; +goto block_18; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = lean_ctor_get(x_25, 1); +x_33 = l_Lean_Exception_isRuntime(x_31); +if (x_33 == 0) +{ +uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_free_object(x_25); +lean_dec(x_31); +x_34 = 0; +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_35 = l_Lean_Elab_Tactic_SavedState_restore(x_23, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Lean_Elab_Tactic_SavedState_restore(x_20, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +lean_dec(x_3); +lean_dec(x_2); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1; +x_11 = x_39; +x_12 = x_38; +goto block_18; +} +else +{ +uint8_t x_40; +x_40 = lean_ctor_get_uint8(x_8, sizeof(void*)*11); +if (x_40 == 0) +{ +lean_dec(x_23); +lean_dec(x_20); +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); +return x_25; +} +else +{ +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_free_object(x_25); +lean_dec(x_31); +x_41 = 0; +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_42 = l_Lean_Elab_Tactic_SavedState_restore(x_23, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Elab_Tactic_SavedState_restore(x_20, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_43); +lean_dec(x_3); +lean_dec(x_2); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1; +x_11 = x_46; +x_12 = x_45; +goto block_18; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_25, 0); +x_48 = lean_ctor_get(x_25, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_25); +x_49 = l_Lean_Exception_isRuntime(x_47); +if (x_49 == 0) +{ +uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_47); +x_50 = 0; +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_51 = l_Lean_Elab_Tactic_SavedState_restore(x_23, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = l_Lean_Elab_Tactic_SavedState_restore(x_20, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_52); +lean_dec(x_3); +lean_dec(x_2); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1; +x_11 = x_55; +x_12 = x_54; +goto block_18; +} +else +{ +uint8_t x_56; +x_56 = lean_ctor_get_uint8(x_8, sizeof(void*)*11); +if (x_56 == 0) +{ +lean_object* x_57; +lean_dec(x_23); +lean_dec(x_20); +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_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_47); +lean_ctor_set(x_57, 1, x_48); +return x_57; +} +else +{ +uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_47); +x_58 = 0; +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_59 = l_Lean_Elab_Tactic_SavedState_restore(x_23, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l_Lean_Elab_Tactic_SavedState_restore(x_20, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +lean_dec(x_3); +lean_dec(x_2); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1; +x_11 = x_63; +x_12 = x_62; +goto block_18; +} +} +} +} +block_18: +{ +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___spec__4(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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_box(x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_5, 1); +lean_inc(x_20); +lean_dec(x_5); +x_4 = x_19; +x_5 = x_20; +goto _start; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_4); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_4, 0); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +x_25 = l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_25); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_25, 1); +x_30 = lean_ctor_get(x_25, 0); +lean_dec(x_30); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_nat_dec_eq(x_2, x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_free_object(x_25); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_sub(x_2, x_33); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_23); +x_35 = lean_apply_1(x_1, x_23); +lean_inc(x_14); +lean_inc(x_13); +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_36 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_4); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_array_push(x_6, x_23); +x_2 = x_34; +x_4 = x_24; +x_6 = x_39; +x_15 = x_38; +goto _start; +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_23); +x_41 = lean_ctor_get(x_36, 1); +lean_inc(x_41); +lean_dec(x_36); +x_42 = lean_ctor_get(x_37, 0); +lean_inc(x_42); +lean_dec(x_37); +lean_ctor_set(x_4, 1, x_5); +lean_ctor_set(x_4, 0, x_24); +x_43 = 1; +{ +lean_object* _tmp_1 = x_34; +uint8_t _tmp_2 = x_43; +lean_object* _tmp_3 = x_42; +lean_object* _tmp_4 = x_4; +lean_object* _tmp_14 = x_41; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +x_5 = _tmp_4; +x_15 = _tmp_14; +} +goto _start; +} +} +else +{ +uint8_t x_45; +lean_dec(x_34); +lean_free_object(x_4); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +return x_36; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_ctor_get(x_36, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_36); +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; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_49 = lean_array_push(x_6, x_23); +x_50 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_49, x_24); +x_51 = l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(x_50, x_5); +x_52 = lean_box(x_3); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +lean_ctor_set(x_25, 0, x_53); +return x_25; +} +} +else +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_25, 1); +lean_inc(x_54); +lean_dec(x_25); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_nat_dec_eq(x_2, x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_unsigned_to_nat(1u); +x_58 = lean_nat_sub(x_2, x_57); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_23); +x_59 = lean_apply_1(x_1, x_23); +lean_inc(x_14); +lean_inc(x_13); +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_60 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5(x_59, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_54); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +lean_free_object(x_4); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_array_push(x_6, x_23); +x_2 = x_58; +x_4 = x_24; +x_6 = x_63; +x_15 = x_62; +goto _start; +} +else +{ +lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_23); +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +lean_dec(x_60); +x_66 = lean_ctor_get(x_61, 0); +lean_inc(x_66); +lean_dec(x_61); +lean_ctor_set(x_4, 1, x_5); +lean_ctor_set(x_4, 0, x_24); +x_67 = 1; +{ +lean_object* _tmp_1 = x_58; +uint8_t _tmp_2 = x_67; +lean_object* _tmp_3 = x_66; +lean_object* _tmp_4 = x_4; +lean_object* _tmp_14 = x_65; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_4 = _tmp_3; +x_5 = _tmp_4; +x_15 = _tmp_14; +} +goto _start; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_58); +lean_free_object(x_4); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_69 = lean_ctor_get(x_60, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_60, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_71 = x_60; +} else { + lean_dec_ref(x_60); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +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_free_object(x_4); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_73 = lean_array_push(x_6, x_23); +x_74 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_73, x_24); +x_75 = l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(x_74, x_5); +x_76 = lean_box(x_3); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_54); +return x_78; +} +} +} +else +{ +lean_object* x_79; +lean_free_object(x_4); +lean_dec(x_23); +x_79 = lean_ctor_get(x_25, 1); +lean_inc(x_79); +lean_dec(x_25); +x_4 = x_24; +x_15 = x_79; +goto _start; +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_81 = lean_ctor_get(x_4, 0); +x_82 = lean_ctor_get(x_4, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_4); +lean_inc(x_81); +x_83 = l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(x_81, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_unbox(x_84); +lean_dec(x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_86 = lean_ctor_get(x_83, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_87 = x_83; +} else { + lean_dec_ref(x_83); + x_87 = lean_box(0); +} +x_88 = lean_unsigned_to_nat(0u); +x_89 = lean_nat_dec_eq(x_2, x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_87); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_nat_sub(x_2, x_90); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_81); +x_92 = lean_apply_1(x_1, x_81); +lean_inc(x_14); +lean_inc(x_13); +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_93 = l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5(x_92, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_86); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_array_push(x_6, x_81); +x_2 = x_91; +x_4 = x_82; +x_6 = x_96; +x_15 = x_95; +goto _start; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_dec(x_81); +x_98 = lean_ctor_get(x_93, 1); +lean_inc(x_98); +lean_dec(x_93); +x_99 = lean_ctor_get(x_94, 0); +lean_inc(x_99); +lean_dec(x_94); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_82); +lean_ctor_set(x_100, 1, x_5); +x_101 = 1; +x_2 = x_91; +x_3 = x_101; +x_4 = x_99; +x_5 = x_100; +x_15 = x_98; +goto _start; +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_91); +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_103 = lean_ctor_get(x_93, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_93, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_105 = x_93; +} else { + lean_dec_ref(x_93); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +return x_106; +} +} +else +{ +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_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_107 = lean_array_push(x_6, x_81); +x_108 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_107, x_82); +x_109 = l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(x_108, x_5); +x_110 = lean_box(x_3); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +if (lean_is_scalar(x_87)) { + x_112 = lean_alloc_ctor(0, 2, 0); +} else { + x_112 = x_87; +} +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_86); +return x_112; +} +} +else +{ +lean_object* x_113; +lean_dec(x_81); +x_113 = lean_ctor_get(x_83, 1); +lean_inc(x_113); +lean_dec(x_83); +x_4 = x_82; +x_15 = x_113; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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; +x_14 = lean_usize_dec_eq(x_2, x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_array_uget(x_1, x_2); +lean_inc(x_15); +x_16 = l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unbox(x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_array_push(x_4, x_15); +x_21 = 1; +x_22 = lean_usize_add(x_2, x_21); +x_2 = x_22; +x_4 = x_20; +x_13 = x_19; +goto _start; +} +else +{ +lean_object* x_24; size_t x_25; size_t x_26; +lean_dec(x_15); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +x_25 = 1; +x_26 = lean_usize_add(x_2, x_25); +x_2 = x_26; +x_13 = x_24; +goto _start; +} +} +else +{ +lean_object* x_28; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_4); +lean_ctor_set(x_28, 1, x_13); +return x_28; +} +} +} +static lean_object* _init_l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___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_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__1; +x_2 = lean_array_to_list(lean_box(0), x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___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; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_box(0); +x_14 = 0; +x_15 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___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_6); +lean_inc(x_5); +lean_inc(x_4); +x_16 = l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___spec__4(x_1, x_3, x_14, x_2, x_13, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +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) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_16, 1); +x_21 = lean_ctor_get(x_18, 1); +x_22 = lean_array_get_size(x_21); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_nat_dec_lt(x_23, x_22); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_22); +lean_dec(x_21); +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_25 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +lean_ctor_set(x_18, 1, x_25); +return x_16; +} +else +{ +uint8_t x_26; +x_26 = lean_nat_dec_le(x_22, x_22); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_22); +lean_dec(x_21); +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_27 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +lean_ctor_set(x_18, 1, x_27); +return x_16; +} +else +{ +size_t x_28; size_t x_29; lean_object* x_30; uint8_t x_31; +lean_free_object(x_16); +x_28 = 0; +x_29 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(x_21, x_28, x_29, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +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_21); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_array_to_list(lean_box(0), x_32); +lean_ctor_set(x_18, 1, x_33); +lean_ctor_set(x_30, 0, x_18); +return x_30; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_30, 0); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_30); +x_36 = lean_array_to_list(lean_box(0), x_34); +lean_ctor_set(x_18, 1, x_36); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_18); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_16, 1); +x_39 = lean_ctor_get(x_18, 0); +x_40 = lean_ctor_get(x_18, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_18); +x_41 = lean_array_get_size(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); +lean_dec(x_40); +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_44 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_39); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_16, 0, x_45); +return x_16; +} +else +{ +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); +lean_dec(x_40); +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_47 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_39); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_16, 0, x_48); +return x_16; +} +else +{ +size_t x_49; size_t 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_free_object(x_16); +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(x_40, x_49, x_50, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +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_40); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_array_to_list(lean_box(0), x_52); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_39); +lean_ctor_set(x_56, 1, x_55); +if (lean_is_scalar(x_54)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_54; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_53); +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_object* x_63; lean_object* x_64; uint8_t x_65; +x_58 = lean_ctor_get(x_16, 0); +x_59 = lean_ctor_get(x_16, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_16); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_62 = x_58; +} else { + lean_dec_ref(x_58); + x_62 = lean_box(0); +} +x_63 = lean_array_get_size(x_61); +x_64 = lean_unsigned_to_nat(0u); +x_65 = lean_nat_dec_lt(x_64, x_63); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_63); +lean_dec(x_61); +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_66 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +if (lean_is_scalar(x_62)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_62; +} +lean_ctor_set(x_67, 0, x_60); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_59); +return x_68; +} +else +{ +uint8_t x_69; +x_69 = lean_nat_dec_le(x_63, x_63); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_63); +lean_dec(x_61); +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_70 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2; +if (lean_is_scalar(x_62)) { + x_71 = lean_alloc_ctor(0, 2, 0); +} else { + x_71 = x_62; +} +lean_ctor_set(x_71, 0, x_60); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_59); +return x_72; +} +else +{ +size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_73 = 0; +x_74 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_75 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(x_61, x_73, x_74, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_59); +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_61); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = lean_array_to_list(lean_box(0), x_76); +if (lean_is_scalar(x_62)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_62; +} +lean_ctor_set(x_80, 0, x_60); +lean_ctor_set(x_80, 1, x_79); +if (lean_is_scalar(x_78)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_78; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_77); +return x_81; +} +} +} +} +else +{ +uint8_t x_82; +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_82 = !lean_is_exclusive(x_16); +if (x_82 == 0) +{ +return x_16; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_16, 0); +x_84 = lean_ctor_get(x_16, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_16); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_apply_9(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_apply_1(x_2, x_14); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +x_18 = lean_apply_1(x_2, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7___rarg), 11, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3), 12, 3); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +x_14 = l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1; +x_15 = l_Functor_mapRev___at_Lean_Elab_Tactic_evalRepeat_x27___spec__7___rarg(x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRepeat_x27___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_evalRepeat_x27___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_Elab_Tactic_evalRepeat_x27___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_evalRepeat_x27___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat'", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRepeat_x27___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_Elab_Tactic_evalRepeat_x27___closed__1; +x_2 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__2; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_4 = l_Lean_Elab_Tactic_evalRepeat_x27___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_Elab_Tactic_evalRepeat_x27___closed__6() { +_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_evalRepeat_x27___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__1; +x_2 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__2; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_4 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__6; +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_evalRepeat_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_evalRepeat_x27___closed__5; +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; 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 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__7; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +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_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAtRaw), 11, 1); +lean_closure_set(x_22, 0, x_15); +x_23 = lean_unsigned_to_nat(100000u); +lean_inc(x_9); +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); +x_24 = l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2(x_22, x_20, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Elab_Tactic_setGoals(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +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); +return x_27; +} +else +{ +uint8_t x_28; +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_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) +{ +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___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_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = l_Lean_Meta_repeat_x27Core_go___at_Lean_Elab_Tactic_evalRepeat_x27___spec__4(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___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_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRepeat_x27___spec__6(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_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_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elab", 4); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalRepeat'", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___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_Elab_Tactic_evalRepeat_x27___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2; +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_evalRepeat_x27___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Tactic_tacticElabAttribute; +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRepeat_x27), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27(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_evalRepeat_x27___closed__4; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__5; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___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_evalRepeat_x27_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(12u); +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___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(16u); +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_evalRepeat_x27_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_evalRepeat_x27_declRange___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_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_evalRepeat_x27_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(12u); +x_2 = lean_unsigned_to_nat(4u); +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_evalRepeat_x27_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(12u); +x_2 = lean_unsigned_to_nat(15u); +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_evalRepeat_x27_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_evalRepeat_x27_declRange___closed__4; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__5; +x_4 = lean_unsigned_to_nat(15u); +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_evalRepeat_x27_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_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_evalRepeat_x27_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_evalRepeat_x27___closed__3; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 5); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +static lean_object* _init_l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat1' made no progress", 25); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___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); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_14); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2; +x_19 = l_Lean_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__2(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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); +return x_19; +} +else +{ +uint8_t x_20; +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_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_13, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_dec(x_14); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_dec(x_14); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +} +else +{ +uint8_t x_26; +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_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +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_evalRepeat1_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat1'", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalRepeat1_x27___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_evalRepeat_x27___closed__1; +x_2 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__2; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_4 = l_Lean_Elab_Tactic_evalRepeat1_x27___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_evalRepeat1_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_evalRepeat1_x27___closed__2; +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; 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 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__7; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +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_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg(x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = l_Lean_Elab_Tactic_getGoals___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAtRaw), 11, 1); +lean_closure_set(x_22, 0, x_15); +x_23 = lean_unsigned_to_nat(100000u); +lean_inc(x_9); +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); +x_24 = l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1(x_22, x_20, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Elab_Tactic_setGoals(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +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); +return x_27; +} +else +{ +uint8_t x_28; +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_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) +{ +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalRepeat1'", 12); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___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_evalRepeat_x27___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1; +x_3 = l_Lean_Elab_Tactic_evalRepeat_x27___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___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_evalRepeat1_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRepeat1_x27), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27(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_evalRepeat_x27___closed__4; +x_3 = l_Lean_Elab_Tactic_evalRepeat1_x27___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___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_evalRepeat1_x27_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(19u); +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___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(23u); +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_evalRepeat1_x27_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_evalRepeat1_x27_declRange___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_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_evalRepeat1_x27_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(19u); +x_2 = lean_unsigned_to_nat(4u); +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_evalRepeat1_x27_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(19u); +x_2 = lean_unsigned_to_nat(16u); +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_evalRepeat1_x27_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_evalRepeat1_x27_declRange___closed__4; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__5; +x_4 = lean_unsigned_to_nat(16u); +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_evalRepeat1_x27_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_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_evalRepeat1_x27_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_evalRepeat1_x27___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_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_Meta_Tactic_Repeat(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Repeat(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_Meta_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_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalRepeat_x27___spec__1___rarg___closed__2); +l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1 = _init_l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1(); +lean_mark_persistent(l_Lean_observing_x3f___at_Lean_Elab_Tactic_evalRepeat_x27___spec__5___closed__1); +l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__1 = _init_l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__1); +l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2 = _init_l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_repeat_x27Core___at_Lean_Elab_Tactic_evalRepeat_x27___spec__3___closed__2); +l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1 = _init_l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat_x27___at_Lean_Elab_Tactic_evalRepeat_x27___spec__2___closed__1); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__1 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__1); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__2 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__2); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__3 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__3); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__4 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__4); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__5 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__5); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__6 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__6); +l_Lean_Elab_Tactic_evalRepeat_x27___closed__7 = _init_l_Lean_Elab_Tactic_evalRepeat_x27___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat_x27___closed__7); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27___closed__5); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRepeat_x27_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1 = _init_l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__1); +l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2 = _init_l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_repeat1_x27___at_Lean_Elab_Tactic_evalRepeat1_x27___spec__1___closed__2); +l_Lean_Elab_Tactic_evalRepeat1_x27___closed__1 = _init_l_Lean_Elab_Tactic_evalRepeat1_x27___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat1_x27___closed__1); +l_Lean_Elab_Tactic_evalRepeat1_x27___closed__2 = _init_l_Lean_Elab_Tactic_evalRepeat1_x27___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRepeat1_x27___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalRepeat1_x27_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/Meta/Tactic.c b/stage0/stdlib/Lean/Meta/Tactic.c index 8476bf080c..ea0479a355 100644 --- a/stage0/stdlib/Lean/Meta/Tactic.c +++ b/stage0/stdlib/Lean/Meta/Tactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Tactic -// Imports: Init Lean.Meta.Tactic.Intro Lean.Meta.Tactic.Assumption Lean.Meta.Tactic.Contradiction Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Revert Lean.Meta.Tactic.Clear Lean.Meta.Tactic.Assert Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Generalize Lean.Meta.Tactic.Replace Lean.Meta.Tactic.Induction Lean.Meta.Tactic.Cases Lean.Meta.Tactic.ElimInfo Lean.Meta.Tactic.Delta Lean.Meta.Tactic.Constructor Lean.Meta.Tactic.Simp Lean.Meta.Tactic.AuxLemma Lean.Meta.Tactic.SplitIf Lean.Meta.Tactic.Split Lean.Meta.Tactic.Cleanup Lean.Meta.Tactic.Unfold Lean.Meta.Tactic.Rename Lean.Meta.Tactic.LinearArith Lean.Meta.Tactic.AC Lean.Meta.Tactic.Refl Lean.Meta.Tactic.Congr +// Imports: Init Lean.Meta.Tactic.Intro Lean.Meta.Tactic.Assumption Lean.Meta.Tactic.Contradiction Lean.Meta.Tactic.Apply Lean.Meta.Tactic.Revert Lean.Meta.Tactic.Clear Lean.Meta.Tactic.Assert Lean.Meta.Tactic.Rewrite Lean.Meta.Tactic.Generalize Lean.Meta.Tactic.Replace Lean.Meta.Tactic.Induction Lean.Meta.Tactic.Cases Lean.Meta.Tactic.ElimInfo Lean.Meta.Tactic.Delta Lean.Meta.Tactic.Constructor Lean.Meta.Tactic.Simp Lean.Meta.Tactic.AuxLemma Lean.Meta.Tactic.SplitIf Lean.Meta.Tactic.Split Lean.Meta.Tactic.TryThis Lean.Meta.Tactic.Cleanup Lean.Meta.Tactic.Unfold Lean.Meta.Tactic.Rename Lean.Meta.Tactic.LinearArith Lean.Meta.Tactic.AC Lean.Meta.Tactic.Refl Lean.Meta.Tactic.Congr Lean.Meta.Tactic.Repeat #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -33,6 +33,7 @@ lean_object* initialize_Lean_Meta_Tactic_Simp(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_AuxLemma(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_SplitIf(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Split(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_TryThis(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Cleanup(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Unfold(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Rename(uint8_t builtin, lean_object*); @@ -40,6 +41,7 @@ lean_object* initialize_Lean_Meta_Tactic_LinearArith(uint8_t builtin, lean_objec lean_object* initialize_Lean_Meta_Tactic_AC(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Refl(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Congr(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_Repeat(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic(uint8_t builtin, lean_object* w) { lean_object * res; @@ -105,6 +107,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Split(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_TryThis(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Cleanup(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -126,6 +131,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Congr(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_Repeat(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/Lean/Meta/Tactic/Repeat.c b/stage0/stdlib/Lean/Meta/Tactic/Repeat.c new file mode 100644 index 0000000000..cd48a4cc21 --- /dev/null +++ b/stage0/stdlib/Lean/Meta/Tactic/Repeat.c @@ -0,0 +1,751 @@ +// Lean compiler output +// Module: Lean.Meta.Tactic.Repeat +// Imports: Init Lean.Meta.Basic +#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_Meta_repeat1_x27___rarg___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Meta_repeat_x27___spec__1(lean_object*); +lean_object* l_not___boxed(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_observing_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1(lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___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_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___rarg___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___lambda__1(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Meta_repeat_x27___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_repeat_x27___rarg___closed__1; +lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_isAssigned___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_repeat_x27Core___rarg___closed__1; +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_1, x_3); +x_1 = x_5; +x_2 = x_4; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_push(x_1, x_2); +x_14 = l_Lean_Meta_repeat_x27Core_go___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +lean_dec(x_2); +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_11); +x_17 = 1; +x_18 = l_Lean_Meta_repeat_x27Core_go___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_15, x_16, x_1); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13) { +_start: +{ +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_1, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_1, x_16); +lean_dec(x_1); +lean_inc(x_2); +lean_inc(x_3); +x_18 = lean_apply_1(x_2, x_3); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = l_Lean_observing_x3f___rarg(x_4, x_5, x_6, x_18); +x_20 = lean_box(x_9); +x_21 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core_go___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_21, 0, x_7); +lean_closure_set(x_21, 1, x_3); +lean_closure_set(x_21, 2, x_4); +lean_closure_set(x_21, 3, x_6); +lean_closure_set(x_21, 4, x_5); +lean_closure_set(x_21, 5, x_8); +lean_closure_set(x_21, 6, x_2); +lean_closure_set(x_21, 7, x_17); +lean_closure_set(x_21, 8, x_20); +lean_closure_set(x_21, 9, x_10); +lean_closure_set(x_21, 10, x_11); +x_22 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_19, x_21); +return x_22; +} +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; lean_object* x_30; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_23 = lean_ctor_get(x_4, 0); +lean_inc(x_23); +lean_dec(x_4); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_array_push(x_7, x_3); +x_26 = l_List_foldl___at_Array_appendList___spec__1___rarg(x_25, x_10); +x_27 = l_List_foldl___at_Lean_Meta_repeat_x27Core_go___spec__1(x_26, x_11); +x_28 = lean_box(x_9); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_apply_2(x_24, lean_box(0), x_29); +return x_30; +} +} +else +{ +lean_object* x_31; +lean_dec(x_12); +lean_dec(x_3); +x_31 = l_Lean_Meta_repeat_x27Core_go___rarg(x_4, x_6, x_5, x_8, x_2, x_1, x_9, x_10, x_11, x_7); +return x_31; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_8) == 0) +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_box(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +x_15 = lean_apply_2(x_12, lean_box(0), x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_dec(x_9); +x_8 = x_16; +x_9 = x_17; +goto _start; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_8, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_8, 1); +lean_inc(x_20); +lean_dec(x_8); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_4); +lean_inc(x_1); +x_22 = l_Lean_MVarId_isAssigned___rarg(x_1, x_4, x_19); +x_23 = lean_box(x_7); +lean_inc(x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2___boxed), 13, 12); +lean_closure_set(x_24, 0, x_6); +lean_closure_set(x_24, 1, x_5); +lean_closure_set(x_24, 2, x_19); +lean_closure_set(x_24, 3, x_1); +lean_closure_set(x_24, 4, x_3); +lean_closure_set(x_24, 5, x_2); +lean_closure_set(x_24, 6, x_10); +lean_closure_set(x_24, 7, x_4); +lean_closure_set(x_24, 8, x_23); +lean_closure_set(x_24, 9, x_20); +lean_closure_set(x_24, 10, x_9); +lean_closure_set(x_24, 11, x_21); +x_25 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_22, x_24); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core_go___rarg___boxed), 10, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___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; lean_object* x_14; +x_13 = lean_unbox(x_9); +lean_dec(x_9); +x_14 = l_Lean_Meta_repeat_x27Core_go___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_9); +lean_dec(x_9); +x_15 = lean_unbox(x_13); +lean_dec(x_13); +x_16 = l_Lean_Meta_repeat_x27Core_go___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core_go___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, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_7); +lean_dec(x_7); +x_12 = l_Lean_Meta_repeat_x27Core_go___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { +_start: +{ +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_5, lean_box(0), x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_array_push(x_2, x_3); +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__2(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = 1; +x_9 = lean_usize_add(x_1, x_8); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg(x_2, x_3, x_4, x_5, x_9, x_6, x_7); +return x_10; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_not___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_eq(x_5, x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_array_uget(x_4, x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +lean_inc(x_10); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_MVarId_isAssigned___rarg(x_1, x_2, x_10); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1; +x_16 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_15, x_14); +x_17 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_17, 0, x_11); +lean_closure_set(x_17, 1, x_7); +lean_closure_set(x_17, 2, x_10); +lean_inc(x_3); +x_18 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_16, x_17); +x_19 = lean_box_usize(x_5); +x_20 = lean_box_usize(x_6); +x_21 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__2___boxed), 7, 6); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_1); +lean_closure_set(x_21, 2, x_2); +lean_closure_set(x_21, 3, x_3); +lean_closure_set(x_21, 4, x_4); +lean_closure_set(x_21, 5, x_20); +x_22 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_18, x_21); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +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_apply_2(x_24, lean_box(0), x_7); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___boxed), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___lambda__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; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_array_to_list(lean_box(0), x_3); +x_7 = lean_box(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); +x_9 = lean_apply_2(x_5, lean_box(0), x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___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; lean_object* x_9; uint8_t x_10; lean_object* x_11; +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_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_lt(x_9, x_8); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core___rarg___lambda__1___boxed), 3, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_6); +if (x_10 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_apply_2(x_13, lean_box(0), x_2); +x_15 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_14, x_11); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = lean_nat_dec_le(x_8, x_8); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_apply_2(x_18, lean_box(0), x_2); +x_20 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_19, x_11); +return x_20; +} +else +{ +size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; +x_21 = 0; +x_22 = lean_usize_of_nat(x_8); +lean_dec(x_8); +lean_inc(x_3); +x_23 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg(x_1, x_4, x_3, x_7, x_21, x_22, x_2); +x_24 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_23, x_11); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_Meta_repeat_x27Core___rarg___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___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; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = 0; +x_11 = l_Lean_Meta_repeat_x27Core___rarg___closed__1; +lean_inc(x_4); +lean_inc(x_1); +x_12 = l_Lean_Meta_repeat_x27Core_go___rarg(x_1, x_2, x_3, x_4, x_5, x_7, x_10, x_6, x_9, x_11); +lean_inc(x_8); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core___rarg___lambda__2), 5, 4); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_8); +lean_closure_set(x_13, 3, x_4); +x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27Core___rarg), 7, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_4); +lean_dec(x_4); +x_6 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___lambda__2(x_8, x_2, x_3, x_4, x_5, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27Core___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Meta_repeat_x27Core___rarg___lambda__1(x_1, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Meta_repeat_x27___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; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_5, x_4); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at_Lean_Meta_repeat_x27___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Functor_mapRev___at_Lean_Meta_repeat_x27___spec__1___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_repeat_x27___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___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_inc(x_1); +x_8 = l_Lean_Meta_repeat_x27Core___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Meta_repeat_x27___rarg___closed__1; +x_10 = l_Functor_mapRev___at_Lean_Meta_repeat_x27___spec__1___rarg(x_1, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_repeat_x27___rarg), 7, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat_x27___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_repeat_x27___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("repeat1' made no progress", 25); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___rarg___lambda__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_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__2; +x_7 = l_Lean_throwError___rarg(x_1, x_2, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_dec(x_3); +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; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_1); +x_10 = l_Lean_Meta_repeat_x27Core___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_repeat1_x27___rarg___lambda__1), 3, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_repeat1_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_repeat1_x27___rarg), 8, 0); +return x_4; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Basic(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Repeat(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_Meta_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Meta_repeat_x27Core___spec__1___rarg___closed__1); +l_Lean_Meta_repeat_x27Core___rarg___closed__1 = _init_l_Lean_Meta_repeat_x27Core___rarg___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat_x27Core___rarg___closed__1); +l_Lean_Meta_repeat_x27___rarg___closed__1 = _init_l_Lean_Meta_repeat_x27___rarg___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat_x27___rarg___closed__1); +l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1 = _init_l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__1); +l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__2 = _init_l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_repeat1_x27___rarg___lambda__1___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c index ebf786aa95..f0187b1688 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c @@ -10079,7 +10079,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(410u); +x_3 = lean_unsigned_to_nat(414u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14204,7 +14204,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(469u); +x_3 = lean_unsigned_to_nat(473u); x_4 = lean_unsigned_to_nat(11u); x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -18938,7 +18938,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(470u); +x_3 = lean_unsigned_to_nat(474u); x_4 = lean_unsigned_to_nat(61u); x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/TryThis.c b/stage0/stdlib/Lean/Meta/Tactic/TryThis.c new file mode 100644 index 0000000000..7f74154534 --- /dev/null +++ b/stage0/stdlib/Lean/Meta/Tactic/TryThis.c @@ -0,0 +1,10272 @@ +// Lean compiler output +// Module: Lean.Meta.Tactic.TryThis +// Imports: Init Lean.Server.CodeActions Lean.Widget.UserWidget Lean.Data.Json.Elab +#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_Meta_Tactic_TryThis_SuggestionStyle_success___closed__3; +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__1; +static uint8_t l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_FileMap_utf8RangeToLspRange(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +static lean_object* l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1; +double lean_float_mul(double, double); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22; +lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751_(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19; +static uint64_t l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_; +lean_object* l_Lean_Json_mkObj(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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_Meta_Tactic_TryThis_addHaveSuggestion___closed__14; +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__23; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisWidget; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3; +lean_object* l_Lean_RBNode_find___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_215____spec__1(lean_object*, uint64_t); +lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addTermSuggestion(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_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error(uint8_t); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57; +lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4; +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success; +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__4; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__61; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Lsp_WorkspaceEdit_ofTextEdit(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3; +lean_object* l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__46; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion(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_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_instSuggestionStyleInhabited; +uint64_t lean_string_hash(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__55; +lean_object* l_Lean_Elab_InfoTree_foldInfo___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__65; +lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_ofRange(lean_object*, uint8_t); +extern lean_object* l_Lean_instInhabitedJson; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_format_inputWidth; +lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1; +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__7; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__59; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn(lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___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*); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1545____spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___spec__1(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_style_x3f___default; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1; +lean_object* l_Lean_PrettyPrinter_ppUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getInputWidth(lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +static lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__16; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__6; +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5; +static lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20; +uint8_t l_instDecidableNot___rarg(uint8_t); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1___boxed(lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_String_findLineStart(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__58; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4; +LEAN_EXPORT lean_object* l_Lean_FileMap_utf8RangeToLspRange___boxed(lean_object*, lean_object*); +double lean_float_add(double, double); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__68; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28; +lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__51; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_uint64_to_nat(uint64_t); +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54; +extern lean_object* l_Lean_instToJsonJson; +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestionText(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9; +lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__60; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeStringSuggestionText(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_MessageData_nil; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestion(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeSuggestionTextSuggestion(lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1; +lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16; +double pow(double, double); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1; +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__4; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36; +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestion___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_Meta_Tactic_TryThis_Suggestion_toCodeActionTitle_x3f___default; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___boxed(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__44; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__48; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7; +lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__24; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Format_defWidth; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_preInfo_x3f___default; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4; +lean_object* l_Lean_PrettyPrinter_ppExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofExpr(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__64; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7; +static lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__25; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3; +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5; +lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning(uint8_t); +lean_object* l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__49; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +static lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__5; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4; +static lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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* l_Lean_throwError___at_Lean_declareBuiltin___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion(lean_object*, 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_String_findAux(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1; +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__52; +static lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestion(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25; +static lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l_Lean_Name_hasNum(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__66; +lean_object* lean_environment_main_module(lean_object*); +lean_object* lean_float_to_string(double); +lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addTermSuggestions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__1; +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16; +LEAN_EXPORT uint8_t l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1(uint32_t); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__63; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value(double, uint8_t); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__62; +lean_object* l_Lean_PrettyPrinter_ppCategory(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_messageData_x3f___default; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15; +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion(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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instSuggestionStyleToJson; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6; +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__50; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__1; +lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__41; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5; +uint8_t lean_float_decLe(double, double); +lean_object* l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(lean_object*); +lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___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_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1; +lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__35; +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8; +LEAN_EXPORT lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getInputWidth___boxed(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__33; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14; +size_t lean_usize_add(size_t, size_t); +lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeHeadTSyntaxConsSyntaxNodeKindNilSuggestionText(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_postInfo_x3f___default; +double round(double); +extern lean_object* l_Lean_Widget_moduleRegistry; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17; +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_redLength___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion___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_Meta_Tactic_TryThis_replaceMVarsByUnderscores___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__5; +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__7; +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___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*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__27; +lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14; +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__12; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_bracket(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions___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_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3; +static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2; +LEAN_EXPORT lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__47; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8; +lean_object* l_String_toSubstring_x27(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isInternal(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4; +static lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1; +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__6; +lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15; +static lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12; +lean_object* l_StateT_pure___at_Lean_Server_instRpcEncodableStateMRpcObjectStore___spec__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38; +double lean_float_sub(double, double); +lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13; +lean_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69; +LEAN_EXPORT lean_object* l_Lean_FileMap_utf8RangeToLspRange(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_2, 0); +x_4 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_3); +x_5 = lean_ctor_get(x_2, 1); +x_6 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_FileMap_utf8RangeToLspRange___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_FileMap_utf8RangeToLspRange(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\nimport * as React from 'react';\nimport { EditorContext } from '@leanprover/infoview';\nconst e = React.createElement;\nexport default function ({ pos, suggestions, range, header, isInline, style }) {\n const editorConnection = React.useContext(EditorContext)\n const defStyle = style || {\n className: 'link pointer dim',\n style: { color: 'var(--vscode-textLink-foreground)' }\n }\n\n // Construct the children of the HTML element for a given suggestion.\n function makeSuggestion({ suggestion, preInfo, postInfo, style }) {\n function onClick() {\n editorConnection.api.applyEdit({\n changes: { [pos.uri]: [{ range, newText: suggestion }] }\n })\n }\n return [\n preInfo,\n e('span', { onClick, title: 'Apply suggestion', ...style || defStyle }, suggestion),\n postInfo\n ]\n }\n\n // Choose between an inline 'Try this'-like display and a list-based 'Try these'-like display.\n let inner = null\n if (isInline) {\n inner = e('div', { className: 'ml1' },\n e('pre', { className: 'font-code pre-wrap' }, header, makeSuggestion(suggestions[0])))\n } else {\n inner = e('div', { className: 'ml1' },\n e('pre', { className: 'font-code pre-wrap' }, header),\n e('ul', { style: { paddingInlineStart: '20px' } }, suggestions.map(s =>\n e('li', { className: 'font-code pre-wrap' }, makeSuggestion(s)))))\n }\n return e('details', { open: true },\n e('summary', { className: 'mv2 pointer' }, 'Suggestions'),\n inner)\n}", 1472); +return x_1; +} +} +static uint64_t _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2() { +_start: +{ +lean_object* x_1; uint64_t x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1; +x_2 = lean_string_hash(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__1() { +_start: +{ +uint64_t x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +x_2 = lean_box_uint64(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__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_Meta_Tactic_TryThis_tryThisWidget() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Meta", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("TryThis", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("TryThisInfo", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4; +x_5 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_; +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("quickfix", 8); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Try this: ", 10); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_nat_dec_lt(x_11, x_8); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_2); +return x_13; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_10, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_10, x_17); +lean_dec(x_10); +x_19 = lean_array_fget(x_3, x_11); +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 = lean_nat_dec_eq(x_11, x_15); +x_24 = l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(x_1); +lean_inc(x_20); +lean_inc(x_2); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_2); +lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_22); +x_26 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_24, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +if (lean_obj_tag(x_21) == 0) +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3; +x_29 = lean_string_append(x_28, x_20); +lean_dec(x_20); +if (x_23 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_31 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set(x_31, 1, x_22); +lean_ctor_set(x_31, 2, x_29); +lean_ctor_set(x_31, 3, x_30); +lean_ctor_set(x_31, 4, x_22); +lean_ctor_set(x_31, 5, x_22); +lean_ctor_set(x_31, 6, x_22); +lean_ctor_set(x_31, 7, x_27); +lean_ctor_set(x_31, 8, x_22); +lean_ctor_set(x_31, 9, x_22); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_22); +x_33 = lean_array_push(x_13, x_32); +x_34 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_34; +x_12 = lean_box(0); +x_13 = x_33; +goto _start; +} +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 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_37 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4; +x_38 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_38, 0, x_22); +lean_ctor_set(x_38, 1, x_22); +lean_ctor_set(x_38, 2, x_29); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 4, x_22); +lean_ctor_set(x_38, 5, x_37); +lean_ctor_set(x_38, 6, x_22); +lean_ctor_set(x_38, 7, x_27); +lean_ctor_set(x_38, 8, x_22); +lean_ctor_set(x_38, 9, x_22); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_22); +x_40 = lean_array_push(x_13, x_39); +x_41 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_41; +x_12 = lean_box(0); +x_13 = x_40; +goto _start; +} +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_4, 0); +lean_inc(x_43); +x_44 = lean_string_append(x_43, x_20); +lean_dec(x_20); +if (x_23 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_46 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_46, 0, x_22); +lean_ctor_set(x_46, 1, x_22); +lean_ctor_set(x_46, 2, x_44); +lean_ctor_set(x_46, 3, x_45); +lean_ctor_set(x_46, 4, x_22); +lean_ctor_set(x_46, 5, x_22); +lean_ctor_set(x_46, 6, x_22); +lean_ctor_set(x_46, 7, x_27); +lean_ctor_set(x_46, 8, x_22); +lean_ctor_set(x_46, 9, x_22); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_22); +x_48 = lean_array_push(x_13, x_47); +x_49 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_49; +x_12 = lean_box(0); +x_13 = x_48; +goto _start; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_52 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4; +x_53 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_53, 0, x_22); +lean_ctor_set(x_53, 1, x_22); +lean_ctor_set(x_53, 2, x_44); +lean_ctor_set(x_53, 3, x_51); +lean_ctor_set(x_53, 4, x_22); +lean_ctor_set(x_53, 5, x_52); +lean_ctor_set(x_53, 6, x_22); +lean_ctor_set(x_53, 7, x_27); +lean_ctor_set(x_53, 8, x_22); +lean_ctor_set(x_53, 9, x_22); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_22); +x_55 = lean_array_push(x_13, x_54); +x_56 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_56; +x_12 = lean_box(0); +x_13 = x_55; +goto _start; +} +} +} +else +{ +lean_dec(x_20); +if (x_23 == 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; +x_58 = lean_ctor_get(x_21, 0); +lean_inc(x_58); +lean_dec(x_21); +x_59 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_60 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_60, 0, x_22); +lean_ctor_set(x_60, 1, x_22); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_22); +lean_ctor_set(x_60, 5, x_22); +lean_ctor_set(x_60, 6, x_22); +lean_ctor_set(x_60, 7, x_27); +lean_ctor_set(x_60, 8, x_22); +lean_ctor_set(x_60, 9, x_22); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_22); +x_62 = lean_array_push(x_13, x_61); +x_63 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_63; +x_12 = lean_box(0); +x_13 = x_62; +goto _start; +} +else +{ +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_65 = lean_ctor_get(x_21, 0); +lean_inc(x_65); +lean_dec(x_21); +x_66 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2; +x_67 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4; +x_68 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_68, 0, x_22); +lean_ctor_set(x_68, 1, x_22); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_66); +lean_ctor_set(x_68, 4, x_22); +lean_ctor_set(x_68, 5, x_67); +lean_ctor_set(x_68, 6, x_22); +lean_ctor_set(x_68, 7, x_27); +lean_ctor_set(x_68, 8, x_22); +lean_ctor_set(x_68, 9, x_22); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_22); +x_70 = lean_array_push(x_13, x_69); +x_71 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_18; +x_11 = x_71; +x_12 = lean_box(0); +x_13 = x_70; +goto _start; +} +} +} +else +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_2); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___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; lean_object* x_11; +lean_dec(x_6); +x_7 = lean_array_get_size(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_unsigned_to_nat(1u); +lean_inc(x_7); +x_10 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_9); +lean_inc(x_7); +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1(x_2, x_3, x_1, x_4, x_7, x_10, x_8, x_7, x_9, x_7, x_8, lean_box(0), x_5); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_1); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_ctor_get(x_6, 3); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_7, 1); +x_13 = lean_ctor_get(x_12, 0); +x_14 = lean_nat_dec_le(x_11, x_13); +lean_dec(x_11); +if (x_14 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_dec(x_3); +if (lean_obj_tag(x_4) == 8) +{ +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_4, 0); +lean_inc(x_6); +lean_dec(x_4); +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_Meta_Tactic_TryThis_instTypeNameTryThisInfo; +x_10 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_8, x_9); +lean_dec(x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 2); +lean_inc(x_14); +lean_dec(x_11); +x_15 = 0; +x_16 = l_Lean_Syntax_getRange_x3f(x_7, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 2); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_FileMap_utf8RangeToLspRange(x_19, x_17); +lean_dec(x_17); +lean_dec(x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_2, 3); +lean_inc(x_23); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_nat_dec_le(x_22, x_25); +lean_dec(x_25); +lean_dec(x_22); +if (x_26 == 0) +{ +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +x_28 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2(x_13, x_1, x_12, x_14, x_5, x_2, x_20, x_27); +lean_dec(x_20); +return x_28; +} +} +} +} +else +{ +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_tryThisProvider___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3), 5, 2); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_1); +x_9 = l_Lean_Server_Snapshots_Snapshot_infoTree(x_2); +x_10 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +x_11 = l_Lean_Elab_InfoTree_foldInfo___rarg(x_8, x_10, x_9); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +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; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_5); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3), 5, 2); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_1); +x_15 = l_Lean_Server_Snapshots_Snapshot_infoTree(x_2); +x_16 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +x_17 = l_Lean_Elab_InfoTree_foldInfo___rarg(x_14, x_16, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___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_Meta_Tactic_TryThis_tryThisProvider(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1(uint32_t x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; uint8_t x_4; +x_2 = 32; +x_3 = lean_uint32_dec_eq(x_1, x_2); +x_4 = l_instDecidableNot___rarg(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn(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; lean_object* x_9; lean_object* x_10; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +lean_inc(x_4); +x_5 = l_String_findLineStart(x_3, x_4); +x_6 = l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1; +lean_inc(x_5); +x_7 = l_String_findAux(x_3, x_6, x_4, x_5); +x_8 = lean_nat_sub(x_7, x_5); +lean_dec(x_7); +x_9 = lean_nat_sub(x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_3 = l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Tactic_TryThis_getIndentAndColumn(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = 1; +x_8 = lean_usize_add(x_1, x_7); +x_9 = lean_array_uset(x_2, x_1, x_6); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg(x_3, x_4, x_5, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg(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_lt(x_4, x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_array_uget(x_5, x_4); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_5, x_4, x_11); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg(x_1, x_2, x_10); +x_15 = lean_box_usize(x_4); +x_16 = lean_box_usize(x_3); +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_17, 0, x_15); +lean_closure_set(x_17, 1, x_12); +lean_closure_set(x_17, 2, x_1); +lean_closure_set(x_17, 3, x_2); +lean_closure_set(x_17, 4, x_16); +x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_14, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +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_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_apply_2(x_5, lean_box(0), x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_apply_2(x_8, lean_box(0), x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_2, x_5); +x_7 = lean_apply_2(x_4, lean_box(0), x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\?", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hole", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__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; lean_object* x_14; lean_object* x_15; +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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_2); +x_8 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +x_9 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_2); +x_10 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_2); +x_12 = l_Lean_Syntax_node1(x_2, x_11, x_10); +x_13 = l_Lean_Syntax_node2(x_2, x_3, x_8, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_apply_2(x_6, lean_box(0), x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___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; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 2); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___boxed), 4, 3); +lean_closure_set(x_8, 0, x_2); +lean_closure_set(x_8, 1, x_3); +lean_closure_set(x_8, 2, x_4); +x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_inc(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__4___boxed), 6, 5); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_3); +lean_closure_set(x_7, 4, x_4); +x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__6(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 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_3); +lean_ctor_set(x_7, 2, x_4); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__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: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_array_get_size(x_1); +x_9 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_10 = 0; +lean_inc(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg(x_2, x_3, x_9, x_10, x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__6), 4, 3); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_4); +lean_closure_set(x_12, 2, x_5); +x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_14 = lean_ctor_get(x_7, 0); +lean_inc(x_14); +lean_dec(x_7); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_2(x_16, lean_box(0), x_14); +return x_17; +} +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("syntheticHole", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_6 = l_Lean_Syntax_isOfKind(x_3, x_5); +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__1), 3, 2); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_3); +if (x_6 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_2); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_box(0); +x_20 = lean_apply_2(x_18, lean_box(0), x_19); +x_21 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_20, x_7); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_getArg(x_3, x_22); +x_24 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_23); +x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_23); +lean_dec(x_2); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +lean_dec(x_1); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_box(0); +x_29 = lean_apply_2(x_27, lean_box(0), x_28); +x_30 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_29, x_7); +return x_30; +} +else +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Syntax_getId(x_23); +lean_dec(x_23); +x_32 = l_Lean_Name_hasNum(x_31); +if (x_32 == 0) +{ +uint8_t x_33; +x_33 = l_Lean_Name_isInternal(x_31); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_2); +x_34 = lean_ctor_get(x_1, 0); +lean_inc(x_34); +lean_dec(x_1); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_box(0); +x_37 = lean_apply_2(x_35, lean_box(0), x_36); +x_38 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_37, x_7); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = lean_box(0); +x_8 = x_39; +goto block_16; +} +} +else +{ +lean_object* x_40; +lean_dec(x_31); +x_40 = lean_box(0); +x_8 = x_40; +goto block_16; +} +} +} +block_16: +{ +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_dec(x_8); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2), 2, 1); +lean_closure_set(x_11, 0, x_1); +lean_inc(x_4); +x_12 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_10, x_11); +lean_inc(x_4); +x_13 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5), 5, 4); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_5); +lean_closure_set(x_13, 3, x_4); +lean_inc(x_4); +x_14 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_13); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_7); +return x_15; +} +} +case 1: +{ +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_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_3, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_3, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_3, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_1, 1); +lean_inc(x_44); +x_45 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_3); +x_46 = l_Lean_Syntax_isOfKind(x_3, x_45); +lean_inc(x_44); +lean_inc(x_2); +lean_inc(x_1); +x_47 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__7), 7, 6); +lean_closure_set(x_47, 0, x_43); +lean_closure_set(x_47, 1, x_1); +lean_closure_set(x_47, 2, x_2); +lean_closure_set(x_47, 3, x_41); +lean_closure_set(x_47, 4, x_42); +lean_closure_set(x_47, 5, x_44); +if (x_46 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_3); +lean_dec(x_2); +x_57 = lean_ctor_get(x_1, 0); +lean_inc(x_57); +lean_dec(x_1); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = lean_box(0); +x_60 = lean_apply_2(x_58, lean_box(0), x_59); +x_61 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_60, x_47); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_unsigned_to_nat(1u); +x_63 = l_Lean_Syntax_getArg(x_3, x_62); +lean_dec(x_3); +x_64 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_63); +x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_63); +lean_dec(x_2); +x_66 = lean_ctor_get(x_1, 0); +lean_inc(x_66); +lean_dec(x_1); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = lean_box(0); +x_69 = lean_apply_2(x_67, lean_box(0), x_68); +x_70 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_69, x_47); +return x_70; +} +else +{ +lean_object* x_71; uint8_t x_72; +x_71 = l_Lean_Syntax_getId(x_63); +lean_dec(x_63); +x_72 = l_Lean_Name_hasNum(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +x_73 = l_Lean_Name_isInternal(x_71); +lean_dec(x_71); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_2); +x_74 = lean_ctor_get(x_1, 0); +lean_inc(x_74); +lean_dec(x_1); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_box(0); +x_77 = lean_apply_2(x_75, lean_box(0), x_76); +x_78 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_77, x_47); +return x_78; +} +else +{ +lean_object* x_79; +x_79 = lean_box(0); +x_48 = x_79; +goto block_56; +} +} +else +{ +lean_object* x_80; +lean_dec(x_71); +x_80 = lean_box(0); +x_48 = x_80; +goto block_56; +} +} +} +block_56: +{ +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_dec(x_48); +x_49 = lean_ctor_get(x_2, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec(x_49); +lean_inc(x_1); +x_51 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2), 2, 1); +lean_closure_set(x_51, 0, x_1); +lean_inc(x_44); +x_52 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_50, x_51); +lean_inc(x_44); +x_53 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5), 5, 4); +lean_closure_set(x_53, 0, x_2); +lean_closure_set(x_53, 1, x_1); +lean_closure_set(x_53, 2, x_45); +lean_closure_set(x_53, 3, x_44); +lean_inc(x_44); +x_54 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_52, x_53); +x_55 = lean_apply_4(x_44, lean_box(0), lean_box(0), x_54, x_47); +return x_55; +} +} +case 2: +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; +x_81 = lean_ctor_get(x_1, 1); +lean_inc(x_81); +x_82 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_3); +x_83 = l_Lean_Syntax_isOfKind(x_3, x_82); +lean_inc(x_3); +lean_inc(x_1); +x_84 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__1), 3, 2); +lean_closure_set(x_84, 0, x_1); +lean_closure_set(x_84, 1, x_3); +if (x_83 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_3); +lean_dec(x_2); +x_94 = lean_ctor_get(x_1, 0); +lean_inc(x_94); +lean_dec(x_1); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +x_96 = lean_box(0); +x_97 = lean_apply_2(x_95, lean_box(0), x_96); +x_98 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_97, x_84); +return x_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_99 = lean_unsigned_to_nat(1u); +x_100 = l_Lean_Syntax_getArg(x_3, x_99); +lean_dec(x_3); +x_101 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_100); +x_102 = l_Lean_Syntax_isOfKind(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_100); +lean_dec(x_2); +x_103 = lean_ctor_get(x_1, 0); +lean_inc(x_103); +lean_dec(x_1); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_box(0); +x_106 = lean_apply_2(x_104, lean_box(0), x_105); +x_107 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_106, x_84); +return x_107; +} +else +{ +lean_object* x_108; uint8_t x_109; +x_108 = l_Lean_Syntax_getId(x_100); +lean_dec(x_100); +x_109 = l_Lean_Name_hasNum(x_108); +if (x_109 == 0) +{ +uint8_t x_110; +x_110 = l_Lean_Name_isInternal(x_108); +lean_dec(x_108); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_2); +x_111 = lean_ctor_get(x_1, 0); +lean_inc(x_111); +lean_dec(x_1); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +lean_dec(x_111); +x_113 = lean_box(0); +x_114 = lean_apply_2(x_112, lean_box(0), x_113); +x_115 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_114, x_84); +return x_115; +} +else +{ +lean_object* x_116; +x_116 = lean_box(0); +x_85 = x_116; +goto block_93; +} +} +else +{ +lean_object* x_117; +lean_dec(x_108); +x_117 = lean_box(0); +x_85 = x_117; +goto block_93; +} +} +} +block_93: +{ +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_dec(x_85); +x_86 = lean_ctor_get(x_2, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +lean_dec(x_86); +lean_inc(x_1); +x_88 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2), 2, 1); +lean_closure_set(x_88, 0, x_1); +lean_inc(x_81); +x_89 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_87, x_88); +lean_inc(x_81); +x_90 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5), 5, 4); +lean_closure_set(x_90, 0, x_2); +lean_closure_set(x_90, 1, x_1); +lean_closure_set(x_90, 2, x_82); +lean_closure_set(x_90, 3, x_81); +lean_inc(x_81); +x_91 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_89, x_90); +x_92 = lean_apply_4(x_81, lean_box(0), lean_box(0), x_91, x_84); +return x_92; +} +} +default: +{ +lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; +x_118 = lean_ctor_get(x_1, 1); +lean_inc(x_118); +x_119 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_3); +x_120 = l_Lean_Syntax_isOfKind(x_3, x_119); +lean_inc(x_3); +lean_inc(x_1); +x_121 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__1), 3, 2); +lean_closure_set(x_121, 0, x_1); +lean_closure_set(x_121, 1, x_3); +if (x_120 == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_3); +lean_dec(x_2); +x_131 = lean_ctor_get(x_1, 0); +lean_inc(x_131); +lean_dec(x_1); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_133 = lean_box(0); +x_134 = lean_apply_2(x_132, lean_box(0), x_133); +x_135 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_134, x_121); +return x_135; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_136 = lean_unsigned_to_nat(1u); +x_137 = l_Lean_Syntax_getArg(x_3, x_136); +lean_dec(x_3); +x_138 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_137); +x_139 = l_Lean_Syntax_isOfKind(x_137, x_138); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_137); +lean_dec(x_2); +x_140 = lean_ctor_get(x_1, 0); +lean_inc(x_140); +lean_dec(x_1); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_box(0); +x_143 = lean_apply_2(x_141, lean_box(0), x_142); +x_144 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_143, x_121); +return x_144; +} +else +{ +lean_object* x_145; uint8_t x_146; +x_145 = l_Lean_Syntax_getId(x_137); +lean_dec(x_137); +x_146 = l_Lean_Name_hasNum(x_145); +if (x_146 == 0) +{ +uint8_t x_147; +x_147 = l_Lean_Name_isInternal(x_145); +lean_dec(x_145); +if (x_147 == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_2); +x_148 = lean_ctor_get(x_1, 0); +lean_inc(x_148); +lean_dec(x_1); +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +lean_dec(x_148); +x_150 = lean_box(0); +x_151 = lean_apply_2(x_149, lean_box(0), x_150); +x_152 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_151, x_121); +return x_152; +} +else +{ +lean_object* x_153; +x_153 = lean_box(0); +x_122 = x_153; +goto block_130; +} +} +else +{ +lean_object* x_154; +lean_dec(x_145); +x_154 = lean_box(0); +x_122 = x_154; +goto block_130; +} +} +} +block_130: +{ +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_dec(x_122); +x_123 = lean_ctor_get(x_2, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +lean_dec(x_123); +lean_inc(x_1); +x_125 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__2), 2, 1); +lean_closure_set(x_125, 0, x_1); +lean_inc(x_118); +x_126 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_124, x_125); +lean_inc(x_118); +x_127 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__5), 5, 4); +lean_closure_set(x_127, 0, x_2); +lean_closure_set(x_127, 1, x_1); +lean_closure_set(x_127, 2, x_119); +lean_closure_set(x_127, 3, x_118); +lean_inc(x_118); +x_128 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_126, x_127); +x_129 = lean_apply_4(x_118, lean_box(0), lean_box(0), x_128, x_121); +return x_129; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg___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_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__2___rarg(x_1, x_2, x_6, x_7, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +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; size_t x_17; size_t x_18; lean_object* x_19; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +lean_inc(x_6); +x_14 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2(x_11, x_4, x_5, x_6, x_7, x_8); +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 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_19 = lean_array_uset(x_13, x_2, x_15); +x_2 = x_18; +x_3 = x_19; +x_8 = x_16; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___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: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_7; lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_34 = l_Lean_Syntax_isOfKind(x_1, x_33); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_4); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_6); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_unsigned_to_nat(1u); +x_37 = l_Lean_Syntax_getArg(x_1, x_36); +x_38 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_37); +x_39 = l_Lean_Syntax_isOfKind(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_37); +lean_dec(x_4); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_6); +return x_40; +} +else +{ +lean_object* x_41; uint8_t x_42; +x_41 = l_Lean_Syntax_getId(x_37); +lean_dec(x_37); +x_42 = l_Lean_Name_hasNum(x_41); +if (x_42 == 0) +{ +uint8_t x_43; +x_43 = l_Lean_Name_isInternal(x_41); +lean_dec(x_41); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_4); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_1); +lean_ctor_set(x_44, 1, x_6); +return x_44; +} +else +{ +lean_object* x_45; +x_45 = lean_box(0); +x_7 = x_45; +goto block_32; +} +} +else +{ +lean_object* x_46; +lean_dec(x_41); +x_46 = lean_box(0); +x_7 = x_46; +goto block_32; +} +} +} +block_32: +{ +lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_dec(x_7); +x_8 = lean_ctor_get(x_4, 5); +lean_inc(x_8); +lean_dec(x_4); +x_9 = 0; +x_10 = l_Lean_SourceInfo_fromRef(x_8, x_9); +x_11 = lean_st_ref_get(x_5, x_6); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +x_14 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_10); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_10); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_10); +x_19 = l_Lean_Syntax_node1(x_10, x_18, x_17); +x_20 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_21 = l_Lean_Syntax_node2(x_10, x_20, x_15, x_19); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +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 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_dec(x_11); +x_23 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_10); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_10); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_10); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_10); +x_28 = l_Lean_Syntax_node1(x_10, x_27, x_26); +x_29 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_30 = l_Lean_Syntax_node2(x_10, x_29, x_24, 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_22); +return x_31; +} +} +} +case 1: +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_66; lean_object* x_82; uint8_t x_83; +x_47 = lean_ctor_get(x_1, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_1, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_1, 2); +lean_inc(x_49); +x_82 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_1); +x_83 = l_Lean_Syntax_isOfKind(x_1, x_82); +if (x_83 == 0) +{ +lean_object* x_84; +lean_dec(x_1); +x_84 = lean_box(0); +x_50 = x_84; +x_51 = x_6; +goto block_65; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_85 = lean_unsigned_to_nat(1u); +x_86 = l_Lean_Syntax_getArg(x_1, x_85); +lean_dec(x_1); +x_87 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_86); +x_88 = l_Lean_Syntax_isOfKind(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_86); +x_89 = lean_box(0); +x_50 = x_89; +x_51 = x_6; +goto block_65; +} +else +{ +lean_object* x_90; uint8_t x_91; +x_90 = l_Lean_Syntax_getId(x_86); +lean_dec(x_86); +x_91 = l_Lean_Name_hasNum(x_90); +if (x_91 == 0) +{ +uint8_t x_92; +x_92 = l_Lean_Name_isInternal(x_90); +lean_dec(x_90); +if (x_92 == 0) +{ +lean_object* x_93; +x_93 = lean_box(0); +x_50 = x_93; +x_51 = x_6; +goto block_65; +} +else +{ +lean_object* x_94; +x_94 = lean_box(0); +x_66 = x_94; +goto block_81; +} +} +else +{ +lean_object* x_95; +lean_dec(x_90); +x_95 = lean_box(0); +x_66 = x_95; +goto block_81; +} +} +} +block_65: +{ +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_52; size_t x_53; size_t x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_array_get_size(x_49); +x_53 = lean_usize_of_nat(x_52); +lean_dec(x_52); +x_54 = 0; +x_55 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__3(x_53, x_54, x_49, x_2, x_3, x_4, x_5, x_51); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_58, 0, x_47); +lean_ctor_set(x_58, 1, x_48); +lean_ctor_set(x_58, 2, x_57); +lean_ctor_set(x_55, 0, x_58); +return x_55; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_47); +lean_ctor_set(x_61, 1, x_48); +lean_ctor_set(x_61, 2, x_59); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_4); +x_63 = lean_ctor_get(x_50, 0); +lean_inc(x_63); +lean_dec(x_50); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_51); +return x_64; +} +} +block_81: +{ +lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_66); +x_67 = lean_ctor_get(x_4, 5); +lean_inc(x_67); +x_68 = 0; +x_69 = l_Lean_SourceInfo_fromRef(x_67, x_68); +x_70 = lean_st_ref_get(x_5, x_6); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_69); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_69); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_69); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_69); +x_77 = l_Lean_Syntax_node1(x_69, x_76, x_75); +x_78 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_79 = l_Lean_Syntax_node2(x_69, x_78, x_73, x_77); +x_80 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_80, 0, x_79); +x_50 = x_80; +x_51 = x_71; +goto block_65; +} +} +case 2: +{ +lean_object* x_96; lean_object* x_122; uint8_t x_123; +x_122 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_1); +x_123 = l_Lean_Syntax_isOfKind(x_1, x_122); +if (x_123 == 0) +{ +lean_object* x_124; +lean_dec(x_4); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_1); +lean_ctor_set(x_124, 1, x_6); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_125 = lean_unsigned_to_nat(1u); +x_126 = l_Lean_Syntax_getArg(x_1, x_125); +x_127 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_126); +x_128 = l_Lean_Syntax_isOfKind(x_126, x_127); +if (x_128 == 0) +{ +lean_object* x_129; +lean_dec(x_126); +lean_dec(x_4); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_6); +return x_129; +} +else +{ +lean_object* x_130; uint8_t x_131; +x_130 = l_Lean_Syntax_getId(x_126); +lean_dec(x_126); +x_131 = l_Lean_Name_hasNum(x_130); +if (x_131 == 0) +{ +uint8_t x_132; +x_132 = l_Lean_Name_isInternal(x_130); +lean_dec(x_130); +if (x_132 == 0) +{ +lean_object* x_133; +lean_dec(x_4); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_1); +lean_ctor_set(x_133, 1, x_6); +return x_133; +} +else +{ +lean_object* x_134; +lean_dec(x_1); +x_134 = lean_box(0); +x_96 = x_134; +goto block_121; +} +} +else +{ +lean_object* x_135; +lean_dec(x_130); +lean_dec(x_1); +x_135 = lean_box(0); +x_96 = x_135; +goto block_121; +} +} +} +block_121: +{ +lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_dec(x_96); +x_97 = lean_ctor_get(x_4, 5); +lean_inc(x_97); +lean_dec(x_4); +x_98 = 0; +x_99 = l_Lean_SourceInfo_fromRef(x_97, x_98); +x_100 = lean_st_ref_get(x_5, x_6); +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +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_102 = lean_ctor_get(x_100, 0); +lean_dec(x_102); +x_103 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_99); +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_99); +lean_ctor_set(x_104, 1, x_103); +x_105 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_99); +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_99); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_99); +x_108 = l_Lean_Syntax_node1(x_99, x_107, x_106); +x_109 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_110 = l_Lean_Syntax_node2(x_99, x_109, x_104, x_108); +lean_ctor_set(x_100, 0, x_110); +return x_100; +} +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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_111 = lean_ctor_get(x_100, 1); +lean_inc(x_111); +lean_dec(x_100); +x_112 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_99); +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_99); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_99); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_99); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_99); +x_117 = l_Lean_Syntax_node1(x_99, x_116, x_115); +x_118 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_119 = l_Lean_Syntax_node2(x_99, x_118, x_113, x_117); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_111); +return x_120; +} +} +} +default: +{ +lean_object* x_136; lean_object* x_162; uint8_t x_163; +x_162 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +lean_inc(x_1); +x_163 = l_Lean_Syntax_isOfKind(x_1, x_162); +if (x_163 == 0) +{ +lean_object* x_164; +lean_dec(x_4); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_1); +lean_ctor_set(x_164, 1, x_6); +return x_164; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = lean_unsigned_to_nat(1u); +x_166 = l_Lean_Syntax_getArg(x_1, x_165); +x_167 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4; +lean_inc(x_166); +x_168 = l_Lean_Syntax_isOfKind(x_166, x_167); +if (x_168 == 0) +{ +lean_object* x_169; +lean_dec(x_166); +lean_dec(x_4); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_1); +lean_ctor_set(x_169, 1, x_6); +return x_169; +} +else +{ +lean_object* x_170; uint8_t x_171; +x_170 = l_Lean_Syntax_getId(x_166); +lean_dec(x_166); +x_171 = l_Lean_Name_hasNum(x_170); +if (x_171 == 0) +{ +uint8_t x_172; +x_172 = l_Lean_Name_isInternal(x_170); +lean_dec(x_170); +if (x_172 == 0) +{ +lean_object* x_173; +lean_dec(x_4); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_1); +lean_ctor_set(x_173, 1, x_6); +return x_173; +} +else +{ +lean_object* x_174; +lean_dec(x_1); +x_174 = lean_box(0); +x_136 = x_174; +goto block_161; +} +} +else +{ +lean_object* x_175; +lean_dec(x_170); +lean_dec(x_1); +x_175 = lean_box(0); +x_136 = x_175; +goto block_161; +} +} +} +block_161: +{ +lean_object* x_137; uint8_t x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_136); +x_137 = lean_ctor_get(x_4, 5); +lean_inc(x_137); +lean_dec(x_4); +x_138 = 0; +x_139 = l_Lean_SourceInfo_fromRef(x_137, x_138); +x_140 = lean_st_ref_get(x_5, x_6); +x_141 = !lean_is_exclusive(x_140); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_142 = lean_ctor_get(x_140, 0); +lean_dec(x_142); +x_143 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_139); +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_139); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_139); +x_146 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_146, 0, x_139); +lean_ctor_set(x_146, 1, x_145); +x_147 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_139); +x_148 = l_Lean_Syntax_node1(x_139, x_147, x_146); +x_149 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_150 = l_Lean_Syntax_node2(x_139, x_149, x_144, x_148); +lean_ctor_set(x_140, 0, x_150); +return x_140; +} +else +{ +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; +x_151 = lean_ctor_get(x_140, 1); +lean_inc(x_151); +lean_dec(x_140); +x_152 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1; +lean_inc(x_139); +x_153 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_153, 0, x_139); +lean_ctor_set(x_153, 1, x_152); +x_154 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +lean_inc(x_139); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_139); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5; +lean_inc(x_139); +x_157 = l_Lean_Syntax_node1(x_139, x_156, x_155); +x_158 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2; +x_159 = l_Lean_Syntax_node2(x_139, x_158, x_153, x_157); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_151); +return x_160; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___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 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(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 = lean_box(0); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_8 = l_Lean_PrettyPrinter_delab(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2(x_9, x_2, x_3, x_4, x_5, x_10); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__3(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___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_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___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_Meta_Tactic_TryThis_replaceMVarsByUnderscores___at_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("format", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inputWidth", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ideal input width", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(100u); +x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5; +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_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____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; lean_object* x_7; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4; +x_5 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1; +x_6 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2; +x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3; +x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6; +x_4 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__7; +x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_format_inputWidth; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getInputWidth(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1; +x_3 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getInputWidth___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Tactic_TryThis_getInputWidth(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___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_Meta_Tactic_TryThis_instInhabitedSuggestionText() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestionText(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l_Lean_MessageData_ofSyntax(x_2); +return x_3; +} +else +{ +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_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeHeadTSyntaxConsSyntaxNodeKindNilSuggestionText(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +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_Lean_Meta_Tactic_TryThis_instCoeStringSuggestionText(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_pretty(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = l_Lean_PrettyPrinter_ppCategory(x_5, x_6, x_2, x_3, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +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_alloc_ctor(3, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra___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_PrettyPrinter_ppCategory(x_1, x_2, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_format_pretty(x_11, x_5, x_3, x_4); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_15 = lean_format_pretty(x_13, x_5, x_3, x_4); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra(lean_object* x_1, 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_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 2); +lean_inc(x_10); +x_11 = l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1; +x_12 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_10, x_11); +lean_dec(x_10); +x_13 = l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra___lambda__1(x_8, x_9, x_3, x_4, x_12, x_5, x_6, x_7); +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_1, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra___lambda__1(x_14, x_15, x_3, x_4, x_16, x_5, x_6, x_7); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_7); +return x_19; +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instSuggestionStyleInhabited() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instInhabitedJson; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instSuggestionStyleToJson() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instToJsonJson; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("pointer dim", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("className", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("var(--vscode-errorForeground)", 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("color", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("style", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("underline wavy var(--vscode-editorError-foreground) 1pt", 55); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("textDecoration", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24; +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_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("gold pointer dim", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2; +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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("underline wavy var(--vscode-editorWarning-foreground) 1pt", 57); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6; +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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11; +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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___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_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("information pointer dim", 23); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___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_Meta_Tactic_TryThis_SuggestionStyle_success___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2; +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_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___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_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goal-hyp pointer dim", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___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_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2; +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_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___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_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goal-inaccessible pointer dim", 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___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_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2; +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_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___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_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4; +x_2 = l_Lean_Json_mkObj(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5; +return x_1; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(1u); +x_2 = 0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(120u); +x_2 = 0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(60u); +x_2 = 0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__5() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(5u); +x_2 = 1; +x_3 = lean_unsigned_to_nat(1u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(2u); +x_2 = 0; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static double _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__7() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; +x_1 = lean_unsigned_to_nat(75u); +x_2 = 1; +x_3 = lean_unsigned_to_nat(2u); +x_4 = l_Float_ofScientific(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hsl(", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" 95% ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("%)", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Apply suggestion", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11; +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_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("title", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12; +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_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14; +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_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Apply suggestion (", 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +static uint8_t _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18() { +_start: +{ +double x_1; double x_2; uint8_t x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2; +x_3 = lean_float_decLe(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value(double x_1, uint8_t x_2) { +_start: +{ +double x_3; uint8_t x_4; lean_object* x_5; double x_6; +x_3 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1; +x_4 = lean_float_decLe(x_1, x_3); +x_5 = lean_box(0); +if (x_4 == 0) +{ +double x_53; uint8_t x_54; +x_53 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2; +x_54 = lean_float_decLe(x_1, x_53); +if (x_54 == 0) +{ +x_6 = x_53; +goto block_52; +} +else +{ +x_6 = x_1; +goto block_52; +} +} +else +{ +uint8_t x_55; +x_55 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18; +if (x_55 == 0) +{ +double x_56; +x_56 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2; +x_6 = x_56; +goto block_52; +} +else +{ +x_6 = x_3; +goto block_52; +} +} +block_52: +{ +double x_7; double x_8; double x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; double x_15; double x_16; double x_17; double x_18; double x_19; double x_20; double x_21; double 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_7 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3; +x_8 = lean_float_mul(x_6, x_7); +x_9 = round(x_8); +x_10 = lean_float_to_string(x_9); +x_11 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__5; +x_16 = lean_float_sub(x_6, x_15); +x_17 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__6; +x_18 = pow(x_16, x_17); +x_19 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__7; +x_20 = lean_float_add(x_18, x_19); +x_21 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__4; +x_22 = lean_float_mul(x_21, x_20); +x_23 = lean_float_to_string(x_22); +x_24 = lean_string_append(x_14, x_23); +lean_dec(x_23); +x_25 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10; +x_26 = lean_string_append(x_24, x_25); +x_27 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_5); +x_31 = l_Lean_Json_mkObj(x_30); +x_32 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +if (x_2 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Json_mkObj(x_37); +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; lean_object* x_51; +x_39 = lean_float_to_string(x_6); +x_40 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16; +x_41 = lean_string_append(x_40, x_39); +lean_dec(x_39); +x_42 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17; +x_43 = lean_string_append(x_41, x_42); +x_44 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_5); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_33); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_Lean_Json_mkObj(x_50); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +double x_3; uint8_t x_4; lean_object* x_5; +x_3 = lean_unbox_float(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value(x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_preInfo_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_postInfo_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_style_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_messageData_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toCodeActionTitle_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1; +x_3 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_1); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_1); +lean_ctor_set(x_3, 5, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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; +x_8 = l_Lean_Json_mkObj(x_3); +x_9 = lean_ctor_get(x_1, 5); +lean_inc(x_9); +lean_dec(x_1); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +return x_13; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (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_9, 0); +lean_inc(x_2); +x_16 = lean_apply_1(x_15, x_2); +lean_ctor_set(x_9, 0, x_16); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_9); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_8); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_7); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_9, 0); +lean_inc(x_20); +lean_dec(x_9); +lean_inc(x_2); +x_21 = lean_apply_1(x_20, x_2); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_2); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_8); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_7); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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) { +_start: +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, 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; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_3); +x_15 = lean_box(0); +x_16 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__1(x_1, x_2, x_14, x_15, x_5, x_6, x_7); +return x_16; +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("postInfo", 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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_dec(x_4); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, 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; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1; +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(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__2(x_1, x_2, x_15, x_16, x_5, x_6, x_7); +return x_17; +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("suggestion", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("preInfo", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM(lean_object* x_1, 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; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_5); +x_9 = l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +lean_inc(x_10); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_10); +x_13 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1; +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_box(0); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3(x_1, x_10, x_16, x_18, x_5, x_6, x_11); +lean_dec(x_6); +lean_dec(x_5); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_16); +x_25 = lean_box(0); +x_26 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3(x_1, x_10, x_24, x_25, x_5, x_6, x_11); +lean_dec(x_6); +lean_dec(x_5); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_9); +if (x_27 == 0) +{ +return x_9; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_9, 0); +x_29 = lean_ctor_get(x_9, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_9); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 4); +lean_inc(x_2); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_MessageData_ofSyntax(x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeSuggestionTextSuggestion(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_2); +lean_ctor_set(x_3, 4, x_2); +lean_ctor_set(x_3, 5, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion(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_inc(x_1); +x_7 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(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_object* x_15; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_box(0); +x_13 = l_Lean_MessageData_ofExpr(x_1); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_12); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_12); +lean_ctor_set(x_15, 4, x_14); +lean_ctor_set(x_15, 5, x_12); +lean_ctor_set(x_7, 0, x_15); +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_box(0); +x_21 = l_Lean_MessageData_ofExpr(x_1); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_20); +lean_ctor_set(x_23, 2, x_20); +lean_ctor_set(x_23, 3, x_20); +lean_ctor_set(x_23, 4, x_22); +lean_ctor_set(x_23, 5, x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_17); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_7); +if (x_25 == 0) +{ +return x_7; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +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_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_4, x_3); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_array_uget(x_5, x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_5, x_4, x_12); +x_14 = lean_box(0); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_15 = l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM(x_11, x_14, x_1, x_2, x_6, x_7, x_8); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_20 = lean_array_uset(x_13, x_4, x_16); +x_4 = x_19; +x_5 = x_20; +x_8 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2(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_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3(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_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_6, 6); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*2); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_1); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_dec(x_10); +x_11 = lean_box(0); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_box(0); +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; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_st_ref_take(x_3, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 6); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 6); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +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_18, 1); +x_24 = l_Lean_PersistentArray_push___rarg(x_23, x_1); +lean_ctor_set(x_18, 1, x_24); +x_25 = lean_st_ref_set(x_3, x_17, x_19); +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 +{ +uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_32 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +x_33 = lean_ctor_get(x_18, 0); +x_34 = lean_ctor_get(x_18, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_18); +x_35 = l_Lean_PersistentArray_push___rarg(x_34, x_1); +x_36 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set_uint8(x_36, sizeof(void*)*2, x_32); +lean_ctor_set(x_17, 6, x_36); +x_37 = lean_st_ref_set(x_3, x_17, x_19); +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; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_42 = lean_ctor_get(x_17, 0); +x_43 = lean_ctor_get(x_17, 1); +x_44 = lean_ctor_get(x_17, 2); +x_45 = lean_ctor_get(x_17, 3); +x_46 = lean_ctor_get(x_17, 4); +x_47 = lean_ctor_get(x_17, 5); +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_17); +x_48 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +x_49 = lean_ctor_get(x_18, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_18, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_51 = x_18; +} else { + lean_dec_ref(x_18); + x_51 = lean_box(0); +} +x_52 = l_Lean_PersistentArray_push___rarg(x_50, x_1); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(0, 2, 1); +} else { + x_53 = x_51; +} +lean_ctor_set(x_53, 0, x_49); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_48); +x_54 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_54, 0, x_42); +lean_ctor_set(x_54, 1, x_43); +lean_ctor_set(x_54, 2, x_44); +lean_ctor_set(x_54, 3, x_45); +lean_ctor_set(x_54, 4, x_46); +lean_ctor_set(x_54, 5, x_47); +lean_ctor_set(x_54, 6, x_53); +x_55 = lean_st_ref_set(x_3, x_54, x_19); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; +} else { + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +x_58 = lean_box(0); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_57; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +} +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1() { +_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_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___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_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3() { +_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_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2; +x_3 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1; +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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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; uint8_t x_8; +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_6, 6); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*2); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_1); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_dec(x_10); +x_11 = lean_box(0); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_box(0); +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; lean_object* x_18; +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_dec(x_5); +x_16 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5(x_17, x_2, x_3, x_15); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_moduleRegistry; +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("No widget module with hash ", 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" registered", 11); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(uint64_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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_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 = lean_box(0); +x_12 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1; +x_13 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_11, x_12, x_10); +lean_dec(x_10); +x_14 = l_Lean_RBNode_find___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_215____spec__1(x_13, x_1); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_uint64_to_nat(x_1); +x_16 = l_Nat_repr(x_15); +x_17 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3; +x_20 = lean_string_append(x_18, x_19); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = l_Lean_throwError___at_Lean_declareBuiltin___spec__1(x_22, x_4, x_5, x_9); +lean_dec(x_4); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +lean_dec(x_14); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_alloc_ctor(0, 2, 8); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_2); +lean_ctor_set_uint64(x_26, sizeof(void*)*2, x_1); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_3); +x_28 = lean_alloc_ctor(7, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4(x_28, x_4, x_5, x_9); +lean_dec(x_4); +return x_29; +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("suggestions", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("range", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("header", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("isInline", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +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___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(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; +if (lean_obj_tag(x_5) == 0) +{ +lean_inc(x_1); +x_11 = x_1; +goto block_153; +} +else +{ +lean_object* x_154; +x_154 = lean_ctor_get(x_5, 0); +lean_inc(x_154); +lean_dec(x_5); +x_11 = x_154; +goto block_153; +} +block_153: +{ +uint8_t x_12; lean_object* x_13; +x_12 = 0; +x_13 = l_Lean_Syntax_getRange_x3f(x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +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_14 = lean_box(0); +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; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_ctor_get(x_8, 1); +lean_inc(x_17); +lean_inc(x_16); +x_18 = l_Lean_Meta_Tactic_TryThis_getIndentAndColumn(x_17, x_16); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +x_22 = lean_array_get_size(x_2); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +lean_inc(x_9); +lean_inc(x_8); +x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1(x_20, x_21, x_23, x_24, x_2, x_8, x_9, x_10); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t 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; +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_array_get_size(x_26); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +lean_inc(x_26); +x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2(x_29, x_24, x_26); +x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3(x_29, x_24, x_26); +x_32 = l_Lean_Syntax_getRange_x3f(x_1, x_12); +x_33 = l_Lean_FileMap_utf8RangeToLspRange(x_17, x_16); +lean_dec(x_17); +lean_inc(x_33); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +lean_ctor_set(x_34, 2, x_7); +x_35 = l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo; +lean_ctor_set(x_18, 1, x_34); +lean_ctor_set(x_18, 0, x_35); +if (lean_obj_tag(x_32) == 0) +{ +x_36 = x_16; +goto block_80; +} +else +{ +lean_object* x_81; +lean_dec(x_16); +x_81 = lean_ctor_get(x_32, 0); +lean_inc(x_81); +lean_dec(x_32); +x_36 = x_81; +goto block_80; +} +block_80: +{ +uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_37 = 1; +x_38 = l_Lean_Syntax_ofRange(x_36, x_37); +lean_dec(x_36); +lean_inc(x_38); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_18); +x_40 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4(x_40, x_8, x_9, x_27); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_array_get_size(x_31); +x_44 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1545____spec__2(x_44, x_24, x_31); +x_46 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(x_33); +x_50 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_52, 0, x_3); +x_53 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3; +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_55, 0, x_4); +x_56 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4; +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +if (lean_obj_tag(x_6) == 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; uint64_t x_65; lean_object* x_66; +x_58 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_54); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_51); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_48); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_Json_mkObj(x_62); +x_64 = lean_alloc_closure((void*)(l_StateT_pure___at_Lean_Server_instRpcEncodableStateMRpcObjectStore___spec__1___rarg), 2, 1); +lean_closure_set(x_64, 0, x_63); +x_65 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +x_66 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(x_65, x_64, x_38, x_8, x_9, x_42); +lean_dec(x_9); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint64_t x_78; lean_object* x_79; +x_67 = lean_ctor_get(x_6, 0); +lean_inc(x_67); +lean_dec(x_6); +x_68 = lean_box(0); +x_69 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_68); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_57); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_54); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_51); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_48); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Json_mkObj(x_75); +x_77 = lean_alloc_closure((void*)(l_StateT_pure___at_Lean_Server_instRpcEncodableStateMRpcObjectStore___spec__1___rarg), 2, 1); +lean_closure_set(x_77, 0, x_76); +x_78 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +x_79 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(x_78, x_77, x_38, x_8, x_9, x_42); +lean_dec(x_9); +return x_79; +} +} +} +else +{ +uint8_t x_82; +lean_free_object(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_82 = !lean_is_exclusive(x_25); +if (x_82 == 0) +{ +return x_25; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_25, 0); +x_84 = lean_ctor_get(x_25, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_25); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; size_t x_90; lean_object* x_91; +x_86 = lean_ctor_get(x_18, 0); +x_87 = lean_ctor_get(x_18, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_18); +x_88 = lean_array_get_size(x_2); +x_89 = lean_usize_of_nat(x_88); +lean_dec(x_88); +x_90 = 0; +lean_inc(x_9); +lean_inc(x_8); +x_91 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1(x_86, x_87, x_89, x_90, x_2, x_8, x_9, x_10); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t 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; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_array_get_size(x_92); +x_95 = lean_usize_of_nat(x_94); +lean_dec(x_94); +lean_inc(x_92); +x_96 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2(x_95, x_90, x_92); +x_97 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3(x_95, x_90, x_92); +x_98 = l_Lean_Syntax_getRange_x3f(x_1, x_12); +x_99 = l_Lean_FileMap_utf8RangeToLspRange(x_17, x_16); +lean_dec(x_17); +lean_inc(x_99); +x_100 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_96); +lean_ctor_set(x_100, 2, x_7); +x_101 = l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo; +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +if (lean_obj_tag(x_98) == 0) +{ +x_103 = x_16; +goto block_147; +} +else +{ +lean_object* x_148; +lean_dec(x_16); +x_148 = lean_ctor_get(x_98, 0); +lean_inc(x_148); +lean_dec(x_98); +x_103 = x_148; +goto block_147; +} +block_147: +{ +uint8_t 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; size_t 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_104 = 1; +x_105 = l_Lean_Syntax_ofRange(x_103, x_104); +lean_dec(x_103); +lean_inc(x_105); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +x_107 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4(x_107, x_8, x_9, x_93); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +lean_dec(x_108); +x_110 = lean_array_get_size(x_97); +x_111 = lean_usize_of_nat(x_110); +lean_dec(x_110); +x_112 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1545____spec__2(x_111, x_90, x_97); +x_113 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_113, 0, x_112); +x_114 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1; +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(x_99); +x_117 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2; +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +x_119 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_119, 0, x_3); +x_120 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3; +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_122, 0, x_4); +x_123 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +if (lean_obj_tag(x_6) == 0) +{ +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; uint64_t x_132; lean_object* x_133; +x_125 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6; +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_121); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_118); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_115); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_Json_mkObj(x_129); +x_131 = lean_alloc_closure((void*)(l_StateT_pure___at_Lean_Server_instRpcEncodableStateMRpcObjectStore___spec__1___rarg), 2, 1); +lean_closure_set(x_131, 0, x_130); +x_132 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +x_133 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(x_132, x_131, x_105, x_8, x_9, x_109); +lean_dec(x_9); +return x_133; +} +else +{ +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; uint64_t x_145; lean_object* x_146; +x_134 = lean_ctor_get(x_6, 0); +lean_inc(x_134); +lean_dec(x_6); +x_135 = lean_box(0); +x_136 = l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11; +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_135); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_124); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_121); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_118); +lean_ctor_set(x_141, 1, x_140); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_115); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Lean_Json_mkObj(x_142); +x_144 = lean_alloc_closure((void*)(l_StateT_pure___at_Lean_Server_instRpcEncodableStateMRpcObjectStore___spec__1___rarg), 2, 1); +lean_closure_set(x_144, 0, x_143); +x_145 = l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2; +x_146 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(x_145, x_144, x_105, x_8, x_9, x_109); +lean_dec(x_9); +return x_146; +} +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_149 = lean_ctor_get(x_91, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_91, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_151 = x_91; +} else { + lean_dec_ref(x_91); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2___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___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3___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___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__3(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_pushInfoTree___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__5(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_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_8 = l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___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___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2() { +_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_Meta_Tactic_TryThis_addSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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 = l_Lean_stringToMessageData(x_4); +x_12 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_ctor_get(x_2, 4); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_MessageData_ofSyntax(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +x_21 = 0; +x_22 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_1, x_20, x_21, x_6, x_7, x_8, x_9, x_10); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2; +x_25 = lean_array_push(x_24, x_2); +x_26 = lean_box(0); +x_27 = 1; +x_28 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_1, x_25, x_4, x_27, x_3, x_26, x_5, x_8, x_9, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; +x_29 = lean_ctor_get(x_16, 0); +lean_inc(x_29); +lean_dec(x_16); +x_30 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_12); +x_34 = 0; +x_35 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_1, x_33, x_34, x_6, x_7, x_8, x_9, x_10); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2; +x_38 = lean_array_push(x_37, x_2); +x_39 = lean_box(0); +x_40 = 1; +x_41 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_1, x_38, x_4, x_40, x_3, x_39, x_5, x_8, x_9, x_36); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_42 = lean_ctor_get(x_15, 0); +lean_inc(x_42); +lean_dec(x_15); +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_14); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_12); +x_45 = 0; +x_46 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_1, x_44, x_45, x_6, x_7, x_8, x_9, x_10); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2; +x_49 = lean_array_push(x_48, x_2); +x_50 = lean_box(0); +x_51 = 1; +x_52 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_1, x_49, x_4, x_51, x_3, x_50, x_5, x_8, x_9, x_47); +return x_52; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion___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_Meta_Tactic_TryThis_addSuggestion(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___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; +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, 4); +lean_inc(x_8); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +lean_dec(x_5); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_MessageData_ofSyntax(x_12); +x_14 = lean_array_uset(x_7, x_2, x_13); +x_2 = x_10; +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_array_uset(x_7, x_2, x_18); +x_2 = x_10; +x_3 = x_19; +goto _start; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_5); +x_21 = lean_ctor_get(x_8, 0); +lean_inc(x_21); +lean_dec(x_8); +x_22 = lean_array_uset(x_7, x_2, x_21); +x_2 = x_10; +x_3 = x_22; +goto _start; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n• ", 5); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2(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) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2; +x_8 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_2 = x_11; +x_4 = x_9; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___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) { +_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___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(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___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(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_Meta_Tactic_TryThis_addSuggestions___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: +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_13 = lean_array_get_size(x_1); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +lean_inc(x_1); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__1(x_14, x_15, x_1); +x_17 = lean_array_get_size(x_16); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_lt(x_18, x_17); +x_20 = l_Lean_stringToMessageData(x_2); +x_21 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +if (x_19 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +lean_dec(x_17); +lean_dec(x_16); +x_24 = l_Lean_MessageData_nil; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +x_27 = 0; +x_28 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_3, x_26, x_27, x_8, x_9, x_10, x_11, x_12); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = 0; +x_31 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_3, x_1, x_2, x_30, x_4, x_5, x_6, x_10, x_11, x_29); +return x_31; +} +else +{ +uint8_t x_32; +x_32 = lean_nat_dec_le(x_17, x_17); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +lean_dec(x_17); +lean_dec(x_16); +x_33 = l_Lean_MessageData_nil; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_23); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_21); +x_36 = 0; +x_37 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_3, x_35, x_36, x_8, x_9, x_10, x_11, x_12); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = 0; +x_40 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_3, x_1, x_2, x_39, x_4, x_5, x_6, x_10, x_11, x_38); +return x_40; +} +else +{ +size_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; +x_41 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_42 = l_Lean_MessageData_nil; +x_43 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2(x_16, x_15, x_41, x_42); +lean_dec(x_16); +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_23); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_21); +x_46 = 0; +x_47 = l_Lean_logAt___at_Lean_Meta_computeSynthOrder___spec__7(x_3, x_45, x_46, x_8, x_9, x_10, x_11, x_12); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = 0; +x_50 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(x_3, x_1, x_2, x_49, x_4, x_5, x_6, x_10, x_11, x_48); +return x_50; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("no suggestions available", 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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; +x_12 = l_Array_isEmpty___rarg(x_2); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_Tactic_TryThis_addSuggestions___lambda__1(x_2, x_4, x_1, x_3, x_5, x_6, x_13, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_7); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2; +x_16 = l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__3(x_1, x_15, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +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_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___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_Meta_Tactic_TryThis_addSuggestions___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___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_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwErrorAt___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__3(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_Meta_Tactic_TryThis_addSuggestions___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: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Tactic_TryThis_addSuggestions___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); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_13; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppExpr___lambda__1), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n⊢ ", 5); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_uget(x_1, x_3); +x_13 = l_Lean_MVarId_getType(x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_14, x_5, x_6, x_7, x_8, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = l_Lean_PrettyPrinter_ppUsing(x_17, x_19, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3; +x_24 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_21); +x_25 = l_Std_Format_defWidth; +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_format_pretty(x_24, x_25, x_26, x_26); +x_28 = lean_string_append(x_4, x_27); +lean_dec(x_27); +x_29 = 1; +x_30 = lean_usize_add(x_3, x_29); +x_3 = x_30; +x_4 = x_28; +x_9 = x_22; +goto _start; +} +else +{ +uint8_t x_32; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_32 = !lean_is_exclusive(x_20); +if (x_32 == 0) +{ +return x_20; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_20, 0); +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_20); +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 +{ +uint8_t x_36; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_13); +if (x_36 == 0) +{ +return x_13; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_13, 0); +x_38 = lean_ctor_get(x_13, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_13); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_2); +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_3); +lean_ctor_set(x_13, 3, x_11); +lean_ctor_set(x_13, 4, x_12); +lean_ctor_set(x_13, 5, x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_8); +return x_14; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\nRemaining subgoals:", 20); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("refine ", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("exact ", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = l_Array_isEmpty___rarg(x_1); +if (x_10 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = l_Lean_MessageData_ofExpr(x_3); +x_31 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_11 = x_34; +goto block_29; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = l_Lean_MessageData_ofExpr(x_3); +x_36 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5; +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_11 = x_39; +goto block_29; +} +block_29: +{ +if (x_2 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1(x_4, x_11, x_12, 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); +return x_13; +} +else +{ +if (x_10 == 0) +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_array_get_size(x_1); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1(x_1, x_15, x_16, x_17, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_19); +x_22 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1(x_4, x_11, x_21, x_5, x_6, x_7, x_8, x_20); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_18); +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 +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_1); +x_27 = lean_box(0); +x_28 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1(x_4, x_11, x_27, 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); +return x_28; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("refine", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("exact", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_8 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(x_2, 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; lean_object* x_13; uint8_t x_14; +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_2); +x_11 = l_Lean_Meta_getMVars(x_2, x_3, x_4, x_5, x_6, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Array_isEmpty___rarg(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_15 = lean_ctor_get(x_5, 5); +lean_inc(x_15); +x_16 = 0; +x_17 = l_Lean_SourceInfo_fromRef(x_15, x_16); +x_18 = lean_st_ref_get(x_6, x_13); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1; +lean_inc(x_17); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +x_22 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__2; +x_23 = l_Lean_Syntax_node2(x_17, x_22, x_21, x_9); +x_24 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2(x_12, x_1, x_2, x_23, x_3, x_4, x_5, x_6, x_19); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_25 = lean_ctor_get(x_5, 5); +lean_inc(x_25); +x_26 = 0; +x_27 = l_Lean_SourceInfo_fromRef(x_25, x_26); +x_28 = lean_st_ref_get(x_6, x_13); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3; +lean_inc(x_27); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_30); +x_32 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__4; +x_33 = l_Lean_Syntax_node2(x_27, x_32, x_31, x_9); +x_34 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2(x_12, x_1, x_2, x_33, x_3, x_4, x_5, x_6, x_29); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_8); +if (x_35 == 0) +{ +return x_8; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___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___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__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); +lean_dec(x_4); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestion(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_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_11 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore(x_4, x_2, 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; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3; +x_15 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_12, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_13); +lean_dec(x_7); +lean_dec(x_6); +return x_15; +} +else +{ +uint8_t x_16; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestion___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_Meta_Tactic_TryThis_addExactSuggestion(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_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___spec__1(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_uget(x_4, x_3); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_4, x_3, x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_15 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore(x_1, x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_20 = lean_array_uset(x_14, x_3, x_16); +x_3 = x_19; +x_4 = x_20; +x_9 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Try these:", 10); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions(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; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_array_get_size(x_2); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___spec__1(x_4, x_12, x_13, x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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 = lean_box(0); +x_18 = l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1; +x_19 = l_Lean_Meta_Tactic_TryThis_addSuggestions(x_1, x_15, x_3, x_18, x_17, x_5, x_6, x_7, x_8, x_9, x_16); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___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) { +_start: +{ +uint8_t x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addExactSuggestions___spec__1(x_10, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions___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_Meta_Tactic_TryThis_addExactSuggestions(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_Meta_Tactic_TryThis_addTermSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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); +x_11 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion(x_2, 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; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +else +{ +uint8_t 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_1); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_14 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion(x_11, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t 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 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_19 = lean_array_uset(x_13, x_2, x_15); +x_2 = x_18; +x_3 = x_19; +x_8 = x_16; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addTermSuggestions(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_array_get_size(x_2); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___spec__1(x_12, x_13, x_2, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +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 = lean_box(0); +x_18 = l_Lean_Meta_Tactic_TryThis_addSuggestions(x_1, x_15, x_3, x_4, x_17, x_5, x_6, x_7, x_8, x_9, x_16); +return x_18; +} +else +{ +uint8_t x_19; +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_1); +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___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: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addTermSuggestions___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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; lean_object* x_16; +x_11 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_3); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_13); +lean_ctor_set(x_14, 3, x_13); +lean_ctor_set(x_14, 4, x_13); +lean_ctor_set(x_14, 5, x_13); +x_15 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3; +x_16 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_14, x_2, x_15, x_13, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticLet_", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_addHaveSuggestion___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("let", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letDecl", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_addHaveSuggestion___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letIdDecl", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__6; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":=", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11; +x_2 = lean_mk_syntax_ident(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticHave_", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("have", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveDecl", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_addHaveSuggestion___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveIdDecl", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hygieneInfo", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____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_Meta_Tactic_TryThis_addHaveSuggestion___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__23; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__25; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("PrettyPrinter", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__27; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elab", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__33; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__35; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Server", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("RequestM", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37; +x_3 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__41; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__44; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__46; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__48() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__47; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__48; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__49; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__50; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__52() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__51; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__52; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__55() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__55; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__58; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__59; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__60; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__61; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__62; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__63; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__64; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__65; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__67() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__24; +x_2 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__66; +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_Meta_Tactic_TryThis_addHaveSuggestion___closed__68() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("typeSpec", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69() { +_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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__68; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_4); +x_13 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(x_4, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; 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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_16 = lean_infer_type(x_4, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_19 = l_Lean_Meta_isProp(x_17, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_19) == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_ctor_get(x_10, 5); +lean_inc(x_23); +x_24 = 0; +x_25 = l_Lean_SourceInfo_fromRef(x_23, x_24); +x_26 = lean_st_ref_get(x_11, x_22); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3; +lean_inc(x_25); +x_29 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_31 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_25); +x_32 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_25); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_33); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_35 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7; +x_36 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12; +lean_inc(x_32); +lean_inc(x_25); +x_37 = l_Lean_Syntax_node5(x_25, x_35, x_36, x_32, x_32, x_34, x_14); +x_38 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5; +lean_inc(x_25); +x_39 = l_Lean_Syntax_node1(x_25, x_38, x_37); +x_40 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2; +x_41 = l_Lean_Syntax_node2(x_25, x_40, x_29, x_39); +x_42 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_2, 0); +lean_inc(x_43); +lean_dec(x_2); +x_44 = lean_mk_syntax_ident(x_43); +x_45 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7; +lean_inc(x_32); +lean_inc(x_25); +x_46 = l_Lean_Syntax_node5(x_25, x_45, x_44, x_32, x_32, x_34, x_14); +x_47 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5; +lean_inc(x_25); +x_48 = l_Lean_Syntax_node1(x_25, x_47, x_46); +x_49 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2; +x_50 = l_Lean_Syntax_node2(x_25, x_49, x_29, x_48); +x_51 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_50, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_51; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_52; lean_object* x_53; uint8_t 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; +x_52 = lean_ctor_get(x_19, 1); +lean_inc(x_52); +lean_dec(x_19); +x_53 = lean_ctor_get(x_10, 5); +lean_inc(x_53); +x_54 = 0; +x_55 = l_Lean_SourceInfo_fromRef(x_53, x_54); +x_56 = lean_ctor_get(x_10, 10); +lean_inc(x_56); +x_57 = lean_st_ref_get(x_11, x_52); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_environment_main_module(x_60); +x_62 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15; +lean_inc(x_55); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_55); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_box(0); +x_65 = l_Lean_addMacroScope(x_61, x_64, x_56); +x_66 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22; +x_67 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67; +lean_inc(x_55); +x_68 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_68, 0, x_55); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_67); +x_69 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21; +lean_inc(x_55); +x_70 = l_Lean_Syntax_node1(x_55, x_69, x_68); +x_71 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_72 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_55); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_55); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_72); +x_74 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_55); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_55); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19; +lean_inc(x_73); +lean_inc(x_55); +x_77 = l_Lean_Syntax_node5(x_55, x_76, x_70, x_73, x_73, x_75, x_14); +x_78 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17; +lean_inc(x_55); +x_79 = l_Lean_Syntax_node1(x_55, x_78, x_77); +x_80 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14; +x_81 = l_Lean_Syntax_node2(x_55, x_80, x_63, x_79); +x_82 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_81, x_6, x_7, x_8, x_9, x_10, x_11, x_59); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_83 = lean_ctor_get(x_19, 1); +lean_inc(x_83); +lean_dec(x_19); +x_84 = lean_ctor_get(x_2, 0); +lean_inc(x_84); +lean_dec(x_2); +x_85 = lean_ctor_get(x_10, 5); +lean_inc(x_85); +x_86 = 0; +x_87 = l_Lean_SourceInfo_fromRef(x_85, x_86); +x_88 = lean_st_ref_get(x_11, x_83); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15; +lean_inc(x_87); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_87); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_mk_syntax_ident(x_84); +x_93 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_94 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_87); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_87); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_95, 2, x_94); +x_96 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_87); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_87); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19; +lean_inc(x_95); +lean_inc(x_87); +x_99 = l_Lean_Syntax_node5(x_87, x_98, x_92, x_95, x_95, x_97, x_14); +x_100 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17; +lean_inc(x_87); +x_101 = l_Lean_Syntax_node1(x_87, x_100, x_99); +x_102 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14; +x_103 = l_Lean_Syntax_node2(x_87, x_102, x_91, x_101); +x_104 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_103, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_19, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_19, 1); +lean_inc(x_106); +lean_dec(x_19); +x_107 = lean_ctor_get(x_3, 0); +lean_inc(x_107); +lean_dec(x_3); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_108 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(x_107, x_8, x_9, x_10, x_11, x_106); +if (lean_obj_tag(x_108) == 0) +{ +uint8_t x_109; +x_109 = lean_unbox(x_105); +lean_dec(x_105); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t 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; +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); +x_112 = lean_ctor_get(x_10, 5); +lean_inc(x_112); +x_113 = 0; +x_114 = l_Lean_SourceInfo_fromRef(x_112, x_113); +x_115 = lean_st_ref_get(x_11, x_111); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_117 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3; +lean_inc(x_114); +x_118 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_118, 0, x_114); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_120 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_114); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_114); +lean_ctor_set(x_121, 1, x_119); +lean_ctor_set(x_121, 2, x_120); +x_122 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70; +lean_inc(x_114); +x_123 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_123, 0, x_114); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69; +lean_inc(x_114); +x_125 = l_Lean_Syntax_node2(x_114, x_124, x_123, x_110); +lean_inc(x_114); +x_126 = l_Lean_Syntax_node1(x_114, x_119, x_125); +x_127 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_114); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_114); +lean_ctor_set(x_128, 1, x_127); +if (lean_obj_tag(x_2) == 0) +{ +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; +x_129 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7; +x_130 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12; +lean_inc(x_114); +x_131 = l_Lean_Syntax_node5(x_114, x_129, x_130, x_121, x_126, x_128, x_14); +x_132 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5; +lean_inc(x_114); +x_133 = l_Lean_Syntax_node1(x_114, x_132, x_131); +x_134 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2; +x_135 = l_Lean_Syntax_node2(x_114, x_134, x_118, x_133); +x_136 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_135, x_6, x_7, x_8, x_9, x_10, x_11, x_116); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_136; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_137 = lean_ctor_get(x_2, 0); +lean_inc(x_137); +lean_dec(x_2); +x_138 = lean_mk_syntax_ident(x_137); +x_139 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7; +lean_inc(x_114); +x_140 = l_Lean_Syntax_node5(x_114, x_139, x_138, x_121, x_126, x_128, x_14); +x_141 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5; +lean_inc(x_114); +x_142 = l_Lean_Syntax_node1(x_114, x_141, x_140); +x_143 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2; +x_144 = l_Lean_Syntax_node2(x_114, x_143, x_118, x_142); +x_145 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_144, x_6, x_7, x_8, x_9, x_10, x_11, x_116); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_145; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t 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; +x_146 = lean_ctor_get(x_108, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_108, 1); +lean_inc(x_147); +lean_dec(x_108); +x_148 = lean_ctor_get(x_10, 5); +lean_inc(x_148); +x_149 = 0; +x_150 = l_Lean_SourceInfo_fromRef(x_148, x_149); +x_151 = lean_ctor_get(x_10, 10); +lean_inc(x_151); +x_152 = lean_st_ref_get(x_11, x_147); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_environment_main_module(x_155); +x_157 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15; +lean_inc(x_150); +x_158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_158, 0, x_150); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_box(0); +x_160 = l_Lean_addMacroScope(x_156, x_159, x_151); +x_161 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22; +x_162 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67; +lean_inc(x_150); +x_163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_163, 0, x_150); +lean_ctor_set(x_163, 1, x_161); +lean_ctor_set(x_163, 2, x_160); +lean_ctor_set(x_163, 3, x_162); +x_164 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21; +lean_inc(x_150); +x_165 = l_Lean_Syntax_node1(x_150, x_164, x_163); +x_166 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_167 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_150); +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_150); +lean_ctor_set(x_168, 1, x_166); +lean_ctor_set(x_168, 2, x_167); +x_169 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70; +lean_inc(x_150); +x_170 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_170, 0, x_150); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69; +lean_inc(x_150); +x_172 = l_Lean_Syntax_node2(x_150, x_171, x_170, x_146); +lean_inc(x_150); +x_173 = l_Lean_Syntax_node1(x_150, x_166, x_172); +x_174 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_150); +x_175 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_175, 0, x_150); +lean_ctor_set(x_175, 1, x_174); +x_176 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19; +lean_inc(x_150); +x_177 = l_Lean_Syntax_node5(x_150, x_176, x_165, x_168, x_173, x_175, x_14); +x_178 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17; +lean_inc(x_150); +x_179 = l_Lean_Syntax_node1(x_150, x_178, x_177); +x_180 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14; +x_181 = l_Lean_Syntax_node2(x_150, x_180, x_158, x_179); +x_182 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_181, x_6, x_7, x_8, x_9, x_10, x_11, x_154); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_182; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_183 = lean_ctor_get(x_108, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_108, 1); +lean_inc(x_184); +lean_dec(x_108); +x_185 = lean_ctor_get(x_2, 0); +lean_inc(x_185); +lean_dec(x_2); +x_186 = lean_ctor_get(x_10, 5); +lean_inc(x_186); +x_187 = 0; +x_188 = l_Lean_SourceInfo_fromRef(x_186, x_187); +x_189 = lean_st_ref_get(x_11, x_184); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_191 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15; +lean_inc(x_188); +x_192 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_191); +x_193 = lean_mk_syntax_ident(x_185); +x_194 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_195 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_188); +x_196 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_196, 0, x_188); +lean_ctor_set(x_196, 1, x_194); +lean_ctor_set(x_196, 2, x_195); +x_197 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70; +lean_inc(x_188); +x_198 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_198, 0, x_188); +lean_ctor_set(x_198, 1, x_197); +x_199 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69; +lean_inc(x_188); +x_200 = l_Lean_Syntax_node2(x_188, x_199, x_198, x_183); +lean_inc(x_188); +x_201 = l_Lean_Syntax_node1(x_188, x_194, x_200); +x_202 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10; +lean_inc(x_188); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_188); +lean_ctor_set(x_203, 1, x_202); +x_204 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19; +lean_inc(x_188); +x_205 = l_Lean_Syntax_node5(x_188, x_204, x_193, x_196, x_201, x_203, x_14); +x_206 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17; +lean_inc(x_188); +x_207 = l_Lean_Syntax_node1(x_188, x_206, x_205); +x_208 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14; +x_209 = l_Lean_Syntax_node2(x_188, x_208, x_192, x_207); +x_210 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___lambda__1(x_1, x_5, x_209, x_6, x_7, x_8, x_9, x_10, x_11, x_190); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_210; +} +} +} +else +{ +uint8_t x_211; +lean_dec(x_105); +lean_dec(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_5); +lean_dec(x_2); +lean_dec(x_1); +x_211 = !lean_is_exclusive(x_108); +if (x_211 == 0) +{ +return x_108; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_108, 0); +x_213 = lean_ctor_get(x_108, 1); +lean_inc(x_213); +lean_inc(x_212); +lean_dec(x_108); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_212); +lean_ctor_set(x_214, 1, x_213); +return x_214; +} +} +} +} +else +{ +uint8_t x_215; +lean_dec(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_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_215 = !lean_is_exclusive(x_19); +if (x_215 == 0) +{ +return x_19; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_19, 0); +x_217 = lean_ctor_get(x_19, 1); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_19); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +return x_218; +} +} +} +else +{ +uint8_t x_219; +lean_dec(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_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_219 = !lean_is_exclusive(x_16); +if (x_219 == 0) +{ +return x_16; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_16, 0); +x_221 = lean_ctor_get(x_16, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_16); +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +return x_222; +} +} +} +else +{ +uint8_t x_223; +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); +lean_dec(x_2); +lean_dec(x_1); +x_223 = !lean_is_exclusive(x_13); +if (x_223 == 0) +{ +return x_13; +} +else +{ +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_ctor_get(x_13, 0); +x_225 = lean_ctor_get(x_13, 1); +lean_inc(x_225); +lean_inc(x_224); +lean_dec(x_13); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +return x_226; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___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_Meta_Tactic_TryThis_addHaveSuggestion___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_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rwRule", 6); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__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_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("patternIgnore", 13); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("token", 5); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("← ", 4); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("←", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_2, x_1); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_10); +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; +x_13 = lean_array_uget(x_3, x_2); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_3, x_2, x_14); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_18 = l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax(x_16, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = lean_unbox(x_17); +lean_dec(x_17); +if (x_19 == 0) +{ +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; size_t x_32; size_t x_33; lean_object* x_34; +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_ctor_get(x_8, 5); +lean_inc(x_22); +x_23 = 0; +x_24 = l_Lean_SourceInfo_fromRef(x_22, x_23); +x_25 = lean_st_ref_get(x_9, x_21); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_28 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_24); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_28); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2; +x_31 = l_Lean_Syntax_node2(x_24, x_30, x_29, x_20); +x_32 = 1; +x_33 = lean_usize_add(x_2, x_32); +x_34 = lean_array_uset(x_15, x_2, x_31); +x_2 = x_33; +x_3 = x_34; +x_10 = x_26; +goto _start; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_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; size_t x_53; size_t x_54; lean_object* x_55; +x_36 = lean_ctor_get(x_18, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_18, 1); +lean_inc(x_37); +lean_dec(x_18); +x_38 = lean_ctor_get(x_8, 5); +lean_inc(x_38); +x_39 = 0; +x_40 = l_Lean_SourceInfo_fromRef(x_38, x_39); +x_41 = lean_st_ref_get(x_9, x_37); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8; +lean_inc(x_40); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7; +lean_inc(x_40); +x_46 = l_Lean_Syntax_node1(x_40, x_45, x_44); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4; +lean_inc(x_40); +x_48 = l_Lean_Syntax_node1(x_40, x_47, x_46); +x_49 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +lean_inc(x_40); +x_50 = l_Lean_Syntax_node1(x_40, x_49, x_48); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2; +x_52 = l_Lean_Syntax_node2(x_40, x_51, x_50, x_36); +x_53 = 1; +x_54 = lean_usize_add(x_2, x_53); +x_55 = lean_array_uset(x_15, x_2, x_52); +x_2 = x_54; +x_3 = x_55; +x_10 = x_42; +goto _start; +} +} +else +{ +uint8_t x_57; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_57 = !lean_is_exclusive(x_18); +if (x_57 == 0) +{ +return x_18; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_18, 0); +x_59 = lean_ctor_get(x_18, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_18); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____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_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___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_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l_Lean_MessageData_ofExpr(x_7); +x_10 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_unbox(x_8); +lean_dec(x_8); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___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_12); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_15); +{ +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_17; lean_object* x_18; +x_17 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_12); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_18); +{ +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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = l_Lean_MessageData_ofExpr(x_22); +x_25 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_unbox(x_23); +lean_dec(x_23); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2; +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_2); +x_1 = x_21; +x_2 = x_31; +goto _start; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_27); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_2); +x_1 = x_21; +x_2 = x_35; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_1); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_4); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_5); +x_19 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_16); +lean_ctor_set(x_19, 2, x_17); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_18); +lean_ctor_set(x_19, 5, x_16); +x_20 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3; +x_21 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_2, x_19, x_3, x_20, x_16, x_9, x_10, x_11, x_12, x_13); +return x_21; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", ", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___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_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2; +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_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("]", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rw ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n-- ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" at ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_box(0); +x_15 = l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2(x_1, x_14); +x_16 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3; +x_17 = l_Lean_MessageData_joinSep(x_15, x_16); +lean_dec(x_15); +x_18 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4; +x_19 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5; +x_20 = l_Lean_MessageData_bracket(x_18, x_17, x_19); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7; +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_Meta_Tactic_TryThis_addSuggestion___closed__1; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_26 = lean_box(0); +x_27 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_25, x_24, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_10); +lean_dec(x_9); +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_5, 0); +lean_inc(x_28); +lean_dec(x_5); +lean_inc(x_28); +x_29 = l_Lean_MessageData_ofExpr(x_28); +x_30 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9; +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 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_23); +x_33 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_35 = l_Lean_PrettyPrinter_ppUsing(x_28, x_34, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +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); +x_38 = l_Std_Format_defWidth; +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_format_pretty(x_36, x_38, x_39, x_39); +x_41 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8; +x_42 = lean_string_append(x_41, x_40); +lean_dec(x_40); +x_43 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_44 = lean_string_append(x_42, x_43); +x_45 = lean_string_append(x_43, x_44); +lean_dec(x_44); +x_46 = lean_box(0); +x_47 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_45, x_33, x_46, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +lean_dec(x_10); +lean_dec(x_9); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_33); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) +{ +return x_35; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +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; 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_4, 0); +lean_inc(x_52); +lean_dec(x_4); +x_53 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_20); +x_55 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11; +x_56 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_MessageData_ofExpr(x_52); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_62 = lean_box(0); +x_63 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_61, x_60, x_62, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_10); +lean_dec(x_9); +return x_63; +} +else +{ +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_64 = lean_ctor_get(x_5, 0); +lean_inc(x_64); +lean_dec(x_5); +lean_inc(x_64); +x_65 = l_Lean_MessageData_ofExpr(x_64); +x_66 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9; +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_59); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_71 = l_Lean_PrettyPrinter_ppUsing(x_64, x_70, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = l_Std_Format_defWidth; +x_75 = lean_unsigned_to_nat(0u); +x_76 = lean_format_pretty(x_72, x_74, x_75, x_75); +x_77 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8; +x_78 = lean_string_append(x_77, x_76); +lean_dec(x_76); +x_79 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4; +x_80 = lean_string_append(x_78, x_79); +x_81 = lean_string_append(x_79, x_80); +lean_dec(x_80); +x_82 = lean_box(0); +x_83 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_81, x_69, x_82, x_7, x_8, x_9, x_10, x_11, x_12, x_73); +lean_dec(x_10); +lean_dec(x_9); +return x_83; +} +else +{ +uint8_t x_84; +lean_dec(x_69); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_84 = !lean_is_exclusive(x_71); +if (x_84 == 0) +{ +return x_71; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_71, 0); +x_86 = lean_ctor_get(x_71, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_71); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(",", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rwSeq", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rw", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rwRuleSeq", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("location", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("at", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("locationHyp", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1; +x_2 = l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2; +x_3 = l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3; +x_4 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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; size_t x_17; size_t x_18; lean_object* x_19; +x_13 = l_List_redLength___rarg(x_2); +x_14 = lean_mk_empty_array_with_capacity(x_13); +lean_dec(x_13); +lean_inc(x_2); +x_15 = l_List_toArrayAux___rarg(x_2, x_14); +x_16 = lean_array_get_size(x_15); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1(x_17, x_18, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +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 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1; +x_23 = l_Lean_Syntax_SepArray_ofElems(x_22, x_20); +lean_dec(x_20); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_57; +x_57 = lean_box(0); +x_24 = x_57; +x_25 = x_21; +goto block_56; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_4, 0); +lean_inc(x_58); +x_59 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_60 = l_Lean_PrettyPrinter_delab(x_58, x_59, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_ctor_get(x_10, 5); +lean_inc(x_63); +x_64 = 0; +x_65 = l_Lean_SourceInfo_fromRef(x_63, x_64); +x_66 = lean_st_ref_get(x_11, x_62); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +x_68 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10; +lean_inc(x_65); +x_69 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +lean_inc(x_65); +x_71 = l_Lean_Syntax_node1(x_65, x_70, x_61); +x_72 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_65); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_65); +lean_ctor_set(x_73, 1, x_70); +lean_ctor_set(x_73, 2, x_72); +x_74 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12; +lean_inc(x_65); +x_75 = l_Lean_Syntax_node2(x_65, x_74, x_71, x_73); +x_76 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9; +x_77 = l_Lean_Syntax_node2(x_65, x_76, x_69, x_75); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_24 = x_78; +x_25 = x_67; +goto block_56; +} +else +{ +uint8_t x_79; +lean_dec(x_23); +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); +lean_dec(x_2); +lean_dec(x_1); +x_79 = !lean_is_exclusive(x_60); +if (x_79 == 0) +{ +return x_60; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_60, 0); +x_81 = lean_ctor_get(x_60, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_60); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +block_56: +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_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_26 = lean_ctor_get(x_10, 5); +lean_inc(x_26); +x_27 = 0; +x_28 = l_Lean_SourceInfo_fromRef(x_26, x_27); +x_29 = lean_st_ref_get(x_11, x_25); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4; +lean_inc(x_28); +x_32 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_32, 0, x_28); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9; +x_34 = l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1; +lean_inc(x_28); +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_28); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_35, 2, x_34); +x_36 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4; +lean_inc(x_28); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Array_append___rarg(x_34, x_23); +lean_inc(x_28); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_28); +lean_ctor_set(x_39, 1, x_33); +lean_ctor_set(x_39, 2, x_38); +x_40 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5; +lean_inc(x_28); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__6; +lean_inc(x_28); +x_43 = l_Lean_Syntax_node3(x_28, x_42, x_37, x_39, x_41); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7; +lean_inc(x_28); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_28); +lean_ctor_set(x_45, 1, x_33); +lean_ctor_set(x_45, 2, x_44); +x_46 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3; +x_47 = l_Lean_Syntax_node4(x_28, x_46, x_32, x_35, x_43, x_45); +x_48 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2(x_2, x_1, x_5, x_4, x_3, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +lean_dec(x_7); +lean_dec(x_6); +return x_48; +} +else +{ +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_49 = lean_ctor_get(x_24, 0); +lean_inc(x_49); +lean_dec(x_24); +x_50 = lean_array_push(x_34, x_49); +x_51 = l_Array_append___rarg(x_34, x_50); +lean_inc(x_28); +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_28); +lean_ctor_set(x_52, 1, x_33); +lean_ctor_set(x_52, 2, x_51); +x_53 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3; +x_54 = l_Lean_Syntax_node4(x_28, x_53, x_32, x_35, x_43, x_52); +x_55 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2(x_2, x_1, x_5, x_4, x_3, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +lean_dec(x_7); +lean_dec(x_6); +return x_55; +} +} +} +else +{ +uint8_t x_83; +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); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_19); +if (x_83 == 0) +{ +return x_19; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_19, 0); +x_85 = lean_ctor_get(x_19, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_19); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Meta_Tactic_TryThis_addRewriteSuggestion___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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); +return x_14; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Server_CodeActions(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Widget_UserWidget(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Json_Elab(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_TryThis(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_Server_CodeActions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Widget_UserWidget(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Json_Elab(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__1); +l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__2(); +l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__1 = _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3___boxed__const__1); +l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_tryThisWidget___closed__3); +l_Lean_Meta_Tactic_TryThis_tryThisWidget = _init_l_Lean_Meta_Tactic_TryThis_tryThisWidget(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_tryThisWidget); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__1); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__2); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__3); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__4); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__5 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__5); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__6 = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65____closed__6); +l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_ = _init_l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instImpl____x40_Lean_Meta_Tactic_TryThis___hyg_65_); +l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo = _init_l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instTypeNameTryThisInfo); +l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThis_tryThisProvider___spec__1___closed__4); +l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1); +l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__1); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__2); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__3); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__4 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__4); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__5); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___lambda__3___closed__6); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__1 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__1); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__2); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__3 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__3); +l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4 = _init_l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Syntax_replaceM___at_Lean_Meta_Tactic_TryThis_replaceMVarsByUnderscores___spec__1___rarg___closed__4); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__1); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__2); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__3); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__4); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__5); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__6); +l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__7 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751____closed__7); +res = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_751_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Meta_Tactic_TryThis_format_inputWidth = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_format_inputWidth); +lean_dec_ref(res); +l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_getInputWidth___closed__1); +l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText___closed__1); +l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText = _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestionText); +l_Lean_Meta_Tactic_TryThis_instSuggestionStyleInhabited = _init_l_Lean_Meta_Tactic_TryThis_instSuggestionStyleInhabited(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instSuggestionStyleInhabited); +l_Lean_Meta_Tactic_TryThis_instSuggestionStyleToJson = _init_l_Lean_Meta_Tactic_TryThis_instSuggestionStyleToJson(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instSuggestionStyleToJson); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__1); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__2); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__3); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__4); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__5); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__6); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__7); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__8); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__10); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__12); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__13); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__14); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__16); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__18); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__21); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__25); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__26); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__2); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__3); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__4); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__5); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__6); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__7); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__8); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__9); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__10); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__11); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__12 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__12(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__12); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__13); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__14); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__1); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__2); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__3); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__5); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__1); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__2); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__3); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__5); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__1); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__2); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__3); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__4); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible___closed__5); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asInaccessible); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__2(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__4(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__5(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__6(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__7(); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__8); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__9); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__10); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__11); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__12); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__13); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__14); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__15); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__16); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__17); +l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18 = _init_l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18(); +l_Lean_Meta_Tactic_TryThis_Suggestion_preInfo_x3f___default = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_preInfo_x3f___default(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_preInfo_x3f___default); +l_Lean_Meta_Tactic_TryThis_Suggestion_postInfo_x3f___default = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_postInfo_x3f___default(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_postInfo_x3f___default); +l_Lean_Meta_Tactic_TryThis_Suggestion_style_x3f___default = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_style_x3f___default(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_style_x3f___default); +l_Lean_Meta_Tactic_TryThis_Suggestion_messageData_x3f___default = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_messageData_x3f___default(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_messageData_x3f___default); +l_Lean_Meta_Tactic_TryThis_Suggestion_toCodeActionTitle_x3f___default = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toCodeActionTitle_x3f___default(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_toCodeActionTitle_x3f___default); +l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1); +l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion = _init_l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion); +l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1); +l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__1); +l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___closed__2); +l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__1); +l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_delabToRefinableSuggestion___closed__2); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__1); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__2); +l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3 = _init_l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__4___closed__3); +l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1 = _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__1); +l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2 = _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__2); +l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3 = _init_l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3(); +lean_mark_persistent(l_Lean_Widget_savePanelWidgetInfo___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___spec__6___closed__3); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__2); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__6); +l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1); +l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__2); +l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__1); +l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addSuggestions___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__3); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__2); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__1); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__2); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__3); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__4); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___closed__5); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__1); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__2 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__2); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__3); +l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__4 = _init_l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___closed__4); +l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__1); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__2); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__3); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__5); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__6); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__8); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__11); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__12); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__13); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__14); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__15); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__16 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__16(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__16); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__19); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__20); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__21); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__22); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__23 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__23(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__23); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__24 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__24(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__24); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__25 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__25(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__25); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__26); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__27 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__27(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__27); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__28); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__29); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__30); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__31); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__33 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__33(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__33); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__34); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__35 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__35(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__35); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__36); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__37); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__38); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__39); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__40); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__41 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__41(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__41); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__42); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__44 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__44(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__44); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__46 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__46(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__46); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__47 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__47(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__47); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__48 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__48(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__48); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__49 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__49(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__49); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__50 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__50(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__50); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__51 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__51(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__51); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__52 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__52(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__52); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__55 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__55(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__55); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__56); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__57); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__58 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__58(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__58); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__59 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__59(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__59); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__60 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__60(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__60); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__61 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__61(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__61); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__62 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__62(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__62); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__63 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__63(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__63); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__64 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__64(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__64); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__65 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__65(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__65); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__66 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__66(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__66); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__67); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__68 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__68(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__68); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__69); +l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70 = _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__70); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__8); +l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1 = _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1); +l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2 = _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__2); +l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3 = _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__3); +l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4 = _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__4); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__2); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__4); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__5); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__6); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__7); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__11); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__2); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__3); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__4); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__5(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__5); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__6 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__6(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__6); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__7); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__8); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__10); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11); +l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12 = _init_l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12(); +lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 6ed1ed74bd..4efa6ed21e 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -21,6 +21,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_byTactic_formatter(lean_object*, lea static lean_object* l_Lean_Parser_Term_suffices___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_strictImplicitBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_docString___closed__1; +static lean_object* l_Lean_Parser_Term_letI___closed__9; static lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_app_formatter___closed__1; lean_object* l_Lean_Parser_sepByIndent_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -30,7 +31,6 @@ static lean_object* l_Lean_Parser_Term_letIdLhs___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Termination_terminationBy___closed__20; -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753_(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt_formatter___closed__5; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot___closed__3; static lean_object* l_Lean_Parser_Term_let__fun___closed__10; @@ -133,6 +133,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_declRange___closed_ static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__2; static lean_object* l_Lean_Parser_Term_inaccessible___closed__9; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__13; +static lean_object* l_Lean_Parser_Term_haveI___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed__6; static lean_object* l_Lean_Parser_Term_leftact___closed__7; @@ -162,6 +163,7 @@ static lean_object* l_Lean_Parser_Term_typeOf___closed__9; static lean_object* l_Lean_Parser_Term_structInstField___closed__2; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Term_pipeCompletion___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_docString(lean_object*); static lean_object* l_Lean_Parser_Term_quotedName___closed__2; static lean_object* l_Lean_Parser_Term_rightact_formatter___closed__3; @@ -196,11 +198,14 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange___close static lean_object* l_Lean_Parser_Term_strictImplicitBinder___closed__3; static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_structInst_declRange___closed__7; +static lean_object* l_Lean_Parser_Term_haveI___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17; extern lean_object* l_Lean_Parser_pushNone; static lean_object* l_Lean_Parser_Term_arrow___closed__6; lean_object* l_Lean_Parser_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkWsBefore_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31; static lean_object* l___regBuiltin_Lean_Parser_Term_leftact_formatter___closed__1; static lean_object* l_Lean_Parser_Term_dotIdent___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_nofun_declRange___closed__3; @@ -240,6 +245,7 @@ static lean_object* l_Lean_Parser_Term_fun___closed__8; static lean_object* l_Lean_Parser_Term_inaccessible___closed__2; static lean_object* l_Lean_Parser_Term_dotIdent___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_docString___closed__1; +static lean_object* l_Lean_Parser_Term_haveI___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letDecl___closed__3; lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); @@ -378,6 +384,7 @@ static lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__1 static lean_object* l_Lean_Parser_Termination_decreasingBy___closed__7; static lean_object* l_Lean_Parser_Term_unop___closed__4; static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_formatter(lean_object*); static lean_object* l_Lean_Parser_Termination_suffix_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_ident_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_tuple_declRange___closed__3; @@ -413,6 +420,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_tacticParser_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_sorry_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_instBinder_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_typeOf___closed__6; +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__4; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letRecDecl___closed__5; static lean_object* l_Lean_Parser_Term_typeOf_parenthesizer___closed__4; @@ -441,6 +449,7 @@ static lean_object* l_Lean_Parser_Term_attrKind___closed__1; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__13; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_tuple_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18; static lean_object* l_Lean_Parser_Term_proj___closed__1; static lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_scoped_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -461,6 +470,7 @@ static lean_object* l_Lean_Parser_Tactic_quot___closed__1; static lean_object* l_Lean_Parser_Termination_decreasingBy___closed__6; static lean_object* l_Lean_Parser_Term_have___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_falseVal_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10; static lean_object* l_Lean_Parser_Term_motive_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_withDeclName___closed__10; @@ -485,6 +495,7 @@ static lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__6; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; static lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_declRange___closed__7; static lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3; @@ -507,6 +518,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer(lean static lean_object* l_Lean_Parser_Term_local___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_unsafe_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_unsafe_docString___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__1; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_pipeProj; static lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__2; @@ -520,6 +532,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__ static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_forall_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_motive_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12; static lean_object* l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_x27_parenthesizer___closed__1; @@ -567,6 +580,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_have_declRange___closed__4; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__7; static lean_object* l_Lean_Parser_Term_binop_formatter___closed__4; static lean_object* l_Lean_Parser_Termination_decreasingBy___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45; static lean_object* l_Lean_Parser_Term_ellipsis___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Termination_terminationBy_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -609,6 +623,7 @@ static lean_object* l_Lean_Parser_Term_assert___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_noErrorIfUnused_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_let__tmp___closed__7; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange___closed__7; static lean_object* l_Lean_Parser_Term_namedPattern_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_instBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -668,8 +683,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_scoped_formatter___closed__2 LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderDefault; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__4; lean_object* l_Lean_Parser_sepByIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__1; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_formatter___closed__2; static lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__3; @@ -708,6 +725,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer(lean_o static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__5; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_formatter___closed__1; +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_letIdBinder___closed__4; static lean_object* l_Lean_Parser_Term_binrel__no__prop_parenthesizer___closed__3; @@ -769,6 +787,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letEqnsDecl_parenthesiz static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_attrKind___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19; static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_clear_formatter___closed__2; @@ -780,7 +799,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_formatter___clo static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__2; static lean_object* l_Lean_Parser_Term_trueVal___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__1; static lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binrel__no__prop; @@ -838,6 +857,7 @@ static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__10; static lean_object* l_Lean_Parser_Term_matchAlts___closed__3; static lean_object* l_Lean_Parser_Term_scoped___closed__6; static lean_object* l_Lean_Parser_Termination_terminationBy_parenthesizer___closed__9; +static lean_object* l_Lean_Parser_Term_letI___closed__6; static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___boxed(lean_object*); @@ -859,6 +879,7 @@ static lean_object* l_Lean_Parser_Term_motive___closed__5; static lean_object* l_Lean_Parser_Term_tuple_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveIdDecl_parenthesizer(lean_object*); +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_formatter___closed__2; lean_object* l_Lean_Parser_nameLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol(lean_object*, uint8_t); @@ -868,7 +889,6 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___clo static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__4; lean_object* l_Lean_Parser_hygieneInfo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41; static lean_object* l_Lean_Parser_Term_tuple___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declRange___closed__4; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__6; @@ -901,7 +921,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_declRange___closed__4; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__12; static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43; static lean_object* l_Lean_Parser_Term_panic_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letrec___closed__6; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__13; @@ -915,6 +934,7 @@ static lean_object* l_Lean_Parser_Term_paren_formatter___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_have_declRange(lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__17; static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_fun(lean_object*); static lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_completion_parenthesizer___closed__1; @@ -947,6 +967,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop__lazy_formatter(lean_object*, static lean_object* l___regBuiltin_Lean_Parser_Term_app_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_nofun_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42; static lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Termination_decreasingBy; static lean_object* l_Lean_Parser_Term_unop_formatter___closed__4; @@ -1071,6 +1092,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_optEllipsis_formatter(l static lean_object* l___regBuiltin_Lean_Parser_Term_sufficesDecl_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInstField___closed__3; static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__6; +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__5; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderType_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_optIdent___closed__3; @@ -1081,6 +1103,7 @@ static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__7; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveI_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Termination_suffix___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange(lean_object*); @@ -1100,7 +1123,6 @@ static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_letMVar_declRange___closed__6; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39; static lean_object* l___regBuiltin_Lean_Parser_Term_num___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_assert_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__4; @@ -1112,6 +1134,7 @@ static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__4; static lean_object* l_Lean_Parser_Term_whereDecls___closed__2; static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_completion_formatter(lean_object*); +static lean_object* l_Lean_Parser_Term_letI___closed__1; static lean_object* l_Lean_Parser_Term_dotIdent___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_optEllipsis_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_haveDecl_parenthesizer___closed__1; @@ -1119,6 +1142,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_parenthesizer___clo static lean_object* l_Lean_Parser_Term_scoped_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_proj_declRange___closed__7; static lean_object* l_Lean_Parser_Term_structInstField___closed__10; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__4; @@ -1126,6 +1150,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro_x27_formatter___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__10; static lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_hole; +static lean_object* l_Lean_Parser_Term_haveI___closed__11; static lean_object* l_Lean_Parser_Term_binrel___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__4; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); @@ -1155,6 +1180,7 @@ static lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__6; static lean_object* l_Lean_Parser_Term_structInst___closed__27; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_docString___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__6; static lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__2; static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; @@ -1187,6 +1213,7 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____clo static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_paren_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_attrKind___closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_docString(lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__8; static lean_object* l_Lean_Parser_Term_binrel__no__prop___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1194,6 +1221,7 @@ static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__4; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__9; static lean_object* l_Lean_Parser_Term_hole_formatter___closed__2; static lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveI_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_nofun_formatter___closed__2; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__6; extern lean_object* l_Lean_Parser_fieldIdx; @@ -1236,6 +1264,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_typeOf; static lean_object* l_Lean_Parser_semicolonOrLinebreak_formatter___closed__4; static lean_object* l_Lean_Parser_Termination_suffix_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderType_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveIdDecl; static lean_object* l_Lean_Parser_Term_letMVar_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__1; @@ -1250,6 +1279,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar(lean static lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8; static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__24; static lean_object* l_Lean_Parser_Term_attrInstance___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer___closed__2; @@ -1272,6 +1302,7 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___clo static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__18; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__3; static lean_object* l_Lean_Parser_Term_structInstField___closed__8; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__1; static lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_formatter(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicitUniv; @@ -1290,6 +1321,7 @@ static lean_object* l_Lean_Parser_Term_type___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRange___closed__3; static lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binop_docString(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2; static lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__4; static lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__6; static lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__2; @@ -1323,6 +1355,7 @@ static lean_object* l_Lean_Parser_Term_let___closed__1; static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__4; lean_object* l_Lean_Parser_rawCh(uint32_t, uint8_t); static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__8; +static lean_object* l_Lean_Parser_Term_letI___closed__4; static lean_object* l_Lean_Parser_Term_withDeclName___closed__8; static lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar_formatter___closed__3; @@ -1342,7 +1375,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_basicFun_formatter(lean static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__7; static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_argument___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_match_formatter___closed__6; @@ -1384,6 +1416,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange(lean_ob static lean_object* l_Lean_Parser_Term_type___closed__18; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_forall(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_docString(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Term_let__tmp___closed__8; @@ -1394,6 +1427,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_cdot(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_local_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sorry___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_docString___closed__1; +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstLVal_parenthesizer(lean_object*); lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1415,7 +1449,7 @@ static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__3; static lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_typeOf_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_quot___closed__11; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22; static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__5; static lean_object* l_Lean_Parser_Term_local_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_declRange___closed__3; @@ -1432,6 +1466,7 @@ static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRange___closed__3; static lean_object* l_Lean_Parser_Term_binderTactic___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40; static lean_object* l_Lean_Parser_Command_docComment___closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_Term_namedPattern; static lean_object* l_Lean_Parser_Term_explicit___closed__5; @@ -1446,6 +1481,7 @@ static lean_object* l_Lean_Parser_Tactic_sepByIndentSemicolon___closed__9; static lean_object* l_Lean_Parser_Term_whereDecls___closed__3; static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_namedPattern___closed__9; static lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic___closed__2; @@ -1503,6 +1539,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_x27_formatter___clo static lean_object* l_Lean_Parser_Term_forall_formatter___closed__11; static lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt___closed__6; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44; static lean_object* l_Lean_Parser_Term_attrKind_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_fromTerm_parenthesizer(lean_object*); @@ -1584,6 +1621,7 @@ lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_declRange___closed__6; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___closed__5; static lean_object* l_Lean_Parser_Term_clear___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15; static lean_object* l_Lean_Parser_Term_fromTerm___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstLVal_formatter(lean_object*); @@ -1675,7 +1713,9 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_nofun_declRange___closed__4; static lean_object* l_Lean_Parser_Term_tuple___closed__15; static lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_binrel___closed__9; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_letI_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_optIdent_parenthesizer___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_declRange___closed__6; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_attributes_formatter(lean_object*); @@ -1701,6 +1741,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_have(lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__15; static lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_declRange___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_docComment___closed__1; static lean_object* l_Lean_Parser_Term_binop__lazy___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_binop_parenthesizer___closed__1; @@ -1760,7 +1801,6 @@ static lean_object* l_Lean_Parser_Term_explicitUniv___closed__10; static lean_object* l_Lean_Parser_Term_binrel___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_tuple_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38; static lean_object* l_Lean_Parser_Term_binderDefault___closed__3; static lean_object* l_Lean_Parser_Term_proj_formatter___closed__1; static lean_object* l_Lean_Parser_Term_pipeProj___closed__7; @@ -1788,6 +1828,7 @@ static lean_object* l_Lean_Parser_Term_fun___closed__4; static lean_object* l_Lean_Parser_Term_noErrorIfUnused___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_noindex_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_tuple_formatter___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_letI; static lean_object* l_Lean_Parser_Term_byTactic___closed__5; static lean_object* l_Lean_Parser_Term_num_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_hole_declRange(lean_object*); @@ -1817,6 +1858,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_formatter static lean_object* l_Lean_Parser_Term_match_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_type_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveEqnsDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__4; @@ -1837,7 +1879,6 @@ static lean_object* l_Lean_Parser_Termination_suffix___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_tuple_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_attributes_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8; static lean_object* l_Lean_Parser_Term_macroDollarArg_formatter___closed__3; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; @@ -1853,7 +1894,6 @@ static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__6; static lean_object* l_Lean_Parser_Term_let_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30; static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed__1; static lean_object* l_Lean_Parser_Term_prop___closed__4; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__2; @@ -1930,6 +1970,7 @@ static lean_object* l_Lean_Parser_Term_binrel__no__prop___closed__7; static lean_object* l_Lean_Parser_Term_optEllipsis_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__1; lean_object* l_Lean_Parser_many1Indent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_binderDefault_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange(lean_object*); @@ -1941,6 +1982,7 @@ static lean_object* l_Lean_Parser_Term_trueVal_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Term_haveI___closed__6; lean_object* l_Lean_ppAllowUngrouped_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_Term_namedPattern___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letEqnsDecl; @@ -1967,9 +2009,11 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_matchDiscr_formatter(lean_object*, l static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__7; static lean_object* l_Lean_Parser_Term_binop___closed__4; static lean_object* l_Lean_Parser_Term_letIdBinder___closed__1; +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_fun___closed__10; static lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_falseVal_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__3; static lean_object* l_Lean_Parser_Term_show___closed__3; @@ -1995,9 +2039,7 @@ static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__2; static lean_object* l_Lean_Parser_Term_whereDecls___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33; static lean_object* l_Lean_Parser_Term_panic___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__5; @@ -2014,6 +2056,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_fun; static lean_object* l_Lean_Parser_Term_proj_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stateRefT___closed__6; static lean_object* l_Lean_Parser_Term_panic___closed__5; @@ -2022,9 +2065,11 @@ static lean_object* l_Lean_Parser_Term_noErrorIfUnused___closed__9; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__3; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_docString___closed__1; static lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__1; +static lean_object* l_Lean_Parser_Term_letI___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqIndentGt_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_unop_docString___closed__1; static lean_object* l_Lean_Parser_Term_prop___closed__2; @@ -2045,6 +2090,7 @@ static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter___closed__2; static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__1; static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__1; +static lean_object* l_Lean_Parser_Term_haveI___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel_declRange___closed__5; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__2; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__2; @@ -2057,7 +2103,7 @@ static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__3; static lean_object* l_Lean_Parser_Term_optSemicolon_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33; static lean_object* l_Lean_Parser_Tactic_sepByIndentSemicolon___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_paren_formatter___closed__1; @@ -2079,7 +2125,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter(lean_ob static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_completion(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__1; @@ -2123,9 +2169,11 @@ static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_declRange___closed__2; static lean_object* l_Lean_Parser_Termination_decreasingBy_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_tacticParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_haveI___closed__1; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_declRange___closed__5; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__3; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer___closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__5; @@ -2162,7 +2210,6 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___clo static lean_object* l_Lean_Parser_Termination_terminationBy___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_nofun_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_show_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6; static lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__2; static lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__5; static lean_object* l_Lean_Parser_Term_unsafe___closed__9; @@ -2198,7 +2245,6 @@ static lean_object* l_Lean_Parser_Term_motive_formatter___closed__5; lean_object* l_Lean_Parser_trailingNode(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_leading__parser___closed__7; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__15; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25; static lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_completion___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_leftact; @@ -2248,6 +2294,7 @@ static lean_object* l_Lean_Parser_semicolonOrLinebreak_parenthesizer___closed__4 static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_paren; static lean_object* l_Lean_Parser_Term_depArrow___closed__10; +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__5; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_formatter___closed__2; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__4; @@ -2255,6 +2302,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_declRange___closed__5; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23; LEAN_EXPORT lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__6; static lean_object* l_Lean_Parser_Term_argument___closed__1; @@ -2376,7 +2424,6 @@ static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_funBinder___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderType___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_cdot_declRange___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_motive_formatter___closed__2; @@ -2441,6 +2488,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_sort(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRange___closed__7; static lean_object* l_Lean_Parser_Term_match_formatter___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_declRange___closed__1; @@ -2451,7 +2499,6 @@ static lean_object* l_Lean_Parser_Term_letPatDecl___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty_formatter___closed__4; static lean_object* l_Lean_Parser_Term_forInMacro_x27___closed__2; static lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__4; @@ -2577,7 +2624,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_parenthesizer___clos static lean_object* l_Lean_Parser_Term_pipeProj___closed__4; static lean_object* l_Lean_Parser_Term_have___closed__3; static lean_object* l_Lean_Parser_Term_type___closed__17; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9; static lean_object* l_Lean_Parser_Term_explicitUniv___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_completion_formatter___closed__1; @@ -2620,6 +2666,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_letRecDecls; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_formatter___closed__1; static lean_object* l_Lean_Parser_Term_letrec___closed__12; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__3; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__11; static lean_object* l_Lean_Parser_Term_attributes___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_cdot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2643,7 +2690,6 @@ static lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__7; static lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer___closed__2; @@ -2661,6 +2707,7 @@ static lean_object* l_Lean_Parser_Term_show___closed__4; static lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_unop_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Term_haveI___closed__5; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__3; static lean_object* l_Lean_Parser_Command_commentBody___closed__4; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__12; @@ -2688,10 +2735,12 @@ static lean_object* l_Lean_Parser_Term_haveDecl___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_local_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm___closed__5; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__fun_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveI; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_withDeclName_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_clear___closed__11; @@ -2744,12 +2793,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_parenthesizer( static lean_object* l_Lean_Parser_Term_withDeclName_parenthesizer___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_declName_declRange___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRange(lean_object*); lean_object* l_Lean_Parser_withoutPosition___lambda__1(lean_object*); static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_waitIfContainsMVar_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40; static lean_object* l_Lean_Parser_Term_str___closed__1; static lean_object* l_Lean_Parser_Tactic_quot___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__fun; @@ -2917,13 +2964,11 @@ static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed_ static lean_object* l_Lean_Parser_Term_byTactic_x27___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_syntheticHole_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letMVar; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_ident(lean_object*); static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_borrowed(lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__6; @@ -2962,7 +3007,6 @@ static lean_object* l_Lean_Parser_Term_trailing__parser___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_declRange___closed__2; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_letMVar_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_docString(lean_object*); static lean_object* l_Lean_Parser_Term_optEllipsis_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__7; @@ -3036,6 +3080,7 @@ lean_object* l_Lean_Parser_hygieneInfo_formatter(lean_object*, lean_object*, lea static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__1; static lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__3; static lean_object* l_Lean_Parser_Term_leading__parser___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_borrowed_declRange___closed__5; static lean_object* l_Lean_Parser_Term_leftact_formatter___closed__3; @@ -3085,11 +3130,13 @@ static lean_object* l_Lean_Parser_Term_leading__parser___closed__11; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_structInst_declRange___closed__1; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__14; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_docString(lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__10; static lean_object* l_Lean_Parser_Term_binderDefault_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter(lean_object*); static lean_object* l_Lean_Parser_Termination_terminationBy_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_Term_haveI___closed__10; static lean_object* l_Lean_Parser_Tactic_quot___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_docString___closed__1; static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__5; @@ -3104,9 +3151,11 @@ lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_optIdent_formatter___closed__1; static lean_object* l_Lean_Parser_Termination_terminationBy___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_namedArgument_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange(lean_object*); static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_type_docString(lean_object*); +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_letDecl_formatter___closed__2; @@ -3149,7 +3198,6 @@ static lean_object* l_Lean_Parser_Term_forall_formatter___closed__5; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_byTactic___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_show_declRange___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_attrInstance_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_noErrorIfUnused_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__1; @@ -3164,7 +3212,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter(lean_ob static lean_object* l_Lean_Parser_Term_sort_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_declRange___closed__6; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32; LEAN_EXPORT lean_object* l_Lean_Parser_Term_optExprPrecedence; static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_prop_declRange___closed__2; @@ -3184,6 +3231,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_depArrow_parenthesizer(lean_object*, static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__11; static lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_declRange___closed__2; static lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__4; @@ -3195,6 +3243,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt___closed__1; static lean_object* l_Lean_Parser_Term_explicit___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Termination_terminationBy___closed__2; +static lean_object* l_Lean_Parser_Term_haveI___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_formatter___closed__1; static lean_object* l_Lean_Parser_Term_ident_formatter___closed__1; lean_object* l_Lean_Parser_ppSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3211,6 +3260,7 @@ static lean_object* l_Lean_Parser_Term_letRecDecl___closed__9; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__7; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__10; lean_object* l_Lean_Parser_atomic(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5; static lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_docString___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_paren_docString(lean_object*); @@ -3224,6 +3274,7 @@ static lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed_ extern lean_object* l_Lean_Parser_charLit; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar_formatter(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_formatter(lean_object*); +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__5; lean_object* l_Lean_Parser_sepBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_let___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letIdBinder; @@ -3236,6 +3287,7 @@ static lean_object* l_Lean_Parser_Term_motive___closed__3; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar_formatter___closed__1; static lean_object* l_Lean_Parser_Term_letRecDecls___closed__3; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_tuple_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_let__fun___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_fun_formatter___closed__2; @@ -3245,8 +3297,8 @@ static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__4; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__10; extern lean_object* l_Lean_Parser_rawIdent; static lean_object* l_Lean_Parser_Term_nofun___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10; static lean_object* l___regBuiltin_Lean_Parser_Term_letMVar_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Term_waitIfTypeMVar_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveEqnsDecl_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__7; @@ -3314,8 +3366,8 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_parenthesiz static lean_object* l_Lean_Parser_Term_binrel___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_fromTerm_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_formatter___closed__3; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_ident_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_declRange___closed__7; @@ -3343,10 +3395,12 @@ static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___closed LEAN_EXPORT lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_basicFun_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_match; static lean_object* l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declRange___closed__1; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_instBinder___closed__5; static lean_object* l_Lean_Parser_Term_byTactic_x27___closed__1; @@ -3404,6 +3458,7 @@ static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__3; static lean_object* l_Lean_Parser_Term_scoped___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_object*); +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_letPatDecl_formatter___closed__1; static lean_object* l_Lean_Parser_Term_rightact___closed__9; @@ -3418,6 +3473,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let_declRange(lean_obje static lean_object* l_Lean_Parser_Term_binop__lazy___closed__7; static lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_type___closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop__lazy; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__3; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__6; @@ -3430,7 +3486,6 @@ static lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_withAnonymousAntiquot_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_proj___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7; static lean_object* l_Lean_Parser_Term_rightact_formatter___closed__4; static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__6; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__12; @@ -3438,6 +3493,7 @@ static lean_object* l_Lean_Parser_Tactic_seq1___closed__6; static lean_object* l_Lean_Parser_Term_matchAlt___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_haveEqnsDecl_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28; static lean_object* l_Lean_Parser_Term_app___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_x27_formatter(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Termination_terminationBy; @@ -3533,6 +3589,7 @@ static lean_object* l_Lean_Parser_Term_panic_formatter___closed__1; static lean_object* l_Lean_Parser_Termination_decreasingBy_formatter___closed__3; lean_object* l_Lean_Parser_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_let_declRange___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI(lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_depArrow; static lean_object* l___regBuiltin_Lean_Parser_Term_unsafe_formatter___closed__2; @@ -3585,6 +3642,7 @@ static lean_object* l_Lean_Parser_Term_syntheticHole___closed__3; static lean_object* l_Lean_Parser_Term_argument___closed__9; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_formatter___closed__7; static lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36; static lean_object* l_Lean_Parser_Term_tuple_formatter___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__1; extern lean_object* l_Lean_Parser_ident; @@ -3617,6 +3675,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_parenthesi static lean_object* l_Lean_Parser_Term_assert_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_basicFun_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_declRange___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41; static lean_object* l_Lean_Parser_Term_match_formatter___closed__8; static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer___closed__1; @@ -3629,6 +3688,7 @@ static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__5; static lean_object* l_Lean_Parser_Term_byTactic_x27___closed__5; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_sufficesDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_waitIfContainsMVar___closed__8; static lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_tuple_formatter___closed__9; @@ -3639,6 +3699,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Termination_suffix_parenthesizer_ static lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Term_letI_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_declName_formatter___closed__2; static lean_object* l_Lean_Parser_Termination_decreasingBy___closed__5; static lean_object* l_Lean_Parser_Term_leading__parser___closed__3; @@ -3675,6 +3736,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_formatter___clo static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_motive_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange___closed__1; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__17; static lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__1; @@ -3694,6 +3756,7 @@ static lean_object* l_Lean_Parser_Term_nomatch___closed__9; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveIdLhs; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Termination_decreasingBy_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__5; @@ -3745,6 +3808,7 @@ static lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_clear_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdBinder___closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_macroDollarArg_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_attributes_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3792,7 +3856,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___closed_ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_quot(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_ellipsis_formatter(lean_object*); static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_prop_declRange___closed__3; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__3; @@ -3824,7 +3887,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_noImplicitLambda_formatter(lean_obje static lean_object* l_Lean_Parser_Term_optEllipsis___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInst_parenthesizer(lean_object*); lean_object* l_Lean_Parser_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37; LEAN_EXPORT lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__1; @@ -3862,12 +3924,12 @@ lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix(lean_object*, lean_object static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16; static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__1; static lean_object* l_Lean_Parser_Term_noindex_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Tactic_quot___closed__2; static lean_object* l_Lean_Parser_Term_letMVar_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Term_letI___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicit; @@ -3928,7 +3990,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_declRange___clo LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_binrel_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__2; lean_object* l_Lean_Parser_unicodeSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_formatter(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3965,6 +4027,7 @@ static lean_object* l_Lean_Parser_Term_haveEqnsDecl_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser(lean_object*); static lean_object* l_Lean_Parser_Term_fun___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_namedArgument; +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstArrayRef_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_have_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___closed__4; @@ -4015,6 +4078,7 @@ static lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange___closed__6; static lean_object* l_Lean_Parser_semicolonOrLinebreak_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binop; +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_forall___closed__8; static lean_object* l_Lean_Parser_Term_ident_parenthesizer___closed__1; @@ -4046,6 +4110,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_rightact_formatter(lean_object*, lea static lean_object* l_Lean_Parser_Term_dotIdent_formatter___closed__1; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__4; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__4; static lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__7; static lean_object* l_Lean_Parser_Term_fromTerm___closed__7; lean_object* l_Lean_Parser_many1(lean_object*); @@ -4079,6 +4144,7 @@ static lean_object* l_Lean_Parser_Term_forInMacro___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_formatter___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__2; static lean_object* l_Lean_Parser_Term_binrel__no__prop_formatter___closed__2; static lean_object* l_Lean_Parser_Term_let___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__1; @@ -4086,10 +4152,13 @@ static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRange___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26; static lean_object* l_Lean_Parser_Term_prop_formatter___closed__3; +static lean_object* l_Lean_Parser_Term_letI___closed__2; static lean_object* l_Lean_Parser_Term_structInst___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_letPatDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Termination_suffix_formatter(lean_object*); @@ -4100,6 +4169,7 @@ static lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Term_letEqnsDecl_formatter___closed__1; static lean_object* l_Lean_Parser_Term_declName___closed__5; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_declRange___closed__7; static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_declRange___closed__5; @@ -4170,6 +4240,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_letrec_parenthesizer(lean_object*, l static lean_object* l_Lean_Parser_Term_tuple_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_type_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__1; static lean_object* l_Lean_Parser_Term_binrel__no__prop_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; @@ -4200,6 +4271,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__4; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__5; static lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__7; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__6; @@ -4228,11 +4300,11 @@ static lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__5; static lean_object* l_Lean_Parser_Term_fromTerm___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_withAnonymousAntiquot_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_declRange___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_declName___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_borrowed_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27; LEAN_EXPORT lean_object* l_Lean_Parser_Term_inaccessible_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__1; @@ -4308,7 +4380,6 @@ static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__7; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__4; lean_object* l_Lean_Parser_checkWsBefore(lean_object*); static lean_object* l_Lean_Parser_Term_let__tmp_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4329,10 +4400,12 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_fromTerm; static lean_object* l_Lean_Parser_Term_namedArgument___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_hole___closed__4; +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_ident; static lean_object* l_Lean_Parser_Term_whereDecls___closed__7; static lean_object* l_Lean_Parser_Term_suffices___closed__6; +static lean_object* l_Lean_Parser_Term_haveI___closed__4; static lean_object* l_Lean_Parser_Term_pipeProj___closed__8; static lean_object* l_Lean_Parser_Term_rightact___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_trueVal_parenthesizer___closed__1; @@ -4369,6 +4442,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__ static lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_leading__parser___closed__10; static lean_object* l_Lean_Parser_Term_rightact_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Term_letI___closed__3; static lean_object* l_Lean_Parser_convParser___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___closed__6; static lean_object* l_Lean_Parser_Term_forall___closed__15; @@ -4393,6 +4467,7 @@ static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8; static lean_object* l_Lean_Parser_Term_namedPattern___closed__10; +static lean_object* l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__1; static lean_object* l_Lean_Parser_Term_namedPattern___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_let_formatter___closed__1; static lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__2; @@ -4418,6 +4493,8 @@ static lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls___closed__5; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__8; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_arrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange___closed__7; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__8; @@ -4454,7 +4531,6 @@ static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___closed__4; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__14; static lean_object* l_Lean_Parser_Term_sort___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4; static lean_object* l_Lean_Parser_Term_paren___closed__6; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_declRange___closed__3; @@ -4510,6 +4586,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv___closed__3; static lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_tuple_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14; static lean_object* l_Lean_Parser_Term_binop_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstField_formatter(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_unsafe_parenthesizer(lean_object*); @@ -4524,7 +4601,6 @@ static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_docString___closed__1; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__4; static lean_object* l_Lean_Parser_Term_unreachable___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_attrInstance_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__1; @@ -4557,6 +4633,7 @@ static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar_formatter___closed LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_leftact_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__9; +static lean_object* l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_declName_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer(lean_object*); @@ -4593,6 +4670,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt; static lean_object* l_Lean_Parser_Term_nofun___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy(lean_object*); +static lean_object* l_Lean_Parser_Term_letI_formatter___closed__6; static lean_object* l_Lean_Parser_Tactic_seq1_formatter___closed__2; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_tuple; @@ -4604,6 +4682,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_structInst_parenthesizer(lean_object static lean_object* l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_unop_formatter___closed__5; static lean_object* l_Lean_Parser_Term_instBinder___closed__6; +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__1; static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer___closed__1; @@ -4632,6 +4711,7 @@ static lean_object* l_Lean_Parser_Term_forall_formatter___closed__7; static lean_object* l_Lean_Parser_Tactic_quotSeq___closed__10; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_optEllipsis_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_formatter___closed__4; static lean_object* l_Lean_Parser_Tactic_sepByIndentSemicolon___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Term_falseVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4641,7 +4721,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_parenthesizer___c static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_sepBy1IndentSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_leading__parser___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__7; static lean_object* l_Lean_Parser_Term_explicit___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer(lean_object*); @@ -4668,9 +4747,11 @@ static lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_incQuotDepth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Term_ellipsis___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__6; static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_noErrorIfUnused_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Term_haveI_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_syntheticHole___closed__4; static lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_formatter___closed__2; @@ -4702,6 +4783,7 @@ static lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__2; lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_letI___closed__11; static lean_object* l_Lean_Parser_Term_motive___closed__4; static lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_let__tmp___closed__10; @@ -4735,10 +4817,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_hole_docString___closed__1; static lean_object* l_Lean_Parser_Term_binop_formatter___closed__2; lean_object* l_Lean_Parser_sepBy_parenthesizer___boxed(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_Parser_Term_show_declRange(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39; static lean_object* l_Lean_Parser_Term_scoped_formatter___closed__1; static lean_object* l_Lean_Parser_Term_withDeclName___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42; LEAN_EXPORT lean_object* l_Lean_Parser_Term_byTactic; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_structInstField_formatter___closed__2; @@ -4780,7 +4862,6 @@ static lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticSeqIndentGt_formatter___closed__3; static lean_object* l_Lean_Parser_Tactic_quotSeq___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31; static lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__5; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__4; static lean_object* l_Lean_Parser_Term_sorry___closed__5; @@ -4864,11 +4945,13 @@ static lean_object* l_Lean_Parser_Term_attributes___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_declRange___closed__5; static lean_object* l_Lean_Parser_Term_attributes___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binop(lean_object*); +static lean_object* l_Lean_Parser_Term_letI___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__3; static lean_object* l_Lean_Parser_Term_nomatch___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_unop_formatter(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_noErrorIfUnused_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_panic_declRange(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_sepByIndentSemicolon(lean_object*); static lean_object* l_Lean_Parser_Term_forall___closed__9; @@ -4893,6 +4976,7 @@ lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, static lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange___closed__4; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot___closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_parenthesizer(lean_object*); @@ -4911,6 +4995,7 @@ static lean_object* l_Lean_Parser_Term_let__tmp___closed__1; static lean_object* l_Lean_Parser_Term_noindex_formatter___closed__4; static lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32; static lean_object* l_Lean_Parser_Term_unop___closed__9; static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_declRange___closed__5; @@ -4934,7 +5019,6 @@ static lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_declRange___closed__6; static lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14; static lean_object* l_Lean_Parser_Term_let__tmp_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___closed__14; static lean_object* l_Lean_Parser_Term_matchAlt___closed__3; @@ -4947,6 +5031,7 @@ static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_optEllipsis_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Term_letI___closed__5; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_trueVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_let___closed__11; @@ -4976,12 +5061,12 @@ static lean_object* l_Lean_Parser_Termination_terminationBy_parenthesizer___clos static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_proj_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_app_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23; static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_forInMacro_x27_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_have_formatter___closed__1; lean_object* l_Lean_Parser_ppDedentIfGrouped_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4; static lean_object* l_Lean_Parser_semicolonOrLinebreak_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_let__tmp_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_explicitUniv___closed__14; @@ -5031,6 +5116,7 @@ static lean_object* l_Lean_Parser_Term_local_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_completion; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letrec; static lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27; static lean_object* l_Lean_Parser_Term_subst___closed__6; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__9; static lean_object* l_Lean_Parser_Term_typeAscription___closed__13; @@ -5038,7 +5124,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declRa static lean_object* l_Lean_Parser_Term_binrel___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_borrowed_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_namedArgument_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_fun_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_leftact_formatter___closed__2; @@ -5176,7 +5261,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_nofun_parenthesizer(lean_object*, le static lean_object* l___regBuiltin_Lean_Parser_Term_attrKind_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_pipeProj___closed__9; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderDefault_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; @@ -5191,7 +5275,6 @@ static lean_object* l_Lean_Parser_Term_matchAltExpr___closed__1; static lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binrel_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36; static lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange___closed__1; static lean_object* l_Lean_Parser_Term_macroDollarArg___closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_quotedName(lean_object*); @@ -5199,6 +5282,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_declRange static lean_object* l_Lean_Parser_Term_attrInstance___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__2; static lean_object* l_Lean_Parser_Term_typeSpec___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24; static lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sort___closed__5; @@ -5226,6 +5310,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_declRange___clo LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Termination_terminationBy_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_letrec___closed__13; static lean_object* l_Lean_Parser_Term_clear___closed__8; +static lean_object* l_Lean_Parser_Term_letI_parenthesizer___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_unop_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer(lean_object*); @@ -5278,6 +5363,7 @@ static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_sort_declRange___closed__7; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__3; static lean_object* l_Lean_Parser_Term_nomatch___closed__2; +static lean_object* l_Lean_Parser_Term_haveI_formatter___closed__6; static lean_object* l_Lean_Parser_Term_attributes___closed__1; static lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange___closed__4; @@ -39135,6 +39221,982 @@ 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_Lean_Parser_Term_haveI___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_Parser_Term_haveI___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_haveI___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_Term_haveI___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_haveI___closed__1; +x_2 = l_Lean_Parser_Term_haveI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveI ", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI___closed__4; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI___closed__5; +x_2 = l_Lean_Parser_Term_haveDecl; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI___closed__6; +x_2 = l_Lean_Parser_withPosition(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI___closed__7; +x_2 = l_Lean_Parser_Term_suffices___closed__8; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_haveI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_haveI___closed__8; +x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI___closed__3; +x_2 = l_Lean_Parser_Term_haveI___closed__9; +x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI___closed__2; +x_2 = l_Lean_Parser_Term_haveI___closed__10; +x_3 = l_Lean_Parser_withCache(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_haveI___closed__11; +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l___regBuiltin_Lean_Parser_Term_byTactic___closed__2; +x_3 = l_Lean_Parser_Term_haveI___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Term_haveI; +x_6 = lean_unsigned_to_nat(1000u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`haveI` behaves like `have`, but inlines the value instead of producing a `let_fun` term. ", 90); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parser_Term_haveI___closed__2; +x_3 = l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(573u); +x_2 = lean_unsigned_to_nat(23u); +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_Parser_Term_haveI_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(574u); +x_2 = lean_unsigned_to_nat(64u); +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_Parser_Term_haveI_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_Parser_Term_haveI_declRange___closed__1; +x_2 = lean_unsigned_to_nat(23u); +x_3 = l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__2; +x_4 = lean_unsigned_to_nat(64u); +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_Parser_Term_haveI_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(573u); +x_2 = lean_unsigned_to_nat(27u); +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_Parser_Term_haveI_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(573u); +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_Parser_Term_haveI_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_Parser_Term_haveI_declRange___closed__4; +x_2 = lean_unsigned_to_nat(27u); +x_3 = l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__5; +x_4 = lean_unsigned_to_nat(34u); +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_Parser_Term_haveI_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Parser_Term_haveI_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_Parser_Term_haveI_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parser_Term_haveI___closed__2; +x_3 = l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Term_haveI___closed__1; +x_2 = l_Lean_Parser_Term_haveI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI_formatter___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_haveDecl_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI_formatter___closed__4; +x_2 = l_Lean_Parser_Term_suffices_formatter___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_haveI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_haveI_formatter___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveI_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Term_haveI_formatter___closed__1; +x_7 = l_Lean_Parser_Term_haveI_formatter___closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_haveI_formatter___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_haveI___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_formatter___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_Parser_Term_haveI_formatter___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveI_formatter), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_formatter(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_Parser_Tactic_tacticSeqBracketed_formatter___closed__3; +x_3 = l_Lean_Parser_Term_haveI___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__2; +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_Lean_Parser_Term_haveI_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Term_haveI___closed__1; +x_2 = l_Lean_Parser_Term_haveI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI_parenthesizer___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_haveDecl_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveI_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveI_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_suffices_parenthesizer___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_haveI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_haveI_parenthesizer___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveI_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Term_haveI_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_haveI_parenthesizer___closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_haveI___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___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_Parser_Term_haveI_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveI_parenthesizer), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer(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_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_haveI___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__2; +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_Lean_Parser_Term_letI___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_Parser_Term_letI___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_letI___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_Term_letI___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_letI___closed__1; +x_2 = l_Lean_Parser_Term_letI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letI ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI___closed__4; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI___closed__5; +x_2 = l_Lean_Parser_Term_haveDecl; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI___closed__6; +x_2 = l_Lean_Parser_withPosition(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI___closed__7; +x_2 = l_Lean_Parser_Term_suffices___closed__8; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_letI___closed__8; +x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI___closed__3; +x_2 = l_Lean_Parser_Term_letI___closed__9; +x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI___closed__2; +x_2 = l_Lean_Parser_Term_letI___closed__10; +x_3 = l_Lean_Parser_withCache(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_letI___closed__11; +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l___regBuiltin_Lean_Parser_Term_byTactic___closed__2; +x_3 = l_Lean_Parser_Term_letI___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Term_letI; +x_6 = lean_unsigned_to_nat(1000u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`letI` behaves like `let`, but inlines the value instead of producing a `let_fun` term. ", 88); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_docString(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parser_Term_letI___closed__2; +x_3 = l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1; +x_4 = l_Lean_addBuiltinDocString(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(576u); +x_2 = lean_unsigned_to_nat(23u); +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_Parser_Term_letI_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(577u); +x_2 = lean_unsigned_to_nat(63u); +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_Parser_Term_letI_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_Parser_Term_letI_declRange___closed__1; +x_2 = lean_unsigned_to_nat(23u); +x_3 = l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__2; +x_4 = lean_unsigned_to_nat(63u); +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_Parser_Term_letI_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(576u); +x_2 = lean_unsigned_to_nat(27u); +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_Parser_Term_letI_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(576u); +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_Parser_Term_letI_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_Parser_Term_letI_declRange___closed__4; +x_2 = lean_unsigned_to_nat(27u); +x_3 = l___regBuiltin_Lean_Parser_Term_letI_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_Parser_Term_letI_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Parser_Term_letI_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_Parser_Term_letI_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Parser_Term_letI___closed__2; +x_3 = l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Term_letI___closed__1; +x_2 = l_Lean_Parser_Term_letI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI_formatter___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_haveDecl_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI_formatter___closed__4; +x_2 = l_Lean_Parser_Term_suffices_formatter___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_letI_formatter___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Term_letI_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Term_letI_formatter___closed__1; +x_7 = l_Lean_Parser_Term_letI_formatter___closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letI_formatter___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_letI___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_formatter___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_Parser_Term_letI_formatter___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letI_formatter), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_formatter(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_Parser_Tactic_tacticSeqBracketed_formatter___closed__3; +x_3 = l_Lean_Parser_Term_letI___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__2; +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_Lean_Parser_Term_letI_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Term_letI___closed__1; +x_2 = l_Lean_Parser_Term_letI___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI_parenthesizer___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_haveDecl_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letI_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letI_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_suffices_parenthesizer___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_letI_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letI___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_letI_parenthesizer___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Term_letI_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Term_letI_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_letI_parenthesizer___closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___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_Command_docComment___closed__1; +x_2 = l_Lean_Parser_Command_docComment___closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_66____closed__17; +x_4 = l_Lean_Parser_Term_letI___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___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_Parser_Term_letI_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letI_parenthesizer), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letI_parenthesizer(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_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_letI___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__2; +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_Lean_Parser_Term_scoped___closed__1() { _start: { @@ -40014,7 +41076,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letrec_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(595u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -40026,7 +41088,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letrec_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(591u); +x_1 = lean_unsigned_to_nat(597u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -40054,7 +41116,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letrec_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(595u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -40066,7 +41128,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letrec_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(595u); x_2 = lean_unsigned_to_nat(12u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -43861,7 +44923,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noindex_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(601u); +x_1 = lean_unsigned_to_nat(607u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -43873,7 +44935,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noindex_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(602u); +x_1 = lean_unsigned_to_nat(608u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -43901,7 +44963,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noindex_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(601u); +x_1 = lean_unsigned_to_nat(607u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -43913,7 +44975,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noindex_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(601u); +x_1 = lean_unsigned_to_nat(607u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44286,7 +45348,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unsafe_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(615u); +x_1 = lean_unsigned_to_nat(621u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44298,7 +45360,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unsafe_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(615u); +x_1 = lean_unsigned_to_nat(621u); x_2 = lean_unsigned_to_nat(86u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44326,7 +45388,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unsafe_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(615u); +x_1 = lean_unsigned_to_nat(621u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44338,7 +45400,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unsafe_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(615u); +x_1 = lean_unsigned_to_nat(621u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44751,7 +45813,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(618u); +x_1 = lean_unsigned_to_nat(624u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44763,7 +45825,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(619u); +x_1 = lean_unsigned_to_nat(625u); x_2 = lean_unsigned_to_nat(87u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44791,7 +45853,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(618u); +x_1 = lean_unsigned_to_nat(624u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -44803,7 +45865,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(618u); +x_1 = lean_unsigned_to_nat(624u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45260,7 +46322,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(621u); +x_1 = lean_unsigned_to_nat(627u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45272,7 +46334,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(622u); +x_1 = lean_unsigned_to_nat(628u); x_2 = lean_unsigned_to_nat(95u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45300,7 +46362,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(621u); +x_1 = lean_unsigned_to_nat(627u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45312,7 +46374,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(621u); +x_1 = lean_unsigned_to_nat(627u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45685,7 +46747,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(624u); +x_1 = lean_unsigned_to_nat(630u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45697,7 +46759,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(625u); +x_1 = lean_unsigned_to_nat(631u); x_2 = lean_unsigned_to_nat(86u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45725,7 +46787,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(624u); +x_1 = lean_unsigned_to_nat(630u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45737,7 +46799,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(624u); +x_1 = lean_unsigned_to_nat(630u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46110,7 +47172,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(627u); +x_1 = lean_unsigned_to_nat(633u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46122,7 +47184,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(628u); +x_1 = lean_unsigned_to_nat(634u); x_2 = lean_unsigned_to_nat(91u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46150,7 +47212,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(627u); +x_1 = lean_unsigned_to_nat(633u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46162,7 +47224,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(627u); +x_1 = lean_unsigned_to_nat(633u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46535,7 +47597,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_leftact_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(631u); +x_1 = lean_unsigned_to_nat(637u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46547,7 +47609,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_leftact_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(632u); +x_1 = lean_unsigned_to_nat(638u); x_2 = lean_unsigned_to_nat(88u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46575,7 +47637,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_leftact_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(631u); +x_1 = lean_unsigned_to_nat(637u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46587,7 +47649,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_leftact_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(631u); +x_1 = lean_unsigned_to_nat(637u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46960,7 +48022,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_rightact_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(635u); +x_1 = lean_unsigned_to_nat(641u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46972,7 +48034,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_rightact_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(636u); +x_1 = lean_unsigned_to_nat(642u); x_2 = lean_unsigned_to_nat(89u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47000,7 +48062,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_rightact_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(635u); +x_1 = lean_unsigned_to_nat(641u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47012,7 +48074,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_rightact_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(635u); +x_1 = lean_unsigned_to_nat(641u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47395,7 +48457,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unop_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(644u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47407,7 +48469,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unop_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(639u); +x_1 = lean_unsigned_to_nat(645u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47435,7 +48497,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unop_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(644u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47447,7 +48509,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unop_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(644u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47836,7 +48898,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(641u); +x_1 = lean_unsigned_to_nat(647u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47848,7 +48910,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(642u); +x_1 = lean_unsigned_to_nat(648u); x_2 = lean_unsigned_to_nat(89u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47876,7 +48938,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(641u); +x_1 = lean_unsigned_to_nat(647u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -47888,7 +48950,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(641u); +x_1 = lean_unsigned_to_nat(647u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48267,7 +49329,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(643u); +x_1 = lean_unsigned_to_nat(649u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48279,7 +49341,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(644u); +x_1 = lean_unsigned_to_nat(650u); x_2 = lean_unsigned_to_nat(90u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48307,7 +49369,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(643u); +x_1 = lean_unsigned_to_nat(649u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48319,7 +49381,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(643u); +x_1 = lean_unsigned_to_nat(649u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48682,7 +49744,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_declName_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(653u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48694,7 +49756,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_declName_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(653u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48722,7 +49784,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_declName_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(653u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48734,7 +49796,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_declName_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(653u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49112,7 +50174,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_withDeclName_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49124,7 +50186,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_withDeclName_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(656u); +x_1 = lean_unsigned_to_nat(662u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49152,7 +50214,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_withDeclName_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49164,7 +50226,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_withDeclName_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49575,7 +50637,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_typeOf_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(657u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49587,7 +50649,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_typeOf_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(664u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49615,7 +50677,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_typeOf_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(657u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49627,7 +50689,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_typeOf_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(657u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50002,7 +51064,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(659u); +x_1 = lean_unsigned_to_nat(665u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50014,7 +51076,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(660u); +x_1 = lean_unsigned_to_nat(666u); x_2 = lean_unsigned_to_nat(77u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50042,7 +51104,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(659u); +x_1 = lean_unsigned_to_nat(665u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50054,7 +51116,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(659u); +x_1 = lean_unsigned_to_nat(665u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50467,7 +51529,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50479,7 +51541,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(662u); +x_1 = lean_unsigned_to_nat(668u); x_2 = lean_unsigned_to_nat(69u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50507,7 +51569,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50519,7 +51581,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50886,7 +51948,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(663u); +x_1 = lean_unsigned_to_nat(669u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50898,7 +51960,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(664u); +x_1 = lean_unsigned_to_nat(670u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50926,7 +51988,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(663u); +x_1 = lean_unsigned_to_nat(669u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50938,7 +52000,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(663u); +x_1 = lean_unsigned_to_nat(669u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51331,7 +52393,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_clear_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(670u); +x_1 = lean_unsigned_to_nat(676u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51343,7 +52405,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_clear_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(671u); +x_1 = lean_unsigned_to_nat(677u); x_2 = lean_unsigned_to_nat(77u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51371,7 +52433,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_clear_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(670u); +x_1 = lean_unsigned_to_nat(676u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51383,7 +52445,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_clear_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(670u); +x_1 = lean_unsigned_to_nat(676u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51860,7 +52922,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letMVar_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(673u); +x_1 = lean_unsigned_to_nat(679u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51872,7 +52934,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letMVar_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(674u); +x_1 = lean_unsigned_to_nat(680u); x_2 = lean_unsigned_to_nat(76u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51900,7 +52962,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letMVar_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(673u); +x_1 = lean_unsigned_to_nat(679u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51912,7 +52974,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_letMVar_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(673u); +x_1 = lean_unsigned_to_nat(679u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52417,7 +53479,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(675u); +x_1 = lean_unsigned_to_nat(681u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52429,7 +53491,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(676u); +x_1 = lean_unsigned_to_nat(682u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52457,7 +53519,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(675u); +x_1 = lean_unsigned_to_nat(681u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52469,7 +53531,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(675u); +x_1 = lean_unsigned_to_nat(681u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52884,7 +53946,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(677u); +x_1 = lean_unsigned_to_nat(683u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52896,7 +53958,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(678u); +x_1 = lean_unsigned_to_nat(684u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52924,7 +53986,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(677u); +x_1 = lean_unsigned_to_nat(683u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52936,7 +53998,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(677u); +x_1 = lean_unsigned_to_nat(683u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53291,7 +54353,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(679u); +x_1 = lean_unsigned_to_nat(685u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53303,7 +54365,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(680u); +x_1 = lean_unsigned_to_nat(686u); x_2 = lean_unsigned_to_nat(65u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53331,7 +54393,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(679u); +x_1 = lean_unsigned_to_nat(685u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53343,7 +54405,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_dec _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(679u); +x_1 = lean_unsigned_to_nat(685u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53716,7 +54778,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(682u); +x_1 = lean_unsigned_to_nat(688u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53728,7 +54790,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(683u); +x_1 = lean_unsigned_to_nat(689u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53756,7 +54818,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(682u); +x_1 = lean_unsigned_to_nat(688u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53768,7 +54830,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(682u); +x_1 = lean_unsigned_to_nat(688u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54181,7 +55243,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(689u); +x_1 = lean_unsigned_to_nat(695u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54193,7 +55255,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(690u); +x_1 = lean_unsigned_to_nat(696u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54221,7 +55283,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(689u); +x_1 = lean_unsigned_to_nat(695u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54233,7 +55295,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(689u); +x_1 = lean_unsigned_to_nat(695u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54854,7 +55916,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(703u); +x_1 = lean_unsigned_to_nat(709u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54866,7 +55928,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(703u); +x_1 = lean_unsigned_to_nat(709u); x_2 = lean_unsigned_to_nat(81u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54894,7 +55956,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(703u); +x_1 = lean_unsigned_to_nat(709u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54906,7 +55968,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(703u); +x_1 = lean_unsigned_to_nat(709u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55747,7 +56809,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(723u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55759,7 +56821,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(718u); +x_1 = lean_unsigned_to_nat(724u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55787,7 +56849,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(723u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55799,7 +56861,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(717u); +x_1 = lean_unsigned_to_nat(723u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56114,7 +57176,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(719u); +x_1 = lean_unsigned_to_nat(725u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56126,7 +57188,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(720u); +x_1 = lean_unsigned_to_nat(726u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56154,7 +57216,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(719u); +x_1 = lean_unsigned_to_nat(725u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56166,7 +57228,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(719u); +x_1 = lean_unsigned_to_nat(725u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56421,7 +57483,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(727u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56433,7 +57495,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(722u); +x_1 = lean_unsigned_to_nat(728u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56461,7 +57523,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(727u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56473,7 +57535,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(721u); +x_1 = lean_unsigned_to_nat(727u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56891,7 +57953,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(729u); +x_1 = lean_unsigned_to_nat(735u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56903,7 +57965,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(732u); +x_1 = lean_unsigned_to_nat(738u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56931,7 +57993,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(729u); +x_1 = lean_unsigned_to_nat(735u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56943,7 +58005,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(729u); +x_1 = lean_unsigned_to_nat(735u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57415,7 +58477,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(735u); +x_1 = lean_unsigned_to_nat(741u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57427,7 +58489,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(738u); +x_1 = lean_unsigned_to_nat(744u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57455,7 +58517,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(735u); +x_1 = lean_unsigned_to_nat(741u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57467,7 +58529,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(735u); +x_1 = lean_unsigned_to_nat(741u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57894,7 +58956,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57906,7 +58968,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(745u); +x_1 = lean_unsigned_to_nat(751u); x_2 = lean_unsigned_to_nat(71u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57934,7 +58996,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57946,7 +59008,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58251,7 +59313,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(746u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58263,7 +59325,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(747u); +x_1 = lean_unsigned_to_nat(753u); x_2 = lean_unsigned_to_nat(8u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58291,7 +59353,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(746u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58303,7 +59365,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(746u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58562,7 +59624,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(757u); +x_1 = lean_unsigned_to_nat(763u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58574,7 +59636,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(758u); +x_1 = lean_unsigned_to_nat(764u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58602,7 +59664,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(757u); +x_1 = lean_unsigned_to_nat(763u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58614,7 +59676,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(757u); +x_1 = lean_unsigned_to_nat(763u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -58995,7 +60057,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(771u); +x_1 = lean_unsigned_to_nat(777u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59007,7 +60069,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(772u); +x_1 = lean_unsigned_to_nat(778u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59035,7 +60097,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(771u); +x_1 = lean_unsigned_to_nat(777u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59047,7 +60109,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(771u); +x_1 = lean_unsigned_to_nat(777u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59410,7 +60472,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(774u); +x_1 = lean_unsigned_to_nat(780u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59422,7 +60484,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(775u); +x_1 = lean_unsigned_to_nat(781u); x_2 = lean_unsigned_to_nat(16u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59450,7 +60512,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(774u); +x_1 = lean_unsigned_to_nat(780u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59462,7 +60524,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(774u); +x_1 = lean_unsigned_to_nat(780u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59849,7 +60911,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(780u); +x_1 = lean_unsigned_to_nat(786u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59861,7 +60923,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(782u); +x_1 = lean_unsigned_to_nat(788u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59889,7 +60951,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(780u); +x_1 = lean_unsigned_to_nat(786u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -59901,7 +60963,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(780u); +x_1 = lean_unsigned_to_nat(786u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60381,7 +61443,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(784u); +x_1 = lean_unsigned_to_nat(790u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60393,7 +61455,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(785u); +x_1 = lean_unsigned_to_nat(791u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60421,7 +61483,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(784u); +x_1 = lean_unsigned_to_nat(790u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60433,7 +61495,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(784u); +x_1 = lean_unsigned_to_nat(790u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60985,7 +62047,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(793u); +x_1 = lean_unsigned_to_nat(799u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -60997,7 +62059,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(794u); +x_1 = lean_unsigned_to_nat(800u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61025,7 +62087,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(793u); +x_1 = lean_unsigned_to_nat(799u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61037,7 +62099,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(793u); +x_1 = lean_unsigned_to_nat(799u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61772,7 +62834,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(796u); +x_1 = lean_unsigned_to_nat(802u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61784,7 +62846,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(797u); +x_1 = lean_unsigned_to_nat(803u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61812,7 +62874,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(796u); +x_1 = lean_unsigned_to_nat(802u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -61824,7 +62886,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(796u); +x_1 = lean_unsigned_to_nat(802u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62288,7 +63350,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(799u); +x_1 = lean_unsigned_to_nat(805u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62300,7 +63362,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(800u); +x_1 = lean_unsigned_to_nat(806u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62328,7 +63390,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(799u); +x_1 = lean_unsigned_to_nat(805u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62340,7 +63402,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(799u); +x_1 = lean_unsigned_to_nat(805u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62728,7 +63790,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(804u); +x_1 = lean_unsigned_to_nat(810u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62740,7 +63802,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(805u); +x_1 = lean_unsigned_to_nat(811u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62768,7 +63830,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(804u); +x_1 = lean_unsigned_to_nat(810u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -62780,7 +63842,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(804u); +x_1 = lean_unsigned_to_nat(810u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63211,7 +64273,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(806u); +x_1 = lean_unsigned_to_nat(812u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63223,7 +64285,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(807u); +x_1 = lean_unsigned_to_nat(813u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63251,7 +64313,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(806u); +x_1 = lean_unsigned_to_nat(812u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63263,7 +64325,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(806u); +x_1 = lean_unsigned_to_nat(812u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63687,7 +64749,7 @@ 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_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63697,7 +64759,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -63707,7 +64769,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -63717,7 +64779,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -63727,7 +64789,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -63737,7 +64799,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63747,7 +64809,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -63757,7 +64819,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -63767,7 +64829,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -63777,7 +64839,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -63787,7 +64849,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63797,7 +64859,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -63807,7 +64869,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -63817,7 +64879,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -63827,7 +64889,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -63837,7 +64899,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63847,7 +64909,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -63857,7 +64919,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -63867,7 +64929,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -63877,7 +64939,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -63887,7 +64949,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63897,7 +64959,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -63907,7 +64969,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -63917,7 +64979,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -63927,7 +64989,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -63937,7 +64999,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63947,7 +65009,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -63957,7 +65019,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -63967,7 +65029,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -63977,7 +65039,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -63987,7 +65049,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -63997,7 +65059,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -64007,7 +65069,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33() { _start: { lean_object* x_1; lean_object* x_2; @@ -64017,7 +65079,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -64027,7 +65089,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -64037,7 +65099,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -64047,7 +65109,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -64057,7 +65119,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -64067,7 +65129,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -64077,7 +65139,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40() { _start: { lean_object* x_1; lean_object* x_2; @@ -64087,7 +65149,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -64097,7 +65159,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42() { _start: { lean_object* x_1; lean_object* x_2; @@ -64107,7 +65169,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43() { _start: { lean_object* x_1; lean_object* x_2; @@ -64117,7 +65179,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44() { _start: { lean_object* x_1; lean_object* x_2; @@ -64127,7 +65189,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45() { _start: { lean_object* x_1; lean_object* x_2; @@ -64137,14 +65199,14 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1; x_3 = l_Lean_Parser_Term_letDecl___closed__2; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2; -x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2; +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3; x_6 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__9; x_7 = l_Lean_Parser_registerAlias(x_2, x_3, x_4, x_5, x_6, x_1); if (lean_obj_tag(x_7) == 0) @@ -64154,7 +65216,7 @@ x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); x_9 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__12; -x_10 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4; +x_10 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4; x_11 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_2, x_10, x_8); if (lean_obj_tag(x_11) == 0) { @@ -64163,7 +65225,7 @@ x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); x_13 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_154____closed__15; -x_14 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5; +x_14 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5; x_15 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_2, x_14, x_12); if (lean_obj_tag(x_15) == 0) { @@ -64171,10 +65233,10 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6; +x_17 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6; x_18 = l_Lean_Parser_Term_haveDecl___closed__2; -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7; -x_20 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7; +x_20 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8; x_21 = l_Lean_Parser_registerAlias(x_17, x_18, x_19, x_20, x_6, x_16); if (lean_obj_tag(x_21) == 0) { @@ -64182,7 +65244,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9; +x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9; x_24 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_17, x_23, x_22); if (lean_obj_tag(x_24) == 0) { @@ -64190,7 +65252,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_17, x_26, x_25); if (lean_obj_tag(x_27) == 0) { @@ -64198,10 +65260,10 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11; x_30 = l_Lean_Parser_Term_sufficesDecl___closed__2; -x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12; -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13; +x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13; x_33 = l_Lean_Parser_registerAlias(x_29, x_30, x_31, x_32, x_6, x_28); if (lean_obj_tag(x_33) == 0) { @@ -64209,7 +65271,7 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14; x_36 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_29, x_35, x_34); if (lean_obj_tag(x_36) == 0) { @@ -64217,7 +65279,7 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); -x_38 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15; +x_38 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15; x_39 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_29, x_38, x_37); if (lean_obj_tag(x_39) == 0) { @@ -64225,10 +65287,10 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); lean_dec(x_39); -x_41 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16; +x_41 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16; x_42 = l_Lean_Parser_Term_letRecDecls___closed__2; -x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17; -x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18; +x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17; +x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18; x_45 = l_Lean_Parser_registerAlias(x_41, x_42, x_43, x_44, x_6, x_40); if (lean_obj_tag(x_45) == 0) { @@ -64236,7 +65298,7 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19; +x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19; x_48 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_41, x_47, x_46); if (lean_obj_tag(x_48) == 0) { @@ -64244,7 +65306,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20; +x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20; x_51 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_41, x_50, x_49); if (lean_obj_tag(x_51) == 0) { @@ -64252,10 +65314,10 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_dec(x_51); -x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21; +x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21; x_54 = l_Lean_Parser_Term_hole___closed__2; -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23; x_57 = l_Lean_Parser_registerAlias(x_53, x_54, x_55, x_56, x_6, x_52); if (lean_obj_tag(x_57) == 0) { @@ -64263,7 +65325,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_53, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -64271,7 +65333,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_53, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -64279,10 +65341,10 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26; x_66 = l_Lean_Parser_Term_syntheticHole___closed__2; -x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27; -x_68 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28; +x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27; +x_68 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28; x_69 = l_Lean_Parser_registerAlias(x_65, x_66, x_67, x_68, x_6, x_64); if (lean_obj_tag(x_69) == 0) { @@ -64290,7 +65352,7 @@ lean_object* x_70; lean_object* x_71; lean_object* x_72; x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); -x_71 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29; +x_71 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29; x_72 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_65, x_71, x_70); if (lean_obj_tag(x_72) == 0) { @@ -64298,7 +65360,7 @@ lean_object* x_73; lean_object* x_74; lean_object* x_75; x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); -x_74 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30; +x_74 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30; x_75 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_65, x_74, x_73); if (lean_obj_tag(x_75) == 0) { @@ -64306,10 +65368,10 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); lean_dec(x_75); -x_77 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31; +x_77 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31; x_78 = l_Lean_Parser_Term_matchDiscr___closed__2; -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32; -x_80 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32; +x_80 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33; x_81 = l_Lean_Parser_registerAlias(x_77, x_78, x_79, x_80, x_6, x_76); if (lean_obj_tag(x_81) == 0) { @@ -64317,7 +65379,7 @@ lean_object* x_82; lean_object* x_83; lean_object* x_84; x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); -x_83 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34; +x_83 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34; x_84 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_77, x_83, x_82); if (lean_obj_tag(x_84) == 0) { @@ -64325,7 +65387,7 @@ lean_object* x_85; lean_object* x_86; lean_object* x_87; x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); lean_dec(x_84); -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_77, x_86, x_85); if (lean_obj_tag(x_87) == 0) { @@ -64333,10 +65395,10 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36; x_90 = l_Lean_Parser_Term_bracketedBinder___closed__2; -x_91 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37; -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38; +x_91 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38; x_93 = l_Lean_Parser_registerAlias(x_89, x_90, x_91, x_92, x_6, x_88); if (lean_obj_tag(x_93) == 0) { @@ -64344,7 +65406,7 @@ lean_object* x_94; lean_object* x_95; lean_object* x_96; x_94 = lean_ctor_get(x_93, 1); lean_inc(x_94); lean_dec(x_93); -x_95 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39; +x_95 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39; x_96 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_89, x_95, x_94); if (lean_obj_tag(x_96) == 0) { @@ -64352,7 +65414,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); -x_98 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40; +x_98 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40; x_99 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_89, x_98, x_97); if (lean_obj_tag(x_99) == 0) { @@ -64360,10 +65422,10 @@ lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_100 = lean_ctor_get(x_99, 1); lean_inc(x_100); lean_dec(x_99); -x_101 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41; +x_101 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41; x_102 = l_Lean_Parser_Term_attrKind___closed__2; -x_103 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42; -x_104 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43; +x_103 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42; +x_104 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43; x_105 = l_Lean_Parser_registerAlias(x_101, x_102, x_103, x_104, x_6, x_100); if (lean_obj_tag(x_105) == 0) { @@ -64371,7 +65433,7 @@ lean_object* x_106; lean_object* x_107; lean_object* x_108; x_106 = lean_ctor_get(x_105, 1); lean_inc(x_106); lean_dec(x_105); -x_107 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44; +x_107 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44; x_108 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_101, x_107, x_106); if (lean_obj_tag(x_108) == 0) { @@ -64379,7 +65441,7 @@ lean_object* x_109; lean_object* x_110; lean_object* x_111; x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); -x_110 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45; +x_110 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45; x_111 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_101, x_110, x_109); return x_111; } @@ -70759,6 +71821,180 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed if (builtin) {res = l___regBuiltin_Lean_Parser_Term_have_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Parser_Term_haveI___closed__1 = _init_l_Lean_Parser_Term_haveI___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__1); +l_Lean_Parser_Term_haveI___closed__2 = _init_l_Lean_Parser_Term_haveI___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__2); +l_Lean_Parser_Term_haveI___closed__3 = _init_l_Lean_Parser_Term_haveI___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__3); +l_Lean_Parser_Term_haveI___closed__4 = _init_l_Lean_Parser_Term_haveI___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__4); +l_Lean_Parser_Term_haveI___closed__5 = _init_l_Lean_Parser_Term_haveI___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__5); +l_Lean_Parser_Term_haveI___closed__6 = _init_l_Lean_Parser_Term_haveI___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__6); +l_Lean_Parser_Term_haveI___closed__7 = _init_l_Lean_Parser_Term_haveI___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__7); +l_Lean_Parser_Term_haveI___closed__8 = _init_l_Lean_Parser_Term_haveI___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__8); +l_Lean_Parser_Term_haveI___closed__9 = _init_l_Lean_Parser_Term_haveI___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__9); +l_Lean_Parser_Term_haveI___closed__10 = _init_l_Lean_Parser_Term_haveI___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__10); +l_Lean_Parser_Term_haveI___closed__11 = _init_l_Lean_Parser_Term_haveI___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_haveI___closed__11); +l_Lean_Parser_Term_haveI = _init_l_Lean_Parser_Term_haveI(); +lean_mark_persistent(l_Lean_Parser_Term_haveI); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_haveI(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_haveI_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__1); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__2); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__3 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__3); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__4 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__4); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__5 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__5); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__6 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__6); +l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__7 = _init_l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_haveI_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Term_haveI_formatter___closed__1 = _init_l_Lean_Parser_Term_haveI_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__1); +l_Lean_Parser_Term_haveI_formatter___closed__2 = _init_l_Lean_Parser_Term_haveI_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__2); +l_Lean_Parser_Term_haveI_formatter___closed__3 = _init_l_Lean_Parser_Term_haveI_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__3); +l_Lean_Parser_Term_haveI_formatter___closed__4 = _init_l_Lean_Parser_Term_haveI_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__4); +l_Lean_Parser_Term_haveI_formatter___closed__5 = _init_l_Lean_Parser_Term_haveI_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__5); +l_Lean_Parser_Term_haveI_formatter___closed__6 = _init_l_Lean_Parser_Term_haveI_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_formatter___closed__6); +l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__1); +l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_formatter___closed__2); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_haveI_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Term_haveI_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__1); +l_Lean_Parser_Term_haveI_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__2); +l_Lean_Parser_Term_haveI_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__3); +l_Lean_Parser_Term_haveI_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__4); +l_Lean_Parser_Term_haveI_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__5); +l_Lean_Parser_Term_haveI_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_haveI_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_haveI_parenthesizer___closed__6); +l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__1); +l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer___closed__2); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_haveI_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Term_letI___closed__1 = _init_l_Lean_Parser_Term_letI___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__1); +l_Lean_Parser_Term_letI___closed__2 = _init_l_Lean_Parser_Term_letI___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__2); +l_Lean_Parser_Term_letI___closed__3 = _init_l_Lean_Parser_Term_letI___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__3); +l_Lean_Parser_Term_letI___closed__4 = _init_l_Lean_Parser_Term_letI___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__4); +l_Lean_Parser_Term_letI___closed__5 = _init_l_Lean_Parser_Term_letI___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__5); +l_Lean_Parser_Term_letI___closed__6 = _init_l_Lean_Parser_Term_letI___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__6); +l_Lean_Parser_Term_letI___closed__7 = _init_l_Lean_Parser_Term_letI___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__7); +l_Lean_Parser_Term_letI___closed__8 = _init_l_Lean_Parser_Term_letI___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__8); +l_Lean_Parser_Term_letI___closed__9 = _init_l_Lean_Parser_Term_letI___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__9); +l_Lean_Parser_Term_letI___closed__10 = _init_l_Lean_Parser_Term_letI___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__10); +l_Lean_Parser_Term_letI___closed__11 = _init_l_Lean_Parser_Term_letI___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_letI___closed__11); +l_Lean_Parser_Term_letI = _init_l_Lean_Parser_Term_letI(); +lean_mark_persistent(l_Lean_Parser_Term_letI); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_letI(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_docString___closed__1); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_letI_docString(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__1); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__2); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__3 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__3); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__4 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__4); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__5 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__5); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__6 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__6); +l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__7 = _init_l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_declRange___closed__7); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_letI_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Term_letI_formatter___closed__1 = _init_l_Lean_Parser_Term_letI_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__1); +l_Lean_Parser_Term_letI_formatter___closed__2 = _init_l_Lean_Parser_Term_letI_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__2); +l_Lean_Parser_Term_letI_formatter___closed__3 = _init_l_Lean_Parser_Term_letI_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__3); +l_Lean_Parser_Term_letI_formatter___closed__4 = _init_l_Lean_Parser_Term_letI_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__4); +l_Lean_Parser_Term_letI_formatter___closed__5 = _init_l_Lean_Parser_Term_letI_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__5); +l_Lean_Parser_Term_letI_formatter___closed__6 = _init_l_Lean_Parser_Term_letI_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_letI_formatter___closed__6); +l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__1); +l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_formatter___closed__2); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_letI_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Term_letI_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__1); +l_Lean_Parser_Term_letI_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__2); +l_Lean_Parser_Term_letI_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__3); +l_Lean_Parser_Term_letI_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__4); +l_Lean_Parser_Term_letI_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__5); +l_Lean_Parser_Term_letI_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_letI_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_letI_parenthesizer___closed__6); +l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__1); +l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letI_parenthesizer___closed__2); +if (builtin) {res = l___regBuiltin_Lean_Parser_Term_letI_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_Parser_Term_scoped___closed__1 = _init_l_Lean_Parser_Term_scoped___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_scoped___closed__1); l_Lean_Parser_Term_scoped___closed__2 = _init_l_Lean_Parser_Term_scoped___closed__2(); @@ -75030,97 +76266,97 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer___c if (builtin) {res = l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__36); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__37); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__38); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__39); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__40); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__41); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__42); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__43); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__44); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753____closed__45); -if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4753_(lean_io_mk_world()); +}l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__37); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__38); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__39); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__40); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__41); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__42); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__43); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__44); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817____closed__45); +if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4817_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index b0e573648b..b0e3c3a771 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -160,6 +160,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at_Lean_PrettyPrinter_Delaborator_delabConst___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_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__10___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2; @@ -213,6 +214,7 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabProj__ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSigma___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__40(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__14; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabApp___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__1___closed__7; @@ -274,6 +276,7 @@ lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotati lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__12; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__6; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__2(lean_object*); lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCond___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabAppImplicitCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -382,6 +385,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignatur lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_getPPMatch___boxed(lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_coeDelaborator___closed__2; LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__7(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,6 +398,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandRegularApp(lea LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabNeg___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNeg___closed__4; lean_object* l_Lean_isLHSGoal_x3f(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE(lean_object*); @@ -433,6 +438,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6__ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature___lambda__1___closed__2; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_useAppExplicit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__16___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -483,6 +489,7 @@ extern lean_object* l_Lean_pp_piBinderTypes; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSigma___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_coeDelaborator___closed__2; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__2___rarg(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_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders(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_PrettyPrinter_Delaborator_delabAppMatch___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); @@ -570,6 +577,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda_ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPInstanceTypes___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_AppMatchState_motiveNamed___default; static lean_object* l_Lean_PrettyPrinter_Delaborator_isRegularApp___lambda__4___closed__1; @@ -599,9 +607,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delabora static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__3(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__3; lean_object* l_Lean_getPPUnicodeFun___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_coeDelaborator___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__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_Lean_unresolveNameGlobal___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -628,6 +636,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabNegIntCore___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__5(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_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6___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___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); @@ -643,6 +652,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___closed__14; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicitCore___lambda__2___closed__2; +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1; lean_object* l_instInhabited___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBoundedAppFnArgs___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__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_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__8(lean_object*); @@ -686,8 +696,10 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___close static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7; lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8___rarg(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_PrettyPrinter_Delaborator_declSigWithId_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNeg___closed__1; @@ -711,6 +723,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignatur LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPCoercions___boxed(lean_object*); extern lean_object* l_Lean_rootNamespace; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__4(lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; @@ -943,6 +956,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabCond___closed__1; lean_object* l_Lean_getPPPiBinderTypes___boxed(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__8; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_coeDelaborator___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__5(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__12; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux(lean_object*); @@ -1091,12 +1105,14 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delabora extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDivRatCore___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__1(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___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_PrettyPrinter_Delaborator_delabLit___closed__3; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__2; lean_object* l_Array_ofSubarray___rarg(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__1___closed__1; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1; @@ -1179,6 +1195,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2__ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__7(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___rarg(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_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDoElems___spec__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_PrettyPrinter_Delaborator_withMDatasOptions___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1219,6 +1236,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___close LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDivRatCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFnArgs___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__5(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_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__6(lean_object*); @@ -1284,6 +1302,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__12; extern lean_object* l_Lean_PrettyPrinter_Delaborator_delabAttribute; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__10; static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5; uint8_t l_Lean_Expr_isConst(lean_object*); @@ -1318,10 +1337,12 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_consumeMData(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_isRegularApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__2; @@ -1347,6 +1368,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfScientific___closed__6; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__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_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicitCore___lambda__2___closed__4; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__1; @@ -28025,10 +28047,967 @@ 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_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_projectionFnInfoExt; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo(lean_object* x_1, 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; +x_8 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 5) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_getAppFn(x_11); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 4) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +if (lean_obj_tag(x_13) == 1) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +x_15 = lean_st_ref_get(x_6, x_10); +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); +lean_dec(x_16); +x_19 = l_Lean_instInhabitedProjectionFunctionInfo; +x_20 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1; +lean_inc(x_18); +x_21 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_19, x_20, x_18, x_13); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_dec(x_18); +lean_dec(x_14); +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_PrettyPrinter_Delaborator_failure___rarg(x_17); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*3); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = l_Lean_PrettyPrinter_Delaborator_useAppExplicit___closed__1; +x_26 = l_Lean_PrettyPrinter_Delaborator_getPPOption___rarg(x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_17); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_55; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +x_55 = lean_unbox(x_27); +lean_dec(x_27); +if (x_55 == 0) +{ +x_30 = x_28; +goto block_54; +} +else +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_23, 1); +lean_inc(x_56); +x_57 = lean_unsigned_to_nat(0u); +x_58 = lean_nat_dec_eq(x_56, x_57); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +lean_dec(x_29); +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_14); +x_59 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_28); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +return x_59; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_59); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +else +{ +x_30 = x_28; +goto block_54; +} +} +block_54: +{ +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_23, 1); +lean_inc(x_31); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_31, x_32); +lean_dec(x_31); +x_34 = lean_ctor_get(x_23, 0); +lean_inc(x_34); +lean_dec(x_23); +lean_inc(x_18); +x_35 = lean_environment_find(x_18, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +x_36 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_30); +return x_36; +} +else +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +if (lean_obj_tag(x_37) == 6) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_box(0); +x_41 = l_Lean_Name_str___override(x_40, x_14); +lean_inc(x_41); +x_42 = l_Lean_isSubobjectField_x3f(x_18, x_39, x_41); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = 0; +x_44 = lean_box(x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_33); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_41); +lean_ctor_set(x_46, 1, x_45); +if (lean_is_scalar(x_29)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_29; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_30); +return x_47; +} +else +{ +uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_42); +x_48 = 1; +x_49 = lean_box(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_33); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_41); +lean_ctor_set(x_51, 1, x_50); +if (lean_is_scalar(x_29)) { + x_52 = lean_alloc_ctor(0, 2, 0); +} else { + x_52 = x_29; +} +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_30); +return x_52; +} +} +else +{ +lean_object* x_53; +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +x_53 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_30); +return x_53; +} +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_14); +x_64 = !lean_is_exclusive(x_26); +if (x_64 == 0) +{ +return x_26; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_26, 0); +x_66 = lean_ctor_get(x_26, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_26); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +lean_object* x_68; uint8_t x_69; +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_14); +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_68 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_17); +x_69 = !lean_is_exclusive(x_68); +if (x_69 == 0) +{ +return x_68; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_68, 0); +x_71 = lean_ctor_get(x_68, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_68); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +else +{ +lean_object* x_73; +lean_dec(x_13); +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_73 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_10); +return x_73; +} +} +else +{ +lean_object* x_74; +lean_dec(x_12); +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_74 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_10); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_9); +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_75 = lean_ctor_get(x_8, 1); +lean_inc(x_75); +lean_dec(x_8); +x_76 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_75); +return x_76; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_4, 3); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_SubExpr_Pos_push(x_13, x_2); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_4, 3, x_15); +x_16 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_21 = lean_ctor_get(x_4, 3); +x_22 = lean_ctor_get(x_4, 4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_SubExpr_Pos_push(x_23, x_2); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_18); +lean_ctor_set(x_26, 2, x_19); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_20); +x_27 = lean_apply_7(x_3, x_26, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__2___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___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, 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; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__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 = l_Lean_Expr_appArg_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__2___rarg(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__1___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___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, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_4, 3); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_SubExpr_Pos_push(x_13, x_2); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_4, 3, x_15); +x_16 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_21 = lean_ctor_get(x_4, 3); +x_22 = lean_ctor_get(x_4, 4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_SubExpr_Pos_push(x_23, x_2); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_18); +lean_ctor_set(x_26, 2, x_19); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_20); +x_27 = lean_apply_7(x_3, x_26, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__4___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__3___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__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 = l_Lean_Expr_appArg_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__4___rarg(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__3___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_4, 3); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_SubExpr_Pos_push(x_13, x_2); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_4, 3, x_15); +x_16 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_21 = lean_ctor_get(x_4, 3); +x_22 = lean_ctor_get(x_4, 4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_SubExpr_Pos_push(x_23, x_2); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_18); +lean_ctor_set(x_26, 2, x_19); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_20); +x_27 = lean_apply_7(x_3, x_26, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__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 = l_Lean_Expr_appArg_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__6___rarg(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__5___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_4, 3); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_SubExpr_Pos_push(x_13, x_2); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_4, 3, x_15); +x_16 = lean_apply_7(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_4, 2); +x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +x_21 = lean_ctor_get(x_4, 3); +x_22 = lean_ctor_get(x_4, 4); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_SubExpr_Pos_push(x_23, x_2); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_18); +lean_ctor_set(x_26, 2, x_19); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_20); +x_27 = lean_apply_7(x_3, x_26, x_5, x_6, x_7, x_8, x_9, x_10); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__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 = l_Lean_Expr_appArg_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__8___rarg(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7___rarg), 8, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___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; lean_object* x_10; lean_object* x_27; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_27 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_29); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_9 = x_34; +x_10 = x_35; +goto block_26; +} +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; uint8_t x_43; +x_36 = lean_ctor_get(x_27, 1); +lean_inc(x_36); +lean_dec(x_27); +x_37 = lean_ctor_get(x_29, 0); +lean_inc(x_37); +lean_dec(x_29); +x_38 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_36); +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 = lean_unsigned_to_nat(0u); +x_42 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_39, x_41); +lean_dec(x_39); +x_43 = lean_nat_dec_eq(x_42, x_37); +lean_dec(x_37); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_40); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_9 = x_45; +x_10 = x_46; +goto block_26; +} +else +{ +lean_object* x_47; lean_object* x_48; +lean_inc(x_1); +x_47 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___rarg), 8, 1); +lean_closure_set(x_47, 0, x_1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_48 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___spec__7___rarg(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_40); +if (lean_obj_tag(x_48) == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_9 = x_49; +x_10 = x_50; +goto block_26; +} +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_27, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_27, 1); +lean_inc(x_52); +lean_dec(x_27); +x_9 = x_51; +x_10 = x_52; +goto block_26; +} +block_26: +{ +uint8_t x_11; +x_11 = l_Lean_Exception_isRuntime(x_9); +if (x_11 == 0) +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_12; +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 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +x_14 = l_List_firstM___at_Lean_PrettyPrinter_Delaborator_unexpandRegularApp___spec__1___closed__1; +x_15 = lean_nat_dec_eq(x_14, x_13); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; +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_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_9); +x_17 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +return x_17; +} +} +} +else +{ +uint8_t x_18; +x_18 = lean_ctor_get_uint8(x_6, sizeof(void*)*11); +if (x_18 == 0) +{ +lean_object* x_19; +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_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_10); +return x_19; +} +else +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_20; +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_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_10); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_9, 0); +lean_inc(x_21); +x_22 = l_List_firstM___at_Lean_PrettyPrinter_Delaborator_unexpandRegularApp___spec__1___closed__1; +x_23 = lean_nat_dec_eq(x_22, x_21); +lean_dec(x_21); +if (x_23 == 0) +{ +lean_object* x_24; +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_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_9); +lean_ctor_set(x_24, 1, x_10); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_9); +x_25 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +return x_25; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___rarg), 8, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___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; 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_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; x_10 = lean_ctor_get(x_7, 5); lean_inc(x_10); lean_dec(x_7); @@ -28039,303 +29018,87 @@ 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 = lean_box(0); -x_16 = l_Lean_Name_str___override(x_15, x_1); -x_17 = lean_mk_syntax_ident(x_16); -x_18 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__6; -x_19 = l_Lean_Syntax_node3(x_12, x_18, x_2, x_14, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_9); -return x_20; +x_15 = lean_mk_syntax_ident(x_1); +x_16 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__6; +x_17 = l_Lean_Syntax_node3(x_12, x_16, x_2, x_14, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_9); +return x_18; } } static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1() { _start: { -lean_object* x_1; -x_1 = l_Lean_projectionFnInfoExt; -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicitCore___lambda__4___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_withoutParentProjections___rarg), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__1), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_1, 0); -x_10 = l_Lean_Expr_getAppFn(x_9); -if (lean_obj_tag(x_10) == 4) -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_9, 0); lean_inc(x_11); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 1) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -x_13 = lean_st_ref_get(x_7, x_8); -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 = l_Lean_instInhabitedProjectionFunctionInfo; -x_18 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1; -x_19 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_17, x_18, x_16, x_11); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -lean_dec(x_12); -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_PrettyPrinter_Delaborator_failure___rarg(x_15); -return x_20; -} -else -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get_uint8(x_21, sizeof(void*)*3); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = l_Lean_PrettyPrinter_Delaborator_useAppExplicit___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_24 = l_Lean_PrettyPrinter_Delaborator_getPPOption___rarg(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (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; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -lean_dec(x_21); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_add(x_28, x_29); -lean_dec(x_28); -x_31 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed), 9, 1); -lean_closure_set(x_31, 0, x_12); -x_32 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; -x_33 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__1___rarg), 9, 2); -lean_closure_set(x_33, 0, x_32); -lean_closure_set(x_33, 1, x_31); -x_34 = l_Lean_PrettyPrinter_Delaborator_withOverApp(x_30, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_27); -lean_dec(x_30); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_24, 1); -lean_inc(x_35); -lean_dec(x_24); -x_36 = lean_ctor_get(x_21, 1); -lean_inc(x_36); -lean_dec(x_21); -x_37 = lean_unsigned_to_nat(0u); -x_38 = lean_nat_dec_eq(x_36, x_37); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -lean_dec(x_36); -lean_dec(x_12); -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_39 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_35); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -return x_39; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_39, 0); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_39); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_unsigned_to_nat(1u); -x_45 = lean_nat_add(x_36, x_44); -lean_dec(x_36); -x_46 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed), 9, 1); -lean_closure_set(x_46, 0, x_12); -x_47 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; -x_48 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__1___rarg), 9, 2); -lean_closure_set(x_48, 0, x_47); -lean_closure_set(x_48, 1, x_46); -x_49 = l_Lean_PrettyPrinter_Delaborator_withOverApp(x_45, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_35); -lean_dec(x_45); -return x_49; -} -} -} -else -{ -uint8_t x_50; -lean_dec(x_21); -lean_dec(x_12); -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_50 = !lean_is_exclusive(x_24); -if (x_50 == 0) -{ -return x_24; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_24, 0); -x_52 = lean_ctor_get(x_24, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_24); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -else -{ -lean_object* x_54; uint8_t x_55; -lean_dec(x_21); -lean_dec(x_12); -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_54 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_15); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -return x_54; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_54); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -} -else -{ -lean_object* x_59; +lean_dec(x_9); +x_12 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed), 9, 1); +lean_closure_set(x_12, 0, x_10); +x_13 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2; +x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__1___rarg), 9, 2); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_12); +x_15 = l_Lean_PrettyPrinter_Delaborator_withOverApp(x_11, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(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); -x_59 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); -return x_59; -} -} -else -{ -lean_object* x_60; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_60 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); -return x_60; -} -} -else -{ -lean_object* x_61; -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_61 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); -return x_61; -} +return x_15; } } static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo), 7, 0); return x_1; } } static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; -x_2 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2; x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__1___rarg), 9, 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_PrettyPrinter_Delaborator_delabProjectionApp___closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4() { _start: { lean_object* x_1; @@ -28347,8 +29110,8 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp(lea _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3; -x_9 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3; x_10 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_8, x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_10; } @@ -28366,15 +29129,6 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); -return x_9; -} -} static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1() { _start: { @@ -32044,7 +32798,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_PrettyPrinter_Delaborator_delabFVar___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__4; -x_3 = lean_unsigned_to_nat(910u); +x_3 = lean_unsigned_to_nat(937u); x_4 = lean_unsigned_to_nat(40u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -41310,14 +42064,20 @@ lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___c if (builtin) {res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1(); +}l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_projInfo___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__2___closed__2); l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1); l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2); l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__4); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2();