From bfb981d4655c5fbfc10ecef68c90189236229ea7 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sun, 25 Feb 2024 10:40:45 -0800 Subject: [PATCH] chore: update stage0 --- stage0/stdlib/Init/Notation.c | 84 + stage0/stdlib/Lean/Data/Json/Basic.c | 1312 +- stage0/stdlib/Lean/Data/JsonRpc.c | 1659 +- stage0/stdlib/Lean/Elab/GuardMsgs.c | 1850 ++- stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c | 92 +- .../stdlib/Lean/Elab/Tactic/Omega/Frontend.c | 12736 ++++++++-------- stage0/stdlib/Lean/Server/CodeActions/Attr.c | 1759 ++- .../stdlib/Lean/Server/CodeActions/Provider.c | 117 +- 8 files changed, 10897 insertions(+), 8712 deletions(-) diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index e8201c591d..be4919b0b1 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -52,6 +52,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1__ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__BEq__beq__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___u2209____1___closed__2; static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__5; +static lean_object* l_Lean_builtin__command__code__action___closed__1; static lean_object* l_Lean_guardMsgsSpec___closed__3; static lean_object* l_stx___x3c_x7c_x3e_____closed__1; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__6; @@ -158,6 +159,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___clo static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x24_x3e____1___closed__7; static lean_object* l_Lean_guardMsgsSpec___closed__9; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____2___closed__3; +static lean_object* l_Lean_builtin__command__code__action___closed__2; static lean_object* l_term___x3e_____closed__5; static lean_object* l_Lean_guardMsgsSpecElt___closed__3; LEAN_EXPORT lean_object* l_Lean_guardMsgsSpec; @@ -344,6 +346,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_builtin__command__code__action___closed__3; static lean_object* l_Lean_command__code__action___closed__6; static lean_object* l_Lean_runMeta___closed__1; static lean_object* l_Lean_guardMsgsCmd___closed__14; @@ -862,6 +865,7 @@ static lean_object* l_term___u2209_____closed__1; static lean_object* l_term___x2b_x2b_____closed__6; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_addPrec___closed__14; +static lean_object* l_Lean_builtin__command__code__action___closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3e_x3e____1___closed__3; static lean_object* l_prioMid___closed__1; static lean_object* l_term___x7c_x3e_____closed__2; @@ -999,6 +1003,7 @@ LEAN_EXPORT lean_object* l_term___u2228__; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HOr__hOr__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_caseArg___closed__2; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__SeqLeft__seqLeft__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_builtin__command__code__action; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Eq__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_term___xd7_____closed__7; static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___closed__2; @@ -1431,6 +1436,7 @@ static lean_object* l_term___u2227_____closed__1; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2; static lean_object* l___aux__Init__Notation______macroRules__term___x2b_x2b____1___closed__6; static lean_object* l___aux__Init__Notation______macroRules__stx___x2b__1___closed__7; +static lean_object* l_Lean_builtin__command__code__action___closed__4; static lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1___closed__7; LEAN_EXPORT lean_object* l_term_x21__; static lean_object* l_stx___x2a___closed__1; @@ -26753,6 +26759,72 @@ x_1 = l_Lean_command__code__action___closed__6; return x_1; } } +static lean_object* _init_l_Lean_builtin__command__code__action___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("builtin_command_code_action", 27); +return x_1; +} +} +static lean_object* _init_l_Lean_builtin__command__code__action___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_builtin__command__code__action___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_builtin__command__code__action___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_builtin__command__code__action___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_builtin__command__code__action___closed__4() { +_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_builtin__command__code__action___closed__3; +x_3 = l_Lean_command__code__action___closed__4; +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_builtin__command__code__action___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_builtin__command__code__action___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_builtin__command__code__action___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_builtin__command__code__action() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_builtin__command__code__action___closed__5; +return x_1; +} +} static lean_object* _init_l_Lean_includeStr___closed__1() { _start: { @@ -30040,6 +30112,18 @@ l_Lean_command__code__action___closed__6 = _init_l_Lean_command__code__action___ lean_mark_persistent(l_Lean_command__code__action___closed__6); l_Lean_command__code__action = _init_l_Lean_command__code__action(); lean_mark_persistent(l_Lean_command__code__action); +l_Lean_builtin__command__code__action___closed__1 = _init_l_Lean_builtin__command__code__action___closed__1(); +lean_mark_persistent(l_Lean_builtin__command__code__action___closed__1); +l_Lean_builtin__command__code__action___closed__2 = _init_l_Lean_builtin__command__code__action___closed__2(); +lean_mark_persistent(l_Lean_builtin__command__code__action___closed__2); +l_Lean_builtin__command__code__action___closed__3 = _init_l_Lean_builtin__command__code__action___closed__3(); +lean_mark_persistent(l_Lean_builtin__command__code__action___closed__3); +l_Lean_builtin__command__code__action___closed__4 = _init_l_Lean_builtin__command__code__action___closed__4(); +lean_mark_persistent(l_Lean_builtin__command__code__action___closed__4); +l_Lean_builtin__command__code__action___closed__5 = _init_l_Lean_builtin__command__code__action___closed__5(); +lean_mark_persistent(l_Lean_builtin__command__code__action___closed__5); +l_Lean_builtin__command__code__action = _init_l_Lean_builtin__command__code__action(); +lean_mark_persistent(l_Lean_builtin__command__code__action); l_Lean_includeStr___closed__1 = _init_l_Lean_includeStr___closed__1(); lean_mark_persistent(l_Lean_includeStr___closed__1); l_Lean_includeStr___closed__2 = _init_l_Lean_includeStr___closed__2(); diff --git a/stage0/stdlib/Lean/Data/Json/Basic.c b/stage0/stdlib/Lean/Data/Json/Basic.c index 05d17e5c48..4149d5302b 100644 --- a/stage0/stdlib/Lean/Data/Json/Basic.c +++ b/stage0/stdlib/Lean/Data/Json/Basic.c @@ -636,24 +636,32 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint x_41 = lean_ctor_get(x_37, 0); x_42 = lean_ctor_get(x_39, 0); x_43 = lean_ctor_get(x_39, 1); -x_44 = l_Lean_JsonNumber_normalize___closed__1; -x_45 = lean_int_dec_lt(x_34, x_44); +x_44 = l_Lean_JsonNumber_lt___closed__1; +x_45 = lean_int_dec_eq(x_34, x_44); if (x_45 == 0) { -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = lean_nat_abs(x_34); -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); +lean_object* x_46; uint8_t x_47; +x_46 = l_Lean_JsonNumber_normalize___closed__2; +x_47 = lean_int_dec_eq(x_34, x_46); +lean_dec(x_34); +if (x_47 == 0) +{ +lean_dec(x_41); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_37, 1, x_43); +lean_ctor_set(x_37, 0, x_42); +x_3 = x_39; +x_4 = x_37; +goto block_31; +} +else +{ +uint8_t x_48; +x_48 = lean_int_dec_eq(x_41, x_44); +lean_dec(x_41); if (x_48 == 0) { -lean_object* x_49; uint8_t x_50; -x_49 = l_Lean_JsonNumber_lt___closed__1; -x_50 = lean_int_dec_eq(x_34, x_49); -lean_dec(x_34); -if (x_50 == 0) -{ -lean_dec(x_41); lean_ctor_set(x_39, 1, x_36); lean_ctor_set(x_39, 0, x_35); lean_ctor_set(x_37, 1, x_43); @@ -664,57 +672,31 @@ goto block_31; } else { -uint8_t x_51; -x_51 = lean_int_dec_eq(x_41, x_49); -lean_dec(x_41); +uint8_t x_49; +lean_free_object(x_39); +lean_dec(x_43); +lean_dec(x_42); +lean_free_object(x_37); +lean_dec(x_36); +lean_dec(x_35); +x_49 = 0; +return x_49; +} +} +} +else +{ +lean_object* x_50; uint8_t x_51; +lean_dec(x_34); +x_50 = l_Lean_JsonNumber_normalize___closed__2; +x_51 = lean_int_dec_eq(x_41, x_50); if (x_51 == 0) { -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -else -{ -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -} -} -else -{ uint8_t x_52; -x_52 = lean_int_dec_lt(x_41, x_44); +x_52 = lean_int_dec_eq(x_41, x_44); +lean_dec(x_41); if (x_52 == 0) { -lean_object* x_53; uint8_t x_54; -x_53 = l_Lean_JsonNumber_lt___closed__1; -x_54 = lean_int_dec_eq(x_34, x_53); -lean_dec(x_34); -if (x_54 == 0) -{ -lean_dec(x_41); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_55; -x_55 = lean_int_dec_eq(x_41, x_53); -lean_dec(x_41); -if (x_55 == 0) -{ lean_ctor_set(x_39, 1, x_36); lean_ctor_set(x_39, 0, x_35); lean_ctor_set(x_37, 1, x_43); @@ -732,1106 +714,270 @@ x_4 = x_37; goto block_31; } } +else +{ +uint8_t x_53; +lean_free_object(x_39); +lean_dec(x_43); +lean_dec(x_42); +lean_free_object(x_37); +lean_dec(x_41); +lean_dec(x_36); +lean_dec(x_35); +x_53 = 1; +return x_53; +} +} } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_56 = lean_nat_abs(x_41); -x_57 = lean_nat_sub(x_56, x_47); -lean_dec(x_56); -x_58 = lean_unsigned_to_nat(0u); -x_59 = lean_nat_dec_eq(x_57, x_58); -lean_dec(x_57); -if (x_59 == 0) +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_54 = lean_ctor_get(x_37, 0); +x_55 = lean_ctor_get(x_39, 0); +x_56 = lean_ctor_get(x_39, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_39); +x_57 = l_Lean_JsonNumber_lt___closed__1; +x_58 = lean_int_dec_eq(x_34, x_57); +if (x_58 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = l_Lean_JsonNumber_lt___closed__1; -x_61 = lean_int_dec_eq(x_34, x_60); +lean_object* x_59; uint8_t x_60; +x_59 = l_Lean_JsonNumber_normalize___closed__2; +x_60 = lean_int_dec_eq(x_34, x_59); lean_dec(x_34); -if (x_61 == 0) +if (x_60 == 0) { -lean_dec(x_41); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; +lean_object* x_61; +lean_dec(x_54); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_35); +lean_ctor_set(x_61, 1, x_36); +lean_ctor_set(x_37, 1, x_56); +lean_ctor_set(x_37, 0, x_55); +x_3 = x_61; x_4 = x_37; goto block_31; } else { uint8_t x_62; -x_62 = lean_int_dec_eq(x_41, x_60); -lean_dec(x_41); +x_62 = lean_int_dec_eq(x_54, x_57); +lean_dec(x_54); if (x_62 == 0) { -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; +lean_object* x_63; +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_35); +lean_ctor_set(x_63, 1, x_36); +lean_ctor_set(x_37, 1, x_56); +lean_ctor_set(x_37, 0, x_55); +x_3 = x_63; x_4 = x_37; goto block_31; } else { -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -uint8_t x_63; -lean_free_object(x_39); -lean_dec(x_43); -lean_dec(x_42); +uint8_t x_64; +lean_dec(x_56); +lean_dec(x_55); lean_free_object(x_37); -lean_dec(x_41); lean_dec(x_36); lean_dec(x_35); -lean_dec(x_34); -x_63 = 0; -return x_63; -} +x_64 = 0; +return x_64; } } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_64 = lean_nat_abs(x_34); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_sub(x_64, x_65); -lean_dec(x_64); -x_67 = lean_unsigned_to_nat(0u); -x_68 = lean_nat_dec_eq(x_66, x_67); -lean_dec(x_66); -if (x_68 == 0) -{ -lean_object* x_69; uint8_t x_70; -x_69 = l_Lean_JsonNumber_lt___closed__1; -x_70 = lean_int_dec_eq(x_34, x_69); +lean_object* x_65; uint8_t x_66; lean_dec(x_34); -if (x_70 == 0) +x_65 = l_Lean_JsonNumber_normalize___closed__2; +x_66 = lean_int_dec_eq(x_54, x_65); +if (x_66 == 0) { -lean_dec(x_41); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_71; -x_71 = lean_int_dec_eq(x_41, x_69); -lean_dec(x_41); -if (x_71 == 0) -{ -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; +uint8_t x_67; +x_67 = lean_int_dec_eq(x_54, x_57); +lean_dec(x_54); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_35); +lean_ctor_set(x_68, 1, x_36); +lean_ctor_set(x_37, 1, x_56); +lean_ctor_set(x_37, 0, x_55); +x_3 = x_68; x_4 = x_37; goto block_31; } else { +lean_object* x_69; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_55); +lean_ctor_set(x_69, 1, x_56); lean_ctor_set(x_37, 1, x_36); lean_ctor_set(x_37, 0, x_35); -x_3 = x_39; +x_3 = x_69; x_4 = x_37; goto block_31; } } +else +{ +uint8_t x_70; +lean_dec(x_56); +lean_dec(x_55); +lean_free_object(x_37); +lean_dec(x_54); +lean_dec(x_36); +lean_dec(x_35); +x_70 = 1; +return x_70; +} +} +} } else { -uint8_t x_72; -x_72 = lean_int_dec_lt(x_41, x_44); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_nat_abs(x_41); -x_74 = lean_nat_dec_eq(x_73, x_65); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; -x_75 = l_Lean_JsonNumber_lt___closed__1; -x_76 = lean_int_dec_eq(x_34, x_75); -lean_dec(x_34); -if (x_76 == 0) -{ -lean_dec(x_41); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; -goto block_31; +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_71 = lean_ctor_get(x_37, 1); +x_72 = lean_ctor_get(x_37, 0); +lean_inc(x_71); +lean_inc(x_72); +lean_dec(x_37); +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_75 = x_71; +} else { + lean_dec_ref(x_71); + x_75 = lean_box(0); } -else -{ -uint8_t x_77; -x_77 = lean_int_dec_eq(x_41, x_75); -lean_dec(x_41); +x_76 = l_Lean_JsonNumber_lt___closed__1; +x_77 = lean_int_dec_eq(x_34, x_76); if (x_77 == 0) { -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; +lean_object* x_78; uint8_t x_79; +x_78 = l_Lean_JsonNumber_normalize___closed__2; +x_79 = lean_int_dec_eq(x_34, x_78); +lean_dec(x_34); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_72); +if (lean_is_scalar(x_75)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_75; +} +lean_ctor_set(x_80, 0, x_35); +lean_ctor_set(x_80, 1, x_36); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_73); +lean_ctor_set(x_81, 1, x_74); +x_3 = x_80; +x_4 = x_81; goto block_31; } else { -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_39; -x_4 = x_37; +uint8_t x_82; +x_82 = lean_int_dec_eq(x_72, x_76); +lean_dec(x_72); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +if (lean_is_scalar(x_75)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_75; +} +lean_ctor_set(x_83, 0, x_35); +lean_ctor_set(x_83, 1, x_36); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_73); +lean_ctor_set(x_84, 1, x_74); +x_3 = x_83; +x_4 = x_84; goto block_31; } -} -} else { -uint8_t x_78; -lean_free_object(x_39); -lean_dec(x_43); -lean_dec(x_42); -lean_free_object(x_37); -lean_dec(x_41); +uint8_t x_85; +lean_dec(x_75); +lean_dec(x_74); +lean_dec(x_73); lean_dec(x_36); lean_dec(x_35); -lean_dec(x_34); -x_78 = 1; -return x_78; +x_85 = 0; +return x_85; +} } } else { -lean_object* x_79; uint8_t x_80; -x_79 = l_Lean_JsonNumber_lt___closed__1; -x_80 = lean_int_dec_eq(x_34, x_79); +lean_object* x_86; uint8_t x_87; lean_dec(x_34); -if (x_80 == 0) +x_86 = l_Lean_JsonNumber_normalize___closed__2; +x_87 = lean_int_dec_eq(x_72, x_86); +if (x_87 == 0) { -lean_dec(x_41); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; +uint8_t x_88; +x_88 = lean_int_dec_eq(x_72, x_76); +lean_dec(x_72); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +if (lean_is_scalar(x_75)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_75; +} +lean_ctor_set(x_89, 0, x_35); +lean_ctor_set(x_89, 1, x_36); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_73); +lean_ctor_set(x_90, 1, x_74); +x_3 = x_89; +x_4 = x_90; goto block_31; } else { -uint8_t x_81; -x_81 = lean_int_dec_eq(x_41, x_79); -lean_dec(x_41); -if (x_81 == 0) -{ -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_37, 1, x_43); -lean_ctor_set(x_37, 0, x_42); -x_3 = x_39; -x_4 = x_37; -goto block_31; +lean_object* x_91; lean_object* x_92; +if (lean_is_scalar(x_75)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_75; } -else -{ -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_39; -x_4 = x_37; -goto block_31; -} -} -} -} -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_82 = lean_ctor_get(x_37, 0); -x_83 = lean_ctor_get(x_39, 0); -x_84 = lean_ctor_get(x_39, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_39); -x_85 = l_Lean_JsonNumber_normalize___closed__1; -x_86 = lean_int_dec_lt(x_34, x_85); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = lean_nat_abs(x_34); -x_88 = lean_unsigned_to_nat(1u); -x_89 = lean_nat_dec_eq(x_87, x_88); -lean_dec(x_87); -if (x_89 == 0) -{ -lean_object* x_90; uint8_t x_91; -x_90 = l_Lean_JsonNumber_lt___closed__1; -x_91 = lean_int_dec_eq(x_34, x_90); -lean_dec(x_34); -if (x_91 == 0) -{ -lean_object* x_92; -lean_dec(x_82); +lean_ctor_set(x_91, 0, x_73); +lean_ctor_set(x_91, 1, x_74); x_92 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_92, 0, x_35); lean_ctor_set(x_92, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_92; -x_4 = x_37; +x_3 = x_91; +x_4 = x_92; goto block_31; } +} else { uint8_t x_93; -x_93 = lean_int_dec_eq(x_82, x_90); -lean_dec(x_82); -if (x_93 == 0) -{ -lean_object* x_94; -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_35); -lean_ctor_set(x_94, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_94; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_95; -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_83); -lean_ctor_set(x_95, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_95; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -uint8_t x_96; -x_96 = lean_int_dec_lt(x_82, x_85); -if (x_96 == 0) -{ -lean_object* x_97; uint8_t x_98; -x_97 = l_Lean_JsonNumber_lt___closed__1; -x_98 = lean_int_dec_eq(x_34, x_97); -lean_dec(x_34); -if (x_98 == 0) -{ -lean_object* x_99; -lean_dec(x_82); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_35); -lean_ctor_set(x_99, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_99; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_100; -x_100 = lean_int_dec_eq(x_82, x_97); -lean_dec(x_82); -if (x_100 == 0) -{ -lean_object* x_101; -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_35); -lean_ctor_set(x_101, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_101; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_102; -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_83); -lean_ctor_set(x_102, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_102; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_103 = lean_nat_abs(x_82); -x_104 = lean_nat_sub(x_103, x_88); -lean_dec(x_103); -x_105 = lean_unsigned_to_nat(0u); -x_106 = lean_nat_dec_eq(x_104, x_105); -lean_dec(x_104); -if (x_106 == 0) -{ -lean_object* x_107; uint8_t x_108; -x_107 = l_Lean_JsonNumber_lt___closed__1; -x_108 = lean_int_dec_eq(x_34, x_107); -lean_dec(x_34); -if (x_108 == 0) -{ -lean_object* x_109; -lean_dec(x_82); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_35); -lean_ctor_set(x_109, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_109; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_110; -x_110 = lean_int_dec_eq(x_82, x_107); -lean_dec(x_82); -if (x_110 == 0) -{ -lean_object* x_111; -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_35); -lean_ctor_set(x_111, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_111; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_112; -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_83); -lean_ctor_set(x_112, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_112; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_84); -lean_dec(x_83); -lean_free_object(x_37); -lean_dec(x_82); +lean_dec(x_75); +lean_dec(x_74); +lean_dec(x_73); +lean_dec(x_72); lean_dec(x_36); lean_dec(x_35); -lean_dec(x_34); -x_113 = 0; -return x_113; -} -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_114 = lean_nat_abs(x_34); -x_115 = lean_unsigned_to_nat(1u); -x_116 = lean_nat_sub(x_114, x_115); -lean_dec(x_114); -x_117 = lean_unsigned_to_nat(0u); -x_118 = lean_nat_dec_eq(x_116, x_117); -lean_dec(x_116); -if (x_118 == 0) -{ -lean_object* x_119; uint8_t x_120; -x_119 = l_Lean_JsonNumber_lt___closed__1; -x_120 = lean_int_dec_eq(x_34, x_119); -lean_dec(x_34); -if (x_120 == 0) -{ -lean_object* x_121; -lean_dec(x_82); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_35); -lean_ctor_set(x_121, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_121; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_122; -x_122 = lean_int_dec_eq(x_82, x_119); -lean_dec(x_82); -if (x_122 == 0) -{ -lean_object* x_123; -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_35); -lean_ctor_set(x_123, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_123; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_124; -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_83); -lean_ctor_set(x_124, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_124; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -uint8_t x_125; -x_125 = lean_int_dec_lt(x_82, x_85); -if (x_125 == 0) -{ -lean_object* x_126; uint8_t x_127; -x_126 = lean_nat_abs(x_82); -x_127 = lean_nat_dec_eq(x_126, x_115); -lean_dec(x_126); -if (x_127 == 0) -{ -lean_object* x_128; uint8_t x_129; -x_128 = l_Lean_JsonNumber_lt___closed__1; -x_129 = lean_int_dec_eq(x_34, x_128); -lean_dec(x_34); -if (x_129 == 0) -{ -lean_object* x_130; -lean_dec(x_82); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_35); -lean_ctor_set(x_130, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_130; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_131; -x_131 = lean_int_dec_eq(x_82, x_128); -lean_dec(x_82); -if (x_131 == 0) -{ -lean_object* x_132; -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_35); -lean_ctor_set(x_132, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_132; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_133; -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_83); -lean_ctor_set(x_133, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_133; -x_4 = x_37; -goto block_31; -} -} -} -else -{ -uint8_t x_134; -lean_dec(x_84); -lean_dec(x_83); -lean_free_object(x_37); -lean_dec(x_82); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_34); -x_134 = 1; -return x_134; -} -} -else -{ -lean_object* x_135; uint8_t x_136; -x_135 = l_Lean_JsonNumber_lt___closed__1; -x_136 = lean_int_dec_eq(x_34, x_135); -lean_dec(x_34); -if (x_136 == 0) -{ -lean_object* x_137; -lean_dec(x_82); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_35); -lean_ctor_set(x_137, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_137; -x_4 = x_37; -goto block_31; -} -else -{ -uint8_t x_138; -x_138 = lean_int_dec_eq(x_82, x_135); -lean_dec(x_82); -if (x_138 == 0) -{ -lean_object* x_139; -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_35); -lean_ctor_set(x_139, 1, x_36); -lean_ctor_set(x_37, 1, x_84); -lean_ctor_set(x_37, 0, x_83); -x_3 = x_139; -x_4 = x_37; -goto block_31; -} -else -{ -lean_object* x_140; -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_83); -lean_ctor_set(x_140, 1, x_84); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 0, x_35); -x_3 = x_140; -x_4 = x_37; -goto block_31; -} -} -} -} -} -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_141 = lean_ctor_get(x_37, 1); -x_142 = lean_ctor_get(x_37, 0); -lean_inc(x_141); -lean_inc(x_142); -lean_dec(x_37); -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_141, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_145 = x_141; -} else { - lean_dec_ref(x_141); - x_145 = lean_box(0); -} -x_146 = l_Lean_JsonNumber_normalize___closed__1; -x_147 = lean_int_dec_lt(x_34, x_146); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_148 = lean_nat_abs(x_34); -x_149 = lean_unsigned_to_nat(1u); -x_150 = lean_nat_dec_eq(x_148, x_149); -lean_dec(x_148); -if (x_150 == 0) -{ -lean_object* x_151; uint8_t x_152; -x_151 = l_Lean_JsonNumber_lt___closed__1; -x_152 = lean_int_dec_eq(x_34, x_151); -lean_dec(x_34); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_153 = lean_alloc_ctor(0, 2, 0); -} else { - x_153 = x_145; -} -lean_ctor_set(x_153, 0, x_35); -lean_ctor_set(x_153, 1, x_36); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_143); -lean_ctor_set(x_154, 1, x_144); -x_3 = x_153; -x_4 = x_154; -goto block_31; -} -else -{ -uint8_t x_155; -x_155 = lean_int_dec_eq(x_142, x_151); -lean_dec(x_142); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; -if (lean_is_scalar(x_145)) { - x_156 = lean_alloc_ctor(0, 2, 0); -} else { - x_156 = x_145; -} -lean_ctor_set(x_156, 0, x_35); -lean_ctor_set(x_156, 1, x_36); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_143); -lean_ctor_set(x_157, 1, x_144); -x_3 = x_156; -x_4 = x_157; -goto block_31; -} -else -{ -lean_object* x_158; lean_object* x_159; -if (lean_is_scalar(x_145)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_145; -} -lean_ctor_set(x_158, 0, x_143); -lean_ctor_set(x_158, 1, x_144); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_35); -lean_ctor_set(x_159, 1, x_36); -x_3 = x_158; -x_4 = x_159; -goto block_31; -} -} -} -else -{ -uint8_t x_160; -x_160 = lean_int_dec_lt(x_142, x_146); -if (x_160 == 0) -{ -lean_object* x_161; uint8_t x_162; -x_161 = l_Lean_JsonNumber_lt___closed__1; -x_162 = lean_int_dec_eq(x_34, x_161); -lean_dec(x_34); -if (x_162 == 0) -{ -lean_object* x_163; lean_object* x_164; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_163 = lean_alloc_ctor(0, 2, 0); -} else { - x_163 = x_145; -} -lean_ctor_set(x_163, 0, x_35); -lean_ctor_set(x_163, 1, x_36); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_143); -lean_ctor_set(x_164, 1, x_144); -x_3 = x_163; -x_4 = x_164; -goto block_31; -} -else -{ -uint8_t x_165; -x_165 = lean_int_dec_eq(x_142, x_161); -lean_dec(x_142); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; -if (lean_is_scalar(x_145)) { - x_166 = lean_alloc_ctor(0, 2, 0); -} else { - x_166 = x_145; -} -lean_ctor_set(x_166, 0, x_35); -lean_ctor_set(x_166, 1, x_36); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_143); -lean_ctor_set(x_167, 1, x_144); -x_3 = x_166; -x_4 = x_167; -goto block_31; -} -else -{ -lean_object* x_168; lean_object* x_169; -if (lean_is_scalar(x_145)) { - x_168 = lean_alloc_ctor(0, 2, 0); -} else { - x_168 = x_145; -} -lean_ctor_set(x_168, 0, x_143); -lean_ctor_set(x_168, 1, x_144); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_35); -lean_ctor_set(x_169, 1, x_36); -x_3 = x_168; -x_4 = x_169; -goto block_31; -} -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = lean_nat_abs(x_142); -x_171 = lean_nat_sub(x_170, x_149); -lean_dec(x_170); -x_172 = lean_unsigned_to_nat(0u); -x_173 = lean_nat_dec_eq(x_171, x_172); -lean_dec(x_171); -if (x_173 == 0) -{ -lean_object* x_174; uint8_t x_175; -x_174 = l_Lean_JsonNumber_lt___closed__1; -x_175 = lean_int_dec_eq(x_34, x_174); -lean_dec(x_34); -if (x_175 == 0) -{ -lean_object* x_176; lean_object* x_177; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_145; -} -lean_ctor_set(x_176, 0, x_35); -lean_ctor_set(x_176, 1, x_36); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_143); -lean_ctor_set(x_177, 1, x_144); -x_3 = x_176; -x_4 = x_177; -goto block_31; -} -else -{ -uint8_t x_178; -x_178 = lean_int_dec_eq(x_142, x_174); -lean_dec(x_142); -if (x_178 == 0) -{ -lean_object* x_179; lean_object* x_180; -if (lean_is_scalar(x_145)) { - x_179 = lean_alloc_ctor(0, 2, 0); -} else { - x_179 = x_145; -} -lean_ctor_set(x_179, 0, x_35); -lean_ctor_set(x_179, 1, x_36); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_143); -lean_ctor_set(x_180, 1, x_144); -x_3 = x_179; -x_4 = x_180; -goto block_31; -} -else -{ -lean_object* x_181; lean_object* x_182; -if (lean_is_scalar(x_145)) { - x_181 = lean_alloc_ctor(0, 2, 0); -} else { - x_181 = x_145; -} -lean_ctor_set(x_181, 0, x_143); -lean_ctor_set(x_181, 1, x_144); -x_182 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_182, 0, x_35); -lean_ctor_set(x_182, 1, x_36); -x_3 = x_181; -x_4 = x_182; -goto block_31; -} -} -} -else -{ -uint8_t x_183; -lean_dec(x_145); -lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_142); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_34); -x_183 = 0; -return x_183; -} -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; -x_184 = lean_nat_abs(x_34); -x_185 = lean_unsigned_to_nat(1u); -x_186 = lean_nat_sub(x_184, x_185); -lean_dec(x_184); -x_187 = lean_unsigned_to_nat(0u); -x_188 = lean_nat_dec_eq(x_186, x_187); -lean_dec(x_186); -if (x_188 == 0) -{ -lean_object* x_189; uint8_t x_190; -x_189 = l_Lean_JsonNumber_lt___closed__1; -x_190 = lean_int_dec_eq(x_34, x_189); -lean_dec(x_34); -if (x_190 == 0) -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_191 = lean_alloc_ctor(0, 2, 0); -} else { - x_191 = x_145; -} -lean_ctor_set(x_191, 0, x_35); -lean_ctor_set(x_191, 1, x_36); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_143); -lean_ctor_set(x_192, 1, x_144); -x_3 = x_191; -x_4 = x_192; -goto block_31; -} -else -{ -uint8_t x_193; -x_193 = lean_int_dec_eq(x_142, x_189); -lean_dec(x_142); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; -if (lean_is_scalar(x_145)) { - x_194 = lean_alloc_ctor(0, 2, 0); -} else { - x_194 = x_145; -} -lean_ctor_set(x_194, 0, x_35); -lean_ctor_set(x_194, 1, x_36); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_143); -lean_ctor_set(x_195, 1, x_144); -x_3 = x_194; -x_4 = x_195; -goto block_31; -} -else -{ -lean_object* x_196; lean_object* x_197; -if (lean_is_scalar(x_145)) { - x_196 = lean_alloc_ctor(0, 2, 0); -} else { - x_196 = x_145; -} -lean_ctor_set(x_196, 0, x_143); -lean_ctor_set(x_196, 1, x_144); -x_197 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_197, 0, x_35); -lean_ctor_set(x_197, 1, x_36); -x_3 = x_196; -x_4 = x_197; -goto block_31; -} -} -} -else -{ -uint8_t x_198; -x_198 = lean_int_dec_lt(x_142, x_146); -if (x_198 == 0) -{ -lean_object* x_199; uint8_t x_200; -x_199 = lean_nat_abs(x_142); -x_200 = lean_nat_dec_eq(x_199, x_185); -lean_dec(x_199); -if (x_200 == 0) -{ -lean_object* x_201; uint8_t x_202; -x_201 = l_Lean_JsonNumber_lt___closed__1; -x_202 = lean_int_dec_eq(x_34, x_201); -lean_dec(x_34); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_145; -} -lean_ctor_set(x_203, 0, x_35); -lean_ctor_set(x_203, 1, x_36); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_143); -lean_ctor_set(x_204, 1, x_144); -x_3 = x_203; -x_4 = x_204; -goto block_31; -} -else -{ -uint8_t x_205; -x_205 = lean_int_dec_eq(x_142, x_201); -lean_dec(x_142); -if (x_205 == 0) -{ -lean_object* x_206; lean_object* x_207; -if (lean_is_scalar(x_145)) { - x_206 = lean_alloc_ctor(0, 2, 0); -} else { - x_206 = x_145; -} -lean_ctor_set(x_206, 0, x_35); -lean_ctor_set(x_206, 1, x_36); -x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_143); -lean_ctor_set(x_207, 1, x_144); -x_3 = x_206; -x_4 = x_207; -goto block_31; -} -else -{ -lean_object* x_208; lean_object* x_209; -if (lean_is_scalar(x_145)) { - x_208 = lean_alloc_ctor(0, 2, 0); -} else { - x_208 = x_145; -} -lean_ctor_set(x_208, 0, x_143); -lean_ctor_set(x_208, 1, x_144); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_35); -lean_ctor_set(x_209, 1, x_36); -x_3 = x_208; -x_4 = x_209; -goto block_31; -} -} -} -else -{ -uint8_t x_210; -lean_dec(x_145); -lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_142); -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_34); -x_210 = 1; -return x_210; -} -} -else -{ -lean_object* x_211; uint8_t x_212; -x_211 = l_Lean_JsonNumber_lt___closed__1; -x_212 = lean_int_dec_eq(x_34, x_211); -lean_dec(x_34); -if (x_212 == 0) -{ -lean_object* x_213; lean_object* x_214; -lean_dec(x_142); -if (lean_is_scalar(x_145)) { - x_213 = lean_alloc_ctor(0, 2, 0); -} else { - x_213 = x_145; -} -lean_ctor_set(x_213, 0, x_35); -lean_ctor_set(x_213, 1, x_36); -x_214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_143); -lean_ctor_set(x_214, 1, x_144); -x_3 = x_213; -x_4 = x_214; -goto block_31; -} -else -{ -uint8_t x_215; -x_215 = lean_int_dec_eq(x_142, x_211); -lean_dec(x_142); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; -if (lean_is_scalar(x_145)) { - x_216 = lean_alloc_ctor(0, 2, 0); -} else { - x_216 = x_145; -} -lean_ctor_set(x_216, 0, x_35); -lean_ctor_set(x_216, 1, x_36); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_143); -lean_ctor_set(x_217, 1, x_144); -x_3 = x_216; -x_4 = x_217; -goto block_31; -} -else -{ -lean_object* x_218; lean_object* x_219; -if (lean_is_scalar(x_145)) { - x_218 = lean_alloc_ctor(0, 2, 0); -} else { - x_218 = x_145; -} -lean_ctor_set(x_218, 0, x_143); -lean_ctor_set(x_218, 1, x_144); -x_219 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_219, 0, x_35); -lean_ctor_set(x_219, 1, x_36); -x_3 = x_218; -x_4 = x_219; -goto block_31; -} -} -} +x_93 = 1; +return x_93; } } } diff --git a/stage0/stdlib/Lean/Data/JsonRpc.c b/stage0/stdlib/Lean/Data/JsonRpc.c index d18e338ed3..063f937091 100644 --- a/stage0/stdlib/Lean/Data/JsonRpc.c +++ b/stage0/stdlib/Lean/Data/JsonRpc.c @@ -20,19 +20,20 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedRequestID; static lean_object* l_Lean_JsonRpc_instFromJsonRequestID___closed__1; lean_object* l_Lean_Json_compress(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequest(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__44; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Json_toStructured_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__13; lean_object* l_Lean_JsonNumber_toString(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479_(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__7; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonMessage___boxed(lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__16; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__34; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeStringRequestID(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonMessage(lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__20; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeResponseError(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__41; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__4; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeOutResponseMessage___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedResponse(lean_object*); @@ -44,33 +45,39 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instOfNatRequestID(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__7; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__5; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode(lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__33; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__37; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonMessage___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonNotification___rarg___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__28; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__20; LEAN_EXPORT uint8_t l_Lean_JsonRpc_instInhabitedErrorCode; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__26; static lean_object* l_Lean_JsonRpc_instFromJsonMessage___closed__2; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__30; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__5; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonNotification___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequest___rarg(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_readResponseAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__2; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeResponseError___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__32; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedRequest(lean_object*); static lean_object* l_Lean_JsonRpc_instToStringRequestID___closed__1; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__21; static lean_object* l_IO_FS_Stream_readResponseAs___closed__2; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__30; LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonRequestID(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__17; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeRequest___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__36; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__1; @@ -82,15 +89,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqReques LEAN_EXPORT lean_object* l_IO_FS_Stream_writeNotification___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getStr_x3f(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_Data_JsonRpc___hyg_33_(lean_object*, lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__45; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__27; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__34; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonRequestID___boxed(lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_351_(uint8_t, uint8_t); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__18; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___lambda__1(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__33; static lean_object* l_IO_FS_Stream_readResponseAs___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instLTRequestID; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__9; @@ -111,35 +114,35 @@ static lean_object* l_IO_FS_Stream_readNotificationAs___closed__1; static lean_object* l_Lean_JsonRpc_instToStringRequestID___closed__2; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__9; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__28; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequestID; lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__29; LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_RequestID_ltProp; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__31; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__11; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479____rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__25; +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148____rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__31; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_158____rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Data_Json_Basic_0__Lean_decEqJsonNumber____x40_Lean_Data_Json_Basic___hyg_22_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_RequestID_lt___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306_(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__11; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__24; static lean_object* l_Lean_JsonRpc_instFromJsonNotification___rarg___lambda__1___closed__1; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__48; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__25; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_toCtorIdx(uint8_t); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__22; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeOutResponseErrorMessage(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__46; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__39; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeOutNotificationMessage(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__40; static lean_object* l_IO_FS_Stream_readRequestAs___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308_(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__19; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__22; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__35; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeMessage___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_351____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__17; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__8; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instOrdRequestID; static lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___closed__1; @@ -150,15 +153,13 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__12; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__9; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeOutRequestMessage___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__18; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__16; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; static lean_object* l_Lean_JsonRpc_instInhabitedRequestID___closed__2; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readResponseAs___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150_(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonErrorCode___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481_(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__15; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__6; @@ -168,7 +169,6 @@ static lean_object* l_IO_FS_Stream_readRequestAs___closed__4; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instDecidableLtRequestIDInstLTRequestID___boxed(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__7; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedResponseError(lean_object*); -lean_object* lean_nat_abs(lean_object*); static lean_object* l_Lean_JsonRpc_instInhabitedResponseError___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse___rarg(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___closed__3; @@ -184,34 +184,28 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqErrorCode; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeRequest(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__15; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeOutRequestMessage(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__47; static lean_object* l_IO_FS_Stream_readRequestAs___closed__1; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; static lean_object* l_Lean_JsonRpc_instBEqRequestID___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__42; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__36; static lean_object* l_Lean_JsonRpc_instFromJsonNotification___rarg___lambda__1___closed__2; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__11; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__38; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__37; -uint8_t lean_int_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instInhabitedRequestID___closed__1; -lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__3; -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__35; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__14; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__2; static lean_object* l_Lean_JsonRpc_instOrdRequestID___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___boxed(lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__27; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__1; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__4; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonNotification(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonNotification___rarg(lean_object*); lean_object* l_IO_FS_Stream_writeJson(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__43; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__23; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonRequestID(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__10; static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__4___closed__2; static lean_object* l_IO_FS_Stream_readMessage___closed__2; @@ -223,18 +217,19 @@ uint8_t l_Lean_JsonNumber_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_130____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_130_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeResponse(lean_object*); +uint8_t lean_int_dec_eq(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975____rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150____rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__19; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__5; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_ResponseError_data_x3f___default(lean_object*); lean_object* lean_int_neg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973_(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeNotification(lean_object*); -static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__26; uint8_t lean_string_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__38; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError___rarg(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeMessage(lean_object*, lean_object*, lean_object*); @@ -247,7 +242,9 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__13; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeJsonNumberRequestID(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonMessage___closed__1; +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__29; LEAN_EXPORT uint8_t l_Lean_JsonRpc_instDecidableLtRequestIDInstLTRequestID(lean_object*, lean_object*); +static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__32; static lean_object* _init_l_Lean_JsonRpc_instInhabitedRequestID___closed__1() { _start: { @@ -784,7 +781,7 @@ static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); +x_1 = lean_unsigned_to_nat(32700u); x_2 = lean_nat_to_int(x_1); return x_2; } @@ -792,6 +789,213 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__3; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32600u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__5; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32601u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__7; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32602u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__9; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32603u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__11; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32002u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__13; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32001u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__15; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32801u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__17; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32800u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__19; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32900u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__21; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32901u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__23; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32902u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__25; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__27() { +_start: +{ uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 11; x_2 = lean_box(x_1); @@ -800,7 +1004,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__5() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__28() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -811,7 +1015,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__6() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__29() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -822,7 +1026,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__7() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__30() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -833,7 +1037,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__8() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__31() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -844,7 +1048,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__9() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__32() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -855,7 +1059,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__10() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__33() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -866,7 +1070,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__11() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__34() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -877,7 +1081,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__12() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__35() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -888,7 +1092,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__13() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__36() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -899,7 +1103,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__14() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__37() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -910,7 +1114,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__15() { +static lean_object* _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__38() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -930,331 +1134,303 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_2 = lean_ctor_get(x_1, 0); x_3 = lean_ctor_get(x_2, 0); x_4 = lean_ctor_get(x_2, 1); -x_5 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__3; -x_6 = lean_int_dec_lt(x_3, x_5); +x_5 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; +x_6 = lean_int_dec_eq(x_3, x_5); if (x_6 == 0) { -lean_object* x_7; -x_7 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_7; -} -else +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; +x_8 = lean_int_dec_eq(x_3, x_7); +if (x_8 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = lean_nat_abs(x_3); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_sub(x_8, x_9); -lean_dec(x_8); -x_11 = lean_unsigned_to_nat(32699u); -x_12 = lean_nat_dec_eq(x_10, x_11); +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; +x_10 = lean_int_dec_eq(x_3, x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; +x_12 = lean_int_dec_eq(x_3, x_11); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = lean_unsigned_to_nat(32599u); -x_14 = lean_nat_dec_eq(x_10, x_13); +x_13 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; +x_14 = lean_int_dec_eq(x_3, x_13); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; -x_15 = lean_unsigned_to_nat(32600u); -x_16 = lean_nat_dec_eq(x_10, x_15); +x_15 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__14; +x_16 = lean_int_dec_eq(x_3, x_15); if (x_16 == 0) { lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(32601u); -x_18 = lean_nat_dec_eq(x_10, x_17); +x_17 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__16; +x_18 = lean_int_dec_eq(x_3, x_17); if (x_18 == 0) { lean_object* x_19; uint8_t x_20; -x_19 = lean_unsigned_to_nat(32602u); -x_20 = lean_nat_dec_eq(x_10, x_19); +x_19 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__18; +x_20 = lean_int_dec_eq(x_3, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; -x_21 = lean_unsigned_to_nat(32001u); -x_22 = lean_nat_dec_eq(x_10, x_21); +x_21 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__20; +x_22 = lean_int_dec_eq(x_3, x_21); if (x_22 == 0) { lean_object* x_23; uint8_t x_24; -x_23 = lean_unsigned_to_nat(32000u); -x_24 = lean_nat_dec_eq(x_10, x_23); +x_23 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__22; +x_24 = lean_int_dec_eq(x_3, x_23); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; -x_25 = lean_unsigned_to_nat(32800u); -x_26 = lean_nat_dec_eq(x_10, x_25); +x_25 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__24; +x_26 = lean_int_dec_eq(x_3, x_25); if (x_26 == 0) { lean_object* x_27; uint8_t x_28; -x_27 = lean_unsigned_to_nat(32799u); -x_28 = lean_nat_dec_eq(x_10, x_27); +x_27 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__26; +x_28 = lean_int_dec_eq(x_3, x_27); if (x_28 == 0) { -lean_object* x_29; uint8_t x_30; -x_29 = lean_unsigned_to_nat(32899u); -x_30 = lean_nat_dec_eq(x_10, x_29); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_unsigned_to_nat(32900u); -x_32 = lean_nat_dec_eq(x_10, x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_unsigned_to_nat(32901u); -x_34 = lean_nat_dec_eq(x_10, x_33); -lean_dec(x_10); -if (x_34 == 0) -{ -lean_object* x_35; -x_35 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_35; +lean_object* x_29; +x_29 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_29; } else { -lean_object* x_36; uint8_t x_37; -x_36 = lean_unsigned_to_nat(0u); -x_37 = lean_nat_dec_eq(x_4, x_36); -if (x_37 == 0) +lean_object* x_30; uint8_t x_31; +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_nat_dec_eq(x_4, x_30); +if (x_31 == 0) { -lean_object* x_38; -x_38 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_38; +lean_object* x_32; +x_32 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_32; } else { -lean_object* x_39; -x_39 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; -return x_39; +lean_object* x_33; +x_33 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__27; +return x_33; } } } else { -lean_object* x_40; uint8_t x_41; -lean_dec(x_10); -x_40 = lean_unsigned_to_nat(0u); -x_41 = lean_nat_dec_eq(x_4, x_40); -if (x_41 == 0) +lean_object* x_34; uint8_t x_35; +x_34 = lean_unsigned_to_nat(0u); +x_35 = lean_nat_dec_eq(x_4, x_34); +if (x_35 == 0) { -lean_object* x_42; -x_42 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_42; +lean_object* x_36; +x_36 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_36; } else { -lean_object* x_43; -x_43 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__5; -return x_43; +lean_object* x_37; +x_37 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__28; +return x_37; } } } else { -lean_object* x_44; uint8_t x_45; -lean_dec(x_10); -x_44 = lean_unsigned_to_nat(0u); -x_45 = lean_nat_dec_eq(x_4, x_44); -if (x_45 == 0) +lean_object* x_38; uint8_t x_39; +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_nat_dec_eq(x_4, x_38); +if (x_39 == 0) { -lean_object* x_46; -x_46 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_46; +lean_object* x_40; +x_40 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_40; } else { -lean_object* x_47; -x_47 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; -return x_47; +lean_object* x_41; +x_41 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__29; +return x_41; } } } else { -lean_object* x_48; uint8_t x_49; -lean_dec(x_10); -x_48 = lean_unsigned_to_nat(0u); -x_49 = lean_nat_dec_eq(x_4, x_48); -if (x_49 == 0) +lean_object* x_42; uint8_t x_43; +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_eq(x_4, x_42); +if (x_43 == 0) { -lean_object* x_50; -x_50 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_50; +lean_object* x_44; +x_44 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_44; } else { -lean_object* x_51; -x_51 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__7; -return x_51; +lean_object* x_45; +x_45 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__30; +return x_45; } } } else { -lean_object* x_52; uint8_t x_53; -lean_dec(x_10); -x_52 = lean_unsigned_to_nat(0u); -x_53 = lean_nat_dec_eq(x_4, x_52); -if (x_53 == 0) +lean_object* x_46; uint8_t x_47; +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_nat_dec_eq(x_4, x_46); +if (x_47 == 0) { -lean_object* x_54; -x_54 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_54; +lean_object* x_48; +x_48 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_48; } else { -lean_object* x_55; -x_55 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; -return x_55; +lean_object* x_49; +x_49 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__31; +return x_49; } } } else { -lean_object* x_56; uint8_t x_57; -lean_dec(x_10); -x_56 = lean_unsigned_to_nat(0u); -x_57 = lean_nat_dec_eq(x_4, x_56); -if (x_57 == 0) +lean_object* x_50; uint8_t x_51; +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_nat_dec_eq(x_4, x_50); +if (x_51 == 0) { -lean_object* x_58; -x_58 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_58; +lean_object* x_52; +x_52 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_52; } else { -lean_object* x_59; -x_59 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__9; -return x_59; +lean_object* x_53; +x_53 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__32; +return x_53; } } } else { -lean_object* x_60; uint8_t x_61; -lean_dec(x_10); -x_60 = lean_unsigned_to_nat(0u); -x_61 = lean_nat_dec_eq(x_4, x_60); -if (x_61 == 0) +lean_object* x_54; uint8_t x_55; +x_54 = lean_unsigned_to_nat(0u); +x_55 = lean_nat_dec_eq(x_4, x_54); +if (x_55 == 0) { -lean_object* x_62; -x_62 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_62; +lean_object* x_56; +x_56 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_56; } else { -lean_object* x_63; -x_63 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; -return x_63; +lean_object* x_57; +x_57 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__33; +return x_57; } } } else { -lean_object* x_64; uint8_t x_65; -lean_dec(x_10); -x_64 = lean_unsigned_to_nat(0u); -x_65 = lean_nat_dec_eq(x_4, x_64); -if (x_65 == 0) +lean_object* x_58; uint8_t x_59; +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_nat_dec_eq(x_4, x_58); +if (x_59 == 0) { -lean_object* x_66; -x_66 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_66; +lean_object* x_60; +x_60 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_60; } else { -lean_object* x_67; -x_67 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__11; -return x_67; +lean_object* x_61; +x_61 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__34; +return x_61; } } } else { -lean_object* x_68; uint8_t x_69; -lean_dec(x_10); -x_68 = lean_unsigned_to_nat(0u); -x_69 = lean_nat_dec_eq(x_4, x_68); -if (x_69 == 0) +lean_object* x_62; uint8_t x_63; +x_62 = lean_unsigned_to_nat(0u); +x_63 = lean_nat_dec_eq(x_4, x_62); +if (x_63 == 0) { -lean_object* x_70; -x_70 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_70; +lean_object* x_64; +x_64 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_64; } else { -lean_object* x_71; -x_71 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; -return x_71; +lean_object* x_65; +x_65 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__35; +return x_65; } } } else { -lean_object* x_72; uint8_t x_73; -lean_dec(x_10); -x_72 = lean_unsigned_to_nat(0u); -x_73 = lean_nat_dec_eq(x_4, x_72); -if (x_73 == 0) +lean_object* x_66; uint8_t x_67; +x_66 = lean_unsigned_to_nat(0u); +x_67 = lean_nat_dec_eq(x_4, x_66); +if (x_67 == 0) { -lean_object* x_74; -x_74 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_74; +lean_object* x_68; +x_68 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_68; } else { -lean_object* x_75; -x_75 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__13; -return x_75; +lean_object* x_69; +x_69 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__36; +return x_69; } } } else { -lean_object* x_76; uint8_t x_77; -lean_dec(x_10); -x_76 = lean_unsigned_to_nat(0u); -x_77 = lean_nat_dec_eq(x_4, x_76); -if (x_77 == 0) +lean_object* x_70; uint8_t x_71; +x_70 = lean_unsigned_to_nat(0u); +x_71 = lean_nat_dec_eq(x_4, x_70); +if (x_71 == 0) +{ +lean_object* x_72; +x_72 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_72; +} +else +{ +lean_object* x_73; +x_73 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__37; +return x_73; +} +} +} +else +{ +lean_object* x_74; uint8_t x_75; +x_74 = lean_unsigned_to_nat(0u); +x_75 = lean_nat_dec_eq(x_4, x_74); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_76; +} +else +{ +lean_object* x_77; +x_77 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__38; +return x_77; +} +} +} +else { lean_object* x_78; x_78 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; return x_78; } -else -{ -lean_object* x_79; -x_79 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__14; -return x_79; -} -} -} -else -{ -lean_object* x_80; uint8_t x_81; -lean_dec(x_10); -x_80 = lean_unsigned_to_nat(0u); -x_81 = lean_nat_dec_eq(x_4, x_80); -if (x_81 == 0) -{ -lean_object* x_82; -x_82 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_82; -} -else -{ -lean_object* x_83; -x_83 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__15; -return x_83; -} -} -} -} -else -{ -lean_object* x_84; -x_84 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_84; -} } } LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___boxed(lean_object* x_1) { @@ -1269,10 +1445,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32700u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; +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_JsonRpc_instToJsonErrorCode___closed__2() { @@ -1280,7 +1459,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__1; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1288,7 +1468,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1309,10 +1489,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32600u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; +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_JsonRpc_instToJsonErrorCode___closed__6() { @@ -1320,7 +1503,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__5; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1328,7 +1512,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1349,10 +1533,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32601u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; +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_JsonRpc_instToJsonErrorCode___closed__10() { @@ -1360,7 +1547,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__9; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1368,7 +1556,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__14; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1389,10 +1577,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32602u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__16; +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_JsonRpc_instToJsonErrorCode___closed__14() { @@ -1400,7 +1591,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__13; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1408,7 +1600,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__18; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1429,10 +1621,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32603u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__20; +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_JsonRpc_instToJsonErrorCode___closed__18() { @@ -1440,7 +1635,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__17; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1448,7 +1644,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__22; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1469,10 +1665,13 @@ return x_2; static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__21() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32002u); -x_2 = lean_nat_to_int(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__24; +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_JsonRpc_instToJsonErrorCode___closed__22() { @@ -1480,7 +1679,8 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__21; -x_2 = lean_int_neg(x_1); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1488,7 +1688,7 @@ static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; +x_1 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__26; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1506,246 +1706,6 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32001u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__25; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__26; -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_JsonRpc_instToJsonErrorCode___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__27; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32801u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__29; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__30; -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_JsonRpc_instToJsonErrorCode___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__31; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32800u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__33; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__35() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__34; -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_JsonRpc_instToJsonErrorCode___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__35; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32900u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__37; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__38; -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_JsonRpc_instToJsonErrorCode___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__39; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32901u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__41; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__42; -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_JsonRpc_instToJsonErrorCode___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__43; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32902u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__45; -x_2 = lean_int_neg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__46; -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_JsonRpc_instToJsonErrorCode___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_JsonRpc_instToJsonErrorCode___closed__47; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonErrorCode(uint8_t x_1) { _start: { @@ -1753,73 +1713,73 @@ switch (x_1) { case 0: { lean_object* x_2; -x_2 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_2 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; return x_2; } case 1: { lean_object* x_3; -x_3 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_3 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; return x_3; } case 2: { lean_object* x_4; -x_4 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_4 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; return x_4; } case 3: { lean_object* x_5; -x_5 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_5 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; return x_5; } case 4: { lean_object* x_6; -x_6 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_6 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; return x_6; } case 5: { lean_object* x_7; -x_7 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_7 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; return x_7; } case 6: { lean_object* x_8; -x_8 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_8 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; return x_8; } case 7: { lean_object* x_9; -x_9 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_9 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; return x_9; } case 8: { lean_object* x_10; -x_10 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_10 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; return x_10; } case 9: { lean_object* x_11; -x_11 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_11 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; return x_11; } case 10: { lean_object* x_12; -x_12 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_12 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; return x_12; } default: { lean_object* x_13; -x_13 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_13 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; return x_13; } } @@ -1856,7 +1816,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedRequest___rarg), 1, return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1914,11 +1874,11 @@ return x_16; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973____rarg), 3, 0); return x_2; } } @@ -1926,7 +1886,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequest___rarg(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_975____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_973____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2005,7 +1965,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedNotification___rarg return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -2040,11 +2000,11 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148____rarg), 3, 0); return x_2; } } @@ -2052,7 +2012,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1150____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1148____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2127,7 +2087,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedResponse___rarg), 1 return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -2162,11 +2122,11 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306____rarg), 3, 0); return x_2; } } @@ -2174,7 +2134,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse___rarg(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1308____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1306____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2243,7 +2203,7 @@ x_2 = l_Lean_JsonRpc_instInhabitedResponseError___closed__1; return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t 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; uint8_t x_12; @@ -2320,11 +2280,11 @@ return x_21; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479____rarg), 3, 0); return x_2; } } @@ -2332,7 +2292,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1481____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1479____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -3091,84 +3051,84 @@ switch (x_75) { case 0: { lean_object* x_102; -x_102 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_102 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; x_88 = x_102; goto block_101; } case 1: { lean_object* x_103; -x_103 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_103 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; x_88 = x_103; goto block_101; } case 2: { lean_object* x_104; -x_104 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_104 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; x_88 = x_104; goto block_101; } case 3: { lean_object* x_105; -x_105 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_105 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; x_88 = x_105; goto block_101; } case 4: { lean_object* x_106; -x_106 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_106 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; x_88 = x_106; goto block_101; } case 5: { lean_object* x_107; -x_107 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_107 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; x_88 = x_107; goto block_101; } case 6: { lean_object* x_108; -x_108 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_108 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; x_88 = x_108; goto block_101; } case 7: { lean_object* x_109; -x_109 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_109 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; x_88 = x_109; goto block_101; } case 8: { lean_object* x_110; -x_110 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_110 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; x_88 = x_110; goto block_101; } case 9: { lean_object* x_111; -x_111 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_111 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; x_88 = x_111; goto block_101; } case 10: { lean_object* x_112; -x_112 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_112 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; x_88 = x_112; goto block_101; } default: { lean_object* x_113; -x_113 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_113 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; x_88 = x_113; goto block_101; } @@ -3290,348 +3250,329 @@ lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); -x_7 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__3; -x_8 = lean_int_dec_lt(x_5, x_7); +x_7 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; +x_8 = lean_int_dec_eq(x_5, x_7); if (x_8 == 0) { -lean_object* x_9; -lean_dec(x_6); -lean_dec(x_5); -x_9 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_9; -} -else +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; +x_10 = lean_int_dec_eq(x_5, x_9); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_nat_abs(x_5); -lean_dec(x_5); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_10, x_11); -lean_dec(x_10); -x_13 = lean_unsigned_to_nat(32699u); -x_14 = lean_nat_dec_eq(x_12, x_13); +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; +x_12 = lean_int_dec_eq(x_5, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; +x_14 = lean_int_dec_eq(x_5, x_13); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; -x_15 = lean_unsigned_to_nat(32599u); -x_16 = lean_nat_dec_eq(x_12, x_15); +x_15 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; +x_16 = lean_int_dec_eq(x_5, x_15); if (x_16 == 0) { lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(32600u); -x_18 = lean_nat_dec_eq(x_12, x_17); +x_17 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__14; +x_18 = lean_int_dec_eq(x_5, x_17); if (x_18 == 0) { lean_object* x_19; uint8_t x_20; -x_19 = lean_unsigned_to_nat(32601u); -x_20 = lean_nat_dec_eq(x_12, x_19); +x_19 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__16; +x_20 = lean_int_dec_eq(x_5, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; -x_21 = lean_unsigned_to_nat(32602u); -x_22 = lean_nat_dec_eq(x_12, x_21); +x_21 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__18; +x_22 = lean_int_dec_eq(x_5, x_21); if (x_22 == 0) { lean_object* x_23; uint8_t x_24; -x_23 = lean_unsigned_to_nat(32001u); -x_24 = lean_nat_dec_eq(x_12, x_23); +x_23 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__20; +x_24 = lean_int_dec_eq(x_5, x_23); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; -x_25 = lean_unsigned_to_nat(32000u); -x_26 = lean_nat_dec_eq(x_12, x_25); +x_25 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__22; +x_26 = lean_int_dec_eq(x_5, x_25); if (x_26 == 0) { lean_object* x_27; uint8_t x_28; -x_27 = lean_unsigned_to_nat(32800u); -x_28 = lean_nat_dec_eq(x_12, x_27); +x_27 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__24; +x_28 = lean_int_dec_eq(x_5, x_27); if (x_28 == 0) { lean_object* x_29; uint8_t x_30; -x_29 = lean_unsigned_to_nat(32799u); -x_30 = lean_nat_dec_eq(x_12, x_29); +x_29 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__26; +x_30 = lean_int_dec_eq(x_5, x_29); +lean_dec(x_5); if (x_30 == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = lean_unsigned_to_nat(32899u); -x_32 = lean_nat_dec_eq(x_12, x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_unsigned_to_nat(32900u); -x_34 = lean_nat_dec_eq(x_12, x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_unsigned_to_nat(32901u); -x_36 = lean_nat_dec_eq(x_12, x_35); -lean_dec(x_12); -if (x_36 == 0) -{ -lean_object* x_37; +lean_object* x_31; lean_dec(x_6); -x_37 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_37; +x_31 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_31; } else { -lean_object* x_38; uint8_t x_39; -x_38 = lean_unsigned_to_nat(0u); -x_39 = lean_nat_dec_eq(x_6, x_38); +lean_object* x_32; uint8_t x_33; +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_nat_dec_eq(x_6, x_32); lean_dec(x_6); -if (x_39 == 0) +if (x_33 == 0) { -lean_object* x_40; -x_40 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_40; +lean_object* x_34; +x_34 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_34; } else { -lean_object* x_41; -x_41 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__4; -return x_41; +lean_object* x_35; +x_35 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__27; +return x_35; } } } else { -lean_object* x_42; uint8_t x_43; -lean_dec(x_12); -x_42 = lean_unsigned_to_nat(0u); -x_43 = lean_nat_dec_eq(x_6, x_42); +lean_object* x_36; uint8_t x_37; +lean_dec(x_5); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_nat_dec_eq(x_6, x_36); lean_dec(x_6); -if (x_43 == 0) +if (x_37 == 0) { -lean_object* x_44; -x_44 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_44; +lean_object* x_38; +x_38 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_38; } else { -lean_object* x_45; -x_45 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__5; -return x_45; +lean_object* x_39; +x_39 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__28; +return x_39; } } } else { -lean_object* x_46; uint8_t x_47; -lean_dec(x_12); -x_46 = lean_unsigned_to_nat(0u); -x_47 = lean_nat_dec_eq(x_6, x_46); +lean_object* x_40; uint8_t x_41; +lean_dec(x_5); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_nat_dec_eq(x_6, x_40); lean_dec(x_6); -if (x_47 == 0) +if (x_41 == 0) { -lean_object* x_48; -x_48 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_48; +lean_object* x_42; +x_42 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_42; } else { -lean_object* x_49; -x_49 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; -return x_49; +lean_object* x_43; +x_43 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__29; +return x_43; } } } else { -lean_object* x_50; uint8_t x_51; -lean_dec(x_12); -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_eq(x_6, x_50); +lean_object* x_44; uint8_t x_45; +lean_dec(x_5); +x_44 = lean_unsigned_to_nat(0u); +x_45 = lean_nat_dec_eq(x_6, x_44); lean_dec(x_6); -if (x_51 == 0) +if (x_45 == 0) { -lean_object* x_52; -x_52 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_52; +lean_object* x_46; +x_46 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_46; } else { -lean_object* x_53; -x_53 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__7; -return x_53; +lean_object* x_47; +x_47 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__30; +return x_47; } } } else { -lean_object* x_54; uint8_t x_55; -lean_dec(x_12); -x_54 = lean_unsigned_to_nat(0u); -x_55 = lean_nat_dec_eq(x_6, x_54); +lean_object* x_48; uint8_t x_49; +lean_dec(x_5); +x_48 = lean_unsigned_to_nat(0u); +x_49 = lean_nat_dec_eq(x_6, x_48); lean_dec(x_6); -if (x_55 == 0) +if (x_49 == 0) { -lean_object* x_56; -x_56 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_56; +lean_object* x_50; +x_50 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_50; } else { -lean_object* x_57; -x_57 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; -return x_57; +lean_object* x_51; +x_51 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__31; +return x_51; } } } else { -lean_object* x_58; uint8_t x_59; -lean_dec(x_12); -x_58 = lean_unsigned_to_nat(0u); -x_59 = lean_nat_dec_eq(x_6, x_58); +lean_object* x_52; uint8_t x_53; +lean_dec(x_5); +x_52 = lean_unsigned_to_nat(0u); +x_53 = lean_nat_dec_eq(x_6, x_52); lean_dec(x_6); -if (x_59 == 0) +if (x_53 == 0) { -lean_object* x_60; -x_60 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_60; +lean_object* x_54; +x_54 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_54; } else { -lean_object* x_61; -x_61 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__9; -return x_61; +lean_object* x_55; +x_55 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__32; +return x_55; } } } else { -lean_object* x_62; uint8_t x_63; -lean_dec(x_12); -x_62 = lean_unsigned_to_nat(0u); -x_63 = lean_nat_dec_eq(x_6, x_62); +lean_object* x_56; uint8_t x_57; +lean_dec(x_5); +x_56 = lean_unsigned_to_nat(0u); +x_57 = lean_nat_dec_eq(x_6, x_56); lean_dec(x_6); -if (x_63 == 0) +if (x_57 == 0) { -lean_object* x_64; -x_64 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_64; +lean_object* x_58; +x_58 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_58; } else { -lean_object* x_65; -x_65 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__10; -return x_65; +lean_object* x_59; +x_59 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__33; +return x_59; } } } else { -lean_object* x_66; uint8_t x_67; -lean_dec(x_12); -x_66 = lean_unsigned_to_nat(0u); -x_67 = lean_nat_dec_eq(x_6, x_66); +lean_object* x_60; uint8_t x_61; +lean_dec(x_5); +x_60 = lean_unsigned_to_nat(0u); +x_61 = lean_nat_dec_eq(x_6, x_60); lean_dec(x_6); -if (x_67 == 0) +if (x_61 == 0) { -lean_object* x_68; -x_68 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_68; +lean_object* x_62; +x_62 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_62; } else { -lean_object* x_69; -x_69 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__11; -return x_69; +lean_object* x_63; +x_63 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__34; +return x_63; } } } else { -lean_object* x_70; uint8_t x_71; -lean_dec(x_12); -x_70 = lean_unsigned_to_nat(0u); -x_71 = lean_nat_dec_eq(x_6, x_70); +lean_object* x_64; uint8_t x_65; +lean_dec(x_5); +x_64 = lean_unsigned_to_nat(0u); +x_65 = lean_nat_dec_eq(x_6, x_64); lean_dec(x_6); -if (x_71 == 0) +if (x_65 == 0) { -lean_object* x_72; -x_72 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_72; +lean_object* x_66; +x_66 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_66; } else { -lean_object* x_73; -x_73 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__12; -return x_73; +lean_object* x_67; +x_67 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__35; +return x_67; } } } else { -lean_object* x_74; uint8_t x_75; -lean_dec(x_12); -x_74 = lean_unsigned_to_nat(0u); -x_75 = lean_nat_dec_eq(x_6, x_74); +lean_object* x_68; uint8_t x_69; +lean_dec(x_5); +x_68 = lean_unsigned_to_nat(0u); +x_69 = lean_nat_dec_eq(x_6, x_68); lean_dec(x_6); -if (x_75 == 0) +if (x_69 == 0) { -lean_object* x_76; -x_76 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_76; +lean_object* x_70; +x_70 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_70; } else { -lean_object* x_77; -x_77 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__13; -return x_77; +lean_object* x_71; +x_71 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__36; +return x_71; } } } else { -lean_object* x_78; uint8_t x_79; -lean_dec(x_12); -x_78 = lean_unsigned_to_nat(0u); -x_79 = lean_nat_dec_eq(x_6, x_78); +lean_object* x_72; uint8_t x_73; +lean_dec(x_5); +x_72 = lean_unsigned_to_nat(0u); +x_73 = lean_nat_dec_eq(x_6, x_72); lean_dec(x_6); -if (x_79 == 0) +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_74; +} +else +{ +lean_object* x_75; +x_75 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__37; +return x_75; +} +} +} +else +{ +lean_object* x_76; uint8_t x_77; +lean_dec(x_5); +x_76 = lean_unsigned_to_nat(0u); +x_77 = lean_nat_dec_eq(x_6, x_76); +lean_dec(x_6); +if (x_77 == 0) +{ +lean_object* x_78; +x_78 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; +return x_78; +} +else +{ +lean_object* x_79; +x_79 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__38; +return x_79; +} +} +} +else { lean_object* x_80; +lean_dec(x_3); x_80 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; return x_80; } -else -{ -lean_object* x_81; -x_81 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__14; -return x_81; -} -} -} -else -{ -lean_object* x_82; uint8_t x_83; -lean_dec(x_12); -x_82 = lean_unsigned_to_nat(0u); -x_83 = lean_nat_dec_eq(x_6, x_82); -lean_dec(x_6); -if (x_83 == 0) -{ -lean_object* x_84; -x_84 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_84; -} -else -{ -lean_object* x_85; -x_85 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__15; -return x_85; -} -} -} -} -else -{ -lean_object* x_86; -lean_dec(x_3); -x_86 = l_Lean_JsonRpc_instFromJsonErrorCode___closed__2; -return x_86; -} } } LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object* x_1, lean_object* x_2) { @@ -5910,84 +5851,84 @@ switch (x_187) { case 0: { lean_object* x_221; -x_221 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_221 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; x_200 = x_221; goto block_220; } case 1: { lean_object* x_222; -x_222 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_222 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; x_200 = x_222; goto block_220; } case 2: { lean_object* x_223; -x_223 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_223 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; x_200 = x_223; goto block_220; } case 3: { lean_object* x_224; -x_224 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_224 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; x_200 = x_224; goto block_220; } case 4: { lean_object* x_225; -x_225 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_225 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; x_200 = x_225; goto block_220; } case 5: { lean_object* x_226; -x_226 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_226 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; x_200 = x_226; goto block_220; } case 6: { lean_object* x_227; -x_227 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_227 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; x_200 = x_227; goto block_220; } case 7: { lean_object* x_228; -x_228 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_228 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; x_200 = x_228; goto block_220; } case 8: { lean_object* x_229; -x_229 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_229 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; x_200 = x_229; goto block_220; } case 9: { lean_object* x_230; -x_230 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_230 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; x_200 = x_230; goto block_220; } case 10: { lean_object* x_231; -x_231 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_231 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; x_200 = x_231; goto block_220; } default: { lean_object* x_232; -x_232 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_232 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; x_200 = x_232; goto block_220; } @@ -6786,84 +6727,84 @@ switch (x_258) { case 0: { lean_object* x_292; -x_292 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_292 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; x_271 = x_292; goto block_291; } case 1: { lean_object* x_293; -x_293 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_293 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; x_271 = x_293; goto block_291; } case 2: { lean_object* x_294; -x_294 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_294 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; x_271 = x_294; goto block_291; } case 3: { lean_object* x_295; -x_295 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_295 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; x_271 = x_295; goto block_291; } case 4: { lean_object* x_296; -x_296 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_296 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; x_271 = x_296; goto block_291; } case 5: { lean_object* x_297; -x_297 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_297 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; x_271 = x_297; goto block_291; } case 6: { lean_object* x_298; -x_298 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_298 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; x_271 = x_298; goto block_291; } case 7: { lean_object* x_299; -x_299 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_299 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; x_271 = x_299; goto block_291; } case 8: { lean_object* x_300; -x_300 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_300 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; x_271 = x_300; goto block_291; } case 9: { lean_object* x_301; -x_301 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_301 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; x_271 = x_301; goto block_291; } case 10: { lean_object* x_302; -x_302 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_302 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; x_271 = x_302; goto block_291; } default: { lean_object* x_303; -x_303 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_303 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; x_271 = x_303; goto block_291; } @@ -7583,84 +7524,84 @@ switch (x_215) { case 0: { lean_object* x_249; -x_249 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_249 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; x_228 = x_249; goto block_248; } case 1: { lean_object* x_250; -x_250 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_250 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; x_228 = x_250; goto block_248; } case 2: { lean_object* x_251; -x_251 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_251 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; x_228 = x_251; goto block_248; } case 3: { lean_object* x_252; -x_252 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_252 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; x_228 = x_252; goto block_248; } case 4: { lean_object* x_253; -x_253 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_253 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; x_228 = x_253; goto block_248; } case 5: { lean_object* x_254; -x_254 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_254 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; x_228 = x_254; goto block_248; } case 6: { lean_object* x_255; -x_255 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_255 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; x_228 = x_255; goto block_248; } case 7: { lean_object* x_256; -x_256 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_256 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; x_228 = x_256; goto block_248; } case 8: { lean_object* x_257; -x_257 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_257 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; x_228 = x_257; goto block_248; } case 9: { lean_object* x_258; -x_258 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_258 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; x_228 = x_258; goto block_248; } case 10: { lean_object* x_259; -x_259 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_259 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; x_228 = x_259; goto block_248; } default: { lean_object* x_260; -x_260 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_260 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; x_228 = x_260; goto block_248; } @@ -7989,84 +7930,84 @@ switch (x_84) { case 0: { lean_object* x_112; -x_112 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; +x_112 = l_Lean_JsonRpc_instToJsonErrorCode___closed__2; x_97 = x_112; goto block_111; } case 1: { lean_object* x_113; -x_113 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; +x_113 = l_Lean_JsonRpc_instToJsonErrorCode___closed__4; x_97 = x_113; goto block_111; } case 2: { lean_object* x_114; -x_114 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; +x_114 = l_Lean_JsonRpc_instToJsonErrorCode___closed__6; x_97 = x_114; goto block_111; } case 3: { lean_object* x_115; -x_115 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; +x_115 = l_Lean_JsonRpc_instToJsonErrorCode___closed__8; x_97 = x_115; goto block_111; } case 4: { lean_object* x_116; -x_116 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; +x_116 = l_Lean_JsonRpc_instToJsonErrorCode___closed__10; x_97 = x_116; goto block_111; } case 5: { lean_object* x_117; -x_117 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; +x_117 = l_Lean_JsonRpc_instToJsonErrorCode___closed__12; x_97 = x_117; goto block_111; } case 6: { lean_object* x_118; -x_118 = l_Lean_JsonRpc_instToJsonErrorCode___closed__28; +x_118 = l_Lean_JsonRpc_instToJsonErrorCode___closed__14; x_97 = x_118; goto block_111; } case 7: { lean_object* x_119; -x_119 = l_Lean_JsonRpc_instToJsonErrorCode___closed__32; +x_119 = l_Lean_JsonRpc_instToJsonErrorCode___closed__16; x_97 = x_119; goto block_111; } case 8: { lean_object* x_120; -x_120 = l_Lean_JsonRpc_instToJsonErrorCode___closed__36; +x_120 = l_Lean_JsonRpc_instToJsonErrorCode___closed__18; x_97 = x_120; goto block_111; } case 9: { lean_object* x_121; -x_121 = l_Lean_JsonRpc_instToJsonErrorCode___closed__40; +x_121 = l_Lean_JsonRpc_instToJsonErrorCode___closed__20; x_97 = x_121; goto block_111; } case 10: { lean_object* x_122; -x_122 = l_Lean_JsonRpc_instToJsonErrorCode___closed__44; +x_122 = l_Lean_JsonRpc_instToJsonErrorCode___closed__22; x_97 = x_122; goto block_111; } default: { lean_object* x_123; -x_123 = l_Lean_JsonRpc_instToJsonErrorCode___closed__48; +x_123 = l_Lean_JsonRpc_instToJsonErrorCode___closed__24; x_97 = x_123; goto block_111; } @@ -8420,6 +8361,52 @@ l_Lean_JsonRpc_instFromJsonErrorCode___closed__14 = _init_l_Lean_JsonRpc_instFro lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__14); l_Lean_JsonRpc_instFromJsonErrorCode___closed__15 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__15(); lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__15); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__16 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__16(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__16); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__17 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__17(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__17); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__18 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__18(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__18); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__19 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__19(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__19); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__20 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__20(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__20); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__21 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__21(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__21); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__22 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__22(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__22); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__23 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__23(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__23); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__24 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__24(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__24); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__25 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__25(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__25); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__26 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__26(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__26); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__27 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__27(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__27); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__28 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__28(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__28); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__29 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__29(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__29); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__30 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__30(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__30); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__31 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__31(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__31); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__32 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__32(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__32); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__33 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__33(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__33); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__34 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__34(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__34); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__35 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__35(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__35); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__36 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__36(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__36); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__37 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__37(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__37); +l_Lean_JsonRpc_instFromJsonErrorCode___closed__38 = _init_l_Lean_JsonRpc_instFromJsonErrorCode___closed__38(); +lean_mark_persistent(l_Lean_JsonRpc_instFromJsonErrorCode___closed__38); l_Lean_JsonRpc_instToJsonErrorCode___closed__1 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__1(); lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__1); l_Lean_JsonRpc_instToJsonErrorCode___closed__2 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__2(); @@ -8468,54 +8455,6 @@ l_Lean_JsonRpc_instToJsonErrorCode___closed__23 = _init_l_Lean_JsonRpc_instToJso lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__23); l_Lean_JsonRpc_instToJsonErrorCode___closed__24 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__24(); lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__24); -l_Lean_JsonRpc_instToJsonErrorCode___closed__25 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__25(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__25); -l_Lean_JsonRpc_instToJsonErrorCode___closed__26 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__26(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__26); -l_Lean_JsonRpc_instToJsonErrorCode___closed__27 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__27(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__27); -l_Lean_JsonRpc_instToJsonErrorCode___closed__28 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__28(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__28); -l_Lean_JsonRpc_instToJsonErrorCode___closed__29 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__29(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__29); -l_Lean_JsonRpc_instToJsonErrorCode___closed__30 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__30(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__30); -l_Lean_JsonRpc_instToJsonErrorCode___closed__31 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__31(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__31); -l_Lean_JsonRpc_instToJsonErrorCode___closed__32 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__32(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__32); -l_Lean_JsonRpc_instToJsonErrorCode___closed__33 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__33(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__33); -l_Lean_JsonRpc_instToJsonErrorCode___closed__34 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__34(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__34); -l_Lean_JsonRpc_instToJsonErrorCode___closed__35 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__35(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__35); -l_Lean_JsonRpc_instToJsonErrorCode___closed__36 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__36(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__36); -l_Lean_JsonRpc_instToJsonErrorCode___closed__37 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__37(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__37); -l_Lean_JsonRpc_instToJsonErrorCode___closed__38 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__38(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__38); -l_Lean_JsonRpc_instToJsonErrorCode___closed__39 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__39(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__39); -l_Lean_JsonRpc_instToJsonErrorCode___closed__40 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__40(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__40); -l_Lean_JsonRpc_instToJsonErrorCode___closed__41 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__41(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__41); -l_Lean_JsonRpc_instToJsonErrorCode___closed__42 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__42(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__42); -l_Lean_JsonRpc_instToJsonErrorCode___closed__43 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__43(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__43); -l_Lean_JsonRpc_instToJsonErrorCode___closed__44 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__44(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__44); -l_Lean_JsonRpc_instToJsonErrorCode___closed__45 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__45(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__45); -l_Lean_JsonRpc_instToJsonErrorCode___closed__46 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__46(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__46); -l_Lean_JsonRpc_instToJsonErrorCode___closed__47 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__47(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__47); -l_Lean_JsonRpc_instToJsonErrorCode___closed__48 = _init_l_Lean_JsonRpc_instToJsonErrorCode___closed__48(); -lean_mark_persistent(l_Lean_JsonRpc_instToJsonErrorCode___closed__48); l_Lean_JsonRpc_instInhabitedResponseError___closed__1 = _init_l_Lean_JsonRpc_instInhabitedResponseError___closed__1(); lean_mark_persistent(l_Lean_JsonRpc_instInhabitedResponseError___closed__1); l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_RequestID_ltProp = _init_l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_RequestID_ltProp(); diff --git a/stage0/stdlib/Lean/Elab/GuardMsgs.c b/stage0/stdlib/Lean/Elab/GuardMsgs.c index bc8e2c61b7..23d9ca72a4 100644 --- a/stage0/stdlib/Lean/Elab/GuardMsgs.c +++ b/stage0/stdlib/Lean/Elab/GuardMsgs.c @@ -15,6 +15,8 @@ extern "C" { #endif lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_FileMap_utf8RangeToLspRange(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1(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_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__8; @@ -25,24 +27,34 @@ static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsg LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___elambda__1(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__2; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_noConfusion___rarg___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Lsp_WorkspaceEdit_ofTextEdit(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1(lean_object*); +uint8_t l_String_contains(lean_object*, uint32_t); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); @@ -62,7 +74,9 @@ static lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_noConfusion___rarg__ lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__7(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; size_t lean_usize_of_nat(lean_object*); uint8_t l_String_isEmpty(lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__6; @@ -83,6 +97,7 @@ static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_GuardMsgs_elab lean_object* l_Lean_MessageData_ofSyntax(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__9; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__2; +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; lean_object* l_Lean_MessageLog_toList(lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__3; @@ -91,22 +106,30 @@ lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___closed__2; static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__2; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__9; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__7; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__4; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__1; +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1100____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__4; LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18; LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___lambda__2(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13; static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1100____closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__6(lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); extern lean_object* l_Lean_MessageLog_empty; 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*); @@ -121,6 +144,7 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_GuardMsgs_par LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1100____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__4___closed__3; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,34 +153,50 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec(lean_ob LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__2___closed__2; +lean_object* l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__3; +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1___boxed(lean_object*); lean_object* l_String_replace(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__4; +lean_object* lean_string_length(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1100____closed__1; +static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__2; uint32_t l_String_back(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__4; uint8_t l_String_isPrefixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___lambda__1(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___elambda__1___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__6; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2(lean_object*); +lean_object* l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(lean_object*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6(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_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___closed__5; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__18(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__2; @@ -182,8 +222,11 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_GuardMsgs_elabG static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2; 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*); +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_103_(uint8_t, uint8_t); uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; @@ -192,7 +235,10 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__1; +static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___boxed(lean_object*); static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__1; static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__3___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__6___lambda__8___closed__1; @@ -200,7 +246,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___cl LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1100_; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure; +lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange___closed__5; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3705,6 +3753,1764 @@ 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_GuardMsgs_guardMsgsCodeAction___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +lean_inc(x_5); +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_array_uget(x_2, x_4); +x_8 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2(x_7); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_4, x_9); +{ +size_t _tmp_3 = x_10; +lean_object* _tmp_4 = x_1; +x_4 = _tmp_3; +x_5 = _tmp_4; +} +goto _start; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_8); +x_14 = lean_box(0); +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 +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_8, 0); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 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_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +lean_inc(x_5); +return x_5; +} +else +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_4); +if (lean_obj_tag(x_12) == 1) +{ +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) == 8) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +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_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure; +x_18 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_16, x_17); +lean_dec(x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_dec(x_15); +x_6 = x_1; +goto block_10; +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_18, 0, x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_18, 0); +lean_inc(x_25); +lean_dec(x_18); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_dec(x_13); +x_6 = x_1; +goto block_10; +} +} +else +{ +lean_dec(x_12); +x_6 = x_1; +goto block_10; +} +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_4, x_7); +x_4 = x_8; +x_5 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +static lean_object* _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2; +x_2 = lean_box(0); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_array_get_size(x_2); +x_4 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_5 = 0; +x_6 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1; +x_7 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__3(x_6, x_2, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3; +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +return x_10; +} +} +else +{ +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_array_get_size(x_11); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1; +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4(x_15, x_11, x_13, x_14, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3; +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +lean_inc(x_5); +return x_5; +} +else +{ +lean_object* x_12; +x_12 = lean_array_uget(x_2, x_4); +if (lean_obj_tag(x_12) == 1) +{ +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) == 8) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +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_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure; +x_18 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_16, x_17); +lean_dec(x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_dec(x_15); +x_6 = x_1; +goto block_10; +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_18, 0, x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_18, 0); +lean_inc(x_25); +lean_dec(x_18); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_dec(x_13); +x_6 = x_1; +goto block_10; +} +} +else +{ +lean_dec(x_12); +x_6 = x_1; +goto block_10; +} +} +block_10: +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_4, x_7); +x_4 = x_8; +x_5 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +x_3 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1; +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5(x_8, x_4, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3; +return x_11; +} +else +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_3); +if (x_13 == 0) +{ +return x_3; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_3, 0); +lean_inc(x_14); +lean_dec(x_3); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("quickfix", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3() { +_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; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Update #guard_msgs with tactic output", 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___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 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_3 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_4 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_5 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_1); +lean_ctor_set(x_5, 5, x_4); +lean_ctor_set(x_5, 6, x_1); +lean_ctor_set(x_5, 7, x_1); +lean_ctor_set(x_5, 8, x_1); +lean_ctor_set(x_5, 9, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_2 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_2 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12; +x_3 = l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__6; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(100u); +x_2 = lean_unsigned_to_nat(7u); +x_3 = lean_nat_sub(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("/--\n", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n-/\n", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("/-- ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" -/\n", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 1); +x_5 = l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1(x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__6; +x_7 = lean_alloc_ctor(0, 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; uint8_t x_12; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +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_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(x_2, x_3); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_box(0); +x_15 = 1; +x_16 = l_Lean_Syntax_getPos_x3f(x_9, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +x_17 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13; +x_22 = l_Lean_Syntax_setArg(x_9, x_20, x_21); +x_23 = l_Lean_Syntax_getPos_x3f(x_22, x_15); +lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +lean_free_object(x_16); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_10); +x_24 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; +lean_ctor_set(x_11, 0, x_24); +return x_11; +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +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; +x_26 = lean_ctor_get(x_23, 0); +x_27 = l_String_isEmpty(x_10); +x_28 = l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(x_13); +x_29 = lean_ctor_get(x_13, 0); +lean_inc(x_29); +lean_dec(x_13); +x_30 = lean_ctor_get(x_29, 2); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_26); +x_32 = l_Lean_FileMap_utf8RangeToLspRange(x_30, x_31); +lean_dec(x_31); +lean_dec(x_30); +if (x_27 == 0) +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_33 = lean_string_length(x_10); +x_34 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14; +x_35 = lean_nat_dec_le(x_33, x_34); +lean_dec(x_33); +if (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; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_36 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_37 = lean_string_append(x_36, x_10); +lean_dec(x_10); +x_38 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_39 = lean_string_append(x_37, x_38); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_32); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_14); +lean_ctor_set(x_40, 3, x_14); +x_41 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_28, x_40); +lean_ctor_set(x_23, 0, x_41); +x_42 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_43 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_44 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_45 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_14); +lean_ctor_set(x_45, 2, x_42); +lean_ctor_set(x_45, 3, x_43); +lean_ctor_set(x_45, 4, x_14); +lean_ctor_set(x_45, 5, x_44); +lean_ctor_set(x_45, 6, x_14); +lean_ctor_set(x_45, 7, x_23); +lean_ctor_set(x_45, 8, x_14); +lean_ctor_set(x_45, 9, x_14); +x_46 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_46, 0, x_45); +lean_ctor_set(x_16, 0, x_46); +x_47 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_16); +x_49 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_50 = lean_array_push(x_49, x_48); +lean_ctor_set(x_11, 0, x_50); +return x_11; +} +else +{ +uint32_t x_51; uint8_t x_52; +x_51 = 10; +lean_inc(x_10); +x_52 = l_String_contains(x_10, x_51); +if (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; lean_object* x_66; lean_object* x_67; +x_53 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17; +x_54 = lean_string_append(x_53, x_10); +lean_dec(x_10); +x_55 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18; +x_56 = lean_string_append(x_54, x_55); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_32); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_14); +lean_ctor_set(x_57, 3, x_14); +x_58 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_28, x_57); +lean_ctor_set(x_23, 0, x_58); +x_59 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_60 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_61 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_62 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_62, 0, x_14); +lean_ctor_set(x_62, 1, x_14); +lean_ctor_set(x_62, 2, x_59); +lean_ctor_set(x_62, 3, x_60); +lean_ctor_set(x_62, 4, x_14); +lean_ctor_set(x_62, 5, x_61); +lean_ctor_set(x_62, 6, x_14); +lean_ctor_set(x_62, 7, x_23); +lean_ctor_set(x_62, 8, x_14); +lean_ctor_set(x_62, 9, x_14); +x_63 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_63, 0, x_62); +lean_ctor_set(x_16, 0, x_63); +x_64 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_16); +x_66 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_67 = lean_array_push(x_66, x_65); +lean_ctor_set(x_11, 0, x_67); +return x_11; +} +else +{ +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_68 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_69 = lean_string_append(x_68, x_10); +lean_dec(x_10); +x_70 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_71 = lean_string_append(x_69, x_70); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_32); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_14); +lean_ctor_set(x_72, 3, x_14); +x_73 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_28, x_72); +lean_ctor_set(x_23, 0, x_73); +x_74 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_75 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_76 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_77 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_77, 0, x_14); +lean_ctor_set(x_77, 1, x_14); +lean_ctor_set(x_77, 2, x_74); +lean_ctor_set(x_77, 3, x_75); +lean_ctor_set(x_77, 4, x_14); +lean_ctor_set(x_77, 5, x_76); +lean_ctor_set(x_77, 6, x_14); +lean_ctor_set(x_77, 7, x_23); +lean_ctor_set(x_77, 8, x_14); +lean_ctor_set(x_77, 9, x_14); +x_78 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_78, 0, x_77); +lean_ctor_set(x_16, 0, x_78); +x_79 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_16); +x_81 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_82 = lean_array_push(x_81, x_80); +lean_ctor_set(x_11, 0, x_82); +return x_11; +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_10); +x_83 = l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__1; +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_32); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_14); +lean_ctor_set(x_84, 3, x_14); +x_85 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_28, x_84); +lean_ctor_set(x_23, 0, x_85); +x_86 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_87 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_88 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_89 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_89, 0, x_14); +lean_ctor_set(x_89, 1, x_14); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_87); +lean_ctor_set(x_89, 4, x_14); +lean_ctor_set(x_89, 5, x_88); +lean_ctor_set(x_89, 6, x_14); +lean_ctor_set(x_89, 7, x_23); +lean_ctor_set(x_89, 8, x_14); +lean_ctor_set(x_89, 9, x_14); +x_90 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_90, 0, x_89); +lean_ctor_set(x_16, 0, x_90); +x_91 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_16); +x_93 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_94 = lean_array_push(x_93, x_92); +lean_ctor_set(x_11, 0, x_94); +return x_11; +} +} +else +{ +lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_95 = lean_ctor_get(x_23, 0); +lean_inc(x_95); +lean_dec(x_23); +x_96 = l_String_isEmpty(x_10); +x_97 = l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(x_13); +x_98 = lean_ctor_get(x_13, 0); +lean_inc(x_98); +lean_dec(x_13); +x_99 = lean_ctor_get(x_98, 2); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_19); +lean_ctor_set(x_100, 1, x_95); +x_101 = l_Lean_FileMap_utf8RangeToLspRange(x_99, x_100); +lean_dec(x_100); +lean_dec(x_99); +if (x_96 == 0) +{ +lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_102 = lean_string_length(x_10); +x_103 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14; +x_104 = lean_nat_dec_le(x_102, x_103); +lean_dec(x_102); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_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; +x_105 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_106 = lean_string_append(x_105, x_10); +lean_dec(x_10); +x_107 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_108 = lean_string_append(x_106, x_107); +x_109 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_109, 0, x_101); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set(x_109, 2, x_14); +lean_ctor_set(x_109, 3, x_14); +x_110 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_97, x_109); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +x_112 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_113 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_114 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_115 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_115, 0, x_14); +lean_ctor_set(x_115, 1, x_14); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_113); +lean_ctor_set(x_115, 4, x_14); +lean_ctor_set(x_115, 5, x_114); +lean_ctor_set(x_115, 6, x_14); +lean_ctor_set(x_115, 7, x_111); +lean_ctor_set(x_115, 8, x_14); +lean_ctor_set(x_115, 9, x_14); +x_116 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_116, 0, x_115); +lean_ctor_set(x_16, 0, x_116); +x_117 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_16); +x_119 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_120 = lean_array_push(x_119, x_118); +lean_ctor_set(x_11, 0, x_120); +return x_11; +} +else +{ +uint32_t x_121; uint8_t x_122; +x_121 = 10; +lean_inc(x_10); +x_122 = l_String_contains(x_10, x_121); +if (x_122 == 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_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; +x_123 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17; +x_124 = lean_string_append(x_123, x_10); +lean_dec(x_10); +x_125 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18; +x_126 = lean_string_append(x_124, x_125); +x_127 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_127, 0, x_101); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_14); +lean_ctor_set(x_127, 3, x_14); +x_128 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_97, x_127); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); +x_130 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_131 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_132 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_133 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_133, 0, x_14); +lean_ctor_set(x_133, 1, x_14); +lean_ctor_set(x_133, 2, x_130); +lean_ctor_set(x_133, 3, x_131); +lean_ctor_set(x_133, 4, x_14); +lean_ctor_set(x_133, 5, x_132); +lean_ctor_set(x_133, 6, x_14); +lean_ctor_set(x_133, 7, x_129); +lean_ctor_set(x_133, 8, x_14); +lean_ctor_set(x_133, 9, x_14); +x_134 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_134, 0, x_133); +lean_ctor_set(x_16, 0, x_134); +x_135 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_16); +x_137 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_138 = lean_array_push(x_137, x_136); +lean_ctor_set(x_11, 0, x_138); +return x_11; +} +else +{ +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; +x_139 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_140 = lean_string_append(x_139, x_10); +lean_dec(x_10); +x_141 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_142 = lean_string_append(x_140, x_141); +x_143 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_143, 0, x_101); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_143, 2, x_14); +lean_ctor_set(x_143, 3, x_14); +x_144 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_97, x_143); +x_145 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_145, 0, x_144); +x_146 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_147 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_148 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_149 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_149, 0, x_14); +lean_ctor_set(x_149, 1, x_14); +lean_ctor_set(x_149, 2, x_146); +lean_ctor_set(x_149, 3, x_147); +lean_ctor_set(x_149, 4, x_14); +lean_ctor_set(x_149, 5, x_148); +lean_ctor_set(x_149, 6, x_14); +lean_ctor_set(x_149, 7, x_145); +lean_ctor_set(x_149, 8, x_14); +lean_ctor_set(x_149, 9, x_14); +x_150 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_150, 0, x_149); +lean_ctor_set(x_16, 0, x_150); +x_151 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_16); +x_153 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_154 = lean_array_push(x_153, x_152); +lean_ctor_set(x_11, 0, x_154); +return x_11; +} +} +} +else +{ +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_dec(x_10); +x_155 = l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__1; +x_156 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_156, 0, x_101); +lean_ctor_set(x_156, 1, x_155); +lean_ctor_set(x_156, 2, x_14); +lean_ctor_set(x_156, 3, x_14); +x_157 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_97, x_156); +x_158 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_158, 0, x_157); +x_159 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_160 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_161 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_162 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_162, 0, x_14); +lean_ctor_set(x_162, 1, x_14); +lean_ctor_set(x_162, 2, x_159); +lean_ctor_set(x_162, 3, x_160); +lean_ctor_set(x_162, 4, x_14); +lean_ctor_set(x_162, 5, x_161); +lean_ctor_set(x_162, 6, x_14); +lean_ctor_set(x_162, 7, x_158); +lean_ctor_set(x_162, 8, x_14); +lean_ctor_set(x_162, 9, x_14); +x_163 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_163, 0, x_162); +lean_ctor_set(x_16, 0, x_163); +x_164 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_16); +x_166 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_167 = lean_array_push(x_166, x_165); +lean_ctor_set(x_11, 0, x_167); +return x_11; +} +} +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_168 = lean_ctor_get(x_16, 0); +lean_inc(x_168); +lean_dec(x_16); +x_169 = lean_unsigned_to_nat(0u); +x_170 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13; +x_171 = l_Lean_Syntax_setArg(x_9, x_169, x_170); +x_172 = l_Lean_Syntax_getPos_x3f(x_171, x_15); +lean_dec(x_171); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; +lean_dec(x_168); +lean_dec(x_13); +lean_dec(x_10); +x_173 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; +lean_ctor_set(x_11, 0, x_173); +return x_11; +} +else +{ +lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_174 = lean_ctor_get(x_172, 0); +lean_inc(x_174); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + x_175 = x_172; +} else { + lean_dec_ref(x_172); + x_175 = lean_box(0); +} +x_176 = l_String_isEmpty(x_10); +x_177 = l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(x_13); +x_178 = lean_ctor_get(x_13, 0); +lean_inc(x_178); +lean_dec(x_13); +x_179 = lean_ctor_get(x_178, 2); +lean_inc(x_179); +lean_dec(x_178); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_168); +lean_ctor_set(x_180, 1, x_174); +x_181 = l_Lean_FileMap_utf8RangeToLspRange(x_179, x_180); +lean_dec(x_180); +lean_dec(x_179); +if (x_176 == 0) +{ +lean_object* x_182; lean_object* x_183; uint8_t x_184; +x_182 = lean_string_length(x_10); +x_183 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14; +x_184 = lean_nat_dec_le(x_182, x_183); +lean_dec(x_182); +if (x_184 == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_185 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_186 = lean_string_append(x_185, x_10); +lean_dec(x_10); +x_187 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_188 = lean_string_append(x_186, x_187); +x_189 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_189, 0, x_181); +lean_ctor_set(x_189, 1, x_188); +lean_ctor_set(x_189, 2, x_14); +lean_ctor_set(x_189, 3, x_14); +x_190 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_177, x_189); +if (lean_is_scalar(x_175)) { + x_191 = lean_alloc_ctor(1, 1, 0); +} else { + x_191 = x_175; +} +lean_ctor_set(x_191, 0, x_190); +x_192 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_193 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_194 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_195 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_195, 0, x_14); +lean_ctor_set(x_195, 1, x_14); +lean_ctor_set(x_195, 2, x_192); +lean_ctor_set(x_195, 3, x_193); +lean_ctor_set(x_195, 4, x_14); +lean_ctor_set(x_195, 5, x_194); +lean_ctor_set(x_195, 6, x_14); +lean_ctor_set(x_195, 7, x_191); +lean_ctor_set(x_195, 8, x_14); +lean_ctor_set(x_195, 9, x_14); +x_196 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_196, 0, x_195); +x_197 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_197, 0, x_196); +x_198 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_201 = lean_array_push(x_200, x_199); +lean_ctor_set(x_11, 0, x_201); +return x_11; +} +else +{ +uint32_t x_202; uint8_t x_203; +x_202 = 10; +lean_inc(x_10); +x_203 = l_String_contains(x_10, x_202); +if (x_203 == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_204 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17; +x_205 = lean_string_append(x_204, x_10); +lean_dec(x_10); +x_206 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18; +x_207 = lean_string_append(x_205, x_206); +x_208 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_208, 0, x_181); +lean_ctor_set(x_208, 1, x_207); +lean_ctor_set(x_208, 2, x_14); +lean_ctor_set(x_208, 3, x_14); +x_209 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_177, x_208); +if (lean_is_scalar(x_175)) { + x_210 = lean_alloc_ctor(1, 1, 0); +} else { + x_210 = x_175; +} +lean_ctor_set(x_210, 0, x_209); +x_211 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_212 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_213 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_214 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_214, 0, x_14); +lean_ctor_set(x_214, 1, x_14); +lean_ctor_set(x_214, 2, x_211); +lean_ctor_set(x_214, 3, x_212); +lean_ctor_set(x_214, 4, x_14); +lean_ctor_set(x_214, 5, x_213); +lean_ctor_set(x_214, 6, x_14); +lean_ctor_set(x_214, 7, x_210); +lean_ctor_set(x_214, 8, x_14); +lean_ctor_set(x_214, 9, x_14); +x_215 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_215, 0, x_214); +x_216 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_216, 0, x_215); +x_217 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_219 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_220 = lean_array_push(x_219, x_218); +lean_ctor_set(x_11, 0, x_220); +return x_11; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_221 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_222 = lean_string_append(x_221, x_10); +lean_dec(x_10); +x_223 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_224 = lean_string_append(x_222, x_223); +x_225 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_225, 0, x_181); +lean_ctor_set(x_225, 1, x_224); +lean_ctor_set(x_225, 2, x_14); +lean_ctor_set(x_225, 3, x_14); +x_226 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_177, x_225); +if (lean_is_scalar(x_175)) { + x_227 = lean_alloc_ctor(1, 1, 0); +} else { + x_227 = x_175; +} +lean_ctor_set(x_227, 0, x_226); +x_228 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_229 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_230 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_231 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_231, 0, x_14); +lean_ctor_set(x_231, 1, x_14); +lean_ctor_set(x_231, 2, x_228); +lean_ctor_set(x_231, 3, x_229); +lean_ctor_set(x_231, 4, x_14); +lean_ctor_set(x_231, 5, x_230); +lean_ctor_set(x_231, 6, x_14); +lean_ctor_set(x_231, 7, x_227); +lean_ctor_set(x_231, 8, x_14); +lean_ctor_set(x_231, 9, x_14); +x_232 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_232, 0, x_231); +x_233 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_233, 0, x_232); +x_234 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_235 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_233); +x_236 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_237 = lean_array_push(x_236, x_235); +lean_ctor_set(x_11, 0, x_237); +return x_11; +} +} +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_10); +x_238 = l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__1; +x_239 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_239, 0, x_181); +lean_ctor_set(x_239, 1, x_238); +lean_ctor_set(x_239, 2, x_14); +lean_ctor_set(x_239, 3, x_14); +x_240 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_177, x_239); +if (lean_is_scalar(x_175)) { + x_241 = lean_alloc_ctor(1, 1, 0); +} else { + x_241 = x_175; +} +lean_ctor_set(x_241, 0, x_240); +x_242 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_243 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_244 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_245 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_245, 0, x_14); +lean_ctor_set(x_245, 1, x_14); +lean_ctor_set(x_245, 2, x_242); +lean_ctor_set(x_245, 3, x_243); +lean_ctor_set(x_245, 4, x_14); +lean_ctor_set(x_245, 5, x_244); +lean_ctor_set(x_245, 6, x_14); +lean_ctor_set(x_245, 7, x_241); +lean_ctor_set(x_245, 8, x_14); +lean_ctor_set(x_245, 9, x_14); +x_246 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_246, 0, x_245); +x_247 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_247, 0, x_246); +x_248 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_251 = lean_array_push(x_250, x_249); +lean_ctor_set(x_11, 0, x_251); +return x_11; +} +} +} +} +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; lean_object* x_256; +x_252 = lean_ctor_get(x_11, 0); +x_253 = lean_ctor_get(x_11, 1); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_11); +x_254 = lean_box(0); +x_255 = 1; +x_256 = l_Lean_Syntax_getPos_x3f(x_9, x_255); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; +lean_dec(x_252); +lean_dec(x_10); +lean_dec(x_9); +x_257 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; +x_258 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_253); +return x_258; +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_259 = lean_ctor_get(x_256, 0); +lean_inc(x_259); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + x_260 = x_256; +} else { + lean_dec_ref(x_256); + x_260 = lean_box(0); +} +x_261 = lean_unsigned_to_nat(0u); +x_262 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13; +x_263 = l_Lean_Syntax_setArg(x_9, x_261, x_262); +x_264 = l_Lean_Syntax_getPos_x3f(x_263, x_255); +lean_dec(x_263); +if (lean_obj_tag(x_264) == 0) +{ +lean_object* x_265; lean_object* x_266; +lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_252); +lean_dec(x_10); +x_265 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10; +x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_253); +return x_266; +} +else +{ +lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_267 = lean_ctor_get(x_264, 0); +lean_inc(x_267); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + x_268 = x_264; +} else { + lean_dec_ref(x_264); + x_268 = lean_box(0); +} +x_269 = l_String_isEmpty(x_10); +x_270 = l_Lean_Server_FileWorker_EditableDocument_versionedIdentifier(x_252); +x_271 = lean_ctor_get(x_252, 0); +lean_inc(x_271); +lean_dec(x_252); +x_272 = lean_ctor_get(x_271, 2); +lean_inc(x_272); +lean_dec(x_271); +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_259); +lean_ctor_set(x_273, 1, x_267); +x_274 = l_Lean_FileMap_utf8RangeToLspRange(x_272, x_273); +lean_dec(x_273); +lean_dec(x_272); +if (x_269 == 0) +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_275 = lean_string_length(x_10); +x_276 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14; +x_277 = lean_nat_dec_le(x_275, x_276); +lean_dec(x_275); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_278 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_279 = lean_string_append(x_278, x_10); +lean_dec(x_10); +x_280 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_281 = lean_string_append(x_279, x_280); +x_282 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_282, 0, x_274); +lean_ctor_set(x_282, 1, x_281); +lean_ctor_set(x_282, 2, x_254); +lean_ctor_set(x_282, 3, x_254); +x_283 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_270, x_282); +if (lean_is_scalar(x_268)) { + x_284 = lean_alloc_ctor(1, 1, 0); +} else { + x_284 = x_268; +} +lean_ctor_set(x_284, 0, x_283); +x_285 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_286 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_287 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_288 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_288, 0, x_254); +lean_ctor_set(x_288, 1, x_254); +lean_ctor_set(x_288, 2, x_285); +lean_ctor_set(x_288, 3, x_286); +lean_ctor_set(x_288, 4, x_254); +lean_ctor_set(x_288, 5, x_287); +lean_ctor_set(x_288, 6, x_254); +lean_ctor_set(x_288, 7, x_284); +lean_ctor_set(x_288, 8, x_254); +lean_ctor_set(x_288, 9, x_254); +x_289 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_289, 0, x_288); +if (lean_is_scalar(x_260)) { + x_290 = lean_alloc_ctor(1, 1, 0); +} else { + x_290 = x_260; +} +lean_ctor_set(x_290, 0, x_289); +x_291 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_294 = lean_array_push(x_293, x_292); +x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_253); +return x_295; +} +else +{ +uint32_t x_296; uint8_t x_297; +x_296 = 10; +lean_inc(x_10); +x_297 = l_String_contains(x_10, x_296); +if (x_297 == 0) +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +x_298 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17; +x_299 = lean_string_append(x_298, x_10); +lean_dec(x_10); +x_300 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18; +x_301 = lean_string_append(x_299, x_300); +x_302 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_302, 0, x_274); +lean_ctor_set(x_302, 1, x_301); +lean_ctor_set(x_302, 2, x_254); +lean_ctor_set(x_302, 3, x_254); +x_303 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_270, x_302); +if (lean_is_scalar(x_268)) { + x_304 = lean_alloc_ctor(1, 1, 0); +} else { + x_304 = x_268; +} +lean_ctor_set(x_304, 0, x_303); +x_305 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_306 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_307 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_308 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_308, 0, x_254); +lean_ctor_set(x_308, 1, x_254); +lean_ctor_set(x_308, 2, x_305); +lean_ctor_set(x_308, 3, x_306); +lean_ctor_set(x_308, 4, x_254); +lean_ctor_set(x_308, 5, x_307); +lean_ctor_set(x_308, 6, x_254); +lean_ctor_set(x_308, 7, x_304); +lean_ctor_set(x_308, 8, x_254); +lean_ctor_set(x_308, 9, x_254); +x_309 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_309, 0, x_308); +if (lean_is_scalar(x_260)) { + x_310 = lean_alloc_ctor(1, 1, 0); +} else { + x_310 = x_260; +} +lean_ctor_set(x_310, 0, x_309); +x_311 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_310); +x_313 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_314 = lean_array_push(x_313, x_312); +x_315 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_253); +return x_315; +} +else +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_316 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15; +x_317 = lean_string_append(x_316, x_10); +lean_dec(x_10); +x_318 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16; +x_319 = lean_string_append(x_317, x_318); +x_320 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_320, 0, x_274); +lean_ctor_set(x_320, 1, x_319); +lean_ctor_set(x_320, 2, x_254); +lean_ctor_set(x_320, 3, x_254); +x_321 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_270, x_320); +if (lean_is_scalar(x_268)) { + x_322 = lean_alloc_ctor(1, 1, 0); +} else { + x_322 = x_268; +} +lean_ctor_set(x_322, 0, x_321); +x_323 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_324 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_325 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_326 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_326, 0, x_254); +lean_ctor_set(x_326, 1, x_254); +lean_ctor_set(x_326, 2, x_323); +lean_ctor_set(x_326, 3, x_324); +lean_ctor_set(x_326, 4, x_254); +lean_ctor_set(x_326, 5, x_325); +lean_ctor_set(x_326, 6, x_254); +lean_ctor_set(x_326, 7, x_322); +lean_ctor_set(x_326, 8, x_254); +lean_ctor_set(x_326, 9, x_254); +x_327 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_327, 0, x_326); +if (lean_is_scalar(x_260)) { + x_328 = lean_alloc_ctor(1, 1, 0); +} else { + x_328 = x_260; +} +lean_ctor_set(x_328, 0, x_327); +x_329 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_328); +x_331 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_332 = lean_array_push(x_331, x_330); +x_333 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_253); +return x_333; +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_dec(x_10); +x_334 = l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___closed__1; +x_335 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_335, 0, x_274); +lean_ctor_set(x_335, 1, x_334); +lean_ctor_set(x_335, 2, x_254); +lean_ctor_set(x_335, 3, x_254); +x_336 = l_Lean_Lsp_WorkspaceEdit_ofTextEdit(x_270, x_335); +if (lean_is_scalar(x_268)) { + x_337 = lean_alloc_ctor(1, 1, 0); +} else { + x_337 = x_268; +} +lean_ctor_set(x_337, 0, x_336); +x_338 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4; +x_339 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2; +x_340 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3; +x_341 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_341, 0, x_254); +lean_ctor_set(x_341, 1, x_254); +lean_ctor_set(x_341, 2, x_338); +lean_ctor_set(x_341, 3, x_339); +lean_ctor_set(x_341, 4, x_254); +lean_ctor_set(x_341, 5, x_340); +lean_ctor_set(x_341, 6, x_254); +lean_ctor_set(x_341, 7, x_337); +lean_ctor_set(x_341, 8, x_254); +lean_ctor_set(x_341, 9, x_254); +x_342 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_342, 0, x_341); +if (lean_is_scalar(x_260)) { + x_343 = lean_alloc_ctor(1, 1, 0); +} else { + x_343 = x_260; +} +lean_ctor_set(x_343, 0, x_342); +x_344 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5; +x_345 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +x_346 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6; +x_347 = lean_array_push(x_346, x_345); +x_348 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_253); +return x_348; +} +} +} +} +} +} +else +{ +lean_object* x_349; lean_object* x_350; +x_349 = l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___closed__6; +x_350 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_3); +return x_350; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction(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_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___boxed), 3, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +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_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__4(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; 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_forInUnsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__5(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PersistentArray_findSomeM_x3f___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_CodeActions_Attr(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -3862,7 +5668,49 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_dec if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_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)); +}l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1 = _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1(); +lean_mark_persistent(l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__1); +l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2 = _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2(); +lean_mark_persistent(l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__2); +l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3 = _init_l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3(); +lean_mark_persistent(l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___spec__2___closed__3); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__1); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__2); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__4); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__5); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__6); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__7); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__8); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__9); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__10); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__11); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__13); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__14); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__15); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__16); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17); +l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18(); +lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18); +return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c b/stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c index 019e5fac23..e26364682d 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c @@ -9359,26 +9359,19 @@ lean_inc(x_10); x_11 = l_Lean_Omega_IntList_get(x_10, x_8); lean_dec(x_10); x_12 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at_Lean_Elab_Tactic_Omega_instToExprLinearCombo___spec__1___closed__1; -x_13 = lean_int_dec_lt(x_11, x_12); +x_13 = lean_int_dec_eq(x_11, x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_nat_abs(x_11); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_eq(x_14, x_15); -lean_dec(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; -x_18 = lean_int_mul(x_17, x_9); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; +x_15 = lean_int_mul(x_14, x_9); lean_dec(x_9); -x_19 = lean_int_mul(x_18, x_11); +x_16 = lean_int_mul(x_15, x_11); lean_dec(x_11); -lean_dec(x_18); -x_20 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; -x_21 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_19, x_7, x_20, x_5); -return x_21; +lean_dec(x_15); +x_17 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; +x_18 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_16, x_7, x_17, x_5); +return x_18; } else { @@ -9388,20 +9381,6 @@ lean_dec(x_7); return x_5; } } -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; -x_23 = lean_int_mul(x_22, x_9); -lean_dec(x_9); -x_24 = lean_int_mul(x_23, x_11); -lean_dec(x_11); -lean_dec(x_23); -x_25 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; -x_26 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_24, x_7, x_25, x_5); -return x_26; -} -} } } LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_Problem_replayEliminations(lean_object* x_1, lean_object* x_2) { @@ -9448,55 +9427,30 @@ lean_inc(x_1); x_9 = l_Lean_Omega_IntList_get(x_6, x_1); lean_dec(x_6); x_10 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at_Lean_Elab_Tactic_Omega_instToExprLinearCombo___spec__1___closed__1; -x_11 = lean_int_dec_lt(x_9, x_10); +x_11 = lean_int_dec_eq(x_9, x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_nat_abs(x_9); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; -x_16 = lean_int_mul(x_15, x_2); -x_17 = lean_int_mul(x_16, x_9); +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 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; +x_13 = lean_int_mul(x_12, x_2); +x_14 = lean_int_mul(x_13, x_9); lean_dec(x_9); -lean_dec(x_16); -x_18 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; +lean_dec(x_13); +x_15 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; lean_inc(x_3); -x_19 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_17, x_3, x_18, x_7); -x_20 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_19); -x_21 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_20); -x_4 = x_21; +x_16 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_14, x_3, x_15, x_7); +x_17 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_16); +x_18 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_17); +x_4 = x_18; x_5 = x_8; goto _start; } else { -lean_object* x_23; +lean_object* x_20; lean_dec(x_9); -x_23 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_7); -x_4 = x_23; -x_5 = x_8; -goto _start; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_25 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2; -x_26 = lean_int_mul(x_25, x_2); -x_27 = lean_int_mul(x_26, x_9); -lean_dec(x_9); -lean_dec(x_26); -x_28 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1; -lean_inc(x_3); -x_29 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_27, x_3, x_28, x_7); -x_30 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_29); -x_31 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_30); -x_4 = x_31; +x_20 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_7); +x_4 = x_20; x_5 = x_8; goto _start; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c b/stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c index d1e85ec2e9..5f79949bb1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c @@ -109,7 +109,6 @@ extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_Elab_Tactic_Omega_withoutModifyingState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__53; -static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_problem___default___closed__5; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__28; @@ -117,6 +116,7 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Omega_evalOmega___closed__2; static lean_object* l_panic___at_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___spec__1___closed__1; +static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1; static lean_object* l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__7; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__37; lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); @@ -136,7 +136,6 @@ static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___c static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_problem___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_Omega_elabOmegaConfig___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__54; -static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_evalOmega(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_Omega_MetaProblem_addFact___lambda__1___closed__5; @@ -173,7 +172,6 @@ static lean_object* l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__27; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_splitDisjunction___lambda__5___boxed(lean_object**); static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality___closed__1; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___lambda__2___closed__1; -static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__56; static lean_object* l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_omega(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -184,7 +182,6 @@ static lean_object* l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__29; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__16; static lean_object* l_Lean_Elab_Tactic_Omega_omegaTactic___lambda__2___closed__3; -static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__51; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__62; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__1; @@ -228,6 +225,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_evalOmega___lambda__1___boxed( static lean_object* l_Lean_Elab_Tactic_Omega_evalUnsafe____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_6____closed__2; lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__13; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleFinVal___closed__4; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__50; @@ -319,7 +317,6 @@ static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality___lamb static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Tactic_Omega_elabOmegaConfig___spec__2___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_mapMUnsafe_map___at_Lean_Elab_Tactic_Omega_elabOmegaConfig___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2; static lean_object* l_panic___at_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___spec__1___closed__3; lean_object* l_Lean_Omega_LinearCombo_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Tactic_Omega_elabOmegaConfig___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -348,6 +345,7 @@ static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___c static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__24; static lean_object* l_Lean_Elab_Tactic_Omega_mkCoordinateEvalAtomsEq___closed__10; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality___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_object*); static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__4___closed__2; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___closed__9; @@ -467,6 +465,7 @@ static lean_object* l_Lean_Elab_Tactic_Omega_mkCoordinateEvalAtomsEq___closed__4 static lean_object* l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__28; static lean_object* l_Lean_Elab_Tactic_Omega_splitDisjunction___closed__1; lean_object* l_Lean_MVarId_assert(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_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4; static lean_object* l_Lean_Elab_Tactic_Omega_cases_u2082___closed__1; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addIntEquality___closed__2; lean_object* l_Lean_Elab_Tactic_Omega_atomsList___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -598,6 +597,7 @@ static lean_object* l_Lean_Elab_Tactic_Omega_splitDisjunction___closed__4; static lean_object* l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleFinVal___closed__10; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__71; 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_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2; lean_object* l_Int_toNat(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Omega_evalOmega___closed__5; static lean_object* l_Lean_Elab_Tactic_Omega_succ_x3f___closed__3; @@ -605,10 +605,10 @@ static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_problem___default___lam uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_Omega_elabOmegaConfig___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846_(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Omega_splitDisjunction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_mkCoordinateEvalAtomsEq___closed__9; +static lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__9; static lean_object* l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__33; @@ -8729,7 +8729,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8 _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("ediv_zero", 9); +x_1 = lean_mk_string_from_bytes("ediv_neg", 8); return x_1; } } @@ -8756,28 +8756,28 @@ return x_3; static lean_object* _init_l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__35() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("ediv_neg", 8); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__33; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__36() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_2 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__35; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ediv_zero", 9); +return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; x_2 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__36; -x_3 = l_Lean_Expr_const___override(x_2, x_1); +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } @@ -8786,7 +8786,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_Omega_asLinearComboImpl___lambda__8___closed__36; +x_2 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__37; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } @@ -10022,212 +10022,185 @@ x_269 = lean_ctor_get(x_267, 0); lean_inc(x_269); lean_dec(x_267); x_270 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_271 = lean_int_dec_lt(x_269, x_270); +x_271 = lean_int_dec_eq(x_269, x_270); if (x_271 == 0) { -lean_object* x_272; lean_object* x_273; uint8_t x_274; -x_272 = lean_nat_abs(x_269); -x_273 = lean_unsigned_to_nat(0u); -x_274 = lean_nat_dec_eq(x_272, x_273); -lean_dec(x_272); -if (x_274 == 0) -{ -uint8_t x_275; lean_object* x_276; lean_object* x_277; +uint8_t x_272; lean_object* x_273; lean_object* x_274; lean_dec(x_1); -x_275 = lean_int_dec_le(x_270, x_269); -x_276 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__3___closed__5; -x_277 = lean_array_push(x_276, x_264); -if (x_275 == 0) +x_272 = lean_int_dec_le(x_270, x_269); +x_273 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__3___closed__5; +lean_inc(x_264); +x_274 = lean_array_push(x_273, x_264); +if (x_272 == 0) { -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_278 = lean_int_neg(x_269); -lean_dec(x_269); -x_279 = l_Int_toNat(x_278); -lean_dec(x_278); -x_280 = l_Lean_instToExprInt_mkNat(x_279); -x_281 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__31; -x_282 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; -x_283 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; -x_284 = l_Lean_mkApp3(x_281, x_282, x_283, x_280); -x_285 = lean_array_push(x_277, x_284); -x_286 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_275 = lean_int_neg(x_269); +x_276 = l_Int_toNat(x_275); +x_277 = l_Lean_instToExprInt_mkNat(x_276); +x_278 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__31; +x_279 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; +x_280 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; +lean_inc(x_277); +x_281 = l_Lean_mkApp3(x_278, x_279, x_280, x_277); +x_282 = lean_array_push(x_274, x_281); +x_283 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_287 = l_Lean_Meta_mkAppM(x_286, x_285, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_287) == 0) +x_284 = l_Lean_Meta_mkAppM(x_283, x_282, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_284) == 0) { -lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_287, 1); -lean_inc(x_289); -lean_dec(x_287); -x_290 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_288, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_289); -return x_290; -} -else -{ -uint8_t x_291; -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_291 = !lean_is_exclusive(x_287); -if (x_291 == 0) -{ -return x_287; -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_287, 0); -x_293 = lean_ctor_get(x_287, 1); -lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_287); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_293); -return x_294; -} -} -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_295 = l_Int_toNat(x_269); +lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +x_287 = lean_int_dec_lt(x_269, x_270); lean_dec(x_269); -x_296 = l_Lean_instToExprInt_mkNat(x_295); -x_297 = lean_array_push(x_277, x_296); -x_298 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_299 = l_Lean_Meta_mkAppM(x_298, x_297, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_299) == 0) +if (x_287 == 0) { -lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -lean_dec(x_299); -x_302 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_300, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_301); -return x_302; +lean_object* x_288; +lean_dec(x_277); +lean_dec(x_275); +lean_dec(x_264); +x_288 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_285, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_286); +return x_288; } else { -uint8_t x_303; -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_303 = !lean_is_exclusive(x_299); -if (x_303 == 0) +uint8_t x_289; +x_289 = lean_int_dec_le(x_270, x_275); +if (x_289 == 0) { +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_dec(x_277); +x_290 = lean_int_neg(x_275); +lean_dec(x_275); +x_291 = l_Int_toNat(x_290); +lean_dec(x_290); +x_292 = l_Lean_instToExprInt_mkNat(x_291); +x_293 = l_Lean_mkApp3(x_278, x_279, x_280, x_292); +x_294 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__34; +x_295 = l_Lean_mkAppB(x_294, x_264, x_293); +x_296 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_285, x_295, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_286); +return x_296; +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_275); +x_297 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__34; +x_298 = l_Lean_mkAppB(x_297, x_264, x_277); +x_299 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_285, x_298, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_286); return x_299; } -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_299, 0); -x_305 = lean_ctor_get(x_299, 1); -lean_inc(x_305); -lean_inc(x_304); -lean_dec(x_299); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -return x_306; -} -} } } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; +uint8_t x_300; +lean_dec(x_277); +lean_dec(x_275); lean_dec(x_269); -x_307 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__34; -x_308 = l_Lean_Expr_app___override(x_307, x_264); -x_309 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_1, x_308, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_309; +lean_dec(x_264); +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_300 = !lean_is_exclusive(x_284); +if (x_300 == 0) +{ +return x_284; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_284, 0); +x_302 = lean_ctor_get(x_284, 1); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_284); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_302); +return x_303; +} } } else { -uint8_t x_310; lean_object* x_311; lean_object* x_312; -lean_dec(x_1); -x_310 = lean_int_dec_le(x_270, x_269); -x_311 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__3___closed__5; -lean_inc(x_264); -x_312 = lean_array_push(x_311, x_264); -if (x_310 == 0) +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_304 = l_Int_toNat(x_269); +x_305 = l_Lean_instToExprInt_mkNat(x_304); +x_306 = lean_array_push(x_274, x_305); +x_307 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_308 = l_Lean_Meta_mkAppM(x_307, x_306, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_308) == 0) { -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +lean_object* x_309; lean_object* x_310; uint8_t x_311; +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_308, 1); +lean_inc(x_310); +lean_dec(x_308); +x_311 = lean_int_dec_lt(x_269, x_270); +if (x_311 == 0) +{ +lean_object* x_312; +lean_dec(x_269); +lean_dec(x_264); +x_312 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_309, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_310); +return x_312; +} +else +{ +lean_object* x_313; uint8_t x_314; x_313 = lean_int_neg(x_269); lean_dec(x_269); -x_314 = l_Int_toNat(x_313); -x_315 = l_Lean_instToExprInt_mkNat(x_314); -x_316 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__31; -x_317 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; -x_318 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; -lean_inc(x_315); -x_319 = l_Lean_mkApp3(x_316, x_317, x_318, x_315); -x_320 = lean_array_push(x_312, x_319); -x_321 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_322 = l_Lean_Meta_mkAppM(x_321, x_320, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_322) == 0) +x_314 = lean_int_dec_le(x_270, x_313); +if (x_314 == 0) { -lean_object* x_323; lean_object* x_324; uint8_t x_325; -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); -x_325 = lean_int_dec_le(x_270, x_313); -if (x_325 == 0) -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -lean_dec(x_315); -x_326 = lean_int_neg(x_313); +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_315 = lean_int_neg(x_313); lean_dec(x_313); -x_327 = l_Int_toNat(x_326); -lean_dec(x_326); -x_328 = l_Lean_instToExprInt_mkNat(x_327); -x_329 = l_Lean_mkApp3(x_316, x_317, x_318, x_328); -x_330 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__37; -x_331 = l_Lean_mkAppB(x_330, x_264, x_329); -x_332 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_323, x_331, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_324); -return x_332; +x_316 = l_Int_toNat(x_315); +lean_dec(x_315); +x_317 = l_Lean_instToExprInt_mkNat(x_316); +x_318 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__27; +x_319 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; +x_320 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; +x_321 = l_Lean_mkApp3(x_318, x_319, x_320, x_317); +x_322 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__35; +x_323 = l_Lean_mkAppB(x_322, x_264, x_321); +x_324 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_309, x_323, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_310); +return x_324; } else { -lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_325 = l_Int_toNat(x_313); lean_dec(x_313); -x_333 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__37; -x_334 = l_Lean_mkAppB(x_333, x_264, x_315); -x_335 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_323, x_334, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_324); -return x_335; +x_326 = l_Lean_instToExprInt_mkNat(x_325); +x_327 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__35; +x_328 = l_Lean_mkAppB(x_327, x_264, x_326); +x_329 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_309, x_328, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_310); +return x_329; +} } } else { -uint8_t x_336; -lean_dec(x_315); -lean_dec(x_313); +uint8_t x_330; +lean_dec(x_269); lean_dec(x_264); lean_dec(x_9); lean_dec(x_8); @@ -10236,211 +10209,195 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_336 = !lean_is_exclusive(x_322); -if (x_336 == 0) +x_330 = !lean_is_exclusive(x_308); +if (x_330 == 0) { -return x_322; +return x_308; } else { -lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_337 = lean_ctor_get(x_322, 0); -x_338 = lean_ctor_get(x_322, 1); -lean_inc(x_338); -lean_inc(x_337); -lean_dec(x_322); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_337); -lean_ctor_set(x_339, 1, x_338); +lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_331 = lean_ctor_get(x_308, 0); +x_332 = lean_ctor_get(x_308, 1); +lean_inc(x_332); +lean_inc(x_331); +lean_dec(x_308); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_331); +lean_ctor_set(x_333, 1, x_332); +return x_333; +} +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; +lean_dec(x_269); +x_334 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__38; +x_335 = l_Lean_Expr_app___override(x_334, x_264); +x_336 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_1, x_335, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_336; +} +} +} +} +} +} +else +{ +lean_object* x_337; uint8_t x_338; +lean_dec(x_19); +x_337 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__39; +x_338 = lean_string_dec_eq(x_18, x_337); +lean_dec(x_18); +if (x_338 == 0) +{ +lean_object* x_339; +lean_dec(x_17); +x_339 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_339; } -} +else +{ +lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_340 = lean_array_get_size(x_17); +x_341 = lean_unsigned_to_nat(6u); +x_342 = lean_nat_dec_eq(x_340, x_341); +lean_dec(x_340); +if (x_342 == 0) +{ +lean_object* x_343; +lean_dec(x_17); +x_343 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_343; } else { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_340 = l_Int_toNat(x_269); -x_341 = l_Lean_instToExprInt_mkNat(x_340); -x_342 = lean_array_push(x_312, x_341); -x_343 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__29; +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_344 = lean_unsigned_to_nat(4u); +x_345 = lean_array_fget(x_17, x_344); +x_346 = lean_unsigned_to_nat(5u); +x_347 = lean_array_fget(x_17, x_346); +lean_dec(x_17); +x_348 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_347); +if (lean_obj_tag(x_348) == 0) +{ +lean_object* x_349; +lean_dec(x_345); +x_349 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_349; +} +else +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; lean_object* x_354; lean_object* x_355; +lean_dec(x_1); +x_350 = lean_ctor_get(x_348, 0); +lean_inc(x_350); +lean_dec(x_348); +x_351 = lean_nat_to_int(x_350); +x_352 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; +x_353 = lean_int_dec_le(x_352, x_351); +x_354 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__3___closed__5; +lean_inc(x_345); +x_355 = lean_array_push(x_354, x_345); +if (x_353 == 0) +{ +lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_356 = lean_int_neg(x_351); +lean_dec(x_351); +x_357 = l_Int_toNat(x_356); +lean_dec(x_356); +x_358 = l_Lean_instToExprInt_mkNat(x_357); +x_359 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__31; +x_360 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; +x_361 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; +x_362 = l_Lean_mkApp3(x_359, x_360, x_361, x_358); +lean_inc(x_362); +x_363 = lean_array_push(x_355, x_362); +x_364 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__40; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_344 = l_Lean_Meta_mkAppM(x_343, x_342, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_344) == 0) +x_365 = l_Lean_Meta_mkAppM(x_364, x_363, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_365) == 0) { -lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 1); -lean_inc(x_346); -lean_dec(x_344); -x_347 = lean_int_neg(x_269); -lean_dec(x_269); -x_348 = lean_int_dec_le(x_270, x_347); -if (x_348 == 0) -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_349 = lean_int_neg(x_347); -lean_dec(x_347); -x_350 = l_Int_toNat(x_349); -lean_dec(x_349); -x_351 = l_Lean_instToExprInt_mkNat(x_350); -x_352 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__27; -x_353 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; -x_354 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; -x_355 = l_Lean_mkApp3(x_352, x_353, x_354, x_351); -x_356 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__38; -x_357 = l_Lean_mkAppB(x_356, x_264, x_355); -x_358 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_345, x_357, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_346); -return x_358; -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_359 = l_Int_toNat(x_347); -lean_dec(x_347); -x_360 = l_Lean_instToExprInt_mkNat(x_359); -x_361 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__38; -x_362 = l_Lean_mkAppB(x_361, x_264, x_360); -x_363 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_345, x_362, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_346); -return x_363; -} -} -else -{ -uint8_t x_364; -lean_dec(x_269); -lean_dec(x_264); -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_364 = !lean_is_exclusive(x_344); -if (x_364 == 0) -{ -return x_344; -} -else -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_365 = lean_ctor_get(x_344, 0); -x_366 = lean_ctor_get(x_344, 1); +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +x_366 = lean_ctor_get(x_365, 0); lean_inc(x_366); -lean_inc(x_365); -lean_dec(x_344); -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_365); -lean_ctor_set(x_367, 1, x_366); -return x_367; -} -} -} -} -} -} -} -} -} -else -{ -lean_object* x_368; uint8_t x_369; -lean_dec(x_19); -x_368 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__39; -x_369 = lean_string_dec_eq(x_18, x_368); -lean_dec(x_18); -if (x_369 == 0) -{ -lean_object* x_370; -lean_dec(x_17); -x_370 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_367 = lean_ctor_get(x_365, 1); +lean_inc(x_367); +lean_dec(x_365); +x_368 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__43; +x_369 = l_Lean_mkAppB(x_368, x_345, x_362); +x_370 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_366, x_369, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_367); return x_370; } else { -lean_object* x_371; lean_object* x_372; uint8_t x_373; -x_371 = lean_array_get_size(x_17); -x_372 = lean_unsigned_to_nat(6u); -x_373 = lean_nat_dec_eq(x_371, x_372); -lean_dec(x_371); -if (x_373 == 0) +uint8_t x_371; +lean_dec(x_362); +lean_dec(x_345); +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_371 = !lean_is_exclusive(x_365); +if (x_371 == 0) { -lean_object* x_374; -lean_dec(x_17); -x_374 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_365; +} +else +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_372 = lean_ctor_get(x_365, 0); +x_373 = lean_ctor_get(x_365, 1); +lean_inc(x_373); +lean_inc(x_372); +lean_dec(x_365); +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_372); +lean_ctor_set(x_374, 1, x_373); return x_374; } +} +} else { lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_375 = lean_unsigned_to_nat(4u); -x_376 = lean_array_fget(x_17, x_375); -x_377 = lean_unsigned_to_nat(5u); -x_378 = lean_array_fget(x_17, x_377); -lean_dec(x_17); -x_379 = l_Lean_Elab_Tactic_Omega_groundNat_x3f(x_378); +x_375 = l_Int_toNat(x_351); +lean_dec(x_351); +x_376 = l_Lean_instToExprInt_mkNat(x_375); +lean_inc(x_376); +x_377 = lean_array_push(x_355, x_376); +x_378 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__40; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_379 = l_Lean_Meta_mkAppM(x_378, x_377, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_379) == 0) { -lean_object* x_380; -lean_dec(x_376); -x_380 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_380; -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; -lean_dec(x_1); -x_381 = lean_ctor_get(x_379, 0); +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); lean_inc(x_381); lean_dec(x_379); -x_382 = lean_nat_to_int(x_381); -x_383 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_384 = lean_int_dec_le(x_383, x_382); -x_385 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__3___closed__5; -lean_inc(x_376); -x_386 = lean_array_push(x_385, x_376); -if (x_384 == 0) -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_387 = lean_int_neg(x_382); -lean_dec(x_382); -x_388 = l_Int_toNat(x_387); -lean_dec(x_387); -x_389 = l_Lean_instToExprInt_mkNat(x_388); -x_390 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__31; -x_391 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__11; -x_392 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__30; -x_393 = l_Lean_mkApp3(x_390, x_391, x_392, x_389); -lean_inc(x_393); -x_394 = lean_array_push(x_386, x_393); -x_395 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__40; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_396 = l_Lean_Meta_mkAppM(x_395, x_394, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_396) == 0) -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_396, 1); -lean_inc(x_398); -lean_dec(x_396); -x_399 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__43; -x_400 = l_Lean_mkAppB(x_399, x_376, x_393); -x_401 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_397, x_400, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_398); -return x_401; +x_382 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__44; +x_383 = l_Lean_mkAppB(x_382, x_345, x_376); +x_384 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_380, x_383, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_381); +return x_384; } else { -uint8_t x_402; -lean_dec(x_393); +uint8_t x_385; lean_dec(x_376); +lean_dec(x_345); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10448,58 +10405,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_402 = !lean_is_exclusive(x_396); -if (x_402 == 0) +x_385 = !lean_is_exclusive(x_379); +if (x_385 == 0) { -return x_396; +return x_379; } else { -lean_object* x_403; lean_object* x_404; lean_object* x_405; -x_403 = lean_ctor_get(x_396, 0); -x_404 = lean_ctor_get(x_396, 1); +lean_object* x_386; lean_object* x_387; lean_object* x_388; +x_386 = lean_ctor_get(x_379, 0); +x_387 = lean_ctor_get(x_379, 1); +lean_inc(x_387); +lean_inc(x_386); +lean_dec(x_379); +x_388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_388, 0, x_386); +lean_ctor_set(x_388, 1, x_387); +return x_388; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_389; uint8_t x_390; +lean_dec(x_19); +x_389 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__45; +x_390 = lean_string_dec_eq(x_18, x_389); +lean_dec(x_18); +if (x_390 == 0) +{ +lean_object* x_391; +lean_dec(x_17); +x_391 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_391; +} +else +{ +lean_object* x_392; lean_object* x_393; uint8_t x_394; +x_392 = lean_array_get_size(x_17); +x_393 = lean_unsigned_to_nat(6u); +x_394 = lean_nat_dec_eq(x_392, x_393); +lean_dec(x_392); +if (x_394 == 0) +{ +lean_object* x_395; +lean_dec(x_17); +x_395 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_395; +} +else +{ +lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; +x_396 = lean_unsigned_to_nat(4u); +x_397 = lean_array_fget(x_17, x_396); +x_398 = lean_unsigned_to_nat(5u); +x_399 = lean_array_fget(x_17, x_398); +lean_dec(x_17); +x_400 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearCombo), 9, 1); +lean_closure_set(x_400, 0, x_397); +x_401 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__4), 10, 1); +lean_closure_set(x_401, 0, x_399); +x_402 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_402, 0, x_400); +lean_closure_set(x_402, 1, x_401); +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_403 = l_Lean_Elab_Tactic_Omega_commitWhen___rarg(x_402, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_403) == 0) +{ +lean_object* x_404; +x_404 = lean_ctor_get(x_403, 0); lean_inc(x_404); -lean_inc(x_403); -lean_dec(x_396); -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_403); -lean_ctor_set(x_405, 1, x_404); -return x_405; -} -} +if (lean_obj_tag(x_404) == 0) +{ +lean_object* x_405; lean_object* x_406; +x_405 = lean_ctor_get(x_403, 1); +lean_inc(x_405); +lean_dec(x_403); +x_406 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_405); +return x_406; } else { -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_406 = l_Int_toNat(x_382); -lean_dec(x_382); -x_407 = l_Lean_instToExprInt_mkNat(x_406); -lean_inc(x_407); -x_408 = lean_array_push(x_386, x_407); -x_409 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__40; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_410 = l_Lean_Meta_mkAppM(x_409, x_408, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_410) == 0) -{ -lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; -x_411 = lean_ctor_get(x_410, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_410, 1); -lean_inc(x_412); -lean_dec(x_410); -x_413 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__44; -x_414 = l_Lean_mkAppB(x_413, x_376, x_407); -x_415 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_411, x_414, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_412); -return x_415; -} -else -{ -uint8_t x_416; -lean_dec(x_407); -lean_dec(x_376); +uint8_t x_407; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10507,386 +10505,286 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_416 = !lean_is_exclusive(x_410); -if (x_416 == 0) +lean_dec(x_1); +x_407 = !lean_is_exclusive(x_403); +if (x_407 == 0) { -return x_410; +lean_object* x_408; lean_object* x_409; +x_408 = lean_ctor_get(x_403, 0); +lean_dec(x_408); +x_409 = lean_ctor_get(x_404, 0); +lean_inc(x_409); +lean_dec(x_404); +lean_ctor_set(x_403, 0, x_409); +return x_403; } else { -lean_object* x_417; lean_object* x_418; lean_object* x_419; -x_417 = lean_ctor_get(x_410, 0); -x_418 = lean_ctor_get(x_410, 1); -lean_inc(x_418); -lean_inc(x_417); -lean_dec(x_410); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_417); -lean_ctor_set(x_419, 1, x_418); +lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_410 = lean_ctor_get(x_403, 1); +lean_inc(x_410); +lean_dec(x_403); +x_411 = lean_ctor_get(x_404, 0); +lean_inc(x_411); +lean_dec(x_404); +x_412 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_410); +return x_412; +} +} +} +else +{ +uint8_t x_413; +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_413 = !lean_is_exclusive(x_403); +if (x_413 == 0) +{ +return x_403; +} +else +{ +lean_object* x_414; lean_object* x_415; lean_object* x_416; +x_414 = lean_ctor_get(x_403, 0); +x_415 = lean_ctor_get(x_403, 1); +lean_inc(x_415); +lean_inc(x_414); +lean_dec(x_403); +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_414); +lean_ctor_set(x_416, 1, x_415); +return x_416; +} +} +} +} +} +} +else +{ +lean_object* x_417; uint8_t x_418; +lean_dec(x_19); +x_417 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__23; +x_418 = lean_string_dec_eq(x_18, x_417); +lean_dec(x_18); +if (x_418 == 0) +{ +lean_object* x_419; +lean_dec(x_17); +x_419 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_419; } -} -} -} -} -} -} +else +{ +lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_420 = lean_array_get_size(x_17); +x_421 = lean_unsigned_to_nat(3u); +x_422 = lean_nat_dec_eq(x_420, x_421); +lean_dec(x_420); +if (x_422 == 0) +{ +lean_object* x_423; +lean_dec(x_17); +x_423 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_423; } else { -lean_object* x_420; uint8_t x_421; -lean_dec(x_19); -x_420 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__45; -x_421 = lean_string_dec_eq(x_18, x_420); -lean_dec(x_18); -if (x_421 == 0) -{ -lean_object* x_422; +lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_1); +x_424 = lean_unsigned_to_nat(2u); +x_425 = lean_array_fget(x_17, x_424); lean_dec(x_17); -x_422 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_422; -} -else +x_426 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_425, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_426) == 0) { -lean_object* x_423; lean_object* x_424; uint8_t x_425; -x_423 = lean_array_get_size(x_17); -x_424 = lean_unsigned_to_nat(6u); -x_425 = lean_nat_dec_eq(x_423, x_424); -lean_dec(x_423); -if (x_425 == 0) +lean_object* x_427; lean_object* x_428; uint8_t x_429; +x_427 = lean_ctor_get(x_426, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_427, 1); +lean_inc(x_428); +x_429 = !lean_is_exclusive(x_426); +if (x_429 == 0) { -lean_object* x_426; -lean_dec(x_17); -x_426 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_430; uint8_t x_431; +x_430 = lean_ctor_get(x_426, 0); +lean_dec(x_430); +x_431 = !lean_is_exclusive(x_427); +if (x_431 == 0) +{ +lean_object* x_432; lean_object* x_433; uint8_t x_434; +x_432 = lean_ctor_get(x_427, 0); +x_433 = lean_ctor_get(x_427, 1); +lean_dec(x_433); +x_434 = !lean_is_exclusive(x_428); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_435 = lean_ctor_get(x_428, 0); +lean_inc(x_432); +x_436 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); +lean_closure_set(x_436, 0, x_432); +lean_closure_set(x_436, 1, x_435); +x_437 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_438 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_438, 0, x_437); +lean_closure_set(x_438, 1, x_436); +x_439 = l_Lean_Omega_LinearCombo_neg(x_432); +lean_ctor_set(x_428, 0, x_438); +lean_ctor_set(x_427, 0, x_439); return x_426; } else { -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -x_427 = lean_unsigned_to_nat(4u); -x_428 = lean_array_fget(x_17, x_427); -x_429 = lean_unsigned_to_nat(5u); -x_430 = lean_array_fget(x_17, x_429); -lean_dec(x_17); -x_431 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearCombo), 9, 1); -lean_closure_set(x_431, 0, x_428); -x_432 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__4), 10, 1); -lean_closure_set(x_432, 0, x_430); -x_433 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_433, 0, x_431); -lean_closure_set(x_433, 1, x_432); -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_434 = l_Lean_Elab_Tactic_Omega_commitWhen___rarg(x_433, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_434) == 0) -{ -lean_object* x_435; -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -if (lean_obj_tag(x_435) == 0) -{ -lean_object* x_436; lean_object* x_437; -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -x_437 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_436); -return x_437; -} -else -{ -uint8_t x_438; -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_438 = !lean_is_exclusive(x_434); -if (x_438 == 0) -{ -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_434, 0); -lean_dec(x_439); -x_440 = lean_ctor_get(x_435, 0); -lean_inc(x_440); -lean_dec(x_435); -lean_ctor_set(x_434, 0, x_440); -return x_434; -} -else -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; -x_441 = lean_ctor_get(x_434, 1); +lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; +x_440 = lean_ctor_get(x_428, 0); +x_441 = lean_ctor_get(x_428, 1); lean_inc(x_441); -lean_dec(x_434); -x_442 = lean_ctor_get(x_435, 0); -lean_inc(x_442); -lean_dec(x_435); -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); -return x_443; -} -} -} -else -{ -uint8_t x_444; -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_444 = !lean_is_exclusive(x_434); -if (x_444 == 0) -{ -return x_434; -} -else -{ -lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_445 = lean_ctor_get(x_434, 0); -x_446 = lean_ctor_get(x_434, 1); -lean_inc(x_446); -lean_inc(x_445); -lean_dec(x_434); -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_445); -lean_ctor_set(x_447, 1, x_446); -return x_447; -} -} -} -} +lean_inc(x_440); +lean_dec(x_428); +lean_inc(x_432); +x_442 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); +lean_closure_set(x_442, 0, x_432); +lean_closure_set(x_442, 1, x_440); +x_443 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_444 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_444, 0, x_443); +lean_closure_set(x_444, 1, x_442); +x_445 = l_Lean_Omega_LinearCombo_neg(x_432); +x_446 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_446, 0, x_444); +lean_ctor_set(x_446, 1, x_441); +lean_ctor_set(x_427, 1, x_446); +lean_ctor_set(x_427, 0, x_445); +return x_426; } } else { -lean_object* x_448; uint8_t x_449; -lean_dec(x_19); -x_448 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__23; -x_449 = lean_string_dec_eq(x_18, x_448); -lean_dec(x_18); -if (x_449 == 0) -{ -lean_object* x_450; -lean_dec(x_17); -x_450 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_450; +lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; +x_447 = lean_ctor_get(x_427, 0); +lean_inc(x_447); +lean_dec(x_427); +x_448 = lean_ctor_get(x_428, 0); +lean_inc(x_448); +x_449 = lean_ctor_get(x_428, 1); +lean_inc(x_449); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + x_450 = x_428; +} else { + lean_dec_ref(x_428); + x_450 = lean_box(0); +} +lean_inc(x_447); +x_451 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); +lean_closure_set(x_451, 0, x_447); +lean_closure_set(x_451, 1, x_448); +x_452 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_453 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_453, 0, x_452); +lean_closure_set(x_453, 1, x_451); +x_454 = l_Lean_Omega_LinearCombo_neg(x_447); +if (lean_is_scalar(x_450)) { + x_455 = lean_alloc_ctor(0, 2, 0); +} else { + x_455 = x_450; +} +lean_ctor_set(x_455, 0, x_453); +lean_ctor_set(x_455, 1, x_449); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_454); +lean_ctor_set(x_456, 1, x_455); +lean_ctor_set(x_426, 0, x_456); +return x_426; +} } else { -lean_object* x_451; lean_object* x_452; uint8_t x_453; -x_451 = lean_array_get_size(x_17); -x_452 = lean_unsigned_to_nat(3u); -x_453 = lean_nat_dec_eq(x_451, x_452); -lean_dec(x_451); -if (x_453 == 0) -{ -lean_object* x_454; -lean_dec(x_17); -x_454 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_454; -} -else -{ -lean_object* x_455; lean_object* x_456; lean_object* x_457; -lean_dec(x_1); -x_455 = lean_unsigned_to_nat(2u); -x_456 = lean_array_fget(x_17, x_455); -lean_dec(x_17); -x_457 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_456, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_457) == 0) -{ -lean_object* x_458; lean_object* x_459; uint8_t x_460; -x_458 = lean_ctor_get(x_457, 0); +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +x_457 = lean_ctor_get(x_426, 1); +lean_inc(x_457); +lean_dec(x_426); +x_458 = lean_ctor_get(x_427, 0); lean_inc(x_458); -x_459 = lean_ctor_get(x_458, 1); -lean_inc(x_459); -x_460 = !lean_is_exclusive(x_457); -if (x_460 == 0) -{ -lean_object* x_461; uint8_t x_462; -x_461 = lean_ctor_get(x_457, 0); -lean_dec(x_461); -x_462 = !lean_is_exclusive(x_458); -if (x_462 == 0) -{ -lean_object* x_463; lean_object* x_464; uint8_t x_465; -x_463 = lean_ctor_get(x_458, 0); -x_464 = lean_ctor_get(x_458, 1); -lean_dec(x_464); -x_465 = !lean_is_exclusive(x_459); -if (x_465 == 0) -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_466 = lean_ctor_get(x_459, 0); -lean_inc(x_463); -x_467 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); -lean_closure_set(x_467, 0, x_463); -lean_closure_set(x_467, 1, x_466); -x_468 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_469 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_469, 0, x_468); -lean_closure_set(x_469, 1, x_467); -x_470 = l_Lean_Omega_LinearCombo_neg(x_463); -lean_ctor_set(x_459, 0, x_469); -lean_ctor_set(x_458, 0, x_470); -return x_457; +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + x_459 = x_427; +} else { + lean_dec_ref(x_427); + x_459 = lean_box(0); +} +x_460 = lean_ctor_get(x_428, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_428, 1); +lean_inc(x_461); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + x_462 = x_428; +} else { + lean_dec_ref(x_428); + x_462 = lean_box(0); +} +lean_inc(x_458); +x_463 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); +lean_closure_set(x_463, 0, x_458); +lean_closure_set(x_463, 1, x_460); +x_464 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_465 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_465, 0, x_464); +lean_closure_set(x_465, 1, x_463); +x_466 = l_Lean_Omega_LinearCombo_neg(x_458); +if (lean_is_scalar(x_462)) { + x_467 = lean_alloc_ctor(0, 2, 0); +} else { + x_467 = x_462; +} +lean_ctor_set(x_467, 0, x_465); +lean_ctor_set(x_467, 1, x_461); +if (lean_is_scalar(x_459)) { + x_468 = lean_alloc_ctor(0, 2, 0); +} else { + x_468 = x_459; +} +lean_ctor_set(x_468, 0, x_466); +lean_ctor_set(x_468, 1, x_467); +x_469 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_457); +return x_469; +} } else { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_471 = lean_ctor_get(x_459, 0); -x_472 = lean_ctor_get(x_459, 1); +uint8_t x_470; +x_470 = !lean_is_exclusive(x_426); +if (x_470 == 0) +{ +return x_426; +} +else +{ +lean_object* x_471; lean_object* x_472; lean_object* x_473; +x_471 = lean_ctor_get(x_426, 0); +x_472 = lean_ctor_get(x_426, 1); lean_inc(x_472); lean_inc(x_471); -lean_dec(x_459); -lean_inc(x_463); -x_473 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); -lean_closure_set(x_473, 0, x_463); -lean_closure_set(x_473, 1, x_471); -x_474 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_475 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_475, 0, x_474); -lean_closure_set(x_475, 1, x_473); -x_476 = l_Lean_Omega_LinearCombo_neg(x_463); -x_477 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_477, 0, x_475); -lean_ctor_set(x_477, 1, x_472); -lean_ctor_set(x_458, 1, x_477); -lean_ctor_set(x_458, 0, x_476); -return x_457; -} -} -else -{ -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; -x_478 = lean_ctor_get(x_458, 0); -lean_inc(x_478); -lean_dec(x_458); -x_479 = lean_ctor_get(x_459, 0); -lean_inc(x_479); -x_480 = lean_ctor_get(x_459, 1); -lean_inc(x_480); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - x_481 = x_459; -} else { - lean_dec_ref(x_459); - x_481 = lean_box(0); -} -lean_inc(x_478); -x_482 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); -lean_closure_set(x_482, 0, x_478); -lean_closure_set(x_482, 1, x_479); -x_483 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_484 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_484, 0, x_483); -lean_closure_set(x_484, 1, x_482); -x_485 = l_Lean_Omega_LinearCombo_neg(x_478); -if (lean_is_scalar(x_481)) { - x_486 = lean_alloc_ctor(0, 2, 0); -} else { - x_486 = x_481; -} -lean_ctor_set(x_486, 0, x_484); -lean_ctor_set(x_486, 1, x_480); -x_487 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_487, 0, x_485); -lean_ctor_set(x_487, 1, x_486); -lean_ctor_set(x_457, 0, x_487); -return x_457; -} -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_488 = lean_ctor_get(x_457, 1); -lean_inc(x_488); -lean_dec(x_457); -x_489 = lean_ctor_get(x_458, 0); -lean_inc(x_489); -if (lean_is_exclusive(x_458)) { - lean_ctor_release(x_458, 0); - lean_ctor_release(x_458, 1); - x_490 = x_458; -} else { - lean_dec_ref(x_458); - x_490 = lean_box(0); -} -x_491 = lean_ctor_get(x_459, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_459, 1); -lean_inc(x_492); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - x_493 = x_459; -} else { - lean_dec_ref(x_459); - x_493 = lean_box(0); -} -lean_inc(x_489); -x_494 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___boxed), 11, 2); -lean_closure_set(x_494, 0, x_489); -lean_closure_set(x_494, 1, x_491); -x_495 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_496 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_496, 0, x_495); -lean_closure_set(x_496, 1, x_494); -x_497 = l_Lean_Omega_LinearCombo_neg(x_489); -if (lean_is_scalar(x_493)) { - x_498 = lean_alloc_ctor(0, 2, 0); -} else { - x_498 = x_493; -} -lean_ctor_set(x_498, 0, x_496); -lean_ctor_set(x_498, 1, x_492); -if (lean_is_scalar(x_490)) { - x_499 = lean_alloc_ctor(0, 2, 0); -} else { - x_499 = x_490; -} -lean_ctor_set(x_499, 0, x_497); -lean_ctor_set(x_499, 1, x_498); -x_500 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_488); -return x_500; -} -} -else -{ -uint8_t x_501; -x_501 = !lean_is_exclusive(x_457); -if (x_501 == 0) -{ -return x_457; -} -else -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; -x_502 = lean_ctor_get(x_457, 0); -x_503 = lean_ctor_get(x_457, 1); -lean_inc(x_503); -lean_inc(x_502); -lean_dec(x_457); -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_502); -lean_ctor_set(x_504, 1, x_503); -return x_504; +lean_dec(x_426); +x_473 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_473, 0, x_471); +lean_ctor_set(x_473, 1, x_472); +return x_473; } } } @@ -10895,479 +10793,479 @@ return x_504; } else { -lean_object* x_505; uint8_t x_506; +lean_object* x_474; uint8_t x_475; lean_dec(x_19); -x_505 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__47; -x_506 = lean_string_dec_eq(x_18, x_505); +x_474 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__47; +x_475 = lean_string_dec_eq(x_18, x_474); lean_dec(x_18); -if (x_506 == 0) +if (x_475 == 0) { -lean_object* x_507; +lean_object* x_476; lean_dec(x_17); -x_507 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_507; +x_476 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_476; } else { -lean_object* x_508; lean_object* x_509; uint8_t x_510; -x_508 = lean_array_get_size(x_17); -x_509 = lean_unsigned_to_nat(6u); -x_510 = lean_nat_dec_eq(x_508, x_509); -lean_dec(x_508); +lean_object* x_477; lean_object* x_478; uint8_t x_479; +x_477 = lean_array_get_size(x_17); +x_478 = lean_unsigned_to_nat(6u); +x_479 = lean_nat_dec_eq(x_477, x_478); +lean_dec(x_477); +if (x_479 == 0) +{ +lean_object* x_480; +lean_dec(x_17); +x_480 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_480; +} +else +{ +lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +lean_dec(x_1); +x_481 = lean_unsigned_to_nat(4u); +x_482 = lean_array_fget(x_17, x_481); +x_483 = lean_unsigned_to_nat(5u); +x_484 = lean_array_fget(x_17, x_483); +lean_dec(x_17); +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_485 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_482, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_485) == 0) +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_486 = lean_ctor_get(x_485, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_486, 1); +lean_inc(x_487); +x_488 = lean_ctor_get(x_485, 1); +lean_inc(x_488); +lean_dec(x_485); +x_489 = lean_ctor_get(x_486, 0); +lean_inc(x_489); +lean_dec(x_486); +x_490 = lean_ctor_get(x_487, 0); +lean_inc(x_490); +x_491 = lean_ctor_get(x_487, 1); +lean_inc(x_491); +lean_dec(x_487); +x_492 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_484, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_488); +if (lean_obj_tag(x_492) == 0) +{ +lean_object* x_493; lean_object* x_494; uint8_t x_495; +x_493 = lean_ctor_get(x_492, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_493, 1); +lean_inc(x_494); +x_495 = !lean_is_exclusive(x_492); +if (x_495 == 0) +{ +lean_object* x_496; uint8_t x_497; +x_496 = lean_ctor_get(x_492, 0); +lean_dec(x_496); +x_497 = !lean_is_exclusive(x_493); +if (x_497 == 0) +{ +lean_object* x_498; lean_object* x_499; uint8_t x_500; +x_498 = lean_ctor_get(x_493, 0); +x_499 = lean_ctor_get(x_493, 1); +lean_dec(x_499); +x_500 = !lean_is_exclusive(x_494); +if (x_500 == 0) +{ +lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; uint8_t x_510; +x_501 = lean_ctor_get(x_494, 0); +x_502 = lean_ctor_get(x_494, 1); +lean_inc(x_498); +lean_inc(x_489); +x_503 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); +lean_closure_set(x_503, 0, x_489); +lean_closure_set(x_503, 1, x_498); +lean_closure_set(x_503, 2, x_490); +lean_closure_set(x_503, 3, x_501); +x_504 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_505 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_505, 0, x_504); +lean_closure_set(x_505, 1, x_503); +x_506 = l_Lean_Omega_LinearCombo_sub(x_489, x_498); +x_507 = lean_ctor_get(x_502, 1); +lean_inc(x_507); +lean_dec(x_502); +x_508 = lean_array_get_size(x_507); +x_509 = lean_unsigned_to_nat(0u); +x_510 = lean_nat_dec_lt(x_509, x_508); if (x_510 == 0) { -lean_object* x_511; -lean_dec(x_17); -x_511 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_511; +lean_dec(x_508); +lean_dec(x_507); +lean_ctor_set(x_494, 1, x_491); +lean_ctor_set(x_494, 0, x_505); +lean_ctor_set(x_493, 0, x_506); +return x_492; } else { -lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; -lean_dec(x_1); -x_512 = lean_unsigned_to_nat(4u); -x_513 = lean_array_fget(x_17, x_512); -x_514 = lean_unsigned_to_nat(5u); -x_515 = lean_array_fget(x_17, x_514); -lean_dec(x_17); -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_516 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_513, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_516) == 0) +uint8_t x_511; +x_511 = lean_nat_dec_le(x_508, x_508); +if (x_511 == 0) { -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_517 = lean_ctor_get(x_516, 0); -lean_inc(x_517); -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -x_519 = lean_ctor_get(x_516, 1); -lean_inc(x_519); -lean_dec(x_516); -x_520 = lean_ctor_get(x_517, 0); -lean_inc(x_520); -lean_dec(x_517); -x_521 = lean_ctor_get(x_518, 0); +lean_dec(x_508); +lean_dec(x_507); +lean_ctor_set(x_494, 1, x_491); +lean_ctor_set(x_494, 0, x_505); +lean_ctor_set(x_493, 0, x_506); +return x_492; +} +else +{ +size_t x_512; size_t x_513; lean_object* x_514; +x_512 = 0; +x_513 = lean_usize_of_nat(x_508); +lean_dec(x_508); +x_514 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_507, x_512, x_513, x_491); +lean_dec(x_507); +lean_ctor_set(x_494, 1, x_514); +lean_ctor_set(x_494, 0, x_505); +lean_ctor_set(x_493, 0, x_506); +return x_492; +} +} +} +else +{ +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; uint8_t x_524; +x_515 = lean_ctor_get(x_494, 0); +x_516 = lean_ctor_get(x_494, 1); +lean_inc(x_516); +lean_inc(x_515); +lean_dec(x_494); +lean_inc(x_498); +lean_inc(x_489); +x_517 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); +lean_closure_set(x_517, 0, x_489); +lean_closure_set(x_517, 1, x_498); +lean_closure_set(x_517, 2, x_490); +lean_closure_set(x_517, 3, x_515); +x_518 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_519 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_519, 0, x_518); +lean_closure_set(x_519, 1, x_517); +x_520 = l_Lean_Omega_LinearCombo_sub(x_489, x_498); +x_521 = lean_ctor_get(x_516, 1); lean_inc(x_521); -x_522 = lean_ctor_get(x_518, 1); -lean_inc(x_522); -lean_dec(x_518); -x_523 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_515, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_519); -if (lean_obj_tag(x_523) == 0) +lean_dec(x_516); +x_522 = lean_array_get_size(x_521); +x_523 = lean_unsigned_to_nat(0u); +x_524 = lean_nat_dec_lt(x_523, x_522); +if (x_524 == 0) { -lean_object* x_524; lean_object* x_525; uint8_t x_526; -x_524 = lean_ctor_get(x_523, 0); -lean_inc(x_524); -x_525 = lean_ctor_get(x_524, 1); -lean_inc(x_525); -x_526 = !lean_is_exclusive(x_523); -if (x_526 == 0) -{ -lean_object* x_527; uint8_t x_528; -x_527 = lean_ctor_get(x_523, 0); -lean_dec(x_527); -x_528 = !lean_is_exclusive(x_524); -if (x_528 == 0) -{ -lean_object* x_529; lean_object* x_530; uint8_t x_531; -x_529 = lean_ctor_get(x_524, 0); -x_530 = lean_ctor_get(x_524, 1); -lean_dec(x_530); -x_531 = !lean_is_exclusive(x_525); -if (x_531 == 0) -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; uint8_t x_541; -x_532 = lean_ctor_get(x_525, 0); -x_533 = lean_ctor_get(x_525, 1); -lean_inc(x_529); -lean_inc(x_520); -x_534 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); -lean_closure_set(x_534, 0, x_520); -lean_closure_set(x_534, 1, x_529); -lean_closure_set(x_534, 2, x_521); -lean_closure_set(x_534, 3, x_532); -x_535 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_536 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_536, 0, x_535); -lean_closure_set(x_536, 1, x_534); -x_537 = l_Lean_Omega_LinearCombo_sub(x_520, x_529); -x_538 = lean_ctor_get(x_533, 1); -lean_inc(x_538); -lean_dec(x_533); -x_539 = lean_array_get_size(x_538); -x_540 = lean_unsigned_to_nat(0u); -x_541 = lean_nat_dec_lt(x_540, x_539); -if (x_541 == 0) -{ -lean_dec(x_539); -lean_dec(x_538); -lean_ctor_set(x_525, 1, x_522); -lean_ctor_set(x_525, 0, x_536); -lean_ctor_set(x_524, 0, x_537); -return x_523; -} -else -{ -uint8_t x_542; -x_542 = lean_nat_dec_le(x_539, x_539); -if (x_542 == 0) -{ -lean_dec(x_539); -lean_dec(x_538); -lean_ctor_set(x_525, 1, x_522); -lean_ctor_set(x_525, 0, x_536); -lean_ctor_set(x_524, 0, x_537); -return x_523; -} -else -{ -size_t x_543; size_t x_544; lean_object* x_545; -x_543 = 0; -x_544 = lean_usize_of_nat(x_539); -lean_dec(x_539); -x_545 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_538, x_543, x_544, x_522); -lean_dec(x_538); -lean_ctor_set(x_525, 1, x_545); -lean_ctor_set(x_525, 0, x_536); -lean_ctor_set(x_524, 0, x_537); -return x_523; -} -} -} -else -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; uint8_t x_555; -x_546 = lean_ctor_get(x_525, 0); -x_547 = lean_ctor_get(x_525, 1); -lean_inc(x_547); -lean_inc(x_546); -lean_dec(x_525); -lean_inc(x_529); -lean_inc(x_520); -x_548 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); -lean_closure_set(x_548, 0, x_520); -lean_closure_set(x_548, 1, x_529); -lean_closure_set(x_548, 2, x_521); -lean_closure_set(x_548, 3, x_546); -x_549 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_550 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_550, 0, x_549); -lean_closure_set(x_550, 1, x_548); -x_551 = l_Lean_Omega_LinearCombo_sub(x_520, x_529); -x_552 = lean_ctor_get(x_547, 1); -lean_inc(x_552); -lean_dec(x_547); -x_553 = lean_array_get_size(x_552); -x_554 = lean_unsigned_to_nat(0u); -x_555 = lean_nat_dec_lt(x_554, x_553); -if (x_555 == 0) -{ -lean_object* x_556; -lean_dec(x_553); -lean_dec(x_552); -x_556 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_556, 0, x_550); -lean_ctor_set(x_556, 1, x_522); -lean_ctor_set(x_524, 1, x_556); -lean_ctor_set(x_524, 0, x_551); -return x_523; -} -else -{ -uint8_t x_557; -x_557 = lean_nat_dec_le(x_553, x_553); -if (x_557 == 0) -{ -lean_object* x_558; -lean_dec(x_553); -lean_dec(x_552); -x_558 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_558, 0, x_550); -lean_ctor_set(x_558, 1, x_522); -lean_ctor_set(x_524, 1, x_558); -lean_ctor_set(x_524, 0, x_551); -return x_523; -} -else -{ -size_t x_559; size_t x_560; lean_object* x_561; lean_object* x_562; -x_559 = 0; -x_560 = lean_usize_of_nat(x_553); -lean_dec(x_553); -x_561 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_552, x_559, x_560, x_522); -lean_dec(x_552); -x_562 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_562, 0, x_550); -lean_ctor_set(x_562, 1, x_561); -lean_ctor_set(x_524, 1, x_562); -lean_ctor_set(x_524, 0, x_551); -return x_523; -} -} -} -} -else -{ -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; -x_563 = lean_ctor_get(x_524, 0); -lean_inc(x_563); -lean_dec(x_524); -x_564 = lean_ctor_get(x_525, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_525, 1); -lean_inc(x_565); -if (lean_is_exclusive(x_525)) { - lean_ctor_release(x_525, 0); - lean_ctor_release(x_525, 1); - x_566 = x_525; -} else { - lean_dec_ref(x_525); - x_566 = lean_box(0); -} -lean_inc(x_563); -lean_inc(x_520); -x_567 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); -lean_closure_set(x_567, 0, x_520); -lean_closure_set(x_567, 1, x_563); -lean_closure_set(x_567, 2, x_521); -lean_closure_set(x_567, 3, x_564); -x_568 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_569 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_569, 0, x_568); -lean_closure_set(x_569, 1, x_567); -x_570 = l_Lean_Omega_LinearCombo_sub(x_520, x_563); -x_571 = lean_ctor_get(x_565, 1); -lean_inc(x_571); -lean_dec(x_565); -x_572 = lean_array_get_size(x_571); -x_573 = lean_unsigned_to_nat(0u); -x_574 = lean_nat_dec_lt(x_573, x_572); -if (x_574 == 0) -{ -lean_object* x_575; lean_object* x_576; -lean_dec(x_572); -lean_dec(x_571); -if (lean_is_scalar(x_566)) { - x_575 = lean_alloc_ctor(0, 2, 0); -} else { - x_575 = x_566; -} -lean_ctor_set(x_575, 0, x_569); -lean_ctor_set(x_575, 1, x_522); -x_576 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_576, 0, x_570); -lean_ctor_set(x_576, 1, x_575); -lean_ctor_set(x_523, 0, x_576); -return x_523; -} -else -{ -uint8_t x_577; -x_577 = lean_nat_dec_le(x_572, x_572); -if (x_577 == 0) -{ -lean_object* x_578; lean_object* x_579; -lean_dec(x_572); -lean_dec(x_571); -if (lean_is_scalar(x_566)) { - x_578 = lean_alloc_ctor(0, 2, 0); -} else { - x_578 = x_566; -} -lean_ctor_set(x_578, 0, x_569); -lean_ctor_set(x_578, 1, x_522); -x_579 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_579, 0, x_570); -lean_ctor_set(x_579, 1, x_578); -lean_ctor_set(x_523, 0, x_579); -return x_523; -} -else -{ -size_t x_580; size_t x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_580 = 0; -x_581 = lean_usize_of_nat(x_572); -lean_dec(x_572); -x_582 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_571, x_580, x_581, x_522); -lean_dec(x_571); -if (lean_is_scalar(x_566)) { - x_583 = lean_alloc_ctor(0, 2, 0); -} else { - x_583 = x_566; -} -lean_ctor_set(x_583, 0, x_569); -lean_ctor_set(x_583, 1, x_582); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_570); -lean_ctor_set(x_584, 1, x_583); -lean_ctor_set(x_523, 0, x_584); -return x_523; -} -} -} -} -else -{ -lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_598; -x_585 = lean_ctor_get(x_523, 1); -lean_inc(x_585); -lean_dec(x_523); -x_586 = lean_ctor_get(x_524, 0); -lean_inc(x_586); -if (lean_is_exclusive(x_524)) { - lean_ctor_release(x_524, 0); - lean_ctor_release(x_524, 1); - x_587 = x_524; -} else { - lean_dec_ref(x_524); - x_587 = lean_box(0); -} -x_588 = lean_ctor_get(x_525, 0); -lean_inc(x_588); -x_589 = lean_ctor_get(x_525, 1); -lean_inc(x_589); -if (lean_is_exclusive(x_525)) { - lean_ctor_release(x_525, 0); - lean_ctor_release(x_525, 1); - x_590 = x_525; -} else { - lean_dec_ref(x_525); - x_590 = lean_box(0); -} -lean_inc(x_586); -lean_inc(x_520); -x_591 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); -lean_closure_set(x_591, 0, x_520); -lean_closure_set(x_591, 1, x_586); -lean_closure_set(x_591, 2, x_521); -lean_closure_set(x_591, 3, x_588); -x_592 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_593 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_593, 0, x_592); -lean_closure_set(x_593, 1, x_591); -x_594 = l_Lean_Omega_LinearCombo_sub(x_520, x_586); -x_595 = lean_ctor_get(x_589, 1); -lean_inc(x_595); -lean_dec(x_589); -x_596 = lean_array_get_size(x_595); -x_597 = lean_unsigned_to_nat(0u); -x_598 = lean_nat_dec_lt(x_597, x_596); -if (x_598 == 0) -{ -lean_object* x_599; lean_object* x_600; lean_object* x_601; -lean_dec(x_596); -lean_dec(x_595); -if (lean_is_scalar(x_590)) { - x_599 = lean_alloc_ctor(0, 2, 0); -} else { - x_599 = x_590; -} -lean_ctor_set(x_599, 0, x_593); -lean_ctor_set(x_599, 1, x_522); -if (lean_is_scalar(x_587)) { - x_600 = lean_alloc_ctor(0, 2, 0); -} else { - x_600 = x_587; -} -lean_ctor_set(x_600, 0, x_594); -lean_ctor_set(x_600, 1, x_599); -x_601 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_585); -return x_601; -} -else -{ -uint8_t x_602; -x_602 = lean_nat_dec_le(x_596, x_596); -if (x_602 == 0) -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; -lean_dec(x_596); -lean_dec(x_595); -if (lean_is_scalar(x_590)) { - x_603 = lean_alloc_ctor(0, 2, 0); -} else { - x_603 = x_590; -} -lean_ctor_set(x_603, 0, x_593); -lean_ctor_set(x_603, 1, x_522); -if (lean_is_scalar(x_587)) { - x_604 = lean_alloc_ctor(0, 2, 0); -} else { - x_604 = x_587; -} -lean_ctor_set(x_604, 0, x_594); -lean_ctor_set(x_604, 1, x_603); -x_605 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_605, 0, x_604); -lean_ctor_set(x_605, 1, x_585); -return x_605; -} -else -{ -size_t x_606; size_t x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_606 = 0; -x_607 = lean_usize_of_nat(x_596); -lean_dec(x_596); -x_608 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_595, x_606, x_607, x_522); -lean_dec(x_595); -if (lean_is_scalar(x_590)) { - x_609 = lean_alloc_ctor(0, 2, 0); -} else { - x_609 = x_590; -} -lean_ctor_set(x_609, 0, x_593); -lean_ctor_set(x_609, 1, x_608); -if (lean_is_scalar(x_587)) { - x_610 = lean_alloc_ctor(0, 2, 0); -} else { - x_610 = x_587; -} -lean_ctor_set(x_610, 0, x_594); -lean_ctor_set(x_610, 1, x_609); -x_611 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_585); -return x_611; -} -} -} -} -else -{ -uint8_t x_612; +lean_object* x_525; lean_dec(x_522); lean_dec(x_521); -lean_dec(x_520); -x_612 = !lean_is_exclusive(x_523); -if (x_612 == 0) -{ -return x_523; +x_525 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_525, 0, x_519); +lean_ctor_set(x_525, 1, x_491); +lean_ctor_set(x_493, 1, x_525); +lean_ctor_set(x_493, 0, x_520); +return x_492; } else { -lean_object* x_613; lean_object* x_614; lean_object* x_615; -x_613 = lean_ctor_get(x_523, 0); -x_614 = lean_ctor_get(x_523, 1); -lean_inc(x_614); -lean_inc(x_613); -lean_dec(x_523); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_613); -lean_ctor_set(x_615, 1, x_614); -return x_615; +uint8_t x_526; +x_526 = lean_nat_dec_le(x_522, x_522); +if (x_526 == 0) +{ +lean_object* x_527; +lean_dec(x_522); +lean_dec(x_521); +x_527 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_527, 0, x_519); +lean_ctor_set(x_527, 1, x_491); +lean_ctor_set(x_493, 1, x_527); +lean_ctor_set(x_493, 0, x_520); +return x_492; +} +else +{ +size_t x_528; size_t x_529; lean_object* x_530; lean_object* x_531; +x_528 = 0; +x_529 = lean_usize_of_nat(x_522); +lean_dec(x_522); +x_530 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_521, x_528, x_529, x_491); +lean_dec(x_521); +x_531 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_531, 0, x_519); +lean_ctor_set(x_531, 1, x_530); +lean_ctor_set(x_493, 1, x_531); +lean_ctor_set(x_493, 0, x_520); +return x_492; +} } } } else { -uint8_t x_616; -lean_dec(x_515); +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; uint8_t x_543; +x_532 = lean_ctor_get(x_493, 0); +lean_inc(x_532); +lean_dec(x_493); +x_533 = lean_ctor_get(x_494, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_494, 1); +lean_inc(x_534); +if (lean_is_exclusive(x_494)) { + lean_ctor_release(x_494, 0); + lean_ctor_release(x_494, 1); + x_535 = x_494; +} else { + lean_dec_ref(x_494); + x_535 = lean_box(0); +} +lean_inc(x_532); +lean_inc(x_489); +x_536 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); +lean_closure_set(x_536, 0, x_489); +lean_closure_set(x_536, 1, x_532); +lean_closure_set(x_536, 2, x_490); +lean_closure_set(x_536, 3, x_533); +x_537 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_538 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_538, 0, x_537); +lean_closure_set(x_538, 1, x_536); +x_539 = l_Lean_Omega_LinearCombo_sub(x_489, x_532); +x_540 = lean_ctor_get(x_534, 1); +lean_inc(x_540); +lean_dec(x_534); +x_541 = lean_array_get_size(x_540); +x_542 = lean_unsigned_to_nat(0u); +x_543 = lean_nat_dec_lt(x_542, x_541); +if (x_543 == 0) +{ +lean_object* x_544; lean_object* x_545; +lean_dec(x_541); +lean_dec(x_540); +if (lean_is_scalar(x_535)) { + x_544 = lean_alloc_ctor(0, 2, 0); +} else { + x_544 = x_535; +} +lean_ctor_set(x_544, 0, x_538); +lean_ctor_set(x_544, 1, x_491); +x_545 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_545, 0, x_539); +lean_ctor_set(x_545, 1, x_544); +lean_ctor_set(x_492, 0, x_545); +return x_492; +} +else +{ +uint8_t x_546; +x_546 = lean_nat_dec_le(x_541, x_541); +if (x_546 == 0) +{ +lean_object* x_547; lean_object* x_548; +lean_dec(x_541); +lean_dec(x_540); +if (lean_is_scalar(x_535)) { + x_547 = lean_alloc_ctor(0, 2, 0); +} else { + x_547 = x_535; +} +lean_ctor_set(x_547, 0, x_538); +lean_ctor_set(x_547, 1, x_491); +x_548 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_548, 0, x_539); +lean_ctor_set(x_548, 1, x_547); +lean_ctor_set(x_492, 0, x_548); +return x_492; +} +else +{ +size_t x_549; size_t x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_549 = 0; +x_550 = lean_usize_of_nat(x_541); +lean_dec(x_541); +x_551 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_540, x_549, x_550, x_491); +lean_dec(x_540); +if (lean_is_scalar(x_535)) { + x_552 = lean_alloc_ctor(0, 2, 0); +} else { + x_552 = x_535; +} +lean_ctor_set(x_552, 0, x_538); +lean_ctor_set(x_552, 1, x_551); +x_553 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_553, 0, x_539); +lean_ctor_set(x_553, 1, x_552); +lean_ctor_set(x_492, 0, x_553); +return x_492; +} +} +} +} +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; uint8_t x_567; +x_554 = lean_ctor_get(x_492, 1); +lean_inc(x_554); +lean_dec(x_492); +x_555 = lean_ctor_get(x_493, 0); +lean_inc(x_555); +if (lean_is_exclusive(x_493)) { + lean_ctor_release(x_493, 0); + lean_ctor_release(x_493, 1); + x_556 = x_493; +} else { + lean_dec_ref(x_493); + x_556 = lean_box(0); +} +x_557 = lean_ctor_get(x_494, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_494, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_494)) { + lean_ctor_release(x_494, 0); + lean_ctor_release(x_494, 1); + x_559 = x_494; +} else { + lean_dec_ref(x_494); + x_559 = lean_box(0); +} +lean_inc(x_555); +lean_inc(x_489); +x_560 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__6___boxed), 13, 4); +lean_closure_set(x_560, 0, x_489); +lean_closure_set(x_560, 1, x_555); +lean_closure_set(x_560, 2, x_490); +lean_closure_set(x_560, 3, x_557); +x_561 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_562 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_562, 0, x_561); +lean_closure_set(x_562, 1, x_560); +x_563 = l_Lean_Omega_LinearCombo_sub(x_489, x_555); +x_564 = lean_ctor_get(x_558, 1); +lean_inc(x_564); +lean_dec(x_558); +x_565 = lean_array_get_size(x_564); +x_566 = lean_unsigned_to_nat(0u); +x_567 = lean_nat_dec_lt(x_566, x_565); +if (x_567 == 0) +{ +lean_object* x_568; lean_object* x_569; lean_object* x_570; +lean_dec(x_565); +lean_dec(x_564); +if (lean_is_scalar(x_559)) { + x_568 = lean_alloc_ctor(0, 2, 0); +} else { + x_568 = x_559; +} +lean_ctor_set(x_568, 0, x_562); +lean_ctor_set(x_568, 1, x_491); +if (lean_is_scalar(x_556)) { + x_569 = lean_alloc_ctor(0, 2, 0); +} else { + x_569 = x_556; +} +lean_ctor_set(x_569, 0, x_563); +lean_ctor_set(x_569, 1, x_568); +x_570 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_554); +return x_570; +} +else +{ +uint8_t x_571; +x_571 = lean_nat_dec_le(x_565, x_565); +if (x_571 == 0) +{ +lean_object* x_572; lean_object* x_573; lean_object* x_574; +lean_dec(x_565); +lean_dec(x_564); +if (lean_is_scalar(x_559)) { + x_572 = lean_alloc_ctor(0, 2, 0); +} else { + x_572 = x_559; +} +lean_ctor_set(x_572, 0, x_562); +lean_ctor_set(x_572, 1, x_491); +if (lean_is_scalar(x_556)) { + x_573 = lean_alloc_ctor(0, 2, 0); +} else { + x_573 = x_556; +} +lean_ctor_set(x_573, 0, x_563); +lean_ctor_set(x_573, 1, x_572); +x_574 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_574, 0, x_573); +lean_ctor_set(x_574, 1, x_554); +return x_574; +} +else +{ +size_t x_575; size_t x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; +x_575 = 0; +x_576 = lean_usize_of_nat(x_565); +lean_dec(x_565); +x_577 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_564, x_575, x_576, x_491); +lean_dec(x_564); +if (lean_is_scalar(x_559)) { + x_578 = lean_alloc_ctor(0, 2, 0); +} else { + x_578 = x_559; +} +lean_ctor_set(x_578, 0, x_562); +lean_ctor_set(x_578, 1, x_577); +if (lean_is_scalar(x_556)) { + x_579 = lean_alloc_ctor(0, 2, 0); +} else { + x_579 = x_556; +} +lean_ctor_set(x_579, 0, x_563); +lean_ctor_set(x_579, 1, x_578); +x_580 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_580, 0, x_579); +lean_ctor_set(x_580, 1, x_554); +return x_580; +} +} +} +} +else +{ +uint8_t x_581; +lean_dec(x_491); +lean_dec(x_490); +lean_dec(x_489); +x_581 = !lean_is_exclusive(x_492); +if (x_581 == 0) +{ +return x_492; +} +else +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; +x_582 = lean_ctor_get(x_492, 0); +x_583 = lean_ctor_get(x_492, 1); +lean_inc(x_583); +lean_inc(x_582); +lean_dec(x_492); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_582); +lean_ctor_set(x_584, 1, x_583); +return x_584; +} +} +} +else +{ +uint8_t x_585; +lean_dec(x_484); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11375,23 +11273,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_616 = !lean_is_exclusive(x_516); -if (x_616 == 0) +x_585 = !lean_is_exclusive(x_485); +if (x_585 == 0) { -return x_516; +return x_485; } else { -lean_object* x_617; lean_object* x_618; lean_object* x_619; -x_617 = lean_ctor_get(x_516, 0); -x_618 = lean_ctor_get(x_516, 1); -lean_inc(x_618); -lean_inc(x_617); -lean_dec(x_516); -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_617); -lean_ctor_set(x_619, 1, x_618); -return x_619; +lean_object* x_586; lean_object* x_587; lean_object* x_588; +x_586 = lean_ctor_get(x_485, 0); +x_587 = lean_ctor_get(x_485, 1); +lean_inc(x_587); +lean_inc(x_586); +lean_dec(x_485); +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_586); +lean_ctor_set(x_588, 1, x_587); +return x_588; } } } @@ -11400,40 +11298,40 @@ return x_619; } else { -lean_object* x_620; uint8_t x_621; +lean_object* x_589; uint8_t x_590; lean_dec(x_19); -x_620 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__3; -x_621 = lean_string_dec_eq(x_18, x_620); +x_589 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__3; +x_590 = lean_string_dec_eq(x_18, x_589); lean_dec(x_18); -if (x_621 == 0) +if (x_590 == 0) { -lean_object* x_622; +lean_object* x_591; lean_dec(x_17); -x_622 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_622; +x_591 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_591; } else { -lean_object* x_623; lean_object* x_624; uint8_t x_625; -x_623 = lean_array_get_size(x_17); -x_624 = lean_unsigned_to_nat(6u); -x_625 = lean_nat_dec_eq(x_623, x_624); -lean_dec(x_623); -if (x_625 == 0) +lean_object* x_592; lean_object* x_593; uint8_t x_594; +x_592 = lean_array_get_size(x_17); +x_593 = lean_unsigned_to_nat(6u); +x_594 = lean_nat_dec_eq(x_592, x_593); +lean_dec(x_592); +if (x_594 == 0) { -lean_object* x_626; +lean_object* x_595; lean_dec(x_17); -x_626 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_626; +x_595 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_595; } else { -lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; +lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_dec(x_1); -x_627 = lean_unsigned_to_nat(4u); -x_628 = lean_array_fget(x_17, x_627); -x_629 = lean_unsigned_to_nat(5u); -x_630 = lean_array_fget(x_17, x_629); +x_596 = lean_unsigned_to_nat(4u); +x_597 = lean_array_fget(x_17, x_596); +x_598 = lean_unsigned_to_nat(5u); +x_599 = lean_array_fget(x_17, x_598); lean_dec(x_17); lean_inc(x_9); lean_inc(x_8); @@ -11442,437 +11340,437 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_631 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_628, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_631) == 0) +x_600 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_597, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_600) == 0) { -lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; -x_632 = lean_ctor_get(x_631, 0); -lean_inc(x_632); -x_633 = lean_ctor_get(x_632, 1); -lean_inc(x_633); -x_634 = lean_ctor_get(x_631, 1); -lean_inc(x_634); -lean_dec(x_631); -x_635 = lean_ctor_get(x_632, 0); -lean_inc(x_635); -lean_dec(x_632); -x_636 = lean_ctor_get(x_633, 0); +lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; +x_601 = lean_ctor_get(x_600, 0); +lean_inc(x_601); +x_602 = lean_ctor_get(x_601, 1); +lean_inc(x_602); +x_603 = lean_ctor_get(x_600, 1); +lean_inc(x_603); +lean_dec(x_600); +x_604 = lean_ctor_get(x_601, 0); +lean_inc(x_604); +lean_dec(x_601); +x_605 = lean_ctor_get(x_602, 0); +lean_inc(x_605); +x_606 = lean_ctor_get(x_602, 1); +lean_inc(x_606); +lean_dec(x_602); +x_607 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_599, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_603); +if (lean_obj_tag(x_607) == 0) +{ +lean_object* x_608; lean_object* x_609; uint8_t x_610; +x_608 = lean_ctor_get(x_607, 0); +lean_inc(x_608); +x_609 = lean_ctor_get(x_608, 1); +lean_inc(x_609); +x_610 = !lean_is_exclusive(x_607); +if (x_610 == 0) +{ +lean_object* x_611; uint8_t x_612; +x_611 = lean_ctor_get(x_607, 0); +lean_dec(x_611); +x_612 = !lean_is_exclusive(x_608); +if (x_612 == 0) +{ +lean_object* x_613; lean_object* x_614; uint8_t x_615; +x_613 = lean_ctor_get(x_608, 0); +x_614 = lean_ctor_get(x_608, 1); +lean_dec(x_614); +x_615 = !lean_is_exclusive(x_609); +if (x_615 == 0) +{ +lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; +x_616 = lean_ctor_get(x_609, 0); +x_617 = lean_ctor_get(x_609, 1); +lean_inc(x_613); +lean_inc(x_604); +x_618 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); +lean_closure_set(x_618, 0, x_604); +lean_closure_set(x_618, 1, x_613); +lean_closure_set(x_618, 2, x_605); +lean_closure_set(x_618, 3, x_616); +x_619 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_620 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_620, 0, x_619); +lean_closure_set(x_620, 1, x_618); +x_621 = l_Lean_Omega_LinearCombo_add(x_604, x_613); +x_622 = lean_ctor_get(x_617, 1); +lean_inc(x_622); +lean_dec(x_617); +x_623 = lean_array_get_size(x_622); +x_624 = lean_unsigned_to_nat(0u); +x_625 = lean_nat_dec_lt(x_624, x_623); +if (x_625 == 0) +{ +lean_dec(x_623); +lean_dec(x_622); +lean_ctor_set(x_609, 1, x_606); +lean_ctor_set(x_609, 0, x_620); +lean_ctor_set(x_608, 0, x_621); +return x_607; +} +else +{ +uint8_t x_626; +x_626 = lean_nat_dec_le(x_623, x_623); +if (x_626 == 0) +{ +lean_dec(x_623); +lean_dec(x_622); +lean_ctor_set(x_609, 1, x_606); +lean_ctor_set(x_609, 0, x_620); +lean_ctor_set(x_608, 0, x_621); +return x_607; +} +else +{ +size_t x_627; size_t x_628; lean_object* x_629; +x_627 = 0; +x_628 = lean_usize_of_nat(x_623); +lean_dec(x_623); +x_629 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_622, x_627, x_628, x_606); +lean_dec(x_622); +lean_ctor_set(x_609, 1, x_629); +lean_ctor_set(x_609, 0, x_620); +lean_ctor_set(x_608, 0, x_621); +return x_607; +} +} +} +else +{ +lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; uint8_t x_639; +x_630 = lean_ctor_get(x_609, 0); +x_631 = lean_ctor_get(x_609, 1); +lean_inc(x_631); +lean_inc(x_630); +lean_dec(x_609); +lean_inc(x_613); +lean_inc(x_604); +x_632 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); +lean_closure_set(x_632, 0, x_604); +lean_closure_set(x_632, 1, x_613); +lean_closure_set(x_632, 2, x_605); +lean_closure_set(x_632, 3, x_630); +x_633 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_634 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_634, 0, x_633); +lean_closure_set(x_634, 1, x_632); +x_635 = l_Lean_Omega_LinearCombo_add(x_604, x_613); +x_636 = lean_ctor_get(x_631, 1); lean_inc(x_636); -x_637 = lean_ctor_get(x_633, 1); -lean_inc(x_637); -lean_dec(x_633); -x_638 = l_Lean_Elab_Tactic_Omega_asLinearCombo(x_630, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_634); -if (lean_obj_tag(x_638) == 0) +lean_dec(x_631); +x_637 = lean_array_get_size(x_636); +x_638 = lean_unsigned_to_nat(0u); +x_639 = lean_nat_dec_lt(x_638, x_637); +if (x_639 == 0) { -lean_object* x_639; lean_object* x_640; uint8_t x_641; -x_639 = lean_ctor_get(x_638, 0); -lean_inc(x_639); -x_640 = lean_ctor_get(x_639, 1); -lean_inc(x_640); -x_641 = !lean_is_exclusive(x_638); -if (x_641 == 0) -{ -lean_object* x_642; uint8_t x_643; -x_642 = lean_ctor_get(x_638, 0); -lean_dec(x_642); -x_643 = !lean_is_exclusive(x_639); -if (x_643 == 0) -{ -lean_object* x_644; lean_object* x_645; uint8_t x_646; -x_644 = lean_ctor_get(x_639, 0); -x_645 = lean_ctor_get(x_639, 1); -lean_dec(x_645); -x_646 = !lean_is_exclusive(x_640); -if (x_646 == 0) -{ -lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; uint8_t x_656; -x_647 = lean_ctor_get(x_640, 0); -x_648 = lean_ctor_get(x_640, 1); -lean_inc(x_644); -lean_inc(x_635); -x_649 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); -lean_closure_set(x_649, 0, x_635); -lean_closure_set(x_649, 1, x_644); -lean_closure_set(x_649, 2, x_636); -lean_closure_set(x_649, 3, x_647); -x_650 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_651 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_651, 0, x_650); -lean_closure_set(x_651, 1, x_649); -x_652 = l_Lean_Omega_LinearCombo_add(x_635, x_644); -x_653 = lean_ctor_get(x_648, 1); -lean_inc(x_653); -lean_dec(x_648); -x_654 = lean_array_get_size(x_653); -x_655 = lean_unsigned_to_nat(0u); -x_656 = lean_nat_dec_lt(x_655, x_654); -if (x_656 == 0) -{ -lean_dec(x_654); -lean_dec(x_653); -lean_ctor_set(x_640, 1, x_637); -lean_ctor_set(x_640, 0, x_651); -lean_ctor_set(x_639, 0, x_652); -return x_638; -} -else -{ -uint8_t x_657; -x_657 = lean_nat_dec_le(x_654, x_654); -if (x_657 == 0) -{ -lean_dec(x_654); -lean_dec(x_653); -lean_ctor_set(x_640, 1, x_637); -lean_ctor_set(x_640, 0, x_651); -lean_ctor_set(x_639, 0, x_652); -return x_638; -} -else -{ -size_t x_658; size_t x_659; lean_object* x_660; -x_658 = 0; -x_659 = lean_usize_of_nat(x_654); -lean_dec(x_654); -x_660 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_653, x_658, x_659, x_637); -lean_dec(x_653); -lean_ctor_set(x_640, 1, x_660); -lean_ctor_set(x_640, 0, x_651); -lean_ctor_set(x_639, 0, x_652); -return x_638; -} -} -} -else -{ -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; uint8_t x_670; -x_661 = lean_ctor_get(x_640, 0); -x_662 = lean_ctor_get(x_640, 1); -lean_inc(x_662); -lean_inc(x_661); -lean_dec(x_640); -lean_inc(x_644); -lean_inc(x_635); -x_663 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); -lean_closure_set(x_663, 0, x_635); -lean_closure_set(x_663, 1, x_644); -lean_closure_set(x_663, 2, x_636); -lean_closure_set(x_663, 3, x_661); -x_664 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_665 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_665, 0, x_664); -lean_closure_set(x_665, 1, x_663); -x_666 = l_Lean_Omega_LinearCombo_add(x_635, x_644); -x_667 = lean_ctor_get(x_662, 1); -lean_inc(x_667); -lean_dec(x_662); -x_668 = lean_array_get_size(x_667); -x_669 = lean_unsigned_to_nat(0u); -x_670 = lean_nat_dec_lt(x_669, x_668); -if (x_670 == 0) -{ -lean_object* x_671; -lean_dec(x_668); -lean_dec(x_667); -x_671 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_671, 0, x_665); -lean_ctor_set(x_671, 1, x_637); -lean_ctor_set(x_639, 1, x_671); -lean_ctor_set(x_639, 0, x_666); -return x_638; -} -else -{ -uint8_t x_672; -x_672 = lean_nat_dec_le(x_668, x_668); -if (x_672 == 0) -{ -lean_object* x_673; -lean_dec(x_668); -lean_dec(x_667); -x_673 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_673, 0, x_665); -lean_ctor_set(x_673, 1, x_637); -lean_ctor_set(x_639, 1, x_673); -lean_ctor_set(x_639, 0, x_666); -return x_638; -} -else -{ -size_t x_674; size_t x_675; lean_object* x_676; lean_object* x_677; -x_674 = 0; -x_675 = lean_usize_of_nat(x_668); -lean_dec(x_668); -x_676 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_667, x_674, x_675, x_637); -lean_dec(x_667); -x_677 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_677, 0, x_665); -lean_ctor_set(x_677, 1, x_676); -lean_ctor_set(x_639, 1, x_677); -lean_ctor_set(x_639, 0, x_666); -return x_638; -} -} -} -} -else -{ -lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; uint8_t x_689; -x_678 = lean_ctor_get(x_639, 0); -lean_inc(x_678); -lean_dec(x_639); -x_679 = lean_ctor_get(x_640, 0); -lean_inc(x_679); -x_680 = lean_ctor_get(x_640, 1); -lean_inc(x_680); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_681 = x_640; -} else { - lean_dec_ref(x_640); - x_681 = lean_box(0); -} -lean_inc(x_678); -lean_inc(x_635); -x_682 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); -lean_closure_set(x_682, 0, x_635); -lean_closure_set(x_682, 1, x_678); -lean_closure_set(x_682, 2, x_636); -lean_closure_set(x_682, 3, x_679); -x_683 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_684 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_684, 0, x_683); -lean_closure_set(x_684, 1, x_682); -x_685 = l_Lean_Omega_LinearCombo_add(x_635, x_678); -x_686 = lean_ctor_get(x_680, 1); -lean_inc(x_686); -lean_dec(x_680); -x_687 = lean_array_get_size(x_686); -x_688 = lean_unsigned_to_nat(0u); -x_689 = lean_nat_dec_lt(x_688, x_687); -if (x_689 == 0) -{ -lean_object* x_690; lean_object* x_691; -lean_dec(x_687); -lean_dec(x_686); -if (lean_is_scalar(x_681)) { - x_690 = lean_alloc_ctor(0, 2, 0); -} else { - x_690 = x_681; -} -lean_ctor_set(x_690, 0, x_684); -lean_ctor_set(x_690, 1, x_637); -x_691 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_691, 0, x_685); -lean_ctor_set(x_691, 1, x_690); -lean_ctor_set(x_638, 0, x_691); -return x_638; -} -else -{ -uint8_t x_692; -x_692 = lean_nat_dec_le(x_687, x_687); -if (x_692 == 0) -{ -lean_object* x_693; lean_object* x_694; -lean_dec(x_687); -lean_dec(x_686); -if (lean_is_scalar(x_681)) { - x_693 = lean_alloc_ctor(0, 2, 0); -} else { - x_693 = x_681; -} -lean_ctor_set(x_693, 0, x_684); -lean_ctor_set(x_693, 1, x_637); -x_694 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_694, 0, x_685); -lean_ctor_set(x_694, 1, x_693); -lean_ctor_set(x_638, 0, x_694); -return x_638; -} -else -{ -size_t x_695; size_t x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_695 = 0; -x_696 = lean_usize_of_nat(x_687); -lean_dec(x_687); -x_697 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_686, x_695, x_696, x_637); -lean_dec(x_686); -if (lean_is_scalar(x_681)) { - x_698 = lean_alloc_ctor(0, 2, 0); -} else { - x_698 = x_681; -} -lean_ctor_set(x_698, 0, x_684); -lean_ctor_set(x_698, 1, x_697); -x_699 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_699, 0, x_685); -lean_ctor_set(x_699, 1, x_698); -lean_ctor_set(x_638, 0, x_699); -return x_638; -} -} -} -} -else -{ -lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; uint8_t x_713; -x_700 = lean_ctor_get(x_638, 1); -lean_inc(x_700); -lean_dec(x_638); -x_701 = lean_ctor_get(x_639, 0); -lean_inc(x_701); -if (lean_is_exclusive(x_639)) { - lean_ctor_release(x_639, 0); - lean_ctor_release(x_639, 1); - x_702 = x_639; -} else { - lean_dec_ref(x_639); - x_702 = lean_box(0); -} -x_703 = lean_ctor_get(x_640, 0); -lean_inc(x_703); -x_704 = lean_ctor_get(x_640, 1); -lean_inc(x_704); -if (lean_is_exclusive(x_640)) { - lean_ctor_release(x_640, 0); - lean_ctor_release(x_640, 1); - x_705 = x_640; -} else { - lean_dec_ref(x_640); - x_705 = lean_box(0); -} -lean_inc(x_701); -lean_inc(x_635); -x_706 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); -lean_closure_set(x_706, 0, x_635); -lean_closure_set(x_706, 1, x_701); -lean_closure_set(x_706, 2, x_636); -lean_closure_set(x_706, 3, x_703); -x_707 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; -x_708 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); -lean_closure_set(x_708, 0, x_707); -lean_closure_set(x_708, 1, x_706); -x_709 = l_Lean_Omega_LinearCombo_add(x_635, x_701); -x_710 = lean_ctor_get(x_704, 1); -lean_inc(x_710); -lean_dec(x_704); -x_711 = lean_array_get_size(x_710); -x_712 = lean_unsigned_to_nat(0u); -x_713 = lean_nat_dec_lt(x_712, x_711); -if (x_713 == 0) -{ -lean_object* x_714; lean_object* x_715; lean_object* x_716; -lean_dec(x_711); -lean_dec(x_710); -if (lean_is_scalar(x_705)) { - x_714 = lean_alloc_ctor(0, 2, 0); -} else { - x_714 = x_705; -} -lean_ctor_set(x_714, 0, x_708); -lean_ctor_set(x_714, 1, x_637); -if (lean_is_scalar(x_702)) { - x_715 = lean_alloc_ctor(0, 2, 0); -} else { - x_715 = x_702; -} -lean_ctor_set(x_715, 0, x_709); -lean_ctor_set(x_715, 1, x_714); -x_716 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_716, 0, x_715); -lean_ctor_set(x_716, 1, x_700); -return x_716; -} -else -{ -uint8_t x_717; -x_717 = lean_nat_dec_le(x_711, x_711); -if (x_717 == 0) -{ -lean_object* x_718; lean_object* x_719; lean_object* x_720; -lean_dec(x_711); -lean_dec(x_710); -if (lean_is_scalar(x_705)) { - x_718 = lean_alloc_ctor(0, 2, 0); -} else { - x_718 = x_705; -} -lean_ctor_set(x_718, 0, x_708); -lean_ctor_set(x_718, 1, x_637); -if (lean_is_scalar(x_702)) { - x_719 = lean_alloc_ctor(0, 2, 0); -} else { - x_719 = x_702; -} -lean_ctor_set(x_719, 0, x_709); -lean_ctor_set(x_719, 1, x_718); -x_720 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_700); -return x_720; -} -else -{ -size_t x_721; size_t x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; -x_721 = 0; -x_722 = lean_usize_of_nat(x_711); -lean_dec(x_711); -x_723 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_710, x_721, x_722, x_637); -lean_dec(x_710); -if (lean_is_scalar(x_705)) { - x_724 = lean_alloc_ctor(0, 2, 0); -} else { - x_724 = x_705; -} -lean_ctor_set(x_724, 0, x_708); -lean_ctor_set(x_724, 1, x_723); -if (lean_is_scalar(x_702)) { - x_725 = lean_alloc_ctor(0, 2, 0); -} else { - x_725 = x_702; -} -lean_ctor_set(x_725, 0, x_709); -lean_ctor_set(x_725, 1, x_724); -x_726 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_726, 0, x_725); -lean_ctor_set(x_726, 1, x_700); -return x_726; -} -} -} -} -else -{ -uint8_t x_727; +lean_object* x_640; lean_dec(x_637); lean_dec(x_636); -lean_dec(x_635); -x_727 = !lean_is_exclusive(x_638); -if (x_727 == 0) -{ -return x_638; +x_640 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_640, 0, x_634); +lean_ctor_set(x_640, 1, x_606); +lean_ctor_set(x_608, 1, x_640); +lean_ctor_set(x_608, 0, x_635); +return x_607; } else { -lean_object* x_728; lean_object* x_729; lean_object* x_730; -x_728 = lean_ctor_get(x_638, 0); -x_729 = lean_ctor_get(x_638, 1); -lean_inc(x_729); -lean_inc(x_728); -lean_dec(x_638); -x_730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_730, 0, x_728); -lean_ctor_set(x_730, 1, x_729); -return x_730; +uint8_t x_641; +x_641 = lean_nat_dec_le(x_637, x_637); +if (x_641 == 0) +{ +lean_object* x_642; +lean_dec(x_637); +lean_dec(x_636); +x_642 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_642, 0, x_634); +lean_ctor_set(x_642, 1, x_606); +lean_ctor_set(x_608, 1, x_642); +lean_ctor_set(x_608, 0, x_635); +return x_607; +} +else +{ +size_t x_643; size_t x_644; lean_object* x_645; lean_object* x_646; +x_643 = 0; +x_644 = lean_usize_of_nat(x_637); +lean_dec(x_637); +x_645 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_636, x_643, x_644, x_606); +lean_dec(x_636); +x_646 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_646, 0, x_634); +lean_ctor_set(x_646, 1, x_645); +lean_ctor_set(x_608, 1, x_646); +lean_ctor_set(x_608, 0, x_635); +return x_607; +} } } } else { -uint8_t x_731; -lean_dec(x_630); +lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; +x_647 = lean_ctor_get(x_608, 0); +lean_inc(x_647); +lean_dec(x_608); +x_648 = lean_ctor_get(x_609, 0); +lean_inc(x_648); +x_649 = lean_ctor_get(x_609, 1); +lean_inc(x_649); +if (lean_is_exclusive(x_609)) { + lean_ctor_release(x_609, 0); + lean_ctor_release(x_609, 1); + x_650 = x_609; +} else { + lean_dec_ref(x_609); + x_650 = lean_box(0); +} +lean_inc(x_647); +lean_inc(x_604); +x_651 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); +lean_closure_set(x_651, 0, x_604); +lean_closure_set(x_651, 1, x_647); +lean_closure_set(x_651, 2, x_605); +lean_closure_set(x_651, 3, x_648); +x_652 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_653 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_653, 0, x_652); +lean_closure_set(x_653, 1, x_651); +x_654 = l_Lean_Omega_LinearCombo_add(x_604, x_647); +x_655 = lean_ctor_get(x_649, 1); +lean_inc(x_655); +lean_dec(x_649); +x_656 = lean_array_get_size(x_655); +x_657 = lean_unsigned_to_nat(0u); +x_658 = lean_nat_dec_lt(x_657, x_656); +if (x_658 == 0) +{ +lean_object* x_659; lean_object* x_660; +lean_dec(x_656); +lean_dec(x_655); +if (lean_is_scalar(x_650)) { + x_659 = lean_alloc_ctor(0, 2, 0); +} else { + x_659 = x_650; +} +lean_ctor_set(x_659, 0, x_653); +lean_ctor_set(x_659, 1, x_606); +x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_660, 0, x_654); +lean_ctor_set(x_660, 1, x_659); +lean_ctor_set(x_607, 0, x_660); +return x_607; +} +else +{ +uint8_t x_661; +x_661 = lean_nat_dec_le(x_656, x_656); +if (x_661 == 0) +{ +lean_object* x_662; lean_object* x_663; +lean_dec(x_656); +lean_dec(x_655); +if (lean_is_scalar(x_650)) { + x_662 = lean_alloc_ctor(0, 2, 0); +} else { + x_662 = x_650; +} +lean_ctor_set(x_662, 0, x_653); +lean_ctor_set(x_662, 1, x_606); +x_663 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_663, 0, x_654); +lean_ctor_set(x_663, 1, x_662); +lean_ctor_set(x_607, 0, x_663); +return x_607; +} +else +{ +size_t x_664; size_t x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; +x_664 = 0; +x_665 = lean_usize_of_nat(x_656); +lean_dec(x_656); +x_666 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_655, x_664, x_665, x_606); +lean_dec(x_655); +if (lean_is_scalar(x_650)) { + x_667 = lean_alloc_ctor(0, 2, 0); +} else { + x_667 = x_650; +} +lean_ctor_set(x_667, 0, x_653); +lean_ctor_set(x_667, 1, x_666); +x_668 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_668, 0, x_654); +lean_ctor_set(x_668, 1, x_667); +lean_ctor_set(x_607, 0, x_668); +return x_607; +} +} +} +} +else +{ +lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; uint8_t x_682; +x_669 = lean_ctor_get(x_607, 1); +lean_inc(x_669); +lean_dec(x_607); +x_670 = lean_ctor_get(x_608, 0); +lean_inc(x_670); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_671 = x_608; +} else { + lean_dec_ref(x_608); + x_671 = lean_box(0); +} +x_672 = lean_ctor_get(x_609, 0); +lean_inc(x_672); +x_673 = lean_ctor_get(x_609, 1); +lean_inc(x_673); +if (lean_is_exclusive(x_609)) { + lean_ctor_release(x_609, 0); + lean_ctor_release(x_609, 1); + x_674 = x_609; +} else { + lean_dec_ref(x_609); + x_674 = lean_box(0); +} +lean_inc(x_670); +lean_inc(x_604); +x_675 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__7___boxed), 13, 4); +lean_closure_set(x_675, 0, x_604); +lean_closure_set(x_675, 1, x_670); +lean_closure_set(x_675, 2, x_605); +lean_closure_set(x_675, 3, x_672); +x_676 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__46; +x_677 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_Omega_withoutModifyingState___spec__1___rarg), 10, 2); +lean_closure_set(x_677, 0, x_676); +lean_closure_set(x_677, 1, x_675); +x_678 = l_Lean_Omega_LinearCombo_add(x_604, x_670); +x_679 = lean_ctor_get(x_673, 1); +lean_inc(x_679); +lean_dec(x_673); +x_680 = lean_array_get_size(x_679); +x_681 = lean_unsigned_to_nat(0u); +x_682 = lean_nat_dec_lt(x_681, x_680); +if (x_682 == 0) +{ +lean_object* x_683; lean_object* x_684; lean_object* x_685; +lean_dec(x_680); +lean_dec(x_679); +if (lean_is_scalar(x_674)) { + x_683 = lean_alloc_ctor(0, 2, 0); +} else { + x_683 = x_674; +} +lean_ctor_set(x_683, 0, x_677); +lean_ctor_set(x_683, 1, x_606); +if (lean_is_scalar(x_671)) { + x_684 = lean_alloc_ctor(0, 2, 0); +} else { + x_684 = x_671; +} +lean_ctor_set(x_684, 0, x_678); +lean_ctor_set(x_684, 1, x_683); +x_685 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_669); +return x_685; +} +else +{ +uint8_t x_686; +x_686 = lean_nat_dec_le(x_680, x_680); +if (x_686 == 0) +{ +lean_object* x_687; lean_object* x_688; lean_object* x_689; +lean_dec(x_680); +lean_dec(x_679); +if (lean_is_scalar(x_674)) { + x_687 = lean_alloc_ctor(0, 2, 0); +} else { + x_687 = x_674; +} +lean_ctor_set(x_687, 0, x_677); +lean_ctor_set(x_687, 1, x_606); +if (lean_is_scalar(x_671)) { + x_688 = lean_alloc_ctor(0, 2, 0); +} else { + x_688 = x_671; +} +lean_ctor_set(x_688, 0, x_678); +lean_ctor_set(x_688, 1, x_687); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_669); +return x_689; +} +else +{ +size_t x_690; size_t x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; +x_690 = 0; +x_691 = lean_usize_of_nat(x_680); +lean_dec(x_680); +x_692 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_Omega_asLinearComboImpl___spec__3(x_679, x_690, x_691, x_606); +lean_dec(x_679); +if (lean_is_scalar(x_674)) { + x_693 = lean_alloc_ctor(0, 2, 0); +} else { + x_693 = x_674; +} +lean_ctor_set(x_693, 0, x_677); +lean_ctor_set(x_693, 1, x_692); +if (lean_is_scalar(x_671)) { + x_694 = lean_alloc_ctor(0, 2, 0); +} else { + x_694 = x_671; +} +lean_ctor_set(x_694, 0, x_678); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_695, 0, x_694); +lean_ctor_set(x_695, 1, x_669); +return x_695; +} +} +} +} +else +{ +uint8_t x_696; +lean_dec(x_606); +lean_dec(x_605); +lean_dec(x_604); +x_696 = !lean_is_exclusive(x_607); +if (x_696 == 0) +{ +return x_607; +} +else +{ +lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_697 = lean_ctor_get(x_607, 0); +x_698 = lean_ctor_get(x_607, 1); +lean_inc(x_698); +lean_inc(x_697); +lean_dec(x_607); +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_697); +lean_ctor_set(x_699, 1, x_698); +return x_699; +} +} +} +else +{ +uint8_t x_700; +lean_dec(x_599); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11880,23 +11778,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_731 = !lean_is_exclusive(x_631); -if (x_731 == 0) +x_700 = !lean_is_exclusive(x_600); +if (x_700 == 0) { -return x_631; +return x_600; } else { -lean_object* x_732; lean_object* x_733; lean_object* x_734; -x_732 = lean_ctor_get(x_631, 0); -x_733 = lean_ctor_get(x_631, 1); -lean_inc(x_733); -lean_inc(x_732); -lean_dec(x_631); -x_734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_734, 0, x_732); -lean_ctor_set(x_734, 1, x_733); -return x_734; +lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_701 = lean_ctor_get(x_600, 0); +x_702 = lean_ctor_get(x_600, 1); +lean_inc(x_702); +lean_inc(x_701); +lean_dec(x_600); +x_703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_703, 0, x_701); +lean_ctor_set(x_703, 1, x_702); +return x_703; } } } @@ -11905,84 +11803,84 @@ return x_734; } else { -lean_object* x_735; +lean_object* x_704; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -x_735 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_735; +x_704 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_704; } } else { -lean_object* x_736; +lean_object* x_705; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -x_736 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_736; +x_705 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_705; } } else { -lean_object* x_737; +lean_object* x_706; lean_dec(x_14); lean_dec(x_13); -x_737 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_737; +x_706 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_706; } } else { -lean_object* x_738; lean_object* x_739; +lean_object* x_707; lean_object* x_708; lean_inc(x_1); -x_738 = l_Lean_Expr_fvarId_x21(x_1); +x_707 = l_Lean_Expr_fvarId_x21(x_1); lean_inc(x_6); -x_739 = l_Lean_FVarId_getValue_x3f(x_738, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_739) == 0) +x_708 = l_Lean_FVarId_getValue_x3f(x_707, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_708) == 0) { -lean_object* x_740; -x_740 = lean_ctor_get(x_739, 0); -lean_inc(x_740); -if (lean_obj_tag(x_740) == 0) +lean_object* x_709; +x_709 = lean_ctor_get(x_708, 0); +lean_inc(x_709); +if (lean_obj_tag(x_709) == 0) { -lean_object* x_741; lean_object* x_742; -x_741 = lean_ctor_get(x_739, 1); -lean_inc(x_741); -lean_dec(x_739); -x_742 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_741); -return x_742; +lean_object* x_710; lean_object* x_711; +x_710 = lean_ctor_get(x_708, 1); +lean_inc(x_710); +lean_dec(x_708); +x_711 = l_Lean_Elab_Tactic_Omega_mkAtomLinearCombo(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_710); +return x_711; } else { -lean_object* x_743; lean_object* x_744; lean_object* x_745; -x_743 = lean_ctor_get(x_739, 1); -lean_inc(x_743); -lean_dec(x_739); -x_744 = lean_ctor_get(x_740, 0); -lean_inc(x_744); -lean_dec(x_740); +lean_object* x_712; lean_object* x_713; lean_object* x_714; +x_712 = lean_ctor_get(x_708, 1); +lean_inc(x_712); +lean_dec(x_708); +x_713 = lean_ctor_get(x_709, 0); +lean_inc(x_713); +lean_dec(x_709); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_745 = l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType(x_1, x_744, x_6, x_7, x_8, x_9, x_743); -if (lean_obj_tag(x_745) == 0) +x_714 = l_Lean_Elab_Tactic_Omega_mkEqReflWithExpectedType(x_1, x_713, x_6, x_7, x_8, x_9, x_712); +if (lean_obj_tag(x_714) == 0) { -lean_object* x_746; lean_object* x_747; lean_object* x_748; -x_746 = lean_ctor_get(x_745, 0); -lean_inc(x_746); -x_747 = lean_ctor_get(x_745, 1); -lean_inc(x_747); -lean_dec(x_745); -x_748 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_1, x_746, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_747); -return x_748; +lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_715 = lean_ctor_get(x_714, 0); +lean_inc(x_715); +x_716 = lean_ctor_get(x_714, 1); +lean_inc(x_716); +lean_dec(x_714); +x_717 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite(x_1, x_715, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_716); +return x_717; } else { -uint8_t x_749; +uint8_t x_718; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11991,30 +11889,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_749 = !lean_is_exclusive(x_745); -if (x_749 == 0) +x_718 = !lean_is_exclusive(x_714); +if (x_718 == 0) { -return x_745; +return x_714; } else { -lean_object* x_750; lean_object* x_751; lean_object* x_752; -x_750 = lean_ctor_get(x_745, 0); -x_751 = lean_ctor_get(x_745, 1); -lean_inc(x_751); -lean_inc(x_750); -lean_dec(x_745); -x_752 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_752, 0, x_750); -lean_ctor_set(x_752, 1, x_751); -return x_752; +lean_object* x_719; lean_object* x_720; lean_object* x_721; +x_719 = lean_ctor_get(x_714, 0); +x_720 = lean_ctor_get(x_714, 1); +lean_inc(x_720); +lean_inc(x_719); +lean_dec(x_714); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_719); +lean_ctor_set(x_721, 1, x_720); +return x_721; } } } } else { -uint8_t x_753; +uint8_t x_722; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12023,30 +11921,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_753 = !lean_is_exclusive(x_739); -if (x_753 == 0) +x_722 = !lean_is_exclusive(x_708); +if (x_722 == 0) { -return x_739; +return x_708; } else { -lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_754 = lean_ctor_get(x_739, 0); -x_755 = lean_ctor_get(x_739, 1); -lean_inc(x_755); -lean_inc(x_754); -lean_dec(x_739); -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_754); -lean_ctor_set(x_756, 1, x_755); -return x_756; +lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_723 = lean_ctor_get(x_708, 0); +x_724 = lean_ctor_get(x_708, 1); +lean_inc(x_724); +lean_inc(x_723); +lean_dec(x_708); +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_723); +lean_ctor_set(x_725, 1, x_724); +return x_725; } } } } else { -lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12054,28 +11952,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_757 = lean_ctor_get(x_11, 0); -lean_inc(x_757); +x_726 = lean_ctor_get(x_11, 0); +lean_inc(x_726); lean_dec(x_11); -x_758 = lean_box(0); -x_759 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_759, 0, x_757); -lean_ctor_set(x_759, 1, x_758); -lean_inc(x_759); -x_760 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_mkEvalRflProof___boxed), 10, 2); -lean_closure_set(x_760, 0, x_1); -lean_closure_set(x_760, 1, x_759); -x_761 = l_Lean_Elab_Tactic_Omega_MetaProblem_problem___default___closed__2; -x_762 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_762, 0, x_760); -lean_ctor_set(x_762, 1, x_761); -x_763 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_763, 0, x_759); -lean_ctor_set(x_763, 1, x_762); -x_764 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_764, 0, x_763); -lean_ctor_set(x_764, 1, x_10); -return x_764; +x_727 = lean_box(0); +x_728 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_728, 0, x_726); +lean_ctor_set(x_728, 1, x_727); +lean_inc(x_728); +x_729 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Omega_mkEvalRflProof___boxed), 10, 2); +lean_closure_set(x_729, 0, x_1); +lean_closure_set(x_729, 1, x_728); +x_730 = l_Lean_Elab_Tactic_Omega_MetaProblem_problem___default___closed__2; +x_731 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_731, 0, x_729); +lean_ctor_set(x_731, 1, x_730); +x_732 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_732, 0, x_728); +lean_ctor_set(x_732, 1, x_731); +x_733 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_10); +return x_733; } } } @@ -22176,97 +22074,80 @@ x_248 = lean_ctor_get(x_244, 0); lean_inc(x_248); lean_dec(x_244); x_249 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_250 = lean_int_dec_lt(x_248, x_249); +x_250 = lean_int_dec_eq(x_248, x_249); +lean_dec(x_248); if (x_250 == 0) { -lean_object* x_251; uint8_t x_252; -x_251 = lean_nat_abs(x_248); -lean_dec(x_248); -x_252 = lean_nat_dec_eq(x_251, x_221); -lean_dec(x_251); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_free_object(x_14); -x_253 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; -x_254 = l_Lean_mkApp3(x_253, x_241, x_243, x_3); -x_255 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_254, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_255; +x_251 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; +x_252 = l_Lean_mkApp3(x_251, x_241, x_243, x_3); +x_253 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_252, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_253; } else { +lean_object* x_254; +lean_dec(x_243); +x_254 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntEquality(x_2, x_3, x_241, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_254) == 0) +{ +uint8_t x_255; +x_255 = !lean_is_exclusive(x_254); +if (x_255 == 0) +{ lean_object* x_256; -lean_dec(x_243); -x_256 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntEquality(x_2, x_3, x_241, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_256) == 0) -{ -uint8_t x_257; -x_257 = !lean_is_exclusive(x_256); -if (x_257 == 0) -{ -lean_object* x_258; -x_258 = lean_ctor_get(x_256, 0); +x_256 = lean_ctor_get(x_254, 0); lean_ctor_set(x_14, 1, x_240); -lean_ctor_set(x_14, 0, x_258); -lean_ctor_set(x_256, 0, x_14); -return x_256; +lean_ctor_set(x_14, 0, x_256); +lean_ctor_set(x_254, 0, x_14); +return x_254; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_256, 0); -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_256); +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = lean_ctor_get(x_254, 0); +x_258 = lean_ctor_get(x_254, 1); +lean_inc(x_258); +lean_inc(x_257); +lean_dec(x_254); lean_ctor_set(x_14, 1, x_240); -lean_ctor_set(x_14, 0, x_259); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_14); -lean_ctor_set(x_261, 1, x_260); -return x_261; +lean_ctor_set(x_14, 0, x_257); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_14); +lean_ctor_set(x_259, 1, x_258); +return x_259; } } else { -uint8_t x_262; +uint8_t x_260; lean_free_object(x_14); -x_262 = !lean_is_exclusive(x_256); -if (x_262 == 0) +x_260 = !lean_is_exclusive(x_254); +if (x_260 == 0) { -return x_256; +return x_254; } else { -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_256, 0); -x_264 = lean_ctor_get(x_256, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_256); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; +lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_261 = lean_ctor_get(x_254, 0); +x_262 = lean_ctor_get(x_254, 1); +lean_inc(x_262); +lean_inc(x_261); +lean_dec(x_254); +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_261); +lean_ctor_set(x_263, 1, x_262); +return x_263; +} } } } } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -lean_dec(x_248); -lean_free_object(x_14); -x_266 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; -x_267 = l_Lean_mkApp3(x_266, x_241, x_243, x_3); -x_268 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_267, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_268; -} -} -} -else -{ -lean_object* x_269; +lean_object* x_264; lean_dec(x_225); lean_dec(x_18); lean_dec(x_12); @@ -22279,16 +22160,16 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_269 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_269, 0, x_14); -lean_ctor_set(x_269, 1, x_13); -return x_269; +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_14); +lean_ctor_set(x_264, 1, x_13); +return x_264; } } } else { -lean_object* x_270; +lean_object* x_265; lean_dec(x_224); lean_dec(x_223); lean_dec(x_222); @@ -22303,15 +22184,15 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_270 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_270, 0, x_14); -lean_ctor_set(x_270, 1, x_13); -return x_270; +x_265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_265, 0, x_14); +lean_ctor_set(x_265, 1, x_13); +return x_265; } } else { -lean_object* x_271; +lean_object* x_266; lean_dec(x_223); lean_dec(x_222); lean_dec(x_18); @@ -22325,47 +22206,47 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_14); -lean_ctor_set(x_271, 1, x_13); -return x_271; +x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_266, 0, x_14); +lean_ctor_set(x_266, 1, x_13); +return x_266; } } case 5: { -lean_object* x_272; -x_272 = lean_ctor_get(x_222, 0); +lean_object* x_267; +x_267 = lean_ctor_get(x_222, 0); +lean_inc(x_267); +if (lean_obj_tag(x_267) == 4) +{ +lean_object* x_268; +x_268 = lean_ctor_get(x_267, 0); +lean_inc(x_268); +if (lean_obj_tag(x_268) == 1) +{ +lean_object* x_269; +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +if (lean_obj_tag(x_269) == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; uint8_t x_274; +x_270 = lean_ctor_get(x_222, 1); +lean_inc(x_270); +lean_dec(x_222); +x_271 = lean_ctor_get(x_267, 1); +lean_inc(x_271); +lean_dec(x_267); +x_272 = lean_ctor_get(x_268, 1); lean_inc(x_272); -if (lean_obj_tag(x_272) == 4) -{ -lean_object* x_273; -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -if (lean_obj_tag(x_273) == 1) -{ -lean_object* x_274; -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); -if (lean_obj_tag(x_274) == 0) -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; -x_275 = lean_ctor_get(x_222, 1); -lean_inc(x_275); -lean_dec(x_222); -x_276 = lean_ctor_get(x_272, 1); -lean_inc(x_276); +lean_dec(x_268); +x_273 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_274 = lean_string_dec_eq(x_272, x_273); lean_dec(x_272); -x_277 = lean_ctor_get(x_273, 1); -lean_inc(x_277); -lean_dec(x_273); -x_278 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_279 = lean_string_dec_eq(x_277, x_278); -lean_dec(x_277); -if (x_279 == 0) +if (x_274 == 0) { -lean_object* x_280; -lean_dec(x_276); -lean_dec(x_275); +lean_object* x_275; +lean_dec(x_271); +lean_dec(x_270); lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); @@ -22377,32 +22258,32 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_14); -lean_ctor_set(x_280, 1, x_13); -return x_280; +x_275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_275, 0, x_14); +lean_ctor_set(x_275, 1, x_13); +return x_275; } else { -if (lean_obj_tag(x_276) == 0) +if (lean_obj_tag(x_271) == 0) { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_free_object(x_14); -x_281 = lean_unsigned_to_nat(1u); -x_282 = lean_array_fget(x_18, x_281); -x_283 = lean_unsigned_to_nat(2u); -x_284 = lean_array_fget(x_18, x_283); +x_276 = lean_unsigned_to_nat(1u); +x_277 = lean_array_fget(x_18, x_276); +x_278 = lean_unsigned_to_nat(2u); +x_279 = lean_array_fget(x_18, x_278); lean_dec(x_18); -x_285 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__25; -x_286 = l_Lean_mkApp4(x_285, x_275, x_282, x_284, x_3); -x_287 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_286, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_287; +x_280 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__25; +x_281 = l_Lean_mkApp4(x_280, x_270, x_277, x_279, x_3); +x_282 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_281, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_282; } else { -lean_object* x_288; -lean_dec(x_276); -lean_dec(x_275); +lean_object* x_283; +lean_dec(x_271); +lean_dec(x_270); lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); @@ -22414,19 +22295,19 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_14); -lean_ctor_set(x_288, 1, x_13); -return x_288; +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_14); +lean_ctor_set(x_283, 1, x_13); +return x_283; } } } else { -lean_object* x_289; -lean_dec(x_274); -lean_dec(x_273); -lean_dec(x_272); +lean_object* x_284; +lean_dec(x_269); +lean_dec(x_268); +lean_dec(x_267); lean_dec(x_222); lean_dec(x_18); lean_dec(x_12); @@ -22439,17 +22320,17 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_14); -lean_ctor_set(x_289, 1, x_13); -return x_289; +x_284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_284, 0, x_14); +lean_ctor_set(x_284, 1, x_13); +return x_284; } } else { -lean_object* x_290; -lean_dec(x_273); -lean_dec(x_272); +lean_object* x_285; +lean_dec(x_268); +lean_dec(x_267); lean_dec(x_222); lean_dec(x_18); lean_dec(x_12); @@ -22462,16 +22343,16 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_14); -lean_ctor_set(x_290, 1, x_13); -return x_290; +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_14); +lean_ctor_set(x_285, 1, x_13); +return x_285; } } else { -lean_object* x_291; -lean_dec(x_272); +lean_object* x_286; +lean_dec(x_267); lean_dec(x_222); lean_dec(x_18); lean_dec(x_12); @@ -22484,15 +22365,15 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_291 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_291, 0, x_14); -lean_ctor_set(x_291, 1, x_13); -return x_291; +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_14); +lean_ctor_set(x_286, 1, x_13); +return x_286; } } default: { -lean_object* x_292; +lean_object* x_287; lean_dec(x_222); lean_dec(x_18); lean_dec(x_12); @@ -22505,10 +22386,10 @@ lean_dec(x_6); lean_dec(x_3); lean_ctor_set(x_14, 1, x_221); lean_ctor_set(x_14, 0, x_2); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_14); -lean_ctor_set(x_292, 1, x_13); -return x_292; +x_287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_287, 0, x_14); +lean_ctor_set(x_287, 1, x_13); +return x_287; } } } @@ -22516,137 +22397,158 @@ return x_292; } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; uint8_t x_296; -x_293 = lean_ctor_get(x_14, 1); -lean_inc(x_293); +lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; +x_288 = lean_ctor_get(x_14, 1); +lean_inc(x_288); lean_dec(x_14); -x_294 = lean_ctor_get(x_15, 1); -lean_inc(x_294); +x_289 = lean_ctor_get(x_15, 1); +lean_inc(x_289); lean_dec(x_15); -x_295 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___lambda__2___closed__1; -x_296 = lean_string_dec_eq(x_294, x_295); -if (x_296 == 0) +x_290 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_rewrite___lambda__2___closed__1; +x_291 = lean_string_dec_eq(x_289, x_290); +if (x_291 == 0) { -lean_object* x_297; uint8_t x_298; -x_297 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__1; -x_298 = lean_string_dec_eq(x_294, x_297); -if (x_298 == 0) +lean_object* x_292; uint8_t x_293; +x_292 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__1; +x_293 = lean_string_dec_eq(x_289, x_292); +if (x_293 == 0) { -lean_object* x_299; uint8_t x_300; -x_299 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__2; -x_300 = lean_string_dec_eq(x_294, x_299); -if (x_300 == 0) +lean_object* x_294; uint8_t x_295; +x_294 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__2; +x_295 = lean_string_dec_eq(x_289, x_294); +if (x_295 == 0) { -lean_object* x_301; uint8_t x_302; -x_301 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__1; -x_302 = lean_string_dec_eq(x_294, x_301); -if (x_302 == 0) +lean_object* x_296; uint8_t x_297; +x_296 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__1; +x_297 = lean_string_dec_eq(x_289, x_296); +if (x_297 == 0) { -lean_object* x_303; uint8_t x_304; -x_303 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__2; -x_304 = lean_string_dec_eq(x_294, x_303); -if (x_304 == 0) +lean_object* x_298; uint8_t x_299; +x_298 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__2; +x_299 = lean_string_dec_eq(x_289, x_298); +if (x_299 == 0) { -lean_object* x_305; uint8_t x_306; -x_305 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__3; -x_306 = lean_string_dec_eq(x_294, x_305); -if (x_306 == 0) +lean_object* x_300; uint8_t x_301; +x_300 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__3; +x_301 = lean_string_dec_eq(x_289, x_300); +if (x_301 == 0) { -lean_object* x_307; uint8_t x_308; -x_307 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__3; -x_308 = lean_string_dec_eq(x_294, x_307); -if (x_308 == 0) +lean_object* x_302; uint8_t x_303; +x_302 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__3; +x_303 = lean_string_dec_eq(x_289, x_302); +if (x_303 == 0) { -lean_object* x_309; uint8_t x_310; +lean_object* x_304; uint8_t x_305; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); -x_309 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__4___closed__1; -x_310 = lean_string_dec_eq(x_294, x_309); -lean_dec(x_294); -if (x_310 == 0) +x_304 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__4___closed__1; +x_305 = lean_string_dec_eq(x_289, x_304); +lean_dec(x_289); +if (x_305 == 0) { -lean_object* x_311; lean_object* x_312; lean_object* x_313; -lean_dec(x_293); +lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_288); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); -x_311 = lean_unsigned_to_nat(0u); -x_312 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_312, 0, x_2); -lean_ctor_set(x_312, 1, x_311); +x_306 = lean_unsigned_to_nat(0u); +x_307 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_307, 0, x_2); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_307); +lean_ctor_set(x_308, 1, x_13); +return x_308; +} +else +{ +lean_object* x_309; lean_object* x_310; uint8_t x_311; +x_309 = lean_array_get_size(x_288); +lean_dec(x_288); +x_310 = lean_unsigned_to_nat(2u); +x_311 = lean_nat_dec_eq(x_309, x_310); +lean_dec(x_309); +if (x_311 == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +x_312 = lean_unsigned_to_nat(0u); x_313 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_313, 0, x_312); -lean_ctor_set(x_313, 1, x_13); -return x_313; +lean_ctor_set(x_313, 0, x_2); +lean_ctor_set(x_313, 1, x_312); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_13); +return x_314; } else { -lean_object* x_314; lean_object* x_315; uint8_t x_316; -x_314 = lean_array_get_size(x_293); -lean_dec(x_293); -x_315 = lean_unsigned_to_nat(2u); -x_316 = lean_nat_dec_eq(x_314, x_315); -lean_dec(x_314); -if (x_316 == 0) -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; +uint8_t x_315; +x_315 = lean_ctor_get_uint8(x_8, 0); lean_dec(x_8); +if (x_315 == 0) +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_dec(x_4); lean_dec(x_3); -x_317 = lean_unsigned_to_nat(0u); +x_316 = lean_unsigned_to_nat(0u); +x_317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_317, 0, x_2); +lean_ctor_set(x_317, 1, x_316); x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_2); -lean_ctor_set(x_318, 1, x_317); -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_13); -return x_319; +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_13); +return x_318; } else { -uint8_t x_320; -x_320 = lean_ctor_get_uint8(x_8, 0); -lean_dec(x_8); -if (x_320 == 0) +lean_object* x_319; lean_object* x_320; uint8_t x_321; +x_319 = lean_ctor_get(x_2, 1); +lean_inc(x_319); +x_320 = lean_ctor_get(x_2, 2); +lean_inc(x_320); +x_321 = l_List_elem___at_Lean_CollectLevelParams_visitExpr___spec__2(x_3, x_320); +if (x_321 == 0) { -lean_object* x_321; lean_object* x_322; lean_object* x_323; -lean_dec(x_4); -lean_dec(x_3); -x_321 = lean_unsigned_to_nat(0u); -x_322 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_322, 0, x_2); -lean_ctor_set(x_322, 1, x_321); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_13); -return x_323; -} -else -{ -lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_324 = lean_ctor_get(x_2, 1); -lean_inc(x_324); -x_325 = lean_ctor_get(x_2, 2); -lean_inc(x_325); -x_326 = l_List_elem___at_Lean_CollectLevelParams_visitExpr___spec__2(x_3, x_325); -if (x_326 == 0) -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_327 = lean_ctor_get(x_2, 3); -lean_inc(x_327); +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_322 = lean_ctor_get(x_2, 3); +lean_inc(x_322); +lean_dec(x_2); +x_323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_323, 0, x_3); +lean_ctor_set(x_323, 1, x_320); +x_324 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_324, 0, x_4); +lean_ctor_set(x_324, 1, x_319); +lean_ctor_set(x_324, 2, x_323); +lean_ctor_set(x_324, 3, x_322); +x_325 = lean_unsigned_to_nat(1u); +x_326 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_326, 0, x_324); +lean_ctor_set(x_326, 1, x_325); +x_327 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_13); +return x_327; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +lean_dec(x_3); +x_328 = lean_ctor_get(x_2, 3); +lean_inc(x_328); lean_dec(x_2); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_3); -lean_ctor_set(x_328, 1, x_325); x_329 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_329, 0, x_4); -lean_ctor_set(x_329, 1, x_324); -lean_ctor_set(x_329, 2, x_328); -lean_ctor_set(x_329, 3, x_327); +lean_ctor_set(x_329, 1, x_319); +lean_ctor_set(x_329, 2, x_320); +lean_ctor_set(x_329, 3, x_328); x_330 = lean_unsigned_to_nat(1u); x_331 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_331, 0, x_329); @@ -22656,44 +22558,71 @@ lean_ctor_set(x_332, 0, x_331); lean_ctor_set(x_332, 1, x_13); return x_332; } +} +} +} +} else { -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +lean_object* x_333; lean_object* x_334; uint8_t x_335; +lean_dec(x_289); +lean_dec(x_4); +x_333 = lean_array_get_size(x_288); +x_334 = lean_unsigned_to_nat(2u); +x_335 = lean_nat_dec_eq(x_333, x_334); +lean_dec(x_333); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_3); -x_333 = lean_ctor_get(x_2, 3); -lean_inc(x_333); -lean_dec(x_2); -x_334 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_334, 0, x_4); -lean_ctor_set(x_334, 1, x_324); -lean_ctor_set(x_334, 2, x_325); -lean_ctor_set(x_334, 3, x_333); -x_335 = lean_unsigned_to_nat(1u); -x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); +x_336 = lean_unsigned_to_nat(0u); x_337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_337, 0, x_336); -lean_ctor_set(x_337, 1, x_13); -return x_337; -} +lean_ctor_set(x_337, 0, x_2); +lean_ctor_set(x_337, 1, x_336); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_13); +return x_338; } +else +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_339 = lean_unsigned_to_nat(0u); +x_340 = lean_array_fget(x_288, x_339); +x_341 = lean_unsigned_to_nat(1u); +x_342 = lean_array_fget(x_288, x_341); +lean_dec(x_288); +x_343 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__11; +lean_inc(x_342); +x_344 = l_Lean_Expr_app___override(x_343, x_342); +x_345 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__6; +x_346 = l_Lean_mkApp4(x_345, x_340, x_342, x_344, x_3); +x_347 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_346, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_347; } } } else { -lean_object* x_338; lean_object* x_339; uint8_t x_340; -lean_dec(x_294); +lean_object* x_348; lean_object* x_349; uint8_t x_350; +lean_dec(x_289); lean_dec(x_4); -x_338 = lean_array_get_size(x_293); -x_339 = lean_unsigned_to_nat(2u); -x_340 = lean_nat_dec_eq(x_338, x_339); -lean_dec(x_338); -if (x_340 == 0) +x_348 = lean_array_get_size(x_288); +x_349 = lean_unsigned_to_nat(2u); +x_350 = lean_nat_dec_eq(x_348, x_349); +lean_dec(x_348); +if (x_350 == 0) { -lean_object* x_341; lean_object* x_342; lean_object* x_343; -lean_dec(x_293); +lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -22702,100 +22631,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_341 = lean_unsigned_to_nat(0u); -x_342 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_342, 0, x_2); -lean_ctor_set(x_342, 1, x_341); -x_343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_13); -return x_343; +x_351 = lean_unsigned_to_nat(0u); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_2); +lean_ctor_set(x_352, 1, x_351); +x_353 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_13); +return x_353; } else { -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_344 = lean_unsigned_to_nat(0u); -x_345 = lean_array_fget(x_293, x_344); -x_346 = lean_unsigned_to_nat(1u); -x_347 = lean_array_fget(x_293, x_346); -lean_dec(x_293); -x_348 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__11; -lean_inc(x_347); -x_349 = l_Lean_Expr_app___override(x_348, x_347); -x_350 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__6; -x_351 = l_Lean_mkApp4(x_350, x_345, x_347, x_349, x_3); -x_352 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_351, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_352; -} -} -} -else -{ -lean_object* x_353; lean_object* x_354; uint8_t x_355; -lean_dec(x_294); -lean_dec(x_4); -x_353 = lean_array_get_size(x_293); -x_354 = lean_unsigned_to_nat(2u); -x_355 = lean_nat_dec_eq(x_353, x_354); -lean_dec(x_353); -if (x_355 == 0) -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_356 = lean_unsigned_to_nat(0u); -x_357 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_357, 0, x_2); -lean_ctor_set(x_357, 1, x_356); -x_358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_13); -return x_358; -} -else -{ -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_359 = lean_unsigned_to_nat(0u); -x_360 = lean_array_fget(x_293, x_359); -x_361 = lean_unsigned_to_nat(1u); -x_362 = lean_array_fget(x_293, x_361); -lean_dec(x_293); +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_354 = lean_unsigned_to_nat(0u); +x_355 = lean_array_fget(x_288, x_354); +x_356 = lean_unsigned_to_nat(1u); +x_357 = lean_array_fget(x_288, x_356); +lean_dec(x_288); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_355); +x_358 = l_Lean_Meta_getLevel(x_355, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_358) == 0) +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_358, 1); lean_inc(x_360); -x_363 = l_Lean_Meta_getLevel(x_360, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_363) == 0) -{ -lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_364 = lean_ctor_get(x_363, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_363, 1); -lean_inc(x_365); -lean_dec(x_363); -x_366 = lean_box(0); -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_364); -lean_ctor_set(x_367, 1, x_366); -x_368 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__8; -x_369 = l_Lean_Expr_const___override(x_368, x_367); -x_370 = l_Lean_mkApp3(x_369, x_360, x_362, x_3); -x_371 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_370, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_365); -return x_371; +lean_dec(x_358); +x_361 = lean_box(0); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_359); +lean_ctor_set(x_362, 1, x_361); +x_363 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__8; +x_364 = l_Lean_Expr_const___override(x_363, x_362); +x_365 = l_Lean_mkApp3(x_364, x_355, x_357, x_3); +x_366 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_365, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_360); +return x_366; } else { -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -lean_dec(x_362); -lean_dec(x_360); +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_dec(x_357); +lean_dec(x_355); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -22805,43 +22686,43 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_372 = lean_ctor_get(x_363, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_363, 1); -lean_inc(x_373); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_374 = x_363; +x_367 = lean_ctor_get(x_358, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_358, 1); +lean_inc(x_368); +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + lean_ctor_release(x_358, 1); + x_369 = x_358; } else { - lean_dec_ref(x_363); - x_374 = lean_box(0); + lean_dec_ref(x_358); + x_369 = lean_box(0); } -if (lean_is_scalar(x_374)) { - x_375 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_369)) { + x_370 = lean_alloc_ctor(1, 2, 0); } else { - x_375 = x_374; + x_370 = x_369; } -lean_ctor_set(x_375, 0, x_372); -lean_ctor_set(x_375, 1, x_373); -return x_375; +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_368); +return x_370; } } } } else { -lean_object* x_376; lean_object* x_377; uint8_t x_378; -lean_dec(x_294); +lean_object* x_371; lean_object* x_372; uint8_t x_373; +lean_dec(x_289); lean_dec(x_4); -x_376 = lean_array_get_size(x_293); -x_377 = lean_unsigned_to_nat(2u); -x_378 = lean_nat_dec_eq(x_376, x_377); -lean_dec(x_376); -if (x_378 == 0) +x_371 = lean_array_get_size(x_288); +x_372 = lean_unsigned_to_nat(2u); +x_373 = lean_nat_dec_eq(x_371, x_372); +lean_dec(x_371); +if (x_373 == 0) { -lean_object* x_379; lean_object* x_380; lean_object* x_381; -lean_dec(x_293); +lean_object* x_374; lean_object* x_375; lean_object* x_376; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -22850,52 +22731,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_379 = lean_unsigned_to_nat(0u); -x_380 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_380, 0, x_2); -lean_ctor_set(x_380, 1, x_379); -x_381 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_381, 0, x_380); -lean_ctor_set(x_381, 1, x_13); -return x_381; +x_374 = lean_unsigned_to_nat(0u); +x_375 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_375, 0, x_2); +lean_ctor_set(x_375, 1, x_374); +x_376 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_13); +return x_376; } else { -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_382 = lean_unsigned_to_nat(0u); -x_383 = lean_array_fget(x_293, x_382); -x_384 = lean_unsigned_to_nat(1u); -x_385 = lean_array_fget(x_293, x_384); -lean_dec(x_293); +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_377 = lean_unsigned_to_nat(0u); +x_378 = lean_array_fget(x_288, x_377); +x_379 = lean_unsigned_to_nat(1u); +x_380 = lean_array_fget(x_288, x_379); +lean_dec(x_288); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_383); -x_386 = l_Lean_Meta_getLevel(x_383, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_386) == 0) +lean_inc(x_378); +x_381 = l_Lean_Meta_getLevel(x_378, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_381) == 0) { -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 1); -lean_inc(x_388); -lean_dec(x_386); -x_389 = lean_box(0); -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_387); -lean_ctor_set(x_390, 1, x_389); -x_391 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__10; -x_392 = l_Lean_Expr_const___override(x_391, x_390); -x_393 = l_Lean_mkApp3(x_392, x_383, x_385, x_3); -x_394 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_393, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_388); -return x_394; +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_382 = lean_ctor_get(x_381, 0); +lean_inc(x_382); +x_383 = lean_ctor_get(x_381, 1); +lean_inc(x_383); +lean_dec(x_381); +x_384 = lean_box(0); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_382); +lean_ctor_set(x_385, 1, x_384); +x_386 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__10; +x_387 = l_Lean_Expr_const___override(x_386, x_385); +x_388 = l_Lean_mkApp3(x_387, x_378, x_380, x_3); +x_389 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_388, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_383); +return x_389; } else { -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; -lean_dec(x_385); -lean_dec(x_383); +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; +lean_dec(x_380); +lean_dec(x_378); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -22905,43 +22786,43 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_395 = lean_ctor_get(x_386, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_386, 1); -lean_inc(x_396); -if (lean_is_exclusive(x_386)) { - lean_ctor_release(x_386, 0); - lean_ctor_release(x_386, 1); - x_397 = x_386; +x_390 = lean_ctor_get(x_381, 0); +lean_inc(x_390); +x_391 = lean_ctor_get(x_381, 1); +lean_inc(x_391); +if (lean_is_exclusive(x_381)) { + lean_ctor_release(x_381, 0); + lean_ctor_release(x_381, 1); + x_392 = x_381; } else { - lean_dec_ref(x_386); - x_397 = lean_box(0); + lean_dec_ref(x_381); + x_392 = lean_box(0); } -if (lean_is_scalar(x_397)) { - x_398 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_392)) { + x_393 = lean_alloc_ctor(1, 2, 0); } else { - x_398 = x_397; + x_393 = x_392; } -lean_ctor_set(x_398, 0, x_395); -lean_ctor_set(x_398, 1, x_396); -return x_398; +lean_ctor_set(x_393, 0, x_390); +lean_ctor_set(x_393, 1, x_391); +return x_393; } } } } else { -lean_object* x_399; lean_object* x_400; uint8_t x_401; -lean_dec(x_294); +lean_object* x_394; lean_object* x_395; uint8_t x_396; +lean_dec(x_289); lean_dec(x_4); -x_399 = lean_array_get_size(x_293); -x_400 = lean_unsigned_to_nat(2u); -x_401 = lean_nat_dec_eq(x_399, x_400); -lean_dec(x_399); -if (x_401 == 0) +x_394 = lean_array_get_size(x_288); +x_395 = lean_unsigned_to_nat(2u); +x_396 = lean_nat_dec_eq(x_394, x_395); +lean_dec(x_394); +if (x_396 == 0) { -lean_object* x_402; lean_object* x_403; lean_object* x_404; -lean_dec(x_293); +lean_object* x_397; lean_object* x_398; lean_object* x_399; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -22950,28 +22831,28 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_402 = lean_unsigned_to_nat(0u); -x_403 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_403, 0, x_2); -lean_ctor_set(x_403, 1, x_402); -x_404 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_13); -return x_404; +x_397 = lean_unsigned_to_nat(0u); +x_398 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_398, 0, x_2); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_13); +return x_399; } else { -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; -x_405 = lean_unsigned_to_nat(0u); -x_406 = lean_array_fget(x_293, x_405); -x_407 = lean_unsigned_to_nat(1u); -x_408 = lean_array_fget(x_293, x_407); -lean_dec(x_293); -x_409 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__13; +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; +x_400 = lean_unsigned_to_nat(0u); +x_401 = lean_array_fget(x_288, x_400); +x_402 = lean_unsigned_to_nat(1u); +x_403 = lean_array_fget(x_288, x_402); +lean_dec(x_288); +x_404 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__13; lean_inc(x_3); -lean_inc(x_408); -lean_inc(x_406); -x_410 = l_Lean_mkApp3(x_409, x_406, x_408, x_3); +lean_inc(x_403); +lean_inc(x_401); +x_405 = l_Lean_mkApp3(x_404, x_401, x_403, x_3); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -22979,100 +22860,100 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_411 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_410, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_411) == 0) +x_406 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_405, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_406) == 0) { -lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -x_414 = lean_ctor_get(x_412, 0); -lean_inc(x_414); -x_415 = lean_ctor_get(x_412, 1); -lean_inc(x_415); -lean_dec(x_412); -x_416 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__16; -x_417 = l_Lean_mkApp3(x_416, x_406, x_408, x_3); -x_418 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_414, x_417, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_413); -if (lean_obj_tag(x_418) == 0) -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_418, 1); -lean_inc(x_420); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_421 = x_418; -} else { - lean_dec_ref(x_418); - x_421 = lean_box(0); -} -x_422 = lean_ctor_get(x_419, 0); -lean_inc(x_422); -x_423 = lean_ctor_get(x_419, 1); -lean_inc(x_423); -if (lean_is_exclusive(x_419)) { - lean_ctor_release(x_419, 0); - lean_ctor_release(x_419, 1); - x_424 = x_419; -} else { - lean_dec_ref(x_419); - x_424 = lean_box(0); -} -x_425 = lean_nat_add(x_415, x_423); -lean_dec(x_423); -lean_dec(x_415); -if (lean_is_scalar(x_424)) { - x_426 = lean_alloc_ctor(0, 2, 0); -} else { - x_426 = x_424; -} -lean_ctor_set(x_426, 0, x_422); -lean_ctor_set(x_426, 1, x_425); -if (lean_is_scalar(x_421)) { - x_427 = lean_alloc_ctor(0, 2, 0); -} else { - x_427 = x_421; -} -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_420); -return x_427; -} -else -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -lean_dec(x_415); -x_428 = lean_ctor_get(x_418, 0); -lean_inc(x_428); -x_429 = lean_ctor_get(x_418, 1); -lean_inc(x_429); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_430 = x_418; -} else { - lean_dec_ref(x_418); - x_430 = lean_box(0); -} -if (lean_is_scalar(x_430)) { - x_431 = lean_alloc_ctor(1, 2, 0); -} else { - x_431 = x_430; -} -lean_ctor_set(x_431, 0, x_428); -lean_ctor_set(x_431, 1, x_429); -return x_431; -} -} -else -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -lean_dec(x_408); +lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_406, 1); +lean_inc(x_408); lean_dec(x_406); +x_409 = lean_ctor_get(x_407, 0); +lean_inc(x_409); +x_410 = lean_ctor_get(x_407, 1); +lean_inc(x_410); +lean_dec(x_407); +x_411 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__16; +x_412 = l_Lean_mkApp3(x_411, x_401, x_403, x_3); +x_413 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_409, x_412, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_408); +if (lean_obj_tag(x_413) == 0) +{ +lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; +x_414 = lean_ctor_get(x_413, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_413, 1); +lean_inc(x_415); +if (lean_is_exclusive(x_413)) { + lean_ctor_release(x_413, 0); + lean_ctor_release(x_413, 1); + x_416 = x_413; +} else { + lean_dec_ref(x_413); + x_416 = lean_box(0); +} +x_417 = lean_ctor_get(x_414, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_414, 1); +lean_inc(x_418); +if (lean_is_exclusive(x_414)) { + lean_ctor_release(x_414, 0); + lean_ctor_release(x_414, 1); + x_419 = x_414; +} else { + lean_dec_ref(x_414); + x_419 = lean_box(0); +} +x_420 = lean_nat_add(x_410, x_418); +lean_dec(x_418); +lean_dec(x_410); +if (lean_is_scalar(x_419)) { + x_421 = lean_alloc_ctor(0, 2, 0); +} else { + x_421 = x_419; +} +lean_ctor_set(x_421, 0, x_417); +lean_ctor_set(x_421, 1, x_420); +if (lean_is_scalar(x_416)) { + x_422 = lean_alloc_ctor(0, 2, 0); +} else { + x_422 = x_416; +} +lean_ctor_set(x_422, 0, x_421); +lean_ctor_set(x_422, 1, x_415); +return x_422; +} +else +{ +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +lean_dec(x_410); +x_423 = lean_ctor_get(x_413, 0); +lean_inc(x_423); +x_424 = lean_ctor_get(x_413, 1); +lean_inc(x_424); +if (lean_is_exclusive(x_413)) { + lean_ctor_release(x_413, 0); + lean_ctor_release(x_413, 1); + x_425 = x_413; +} else { + lean_dec_ref(x_413); + x_425 = lean_box(0); +} +if (lean_is_scalar(x_425)) { + x_426 = lean_alloc_ctor(1, 2, 0); +} else { + x_426 = x_425; +} +lean_ctor_set(x_426, 0, x_423); +lean_ctor_set(x_426, 1, x_424); +return x_426; +} +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +lean_dec(x_403); +lean_dec(x_401); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23081,43 +22962,43 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_432 = lean_ctor_get(x_411, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_411, 1); -lean_inc(x_433); -if (lean_is_exclusive(x_411)) { - lean_ctor_release(x_411, 0); - lean_ctor_release(x_411, 1); - x_434 = x_411; +x_427 = lean_ctor_get(x_406, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_406, 1); +lean_inc(x_428); +if (lean_is_exclusive(x_406)) { + lean_ctor_release(x_406, 0); + lean_ctor_release(x_406, 1); + x_429 = x_406; } else { - lean_dec_ref(x_411); - x_434 = lean_box(0); + lean_dec_ref(x_406); + x_429 = lean_box(0); } -if (lean_is_scalar(x_434)) { - x_435 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_429)) { + x_430 = lean_alloc_ctor(1, 2, 0); } else { - x_435 = x_434; + x_430 = x_429; } -lean_ctor_set(x_435, 0, x_432); -lean_ctor_set(x_435, 1, x_433); -return x_435; +lean_ctor_set(x_430, 0, x_427); +lean_ctor_set(x_430, 1, x_428); +return x_430; } } } } else { -lean_object* x_436; lean_object* x_437; uint8_t x_438; -lean_dec(x_294); +lean_object* x_431; lean_object* x_432; uint8_t x_433; +lean_dec(x_289); lean_dec(x_4); -x_436 = lean_array_get_size(x_293); -x_437 = lean_unsigned_to_nat(1u); -x_438 = lean_nat_dec_eq(x_436, x_437); -lean_dec(x_436); -if (x_438 == 0) +x_431 = lean_array_get_size(x_288); +x_432 = lean_unsigned_to_nat(1u); +x_433 = lean_nat_dec_eq(x_431, x_432); +lean_dec(x_431); +if (x_433 == 0) { -lean_object* x_439; lean_object* x_440; lean_object* x_441; -lean_dec(x_293); +lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23126,34 +23007,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_439 = lean_unsigned_to_nat(0u); -x_440 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_440, 0, x_2); -lean_ctor_set(x_440, 1, x_439); -x_441 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_13); -return x_441; +x_434 = lean_unsigned_to_nat(0u); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_2); +lean_ctor_set(x_435, 1, x_434); +x_436 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_436, 0, x_435); +lean_ctor_set(x_436, 1, x_13); +return x_436; } else { -lean_object* x_442; lean_object* x_443; lean_object* x_444; -x_442 = lean_unsigned_to_nat(0u); -x_443 = lean_array_fget(x_293, x_442); -lean_dec(x_293); +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_unsigned_to_nat(0u); +x_438 = lean_array_fget(x_288, x_437); +lean_dec(x_288); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_444 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot(x_3, x_443, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_444) == 0) +x_439 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot(x_3, x_438, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_439) == 0) { -lean_object* x_445; -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -if (lean_obj_tag(x_445) == 0) +lean_object* x_440; +x_440 = lean_ctor_get(x_439, 0); +lean_inc(x_440); +if (lean_obj_tag(x_440) == 0) { -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; +lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23161,44 +23042,44 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_446 = lean_ctor_get(x_444, 1); +x_441 = lean_ctor_get(x_439, 1); +lean_inc(x_441); +if (lean_is_exclusive(x_439)) { + lean_ctor_release(x_439, 0); + lean_ctor_release(x_439, 1); + x_442 = x_439; +} else { + lean_dec_ref(x_439); + x_442 = lean_box(0); +} +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_2); +lean_ctor_set(x_443, 1, x_437); +if (lean_is_scalar(x_442)) { + x_444 = lean_alloc_ctor(0, 2, 0); +} else { + x_444 = x_442; +} +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_441); +return x_444; +} +else +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_445 = lean_ctor_get(x_439, 1); +lean_inc(x_445); +lean_dec(x_439); +x_446 = lean_ctor_get(x_440, 0); lean_inc(x_446); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_447 = x_444; -} else { - lean_dec_ref(x_444); - x_447 = lean_box(0); -} -x_448 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_448, 0, x_2); -lean_ctor_set(x_448, 1, x_442); -if (lean_is_scalar(x_447)) { - x_449 = lean_alloc_ctor(0, 2, 0); -} else { - x_449 = x_447; -} -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_446); -return x_449; -} -else -{ -lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_450 = lean_ctor_get(x_444, 1); -lean_inc(x_450); -lean_dec(x_444); -x_451 = lean_ctor_get(x_445, 0); -lean_inc(x_451); -lean_dec(x_445); -x_452 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_451, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_450); -return x_452; +lean_dec(x_440); +x_447 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_446, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_445); +return x_447; } } else { -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; +lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23207,43 +23088,43 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_453 = lean_ctor_get(x_444, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_444, 1); -lean_inc(x_454); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_455 = x_444; +x_448 = lean_ctor_get(x_439, 0); +lean_inc(x_448); +x_449 = lean_ctor_get(x_439, 1); +lean_inc(x_449); +if (lean_is_exclusive(x_439)) { + lean_ctor_release(x_439, 0); + lean_ctor_release(x_439, 1); + x_450 = x_439; } else { - lean_dec_ref(x_444); - x_455 = lean_box(0); + lean_dec_ref(x_439); + x_450 = lean_box(0); } -if (lean_is_scalar(x_455)) { - x_456 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_450)) { + x_451 = lean_alloc_ctor(1, 2, 0); } else { - x_456 = x_455; + x_451 = x_450; } -lean_ctor_set(x_456, 0, x_453); -lean_ctor_set(x_456, 1, x_454); -return x_456; +lean_ctor_set(x_451, 0, x_448); +lean_ctor_set(x_451, 1, x_449); +return x_451; } } } } else { -lean_object* x_457; lean_object* x_458; uint8_t x_459; -lean_dec(x_294); +lean_object* x_452; lean_object* x_453; uint8_t x_454; +lean_dec(x_289); lean_dec(x_4); -x_457 = lean_array_get_size(x_293); -x_458 = lean_unsigned_to_nat(3u); -x_459 = lean_nat_dec_eq(x_457, x_458); -lean_dec(x_457); -if (x_459 == 0) +x_452 = lean_array_get_size(x_288); +x_453 = lean_unsigned_to_nat(3u); +x_454 = lean_nat_dec_eq(x_452, x_453); +lean_dec(x_452); +if (x_454 == 0) { -lean_object* x_460; lean_object* x_461; lean_object* x_462; -lean_dec(x_293); +lean_object* x_455; lean_object* x_456; lean_object* x_457; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23252,52 +23133,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_460 = lean_unsigned_to_nat(0u); -x_461 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_461, 0, x_2); -lean_ctor_set(x_461, 1, x_460); -x_462 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_13); -return x_462; +x_455 = lean_unsigned_to_nat(0u); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_2); +lean_ctor_set(x_456, 1, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_456); +lean_ctor_set(x_457, 1, x_13); +return x_457; } else { -lean_object* x_463; lean_object* x_464; -x_463 = lean_unsigned_to_nat(0u); -x_464 = lean_array_fget(x_293, x_463); -if (lean_obj_tag(x_464) == 4) +lean_object* x_458; lean_object* x_459; +x_458 = lean_unsigned_to_nat(0u); +x_459 = lean_array_fget(x_288, x_458); +if (lean_obj_tag(x_459) == 4) { -lean_object* x_465; -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -if (lean_obj_tag(x_465) == 1) +lean_object* x_460; +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +if (lean_obj_tag(x_460) == 1) { -lean_object* x_466; -x_466 = lean_ctor_get(x_465, 0); -lean_inc(x_466); -if (lean_obj_tag(x_466) == 0) +lean_object* x_461; +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +if (lean_obj_tag(x_461) == 0) { -lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; -x_467 = lean_ctor_get(x_464, 1); -lean_inc(x_467); -lean_dec(x_464); -x_468 = lean_ctor_get(x_465, 1); -lean_inc(x_468); -lean_dec(x_465); -x_469 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_470 = lean_string_dec_eq(x_468, x_469); -if (x_470 == 0) +lean_object* x_462; lean_object* x_463; lean_object* x_464; uint8_t x_465; +x_462 = lean_ctor_get(x_459, 1); +lean_inc(x_462); +lean_dec(x_459); +x_463 = lean_ctor_get(x_460, 1); +lean_inc(x_463); +lean_dec(x_460); +x_464 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_465 = lean_string_dec_eq(x_463, x_464); +if (x_465 == 0) { -lean_object* x_471; uint8_t x_472; -x_471 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_472 = lean_string_dec_eq(x_468, x_471); -lean_dec(x_468); -if (x_472 == 0) +lean_object* x_466; uint8_t x_467; +x_466 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_467 = lean_string_dec_eq(x_463, x_466); +lean_dec(x_463); +if (x_467 == 0) { -lean_object* x_473; lean_object* x_474; -lean_dec(x_467); -lean_dec(x_293); +lean_object* x_468; lean_object* x_469; +lean_dec(x_462); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23306,34 +23187,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_473 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_473, 0, x_2); -lean_ctor_set(x_473, 1, x_463); -x_474 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_474, 0, x_473); -lean_ctor_set(x_474, 1, x_13); -return x_474; +x_468 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_468, 0, x_2); +lean_ctor_set(x_468, 1, x_458); +x_469 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_13); +return x_469; } else { -if (lean_obj_tag(x_467) == 0) +if (lean_obj_tag(x_462) == 0) { -lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -x_475 = lean_unsigned_to_nat(1u); -x_476 = lean_array_fget(x_293, x_475); -x_477 = lean_unsigned_to_nat(2u); -x_478 = lean_array_fget(x_293, x_477); -lean_dec(x_293); -x_479 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__23; -x_480 = l_Lean_mkApp3(x_479, x_476, x_478, x_3); -x_481 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_480, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_481; +lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +x_470 = lean_unsigned_to_nat(1u); +x_471 = lean_array_fget(x_288, x_470); +x_472 = lean_unsigned_to_nat(2u); +x_473 = lean_array_fget(x_288, x_472); +lean_dec(x_288); +x_474 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__23; +x_475 = l_Lean_mkApp3(x_474, x_471, x_473, x_3); +x_476 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_475, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_476; } else { -lean_object* x_482; lean_object* x_483; -lean_dec(x_467); -lean_dec(x_293); +lean_object* x_477; lean_object* x_478; +lean_dec(x_462); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23342,37 +23223,37 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_482 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_482, 0, x_2); -lean_ctor_set(x_482, 1, x_463); -x_483 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_483, 0, x_482); -lean_ctor_set(x_483, 1, x_13); -return x_483; +x_477 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_477, 0, x_2); +lean_ctor_set(x_477, 1, x_458); +x_478 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_13); +return x_478; } } } else { -lean_dec(x_468); -if (lean_obj_tag(x_467) == 0) +lean_dec(x_463); +if (lean_obj_tag(x_462) == 0) { -lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -x_484 = lean_unsigned_to_nat(1u); -x_485 = lean_array_fget(x_293, x_484); -x_486 = lean_unsigned_to_nat(2u); -x_487 = lean_array_fget(x_293, x_486); -lean_dec(x_293); -x_488 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__25; -x_489 = l_Lean_mkApp3(x_488, x_485, x_487, x_3); -x_490 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_489, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_490; +lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_479 = lean_unsigned_to_nat(1u); +x_480 = lean_array_fget(x_288, x_479); +x_481 = lean_unsigned_to_nat(2u); +x_482 = lean_array_fget(x_288, x_481); +lean_dec(x_288); +x_483 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__25; +x_484 = l_Lean_mkApp3(x_483, x_480, x_482, x_3); +x_485 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_484, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_485; } else { -lean_object* x_491; lean_object* x_492; -lean_dec(x_467); -lean_dec(x_293); +lean_object* x_486; lean_object* x_487; +lean_dec(x_462); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23381,100 +23262,100 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_2); +lean_ctor_set(x_486, 1, x_458); +x_487 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_13); +return x_487; +} +} +} +else +{ +lean_object* x_488; lean_object* x_489; +lean_dec(x_461); +lean_dec(x_460); +lean_dec(x_459); +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_488 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_488, 0, x_2); +lean_ctor_set(x_488, 1, x_458); +x_489 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_489, 0, x_488); +lean_ctor_set(x_489, 1, x_13); +return x_489; +} +} +else +{ +lean_object* x_490; lean_object* x_491; +lean_dec(x_460); +lean_dec(x_459); +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_490 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_490, 0, x_2); +lean_ctor_set(x_490, 1, x_458); x_491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_491, 0, x_2); -lean_ctor_set(x_491, 1, x_463); +lean_ctor_set(x_491, 0, x_490); +lean_ctor_set(x_491, 1, x_13); +return x_491; +} +} +else +{ +lean_object* x_492; lean_object* x_493; +lean_dec(x_459); +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); x_492 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_13); -return x_492; -} -} -} -else -{ -lean_object* x_493; lean_object* x_494; -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); +lean_ctor_set(x_492, 0, x_2); +lean_ctor_set(x_492, 1, x_458); x_493 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_493, 0, x_2); -lean_ctor_set(x_493, 1, x_463); -x_494 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_13); -return x_494; -} -} -else -{ -lean_object* x_495; lean_object* x_496; -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_495 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_495, 0, x_2); -lean_ctor_set(x_495, 1, x_463); -x_496 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_496, 0, x_495); -lean_ctor_set(x_496, 1, x_13); -return x_496; -} -} -else -{ -lean_object* x_497; lean_object* x_498; -lean_dec(x_464); -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_497 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_497, 0, x_2); -lean_ctor_set(x_497, 1, x_463); -x_498 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_13); -return x_498; +lean_ctor_set(x_493, 0, x_492); +lean_ctor_set(x_493, 1, x_13); +return x_493; } } } } else { -lean_object* x_499; lean_object* x_500; uint8_t x_501; -lean_dec(x_294); +lean_object* x_494; lean_object* x_495; uint8_t x_496; +lean_dec(x_289); lean_dec(x_4); -x_499 = lean_array_get_size(x_293); -x_500 = lean_unsigned_to_nat(3u); -x_501 = lean_nat_dec_eq(x_499, x_500); -lean_dec(x_499); -if (x_501 == 0) +x_494 = lean_array_get_size(x_288); +x_495 = lean_unsigned_to_nat(3u); +x_496 = lean_nat_dec_eq(x_494, x_495); +lean_dec(x_494); +if (x_496 == 0) { -lean_object* x_502; lean_object* x_503; lean_object* x_504; -lean_dec(x_293); +lean_object* x_497; lean_object* x_498; lean_object* x_499; +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23483,53 +23364,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_502 = lean_unsigned_to_nat(0u); -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_2); -lean_ctor_set(x_503, 1, x_502); -x_504 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_13); -return x_504; +x_497 = lean_unsigned_to_nat(0u); +x_498 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_498, 0, x_2); +lean_ctor_set(x_498, 1, x_497); +x_499 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_13); +return x_499; } else { -lean_object* x_505; lean_object* x_506; -x_505 = lean_unsigned_to_nat(0u); -x_506 = lean_array_fget(x_293, x_505); -switch (lean_obj_tag(x_506)) { +lean_object* x_500; lean_object* x_501; +x_500 = lean_unsigned_to_nat(0u); +x_501 = lean_array_fget(x_288, x_500); +switch (lean_obj_tag(x_501)) { case 4: { -lean_object* x_507; -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -if (lean_obj_tag(x_507) == 1) +lean_object* x_502; +x_502 = lean_ctor_get(x_501, 0); +lean_inc(x_502); +if (lean_obj_tag(x_502) == 1) { -lean_object* x_508; -x_508 = lean_ctor_get(x_507, 0); -lean_inc(x_508); -if (lean_obj_tag(x_508) == 0) +lean_object* x_503; +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +if (lean_obj_tag(x_503) == 0) { -lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; -x_509 = lean_ctor_get(x_506, 1); -lean_inc(x_509); -lean_dec(x_506); -x_510 = lean_ctor_get(x_507, 1); -lean_inc(x_510); -lean_dec(x_507); -x_511 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_512 = lean_string_dec_eq(x_510, x_511); -if (x_512 == 0) +lean_object* x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; +x_504 = lean_ctor_get(x_501, 1); +lean_inc(x_504); +lean_dec(x_501); +x_505 = lean_ctor_get(x_502, 1); +lean_inc(x_505); +lean_dec(x_502); +x_506 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_507 = lean_string_dec_eq(x_505, x_506); +if (x_507 == 0) { -lean_object* x_513; uint8_t x_514; -x_513 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_514 = lean_string_dec_eq(x_510, x_513); -lean_dec(x_510); -if (x_514 == 0) +lean_object* x_508; uint8_t x_509; +x_508 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_509 = lean_string_dec_eq(x_505, x_508); +lean_dec(x_505); +if (x_509 == 0) { -lean_object* x_515; lean_object* x_516; -lean_dec(x_509); -lean_dec(x_293); +lean_object* x_510; lean_object* x_511; +lean_dec(x_504); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23538,34 +23419,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_515 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_515, 0, x_2); -lean_ctor_set(x_515, 1, x_505); -x_516 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_516, 0, x_515); -lean_ctor_set(x_516, 1, x_13); -return x_516; +x_510 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_510, 0, x_2); +lean_ctor_set(x_510, 1, x_500); +x_511 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_13); +return x_511; } else { -if (lean_obj_tag(x_509) == 0) +if (lean_obj_tag(x_504) == 0) { -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_517 = lean_unsigned_to_nat(1u); -x_518 = lean_array_fget(x_293, x_517); -x_519 = lean_unsigned_to_nat(2u); -x_520 = lean_array_fget(x_293, x_519); -lean_dec(x_293); -x_521 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__19; -x_522 = l_Lean_mkApp3(x_521, x_518, x_520, x_3); -x_523 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_522, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_523; +lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_512 = lean_unsigned_to_nat(1u); +x_513 = lean_array_fget(x_288, x_512); +x_514 = lean_unsigned_to_nat(2u); +x_515 = lean_array_fget(x_288, x_514); +lean_dec(x_288); +x_516 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__19; +x_517 = l_Lean_mkApp3(x_516, x_513, x_515, x_3); +x_518 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_517, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_518; } else { -lean_object* x_524; lean_object* x_525; -lean_dec(x_509); -lean_dec(x_293); +lean_object* x_519; lean_object* x_520; +lean_dec(x_504); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23574,134 +23455,143 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_524 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_524, 0, x_2); -lean_ctor_set(x_524, 1, x_505); -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_13); -return x_525; +x_519 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_519, 0, x_2); +lean_ctor_set(x_519, 1, x_500); +x_520 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_520, 0, x_519); +lean_ctor_set(x_520, 1, x_13); +return x_520; } } } else { -lean_dec(x_510); -if (lean_obj_tag(x_509) == 0) +lean_dec(x_505); +if (lean_obj_tag(x_504) == 0) { -lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_526 = lean_unsigned_to_nat(1u); -x_527 = lean_array_fget(x_293, x_526); -x_528 = lean_unsigned_to_nat(2u); -x_529 = lean_array_fget(x_293, x_528); -lean_dec(x_293); +lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +x_521 = lean_unsigned_to_nat(1u); +x_522 = lean_array_fget(x_288, x_521); +x_523 = lean_unsigned_to_nat(2u); +x_524 = lean_array_fget(x_288, x_523); +lean_dec(x_288); +lean_inc(x_524); +x_525 = l_Lean_Expr_int_x3f(x_524); +if (lean_obj_tag(x_525) == 0) +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; +x_526 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; +x_527 = l_Lean_mkApp3(x_526, x_522, x_524, x_3); +x_528 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_527, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_528; +} +else +{ +lean_object* x_529; lean_object* x_530; uint8_t x_531; +x_529 = lean_ctor_get(x_525, 0); lean_inc(x_529); -x_530 = l_Lean_Expr_int_x3f(x_529); -if (lean_obj_tag(x_530) == 0) -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; -x_531 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; -x_532 = l_Lean_mkApp3(x_531, x_527, x_529, x_3); -x_533 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_532, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_533; -} -else -{ -lean_object* x_534; lean_object* x_535; uint8_t x_536; -x_534 = lean_ctor_get(x_530, 0); -lean_inc(x_534); -lean_dec(x_530); -x_535 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_536 = lean_int_dec_lt(x_534, x_535); -if (x_536 == 0) -{ -lean_object* x_537; uint8_t x_538; -x_537 = lean_nat_abs(x_534); -lean_dec(x_534); -x_538 = lean_nat_dec_eq(x_537, x_505); -lean_dec(x_537); -if (x_538 == 0) -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; -x_539 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; -x_540 = l_Lean_mkApp3(x_539, x_527, x_529, x_3); -x_541 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_540, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_541; -} -else -{ -lean_object* x_542; +lean_dec(x_525); +x_530 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; +x_531 = lean_int_dec_eq(x_529, x_530); lean_dec(x_529); -x_542 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntEquality(x_2, x_3, x_527, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_542) == 0) +if (x_531 == 0) { -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_543 = lean_ctor_get(x_542, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_542, 1); -lean_inc(x_544); -if (lean_is_exclusive(x_542)) { - lean_ctor_release(x_542, 0); - lean_ctor_release(x_542, 1); - x_545 = x_542; -} else { - lean_dec_ref(x_542); - x_545 = lean_box(0); +lean_object* x_532; lean_object* x_533; lean_object* x_534; +x_532 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; +x_533 = l_Lean_mkApp3(x_532, x_522, x_524, x_3); +x_534 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_533, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_534; } +else +{ +lean_object* x_535; +lean_dec(x_524); +x_535 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntEquality(x_2, x_3, x_522, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_535) == 0) +{ +lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; +x_536 = lean_ctor_get(x_535, 0); +lean_inc(x_536); +x_537 = lean_ctor_get(x_535, 1); +lean_inc(x_537); +if (lean_is_exclusive(x_535)) { + lean_ctor_release(x_535, 0); + lean_ctor_release(x_535, 1); + x_538 = x_535; +} else { + lean_dec_ref(x_535); + x_538 = lean_box(0); +} +x_539 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_539, 0, x_536); +lean_ctor_set(x_539, 1, x_521); +if (lean_is_scalar(x_538)) { + x_540 = lean_alloc_ctor(0, 2, 0); +} else { + x_540 = x_538; +} +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_537); +return x_540; +} +else +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +x_541 = lean_ctor_get(x_535, 0); +lean_inc(x_541); +x_542 = lean_ctor_get(x_535, 1); +lean_inc(x_542); +if (lean_is_exclusive(x_535)) { + lean_ctor_release(x_535, 0); + lean_ctor_release(x_535, 1); + x_543 = x_535; +} else { + lean_dec_ref(x_535); + x_543 = lean_box(0); +} +if (lean_is_scalar(x_543)) { + x_544 = lean_alloc_ctor(1, 2, 0); +} else { + x_544 = x_543; +} +lean_ctor_set(x_544, 0, x_541); +lean_ctor_set(x_544, 1, x_542); +return x_544; +} +} +} +} +else +{ +lean_object* x_545; lean_object* x_546; +lean_dec(x_504); +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_545 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_545, 0, x_2); +lean_ctor_set(x_545, 1, x_500); x_546 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_546, 0, x_543); -lean_ctor_set(x_546, 1, x_526); -if (lean_is_scalar(x_545)) { - x_547 = lean_alloc_ctor(0, 2, 0); -} else { - x_547 = x_545; -} -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_544); -return x_547; -} -else -{ -lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; -x_548 = lean_ctor_get(x_542, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_542, 1); -lean_inc(x_549); -if (lean_is_exclusive(x_542)) { - lean_ctor_release(x_542, 0); - lean_ctor_release(x_542, 1); - x_550 = x_542; -} else { - lean_dec_ref(x_542); - x_550 = lean_box(0); -} -if (lean_is_scalar(x_550)) { - x_551 = lean_alloc_ctor(1, 2, 0); -} else { - x_551 = x_550; -} -lean_ctor_set(x_551, 0, x_548); -lean_ctor_set(x_551, 1, x_549); -return x_551; +lean_ctor_set(x_546, 0, x_545); +lean_ctor_set(x_546, 1, x_13); +return x_546; } } } else { -lean_object* x_552; lean_object* x_553; lean_object* x_554; -lean_dec(x_534); -x_552 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__22; -x_553 = l_Lean_mkApp3(x_552, x_527, x_529, x_3); -x_554 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_553, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_554; -} -} -} -else -{ -lean_object* x_555; lean_object* x_556; -lean_dec(x_509); -lean_dec(x_293); +lean_object* x_547; lean_object* x_548; +lean_dec(x_503); +lean_dec(x_502); +lean_dec(x_501); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23710,23 +23600,21 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_555 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_555, 0, x_2); -lean_ctor_set(x_555, 1, x_505); -x_556 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_556, 0, x_555); -lean_ctor_set(x_556, 1, x_13); -return x_556; -} +x_547 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_547, 0, x_2); +lean_ctor_set(x_547, 1, x_500); +x_548 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_13); +return x_548; } } else { -lean_object* x_557; lean_object* x_558; -lean_dec(x_508); -lean_dec(x_507); -lean_dec(x_506); -lean_dec(x_293); +lean_object* x_549; lean_object* x_550; +lean_dec(x_502); +lean_dec(x_501); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23735,21 +23623,51 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_2); -lean_ctor_set(x_557, 1, x_505); -x_558 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_13); -return x_558; +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_2); +lean_ctor_set(x_549, 1, x_500); +x_550 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_13); +return x_550; } } -else +case 5: +{ +lean_object* x_551; +x_551 = lean_ctor_get(x_501, 0); +lean_inc(x_551); +if (lean_obj_tag(x_551) == 4) +{ +lean_object* x_552; +x_552 = lean_ctor_get(x_551, 0); +lean_inc(x_552); +if (lean_obj_tag(x_552) == 1) +{ +lean_object* x_553; +x_553 = lean_ctor_get(x_552, 0); +lean_inc(x_553); +if (lean_obj_tag(x_553) == 0) +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; +x_554 = lean_ctor_get(x_501, 1); +lean_inc(x_554); +lean_dec(x_501); +x_555 = lean_ctor_get(x_551, 1); +lean_inc(x_555); +lean_dec(x_551); +x_556 = lean_ctor_get(x_552, 1); +lean_inc(x_556); +lean_dec(x_552); +x_557 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_558 = lean_string_dec_eq(x_556, x_557); +lean_dec(x_556); +if (x_558 == 0) { lean_object* x_559; lean_object* x_560; -lean_dec(x_507); -lean_dec(x_506); -lean_dec(x_293); +lean_dec(x_555); +lean_dec(x_554); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23760,49 +23678,33 @@ lean_dec(x_6); lean_dec(x_3); x_559 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_559, 0, x_2); -lean_ctor_set(x_559, 1, x_505); +lean_ctor_set(x_559, 1, x_500); x_560 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_560, 0, x_559); lean_ctor_set(x_560, 1, x_13); return x_560; } +else +{ +if (lean_obj_tag(x_555) == 0) +{ +lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; +x_561 = lean_unsigned_to_nat(1u); +x_562 = lean_array_fget(x_288, x_561); +x_563 = lean_unsigned_to_nat(2u); +x_564 = lean_array_fget(x_288, x_563); +lean_dec(x_288); +x_565 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__25; +x_566 = l_Lean_mkApp4(x_565, x_554, x_562, x_564, x_3); +x_567 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_566, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_567; } -case 5: +else { -lean_object* x_561; -x_561 = lean_ctor_get(x_506, 0); -lean_inc(x_561); -if (lean_obj_tag(x_561) == 4) -{ -lean_object* x_562; -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -if (lean_obj_tag(x_562) == 1) -{ -lean_object* x_563; -x_563 = lean_ctor_get(x_562, 0); -lean_inc(x_563); -if (lean_obj_tag(x_563) == 0) -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; -x_564 = lean_ctor_get(x_506, 1); -lean_inc(x_564); -lean_dec(x_506); -x_565 = lean_ctor_get(x_561, 1); -lean_inc(x_565); -lean_dec(x_561); -x_566 = lean_ctor_get(x_562, 1); -lean_inc(x_566); -lean_dec(x_562); -x_567 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_568 = lean_string_dec_eq(x_566, x_567); -lean_dec(x_566); -if (x_568 == 0) -{ -lean_object* x_569; lean_object* x_570; -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_293); +lean_object* x_568; lean_object* x_569; +lean_dec(x_555); +lean_dec(x_554); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23811,35 +23713,48 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); +x_568 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_568, 0, x_2); +lean_ctor_set(x_568, 1, x_500); x_569 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_569, 0, x_2); -lean_ctor_set(x_569, 1, x_505); +lean_ctor_set(x_569, 0, x_568); +lean_ctor_set(x_569, 1, x_13); +return x_569; +} +} +} +else +{ +lean_object* x_570; lean_object* x_571; +lean_dec(x_553); +lean_dec(x_552); +lean_dec(x_551); +lean_dec(x_501); +lean_dec(x_288); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); x_570 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_570, 0, x_569); -lean_ctor_set(x_570, 1, x_13); -return x_570; +lean_ctor_set(x_570, 0, x_2); +lean_ctor_set(x_570, 1, x_500); +x_571 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_13); +return x_571; +} } else { -if (lean_obj_tag(x_565) == 0) -{ -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_571 = lean_unsigned_to_nat(1u); -x_572 = lean_array_fget(x_293, x_571); -x_573 = lean_unsigned_to_nat(2u); -x_574 = lean_array_fget(x_293, x_573); -lean_dec(x_293); -x_575 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__25; -x_576 = l_Lean_mkApp4(x_575, x_564, x_572, x_574, x_3); -x_577 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_576, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_577; -} -else -{ -lean_object* x_578; lean_object* x_579; -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_293); +lean_object* x_572; lean_object* x_573; +lean_dec(x_552); +lean_dec(x_551); +lean_dec(x_501); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23848,24 +23763,21 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_578 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_578, 0, x_2); -lean_ctor_set(x_578, 1, x_505); -x_579 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_579, 0, x_578); -lean_ctor_set(x_579, 1, x_13); -return x_579; -} +x_572 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_572, 0, x_2); +lean_ctor_set(x_572, 1, x_500); +x_573 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_13); +return x_573; } } else { -lean_object* x_580; lean_object* x_581; -lean_dec(x_563); -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_506); -lean_dec(x_293); +lean_object* x_574; lean_object* x_575; +lean_dec(x_551); +lean_dec(x_501); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23874,67 +23786,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_580 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_580, 0, x_2); -lean_ctor_set(x_580, 1, x_505); -x_581 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_581, 0, x_580); -lean_ctor_set(x_581, 1, x_13); -return x_581; -} -} -else -{ -lean_object* x_582; lean_object* x_583; -lean_dec(x_562); -lean_dec(x_561); -lean_dec(x_506); -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_582 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_582, 0, x_2); -lean_ctor_set(x_582, 1, x_505); -x_583 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_583, 0, x_582); -lean_ctor_set(x_583, 1, x_13); -return x_583; -} -} -else -{ -lean_object* x_584; lean_object* x_585; -lean_dec(x_561); -lean_dec(x_506); -lean_dec(x_293); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_2); -lean_ctor_set(x_584, 1, x_505); -x_585 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_13); -return x_585; +x_574 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_574, 0, x_2); +lean_ctor_set(x_574, 1, x_500); +x_575 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_575, 0, x_574); +lean_ctor_set(x_575, 1, x_13); +return x_575; } } default: { -lean_object* x_586; lean_object* x_587; -lean_dec(x_506); -lean_dec(x_293); +lean_object* x_576; lean_object* x_577; +lean_dec(x_501); +lean_dec(x_288); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -23943,13 +23808,13 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_586 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_586, 0, x_2); -lean_ctor_set(x_586, 1, x_505); -x_587 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_13); -return x_587; +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_2); +lean_ctor_set(x_576, 1, x_500); +x_577 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_577, 0, x_576); +lean_ctor_set(x_577, 1, x_13); +return x_577; } } } @@ -23958,59 +23823,85 @@ return x_587; } case 1: { -lean_object* x_588; +lean_object* x_578; lean_dec(x_4); -x_588 = lean_ctor_get(x_16, 0); -lean_inc(x_588); -if (lean_obj_tag(x_588) == 0) +x_578 = lean_ctor_get(x_16, 0); +lean_inc(x_578); +if (lean_obj_tag(x_578) == 0) { -uint8_t x_589; -x_589 = !lean_is_exclusive(x_14); +uint8_t x_579; +x_579 = !lean_is_exclusive(x_14); +if (x_579 == 0) +{ +lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; uint8_t x_585; +x_580 = lean_ctor_get(x_14, 1); +x_581 = lean_ctor_get(x_14, 0); +lean_dec(x_581); +x_582 = lean_ctor_get(x_15, 1); +lean_inc(x_582); +lean_dec(x_15); +x_583 = lean_ctor_get(x_16, 1); +lean_inc(x_583); +lean_dec(x_16); +x_584 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__29; +x_585 = lean_string_dec_eq(x_583, x_584); +if (x_585 == 0) +{ +lean_object* x_586; uint8_t x_587; +x_586 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__28; +x_587 = lean_string_dec_eq(x_583, x_586); +if (x_587 == 0) +{ +lean_object* x_588; uint8_t x_589; +x_588 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__26; +x_589 = lean_string_dec_eq(x_583, x_588); if (x_589 == 0) { -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; uint8_t x_595; -x_590 = lean_ctor_get(x_14, 1); -x_591 = lean_ctor_get(x_14, 0); -lean_dec(x_591); -x_592 = lean_ctor_get(x_15, 1); -lean_inc(x_592); -lean_dec(x_15); -x_593 = lean_ctor_get(x_16, 1); -lean_inc(x_593); -lean_dec(x_16); -x_594 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__29; -x_595 = lean_string_dec_eq(x_593, x_594); +lean_object* x_590; uint8_t x_591; +x_590 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__27; +x_591 = lean_string_dec_eq(x_583, x_590); +if (x_591 == 0) +{ +lean_object* x_592; uint8_t x_593; +x_592 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__8; +x_593 = lean_string_dec_eq(x_583, x_592); +if (x_593 == 0) +{ +lean_object* x_594; uint8_t x_595; +x_594 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__30; +x_595 = lean_string_dec_eq(x_583, x_594); +lean_dec(x_583); if (x_595 == 0) { -lean_object* x_596; uint8_t x_597; -x_596 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__28; -x_597 = lean_string_dec_eq(x_593, x_596); -if (x_597 == 0) +lean_object* x_596; lean_object* x_597; +lean_dec(x_582); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_596 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_596); +lean_ctor_set(x_14, 0, x_2); +x_597 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_597, 0, x_14); +lean_ctor_set(x_597, 1, x_13); +return x_597; +} +else { lean_object* x_598; uint8_t x_599; -x_598 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__26; -x_599 = lean_string_dec_eq(x_593, x_598); +x_598 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__31; +x_599 = lean_string_dec_eq(x_582, x_598); +lean_dec(x_582); if (x_599 == 0) { -lean_object* x_600; uint8_t x_601; -x_600 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__27; -x_601 = lean_string_dec_eq(x_593, x_600); -if (x_601 == 0) -{ -lean_object* x_602; uint8_t x_603; -x_602 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__8; -x_603 = lean_string_dec_eq(x_593, x_602); -if (x_603 == 0) -{ -lean_object* x_604; uint8_t x_605; -x_604 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__30; -x_605 = lean_string_dec_eq(x_593, x_604); -lean_dec(x_593); -if (x_605 == 0) -{ -lean_object* x_606; lean_object* x_607; -lean_dec(x_592); -lean_dec(x_590); +lean_object* x_600; lean_object* x_601; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24019,24 +23910,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_606 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_606); +x_600 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_600); lean_ctor_set(x_14, 0, x_2); -x_607 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_607, 0, x_14); -lean_ctor_set(x_607, 1, x_13); -return x_607; +x_601 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_601, 0, x_14); +lean_ctor_set(x_601, 1, x_13); +return x_601; } else { -lean_object* x_608; uint8_t x_609; -x_608 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__31; -x_609 = lean_string_dec_eq(x_592, x_608); -lean_dec(x_592); -if (x_609 == 0) +lean_object* x_602; lean_object* x_603; uint8_t x_604; +x_602 = lean_array_get_size(x_580); +x_603 = lean_unsigned_to_nat(4u); +x_604 = lean_nat_dec_eq(x_602, x_603); +lean_dec(x_602); +if (x_604 == 0) { -lean_object* x_610; lean_object* x_611; -lean_dec(x_590); +lean_object* x_605; lean_object* x_606; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24045,25 +23937,51 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_610 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_610); +x_605 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_605); lean_ctor_set(x_14, 0, x_2); -x_611 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_611, 0, x_14); -lean_ctor_set(x_611, 1, x_13); -return x_611; +x_606 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_606, 0, x_14); +lean_ctor_set(x_606, 1, x_13); +return x_606; } else { -lean_object* x_612; lean_object* x_613; uint8_t x_614; -x_612 = lean_array_get_size(x_590); -x_613 = lean_unsigned_to_nat(4u); -x_614 = lean_nat_dec_eq(x_612, x_613); -lean_dec(x_612); +lean_object* x_607; lean_object* x_608; +x_607 = lean_unsigned_to_nat(0u); +x_608 = lean_array_fget(x_580, x_607); +if (lean_obj_tag(x_608) == 4) +{ +lean_object* x_609; +x_609 = lean_ctor_get(x_608, 0); +lean_inc(x_609); +if (lean_obj_tag(x_609) == 1) +{ +lean_object* x_610; +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +if (lean_obj_tag(x_610) == 0) +{ +lean_object* x_611; lean_object* x_612; lean_object* x_613; uint8_t x_614; +x_611 = lean_ctor_get(x_608, 1); +lean_inc(x_611); +lean_dec(x_608); +x_612 = lean_ctor_get(x_609, 1); +lean_inc(x_612); +lean_dec(x_609); +x_613 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_614 = lean_string_dec_eq(x_612, x_613); if (x_614 == 0) { -lean_object* x_615; lean_object* x_616; -lean_dec(x_590); +lean_object* x_615; uint8_t x_616; +x_615 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_616 = lean_string_dec_eq(x_612, x_615); +lean_dec(x_612); +if (x_616 == 0) +{ +lean_object* x_617; +lean_dec(x_611); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24072,87 +23990,119 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_615 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_615); +lean_ctor_set(x_14, 1, x_607); lean_ctor_set(x_14, 0, x_2); -x_616 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_616, 0, x_14); -lean_ctor_set(x_616, 1, x_13); -return x_616; +x_617 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_617, 0, x_14); +lean_ctor_set(x_617, 1, x_13); +return x_617; } else { -lean_object* x_617; lean_object* x_618; -x_617 = lean_unsigned_to_nat(0u); -x_618 = lean_array_fget(x_590, x_617); -if (lean_obj_tag(x_618) == 4) +if (lean_obj_tag(x_611) == 0) { -lean_object* x_619; -x_619 = lean_ctor_get(x_618, 0); -lean_inc(x_619); -if (lean_obj_tag(x_619) == 1) -{ -lean_object* x_620; -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -if (lean_obj_tag(x_620) == 0) -{ -lean_object* x_621; lean_object* x_622; lean_object* x_623; uint8_t x_624; -x_621 = lean_ctor_get(x_618, 1); -lean_inc(x_621); -lean_dec(x_618); -x_622 = lean_ctor_get(x_619, 1); -lean_inc(x_622); -lean_dec(x_619); -x_623 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_624 = lean_string_dec_eq(x_622, x_623); -if (x_624 == 0) -{ -lean_object* x_625; uint8_t x_626; -x_625 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_626 = lean_string_dec_eq(x_622, x_625); -lean_dec(x_622); -if (x_626 == 0) -{ -lean_object* x_627; -lean_dec(x_621); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); -lean_ctor_set(x_14, 0, x_2); -x_627 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_627, 0, x_14); -lean_ctor_set(x_627, 1, x_13); -return x_627; -} -else -{ -if (lean_obj_tag(x_621) == 0) -{ -lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; +lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_free_object(x_14); -x_628 = lean_unsigned_to_nat(2u); -x_629 = lean_array_fget(x_590, x_628); -x_630 = lean_unsigned_to_nat(3u); -x_631 = lean_array_fget(x_590, x_630); -lean_dec(x_590); -x_632 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__30; -x_633 = l_Lean_mkApp3(x_632, x_629, x_631, x_3); -x_634 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_633, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_618 = lean_unsigned_to_nat(2u); +x_619 = lean_array_fget(x_580, x_618); +x_620 = lean_unsigned_to_nat(3u); +x_621 = lean_array_fget(x_580, x_620); +lean_dec(x_580); +x_622 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__30; +x_623 = l_Lean_mkApp3(x_622, x_619, x_621, x_3); +x_624 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_623, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_624; +} +else +{ +lean_object* x_625; +lean_dec(x_611); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_607); +lean_ctor_set(x_14, 0, x_2); +x_625 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_625, 0, x_14); +lean_ctor_set(x_625, 1, x_13); +return x_625; +} +} +} +else +{ +lean_dec(x_612); +if (lean_obj_tag(x_611) == 0) +{ +lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; +lean_free_object(x_14); +x_626 = lean_unsigned_to_nat(2u); +x_627 = lean_array_fget(x_580, x_626); +x_628 = lean_unsigned_to_nat(3u); +x_629 = lean_array_fget(x_580, x_628); +lean_dec(x_580); +x_630 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__33; +x_631 = l_Lean_mkApp3(x_630, x_627, x_629, x_3); +x_632 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_631, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_632; +} +else +{ +lean_object* x_633; +lean_dec(x_611); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_607); +lean_ctor_set(x_14, 0, x_2); +x_633 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_633, 0, x_14); +lean_ctor_set(x_633, 1, x_13); +return x_633; +} +} +} +else +{ +lean_object* x_634; +lean_dec(x_610); +lean_dec(x_609); +lean_dec(x_608); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_607); +lean_ctor_set(x_14, 0, x_2); +x_634 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_634, 0, x_14); +lean_ctor_set(x_634, 1, x_13); return x_634; } +} else { lean_object* x_635; -lean_dec(x_621); -lean_dec(x_590); +lean_dec(x_609); +lean_dec(x_608); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24161,7 +24111,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); +lean_ctor_set(x_14, 1, x_607); lean_ctor_set(x_14, 0, x_2); x_635 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_635, 0, x_14); @@ -24169,168 +24119,83 @@ lean_ctor_set(x_635, 1, x_13); return x_635; } } +else +{ +lean_object* x_636; +lean_dec(x_608); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_607); +lean_ctor_set(x_14, 0, x_2); +x_636 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_636, 0, x_14); +lean_ctor_set(x_636, 1, x_13); +return x_636; +} +} +} +} } else { -lean_dec(x_622); -if (lean_obj_tag(x_621) == 0) +lean_object* x_637; uint8_t x_638; +lean_dec(x_583); +lean_dec(x_580); +x_637 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__37; +x_638 = lean_string_dec_eq(x_582, x_637); +lean_dec(x_582); +if (x_638 == 0) { -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; +lean_object* x_639; lean_object* x_640; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_639 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_639); +lean_ctor_set(x_14, 0, x_2); +x_640 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_640, 0, x_14); +lean_ctor_set(x_640, 1, x_13); +return x_640; +} +else +{ +lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_free_object(x_14); -x_636 = lean_unsigned_to_nat(2u); -x_637 = lean_array_fget(x_590, x_636); -x_638 = lean_unsigned_to_nat(3u); -x_639 = lean_array_fget(x_590, x_638); -lean_dec(x_590); -x_640 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__33; -x_641 = l_Lean_mkApp3(x_640, x_637, x_639, x_3); -x_642 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_641, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_642; -} -else -{ -lean_object* x_643; -lean_dec(x_621); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); -lean_ctor_set(x_14, 0, x_2); -x_643 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_643, 0, x_14); -lean_ctor_set(x_643, 1, x_13); -return x_643; -} -} -} -else -{ -lean_object* x_644; -lean_dec(x_620); -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); -lean_ctor_set(x_14, 0, x_2); -x_644 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_644, 0, x_14); -lean_ctor_set(x_644, 1, x_13); -return x_644; -} -} -else -{ -lean_object* x_645; -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); -lean_ctor_set(x_14, 0, x_2); -x_645 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_645, 0, x_14); -lean_ctor_set(x_645, 1, x_13); -return x_645; -} -} -else -{ -lean_object* x_646; -lean_dec(x_618); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_617); -lean_ctor_set(x_14, 0, x_2); -x_646 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_646, 0, x_14); -lean_ctor_set(x_646, 1, x_13); -return x_646; -} -} -} -} -} -else -{ -lean_object* x_647; uint8_t x_648; -lean_dec(x_593); -lean_dec(x_590); -x_647 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__37; -x_648 = lean_string_dec_eq(x_592, x_647); -lean_dec(x_592); -if (x_648 == 0) -{ -lean_object* x_649; lean_object* x_650; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_649 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_649); -lean_ctor_set(x_14, 0, x_2); -x_650 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_650, 0, x_14); -lean_ctor_set(x_650, 1, x_13); -return x_650; -} -else -{ -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -lean_free_object(x_14); -x_651 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___closed__6; -x_652 = lean_array_push(x_651, x_3); -x_653 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__35; +x_641 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___closed__6; +x_642 = lean_array_push(x_641, x_3); +x_643 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__35; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_654 = l_Lean_Meta_mkAppM(x_653, x_652, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_654) == 0) +x_644 = l_Lean_Meta_mkAppM(x_643, x_642, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_644) == 0) { -lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_655, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_656); -return x_657; +lean_object* x_645; lean_object* x_646; lean_object* x_647; +x_645 = lean_ctor_get(x_644, 0); +lean_inc(x_645); +x_646 = lean_ctor_get(x_644, 1); +lean_inc(x_646); +lean_dec(x_644); +x_647 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_645, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_646); +return x_647; } else { -uint8_t x_658; +uint8_t x_648; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24339,39 +24204,66 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_658 = !lean_is_exclusive(x_654); +x_648 = !lean_is_exclusive(x_644); +if (x_648 == 0) +{ +return x_644; +} +else +{ +lean_object* x_649; lean_object* x_650; lean_object* x_651; +x_649 = lean_ctor_get(x_644, 0); +x_650 = lean_ctor_get(x_644, 1); +lean_inc(x_650); +lean_inc(x_649); +lean_dec(x_644); +x_651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_651, 0, x_649); +lean_ctor_set(x_651, 1, x_650); +return x_651; +} +} +} +} +} +else +{ +lean_object* x_652; uint8_t x_653; +lean_dec(x_583); +x_652 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__36; +x_653 = lean_string_dec_eq(x_582, x_652); +lean_dec(x_582); +if (x_653 == 0) +{ +lean_object* x_654; lean_object* x_655; +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_654 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_654); +lean_ctor_set(x_14, 0, x_2); +x_655 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_655, 0, x_14); +lean_ctor_set(x_655, 1, x_13); +return x_655; +} +else +{ +lean_object* x_656; lean_object* x_657; uint8_t x_658; +x_656 = lean_array_get_size(x_580); +x_657 = lean_unsigned_to_nat(4u); +x_658 = lean_nat_dec_eq(x_656, x_657); +lean_dec(x_656); if (x_658 == 0) { -return x_654; -} -else -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; -x_659 = lean_ctor_get(x_654, 0); -x_660 = lean_ctor_get(x_654, 1); -lean_inc(x_660); -lean_inc(x_659); -lean_dec(x_654); -x_661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_661, 0, x_659); -lean_ctor_set(x_661, 1, x_660); -return x_661; -} -} -} -} -} -else -{ -lean_object* x_662; uint8_t x_663; -lean_dec(x_593); -x_662 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__36; -x_663 = lean_string_dec_eq(x_592, x_662); -lean_dec(x_592); -if (x_663 == 0) -{ -lean_object* x_664; lean_object* x_665; -lean_dec(x_590); +lean_object* x_659; lean_object* x_660; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24380,79 +24272,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_664 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_664); +x_659 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_659); lean_ctor_set(x_14, 0, x_2); -x_665 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_665, 0, x_14); -lean_ctor_set(x_665, 1, x_13); -return x_665; +x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_660, 0, x_14); +lean_ctor_set(x_660, 1, x_13); +return x_660; } else { -lean_object* x_666; lean_object* x_667; uint8_t x_668; -x_666 = lean_array_get_size(x_590); -x_667 = lean_unsigned_to_nat(4u); -x_668 = lean_nat_dec_eq(x_666, x_667); -lean_dec(x_666); -if (x_668 == 0) -{ -lean_object* x_669; lean_object* x_670; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_669 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_669); -lean_ctor_set(x_14, 0, x_2); -x_670 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_670, 0, x_14); -lean_ctor_set(x_670, 1, x_13); -return x_670; -} -else -{ -lean_object* x_671; lean_object* x_672; -x_671 = lean_unsigned_to_nat(0u); -x_672 = lean_array_fget(x_590, x_671); -switch (lean_obj_tag(x_672)) { +lean_object* x_661; lean_object* x_662; +x_661 = lean_unsigned_to_nat(0u); +x_662 = lean_array_fget(x_580, x_661); +switch (lean_obj_tag(x_662)) { case 4: { -lean_object* x_673; -x_673 = lean_ctor_get(x_672, 0); -lean_inc(x_673); -if (lean_obj_tag(x_673) == 1) +lean_object* x_663; +x_663 = lean_ctor_get(x_662, 0); +lean_inc(x_663); +if (lean_obj_tag(x_663) == 1) { -lean_object* x_674; -x_674 = lean_ctor_get(x_673, 0); -lean_inc(x_674); -if (lean_obj_tag(x_674) == 0) +lean_object* x_664; +x_664 = lean_ctor_get(x_663, 0); +lean_inc(x_664); +if (lean_obj_tag(x_664) == 0) { -lean_object* x_675; lean_object* x_676; lean_object* x_677; uint8_t x_678; -x_675 = lean_ctor_get(x_672, 1); -lean_inc(x_675); -lean_dec(x_672); -x_676 = lean_ctor_get(x_673, 1); -lean_inc(x_676); -lean_dec(x_673); -x_677 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_678 = lean_string_dec_eq(x_676, x_677); -if (x_678 == 0) +lean_object* x_665; lean_object* x_666; lean_object* x_667; uint8_t x_668; +x_665 = lean_ctor_get(x_662, 1); +lean_inc(x_665); +lean_dec(x_662); +x_666 = lean_ctor_get(x_663, 1); +lean_inc(x_666); +lean_dec(x_663); +x_667 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_668 = lean_string_dec_eq(x_666, x_667); +if (x_668 == 0) { -lean_object* x_679; uint8_t x_680; -x_679 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_680 = lean_string_dec_eq(x_676, x_679); -lean_dec(x_676); -if (x_680 == 0) +lean_object* x_669; uint8_t x_670; +x_669 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_670 = lean_string_dec_eq(x_666, x_669); +lean_dec(x_666); +if (x_670 == 0) { -lean_object* x_681; -lean_dec(x_675); -lean_dec(x_590); +lean_object* x_671; +lean_dec(x_665); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24461,34 +24326,119 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); -x_681 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_681, 0, x_14); -lean_ctor_set(x_681, 1, x_13); -return x_681; +x_671 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_671, 0, x_14); +lean_ctor_set(x_671, 1, x_13); +return x_671; } else { -if (lean_obj_tag(x_675) == 0) +if (lean_obj_tag(x_665) == 0) { -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_free_object(x_14); -x_682 = lean_unsigned_to_nat(2u); -x_683 = lean_array_fget(x_590, x_682); -x_684 = lean_unsigned_to_nat(3u); -x_685 = lean_array_fget(x_590, x_684); -lean_dec(x_590); -x_686 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__39; -x_687 = l_Lean_mkApp3(x_686, x_683, x_685, x_3); -x_688 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_687, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_672 = lean_unsigned_to_nat(2u); +x_673 = lean_array_fget(x_580, x_672); +x_674 = lean_unsigned_to_nat(3u); +x_675 = lean_array_fget(x_580, x_674); +lean_dec(x_580); +x_676 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__39; +x_677 = l_Lean_mkApp3(x_676, x_673, x_675, x_3); +x_678 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_677, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_678; +} +else +{ +lean_object* x_679; +lean_dec(x_665); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_661); +lean_ctor_set(x_14, 0, x_2); +x_679 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_679, 0, x_14); +lean_ctor_set(x_679, 1, x_13); +return x_679; +} +} +} +else +{ +lean_dec(x_666); +if (lean_obj_tag(x_665) == 0) +{ +lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; +lean_free_object(x_14); +x_680 = lean_unsigned_to_nat(2u); +x_681 = lean_array_fget(x_580, x_680); +x_682 = lean_unsigned_to_nat(3u); +x_683 = lean_array_fget(x_580, x_682); +lean_dec(x_580); +x_684 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__41; +x_685 = l_Lean_mkApp3(x_684, x_681, x_683, x_3); +x_686 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_685, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_686; +} +else +{ +lean_object* x_687; +lean_dec(x_665); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_661); +lean_ctor_set(x_14, 0, x_2); +x_687 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_687, 0, x_14); +lean_ctor_set(x_687, 1, x_13); +return x_687; +} +} +} +else +{ +lean_object* x_688; +lean_dec(x_664); +lean_dec(x_663); +lean_dec(x_662); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_661); +lean_ctor_set(x_14, 0, x_2); +x_688 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_688, 0, x_14); +lean_ctor_set(x_688, 1, x_13); return x_688; } +} else { lean_object* x_689; -lean_dec(x_675); -lean_dec(x_590); +lean_dec(x_663); +lean_dec(x_662); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24497,7 +24447,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); x_689 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_689, 0, x_14); @@ -24505,53 +24455,42 @@ lean_ctor_set(x_689, 1, x_13); return x_689; } } -} -else +case 5: { -lean_dec(x_676); -if (lean_obj_tag(x_675) == 0) +lean_object* x_690; +x_690 = lean_ctor_get(x_662, 0); +lean_inc(x_690); +if (lean_obj_tag(x_690) == 4) { -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; -lean_free_object(x_14); -x_690 = lean_unsigned_to_nat(2u); -x_691 = lean_array_fget(x_590, x_690); -x_692 = lean_unsigned_to_nat(3u); -x_693 = lean_array_fget(x_590, x_692); -lean_dec(x_590); -x_694 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__41; -x_695 = l_Lean_mkApp3(x_694, x_691, x_693, x_3); -x_696 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_695, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_696; -} -else +lean_object* x_691; +x_691 = lean_ctor_get(x_690, 0); +lean_inc(x_691); +if (lean_obj_tag(x_691) == 1) { -lean_object* x_697; -lean_dec(x_675); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); -lean_ctor_set(x_14, 0, x_2); -x_697 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_697, 0, x_14); -lean_ctor_set(x_697, 1, x_13); -return x_697; -} -} -} -else +lean_object* x_692; +x_692 = lean_ctor_get(x_691, 0); +lean_inc(x_692); +if (lean_obj_tag(x_692) == 0) +{ +lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; uint8_t x_697; +x_693 = lean_ctor_get(x_662, 1); +lean_inc(x_693); +lean_dec(x_662); +x_694 = lean_ctor_get(x_690, 1); +lean_inc(x_694); +lean_dec(x_690); +x_695 = lean_ctor_get(x_691, 1); +lean_inc(x_695); +lean_dec(x_691); +x_696 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_697 = lean_string_dec_eq(x_695, x_696); +lean_dec(x_695); +if (x_697 == 0) { lean_object* x_698; -lean_dec(x_674); -lean_dec(x_673); -lean_dec(x_672); -lean_dec(x_590); +lean_dec(x_694); +lean_dec(x_693); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24560,20 +24499,35 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); x_698 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_698, 0, x_14); lean_ctor_set(x_698, 1, x_13); return x_698; } +else +{ +if (lean_obj_tag(x_694) == 0) +{ +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +lean_free_object(x_14); +x_699 = lean_unsigned_to_nat(2u); +x_700 = lean_array_fget(x_580, x_699); +x_701 = lean_unsigned_to_nat(3u); +x_702 = lean_array_fget(x_580, x_701); +lean_dec(x_580); +x_703 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__44; +x_704 = l_Lean_mkApp4(x_703, x_693, x_700, x_702, x_3); +x_705 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_704, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_705; } else { -lean_object* x_699; -lean_dec(x_673); -lean_dec(x_672); -lean_dec(x_590); +lean_object* x_706; +lean_dec(x_694); +lean_dec(x_693); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24582,50 +24536,46 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); -x_699 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_699, 0, x_14); -lean_ctor_set(x_699, 1, x_13); -return x_699; +x_706 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_706, 0, x_14); +lean_ctor_set(x_706, 1, x_13); +return x_706; } } -case 5: +} +else { -lean_object* x_700; -x_700 = lean_ctor_get(x_672, 0); -lean_inc(x_700); -if (lean_obj_tag(x_700) == 4) -{ -lean_object* x_701; -x_701 = lean_ctor_get(x_700, 0); -lean_inc(x_701); -if (lean_obj_tag(x_701) == 1) -{ -lean_object* x_702; -x_702 = lean_ctor_get(x_701, 0); -lean_inc(x_702); -if (lean_obj_tag(x_702) == 0) -{ -lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; uint8_t x_707; -x_703 = lean_ctor_get(x_672, 1); -lean_inc(x_703); -lean_dec(x_672); -x_704 = lean_ctor_get(x_700, 1); -lean_inc(x_704); -lean_dec(x_700); -x_705 = lean_ctor_get(x_701, 1); -lean_inc(x_705); -lean_dec(x_701); -x_706 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_707 = lean_string_dec_eq(x_705, x_706); -lean_dec(x_705); -if (x_707 == 0) +lean_object* x_707; +lean_dec(x_692); +lean_dec(x_691); +lean_dec(x_690); +lean_dec(x_662); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_661); +lean_ctor_set(x_14, 0, x_2); +x_707 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_707, 0, x_14); +lean_ctor_set(x_707, 1, x_13); +return x_707; +} +} +else { lean_object* x_708; -lean_dec(x_704); -lean_dec(x_703); -lean_dec(x_590); +lean_dec(x_691); +lean_dec(x_690); +lean_dec(x_662); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24634,35 +24584,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); x_708 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_708, 0, x_14); lean_ctor_set(x_708, 1, x_13); return x_708; } -else -{ -if (lean_obj_tag(x_704) == 0) -{ -lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; -lean_free_object(x_14); -x_709 = lean_unsigned_to_nat(2u); -x_710 = lean_array_fget(x_590, x_709); -x_711 = lean_unsigned_to_nat(3u); -x_712 = lean_array_fget(x_590, x_711); -lean_dec(x_590); -x_713 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__44; -x_714 = l_Lean_mkApp4(x_713, x_703, x_710, x_712, x_3); -x_715 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_714, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_715; } else { -lean_object* x_716; -lean_dec(x_704); -lean_dec(x_703); -lean_dec(x_590); +lean_object* x_709; +lean_dec(x_690); +lean_dec(x_662); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24671,23 +24606,19 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); -x_716 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_716, 0, x_14); -lean_ctor_set(x_716, 1, x_13); -return x_716; +x_709 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_709, 0, x_14); +lean_ctor_set(x_709, 1, x_13); +return x_709; } } -} -else +default: { -lean_object* x_717; -lean_dec(x_702); -lean_dec(x_701); -lean_dec(x_700); -lean_dec(x_672); -lean_dec(x_590); +lean_object* x_710; +lean_dec(x_662); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24696,21 +24627,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +lean_ctor_set(x_14, 1, x_661); lean_ctor_set(x_14, 0, x_2); -x_717 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_717, 0, x_14); -lean_ctor_set(x_717, 1, x_13); -return x_717; +x_710 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_710, 0, x_14); +lean_ctor_set(x_710, 1, x_13); +return x_710; +} +} +} +} } } else { -lean_object* x_718; -lean_dec(x_701); -lean_dec(x_700); -lean_dec(x_672); -lean_dec(x_590); +lean_object* x_711; uint8_t x_712; +lean_dec(x_583); +x_711 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__45; +x_712 = lean_string_dec_eq(x_582, x_711); +lean_dec(x_582); +if (x_712 == 0) +{ +lean_object* x_713; lean_object* x_714; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24719,20 +24658,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +x_713 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_713); lean_ctor_set(x_14, 0, x_2); -x_718 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_718, 0, x_14); -lean_ctor_set(x_718, 1, x_13); -return x_718; -} +x_714 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_714, 0, x_14); +lean_ctor_set(x_714, 1, x_13); +return x_714; } else { -lean_object* x_719; -lean_dec(x_700); -lean_dec(x_672); -lean_dec(x_590); +lean_object* x_715; lean_object* x_716; uint8_t x_717; +x_715 = lean_array_get_size(x_580); +x_716 = lean_unsigned_to_nat(4u); +x_717 = lean_nat_dec_eq(x_715, x_716); +lean_dec(x_715); +if (x_717 == 0) +{ +lean_object* x_718; lean_object* x_719; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24741,131 +24685,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); +x_718 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_718); lean_ctor_set(x_14, 0, x_2); x_719 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_719, 0, x_14); lean_ctor_set(x_719, 1, x_13); return x_719; } -} -default: -{ -lean_object* x_720; -lean_dec(x_672); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_671); -lean_ctor_set(x_14, 0, x_2); -x_720 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_720, 0, x_14); -lean_ctor_set(x_720, 1, x_13); -return x_720; -} -} -} -} -} -} else { -lean_object* x_721; uint8_t x_722; -lean_dec(x_593); -x_721 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__45; -x_722 = lean_string_dec_eq(x_592, x_721); -lean_dec(x_592); -if (x_722 == 0) -{ -lean_object* x_723; lean_object* x_724; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_723 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_723); -lean_ctor_set(x_14, 0, x_2); -x_724 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_724, 0, x_14); -lean_ctor_set(x_724, 1, x_13); -return x_724; -} -else -{ -lean_object* x_725; lean_object* x_726; uint8_t x_727; -x_725 = lean_array_get_size(x_590); -x_726 = lean_unsigned_to_nat(4u); -x_727 = lean_nat_dec_eq(x_725, x_726); -lean_dec(x_725); -if (x_727 == 0) -{ -lean_object* x_728; lean_object* x_729; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_728 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_728); -lean_ctor_set(x_14, 0, x_2); -x_729 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_729, 0, x_14); -lean_ctor_set(x_729, 1, x_13); -return x_729; -} -else -{ -lean_object* x_730; lean_object* x_731; -x_730 = lean_unsigned_to_nat(0u); -x_731 = lean_array_fget(x_590, x_730); -switch (lean_obj_tag(x_731)) { +lean_object* x_720; lean_object* x_721; +x_720 = lean_unsigned_to_nat(0u); +x_721 = lean_array_fget(x_580, x_720); +switch (lean_obj_tag(x_721)) { case 4: { -lean_object* x_732; -x_732 = lean_ctor_get(x_731, 0); -lean_inc(x_732); -if (lean_obj_tag(x_732) == 1) +lean_object* x_722; +x_722 = lean_ctor_get(x_721, 0); +lean_inc(x_722); +if (lean_obj_tag(x_722) == 1) { -lean_object* x_733; -x_733 = lean_ctor_get(x_732, 0); -lean_inc(x_733); -if (lean_obj_tag(x_733) == 0) +lean_object* x_723; +x_723 = lean_ctor_get(x_722, 0); +lean_inc(x_723); +if (lean_obj_tag(x_723) == 0) { -lean_object* x_734; lean_object* x_735; lean_object* x_736; uint8_t x_737; -x_734 = lean_ctor_get(x_731, 1); -lean_inc(x_734); -lean_dec(x_731); -x_735 = lean_ctor_get(x_732, 1); -lean_inc(x_735); -lean_dec(x_732); -x_736 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_737 = lean_string_dec_eq(x_735, x_736); -if (x_737 == 0) +lean_object* x_724; lean_object* x_725; lean_object* x_726; uint8_t x_727; +x_724 = lean_ctor_get(x_721, 1); +lean_inc(x_724); +lean_dec(x_721); +x_725 = lean_ctor_get(x_722, 1); +lean_inc(x_725); +lean_dec(x_722); +x_726 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_727 = lean_string_dec_eq(x_725, x_726); +if (x_727 == 0) { -lean_object* x_738; uint8_t x_739; -x_738 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_739 = lean_string_dec_eq(x_735, x_738); -lean_dec(x_735); -if (x_739 == 0) +lean_object* x_728; uint8_t x_729; +x_728 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_729 = lean_string_dec_eq(x_725, x_728); +lean_dec(x_725); +if (x_729 == 0) { -lean_object* x_740; -lean_dec(x_734); -lean_dec(x_590); +lean_object* x_730; +lean_dec(x_724); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24874,34 +24739,119 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); -x_740 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_740, 0, x_14); -lean_ctor_set(x_740, 1, x_13); -return x_740; +x_730 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_730, 0, x_14); +lean_ctor_set(x_730, 1, x_13); +return x_730; } else { -if (lean_obj_tag(x_734) == 0) +if (lean_obj_tag(x_724) == 0) { -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; +lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_free_object(x_14); -x_741 = lean_unsigned_to_nat(2u); -x_742 = lean_array_fget(x_590, x_741); -x_743 = lean_unsigned_to_nat(3u); -x_744 = lean_array_fget(x_590, x_743); -lean_dec(x_590); -x_745 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__48; -x_746 = l_Lean_mkApp3(x_745, x_742, x_744, x_3); -x_747 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_746, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_731 = lean_unsigned_to_nat(2u); +x_732 = lean_array_fget(x_580, x_731); +x_733 = lean_unsigned_to_nat(3u); +x_734 = lean_array_fget(x_580, x_733); +lean_dec(x_580); +x_735 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__48; +x_736 = l_Lean_mkApp3(x_735, x_732, x_734, x_3); +x_737 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_736, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_737; +} +else +{ +lean_object* x_738; +lean_dec(x_724); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_720); +lean_ctor_set(x_14, 0, x_2); +x_738 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_738, 0, x_14); +lean_ctor_set(x_738, 1, x_13); +return x_738; +} +} +} +else +{ +lean_dec(x_725); +if (lean_obj_tag(x_724) == 0) +{ +lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; +lean_free_object(x_14); +x_739 = lean_unsigned_to_nat(2u); +x_740 = lean_array_fget(x_580, x_739); +x_741 = lean_unsigned_to_nat(3u); +x_742 = lean_array_fget(x_580, x_741); +lean_dec(x_580); +x_743 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__50; +x_744 = l_Lean_mkApp3(x_743, x_740, x_742, x_3); +x_745 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_744, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_745; +} +else +{ +lean_object* x_746; +lean_dec(x_724); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_720); +lean_ctor_set(x_14, 0, x_2); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_14); +lean_ctor_set(x_746, 1, x_13); +return x_746; +} +} +} +else +{ +lean_object* x_747; +lean_dec(x_723); +lean_dec(x_722); +lean_dec(x_721); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_720); +lean_ctor_set(x_14, 0, x_2); +x_747 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_747, 0, x_14); +lean_ctor_set(x_747, 1, x_13); return x_747; } +} else { lean_object* x_748; -lean_dec(x_734); -lean_dec(x_590); +lean_dec(x_722); +lean_dec(x_721); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24910,7 +24860,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); x_748 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_748, 0, x_14); @@ -24918,53 +24868,42 @@ lean_ctor_set(x_748, 1, x_13); return x_748; } } -} -else +case 5: { -lean_dec(x_735); -if (lean_obj_tag(x_734) == 0) +lean_object* x_749; +x_749 = lean_ctor_get(x_721, 0); +lean_inc(x_749); +if (lean_obj_tag(x_749) == 4) { -lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; -lean_free_object(x_14); -x_749 = lean_unsigned_to_nat(2u); -x_750 = lean_array_fget(x_590, x_749); -x_751 = lean_unsigned_to_nat(3u); -x_752 = lean_array_fget(x_590, x_751); -lean_dec(x_590); -x_753 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__50; -x_754 = l_Lean_mkApp3(x_753, x_750, x_752, x_3); -x_755 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_754, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_755; -} -else +lean_object* x_750; +x_750 = lean_ctor_get(x_749, 0); +lean_inc(x_750); +if (lean_obj_tag(x_750) == 1) { -lean_object* x_756; -lean_dec(x_734); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); -lean_ctor_set(x_14, 0, x_2); -x_756 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_756, 0, x_14); -lean_ctor_set(x_756, 1, x_13); -return x_756; -} -} -} -else +lean_object* x_751; +x_751 = lean_ctor_get(x_750, 0); +lean_inc(x_751); +if (lean_obj_tag(x_751) == 0) +{ +lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; uint8_t x_756; +x_752 = lean_ctor_get(x_721, 1); +lean_inc(x_752); +lean_dec(x_721); +x_753 = lean_ctor_get(x_749, 1); +lean_inc(x_753); +lean_dec(x_749); +x_754 = lean_ctor_get(x_750, 1); +lean_inc(x_754); +lean_dec(x_750); +x_755 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_756 = lean_string_dec_eq(x_754, x_755); +lean_dec(x_754); +if (x_756 == 0) { lean_object* x_757; -lean_dec(x_733); -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_590); +lean_dec(x_753); +lean_dec(x_752); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24973,20 +24912,35 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); x_757 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_757, 0, x_14); lean_ctor_set(x_757, 1, x_13); return x_757; } +else +{ +if (lean_obj_tag(x_753) == 0) +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; +lean_free_object(x_14); +x_758 = lean_unsigned_to_nat(2u); +x_759 = lean_array_fget(x_580, x_758); +x_760 = lean_unsigned_to_nat(3u); +x_761 = lean_array_fget(x_580, x_760); +lean_dec(x_580); +x_762 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__53; +x_763 = l_Lean_mkApp4(x_762, x_752, x_759, x_761, x_3); +x_764 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_763, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_764; } else { -lean_object* x_758; -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_590); +lean_object* x_765; +lean_dec(x_753); +lean_dec(x_752); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24995,50 +24949,46 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); -x_758 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_758, 0, x_14); -lean_ctor_set(x_758, 1, x_13); -return x_758; +x_765 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_765, 0, x_14); +lean_ctor_set(x_765, 1, x_13); +return x_765; } } -case 5: +} +else { -lean_object* x_759; -x_759 = lean_ctor_get(x_731, 0); -lean_inc(x_759); -if (lean_obj_tag(x_759) == 4) -{ -lean_object* x_760; -x_760 = lean_ctor_get(x_759, 0); -lean_inc(x_760); -if (lean_obj_tag(x_760) == 1) -{ -lean_object* x_761; -x_761 = lean_ctor_get(x_760, 0); -lean_inc(x_761); -if (lean_obj_tag(x_761) == 0) -{ -lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; uint8_t x_766; -x_762 = lean_ctor_get(x_731, 1); -lean_inc(x_762); -lean_dec(x_731); -x_763 = lean_ctor_get(x_759, 1); -lean_inc(x_763); -lean_dec(x_759); -x_764 = lean_ctor_get(x_760, 1); -lean_inc(x_764); -lean_dec(x_760); -x_765 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_766 = lean_string_dec_eq(x_764, x_765); -lean_dec(x_764); -if (x_766 == 0) +lean_object* x_766; +lean_dec(x_751); +lean_dec(x_750); +lean_dec(x_749); +lean_dec(x_721); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_720); +lean_ctor_set(x_14, 0, x_2); +x_766 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_766, 0, x_14); +lean_ctor_set(x_766, 1, x_13); +return x_766; +} +} +else { lean_object* x_767; -lean_dec(x_763); -lean_dec(x_762); -lean_dec(x_590); +lean_dec(x_750); +lean_dec(x_749); +lean_dec(x_721); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25047,35 +24997,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); x_767 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_767, 0, x_14); lean_ctor_set(x_767, 1, x_13); return x_767; } -else -{ -if (lean_obj_tag(x_763) == 0) -{ -lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; -lean_free_object(x_14); -x_768 = lean_unsigned_to_nat(2u); -x_769 = lean_array_fget(x_590, x_768); -x_770 = lean_unsigned_to_nat(3u); -x_771 = lean_array_fget(x_590, x_770); -lean_dec(x_590); -x_772 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__53; -x_773 = l_Lean_mkApp4(x_772, x_762, x_769, x_771, x_3); -x_774 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_773, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_774; } else { -lean_object* x_775; -lean_dec(x_763); -lean_dec(x_762); -lean_dec(x_590); +lean_object* x_768; +lean_dec(x_749); +lean_dec(x_721); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25084,23 +25019,19 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); -x_775 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_775, 0, x_14); -lean_ctor_set(x_775, 1, x_13); -return x_775; +x_768 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_768, 0, x_14); +lean_ctor_set(x_768, 1, x_13); +return x_768; } } -} -else +default: { -lean_object* x_776; -lean_dec(x_761); -lean_dec(x_760); -lean_dec(x_759); -lean_dec(x_731); -lean_dec(x_590); +lean_object* x_769; +lean_dec(x_721); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25109,21 +25040,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +lean_ctor_set(x_14, 1, x_720); lean_ctor_set(x_14, 0, x_2); -x_776 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_776, 0, x_14); -lean_ctor_set(x_776, 1, x_13); -return x_776; +x_769 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_769, 0, x_14); +lean_ctor_set(x_769, 1, x_13); +return x_769; +} +} +} +} } } else { -lean_object* x_777; -lean_dec(x_760); -lean_dec(x_759); -lean_dec(x_731); -lean_dec(x_590); +lean_object* x_770; uint8_t x_771; +lean_dec(x_583); +x_770 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__48; +x_771 = lean_string_dec_eq(x_582, x_770); +lean_dec(x_582); +if (x_771 == 0) +{ +lean_object* x_772; lean_object* x_773; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25132,20 +25071,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +x_772 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_772); lean_ctor_set(x_14, 0, x_2); -x_777 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_777, 0, x_14); -lean_ctor_set(x_777, 1, x_13); -return x_777; -} +x_773 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_773, 0, x_14); +lean_ctor_set(x_773, 1, x_13); +return x_773; } else { -lean_object* x_778; -lean_dec(x_759); -lean_dec(x_731); -lean_dec(x_590); +lean_object* x_774; lean_object* x_775; uint8_t x_776; +x_774 = lean_array_get_size(x_580); +x_775 = lean_unsigned_to_nat(4u); +x_776 = lean_nat_dec_eq(x_774, x_775); +lean_dec(x_774); +if (x_776 == 0) +{ +lean_object* x_777; lean_object* x_778; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25154,131 +25098,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); +x_777 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_777); lean_ctor_set(x_14, 0, x_2); x_778 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_778, 0, x_14); lean_ctor_set(x_778, 1, x_13); return x_778; } -} -default: -{ -lean_object* x_779; -lean_dec(x_731); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_730); -lean_ctor_set(x_14, 0, x_2); -x_779 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_779, 0, x_14); -lean_ctor_set(x_779, 1, x_13); -return x_779; -} -} -} -} -} -} else { -lean_object* x_780; uint8_t x_781; -lean_dec(x_593); -x_780 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__48; -x_781 = lean_string_dec_eq(x_592, x_780); -lean_dec(x_592); -if (x_781 == 0) -{ -lean_object* x_782; lean_object* x_783; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_782 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_782); -lean_ctor_set(x_14, 0, x_2); -x_783 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_783, 0, x_14); -lean_ctor_set(x_783, 1, x_13); -return x_783; -} -else -{ -lean_object* x_784; lean_object* x_785; uint8_t x_786; -x_784 = lean_array_get_size(x_590); -x_785 = lean_unsigned_to_nat(4u); -x_786 = lean_nat_dec_eq(x_784, x_785); -lean_dec(x_784); -if (x_786 == 0) -{ -lean_object* x_787; lean_object* x_788; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_787 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_787); -lean_ctor_set(x_14, 0, x_2); -x_788 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_788, 0, x_14); -lean_ctor_set(x_788, 1, x_13); -return x_788; -} -else -{ -lean_object* x_789; lean_object* x_790; -x_789 = lean_unsigned_to_nat(0u); -x_790 = lean_array_fget(x_590, x_789); -switch (lean_obj_tag(x_790)) { +lean_object* x_779; lean_object* x_780; +x_779 = lean_unsigned_to_nat(0u); +x_780 = lean_array_fget(x_580, x_779); +switch (lean_obj_tag(x_780)) { case 4: { -lean_object* x_791; -x_791 = lean_ctor_get(x_790, 0); -lean_inc(x_791); -if (lean_obj_tag(x_791) == 1) +lean_object* x_781; +x_781 = lean_ctor_get(x_780, 0); +lean_inc(x_781); +if (lean_obj_tag(x_781) == 1) { -lean_object* x_792; -x_792 = lean_ctor_get(x_791, 0); -lean_inc(x_792); -if (lean_obj_tag(x_792) == 0) +lean_object* x_782; +x_782 = lean_ctor_get(x_781, 0); +lean_inc(x_782); +if (lean_obj_tag(x_782) == 0) { -lean_object* x_793; lean_object* x_794; lean_object* x_795; uint8_t x_796; -x_793 = lean_ctor_get(x_790, 1); -lean_inc(x_793); -lean_dec(x_790); -x_794 = lean_ctor_get(x_791, 1); -lean_inc(x_794); -lean_dec(x_791); -x_795 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_796 = lean_string_dec_eq(x_794, x_795); -if (x_796 == 0) +lean_object* x_783; lean_object* x_784; lean_object* x_785; uint8_t x_786; +x_783 = lean_ctor_get(x_780, 1); +lean_inc(x_783); +lean_dec(x_780); +x_784 = lean_ctor_get(x_781, 1); +lean_inc(x_784); +lean_dec(x_781); +x_785 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_786 = lean_string_dec_eq(x_784, x_785); +if (x_786 == 0) { -lean_object* x_797; uint8_t x_798; -x_797 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_798 = lean_string_dec_eq(x_794, x_797); -lean_dec(x_794); -if (x_798 == 0) +lean_object* x_787; uint8_t x_788; +x_787 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_788 = lean_string_dec_eq(x_784, x_787); +lean_dec(x_784); +if (x_788 == 0) { -lean_object* x_799; -lean_dec(x_793); -lean_dec(x_590); +lean_object* x_789; +lean_dec(x_783); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25287,34 +25152,119 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); -x_799 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_799, 0, x_14); -lean_ctor_set(x_799, 1, x_13); -return x_799; +x_789 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_789, 0, x_14); +lean_ctor_set(x_789, 1, x_13); +return x_789; } else { -if (lean_obj_tag(x_793) == 0) +if (lean_obj_tag(x_783) == 0) { -lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; +lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_free_object(x_14); -x_800 = lean_unsigned_to_nat(2u); -x_801 = lean_array_fget(x_590, x_800); -x_802 = lean_unsigned_to_nat(3u); -x_803 = lean_array_fget(x_590, x_802); -lean_dec(x_590); -x_804 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__56; -x_805 = l_Lean_mkApp3(x_804, x_801, x_803, x_3); -x_806 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_805, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_790 = lean_unsigned_to_nat(2u); +x_791 = lean_array_fget(x_580, x_790); +x_792 = lean_unsigned_to_nat(3u); +x_793 = lean_array_fget(x_580, x_792); +lean_dec(x_580); +x_794 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__56; +x_795 = l_Lean_mkApp3(x_794, x_791, x_793, x_3); +x_796 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_795, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_796; +} +else +{ +lean_object* x_797; +lean_dec(x_783); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_779); +lean_ctor_set(x_14, 0, x_2); +x_797 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_797, 0, x_14); +lean_ctor_set(x_797, 1, x_13); +return x_797; +} +} +} +else +{ +lean_dec(x_784); +if (lean_obj_tag(x_783) == 0) +{ +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_free_object(x_14); +x_798 = lean_unsigned_to_nat(2u); +x_799 = lean_array_fget(x_580, x_798); +x_800 = lean_unsigned_to_nat(3u); +x_801 = lean_array_fget(x_580, x_800); +lean_dec(x_580); +x_802 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__59; +x_803 = l_Lean_mkApp3(x_802, x_799, x_801, x_3); +x_804 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_803, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_804; +} +else +{ +lean_object* x_805; +lean_dec(x_783); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_779); +lean_ctor_set(x_14, 0, x_2); +x_805 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_805, 0, x_14); +lean_ctor_set(x_805, 1, x_13); +return x_805; +} +} +} +else +{ +lean_object* x_806; +lean_dec(x_782); +lean_dec(x_781); +lean_dec(x_780); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_779); +lean_ctor_set(x_14, 0, x_2); +x_806 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_806, 0, x_14); +lean_ctor_set(x_806, 1, x_13); return x_806; } +} else { lean_object* x_807; -lean_dec(x_793); -lean_dec(x_590); +lean_dec(x_781); +lean_dec(x_780); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25323,7 +25273,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); x_807 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_807, 0, x_14); @@ -25331,53 +25281,42 @@ lean_ctor_set(x_807, 1, x_13); return x_807; } } -} -else +case 5: { -lean_dec(x_794); -if (lean_obj_tag(x_793) == 0) +lean_object* x_808; +x_808 = lean_ctor_get(x_780, 0); +lean_inc(x_808); +if (lean_obj_tag(x_808) == 4) { -lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; -lean_free_object(x_14); -x_808 = lean_unsigned_to_nat(2u); -x_809 = lean_array_fget(x_590, x_808); -x_810 = lean_unsigned_to_nat(3u); -x_811 = lean_array_fget(x_590, x_810); -lean_dec(x_590); -x_812 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__59; -x_813 = l_Lean_mkApp3(x_812, x_809, x_811, x_3); -x_814 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_813, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_814; -} -else +lean_object* x_809; +x_809 = lean_ctor_get(x_808, 0); +lean_inc(x_809); +if (lean_obj_tag(x_809) == 1) { -lean_object* x_815; -lean_dec(x_793); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); -lean_ctor_set(x_14, 0, x_2); -x_815 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_815, 0, x_14); -lean_ctor_set(x_815, 1, x_13); -return x_815; -} -} -} -else +lean_object* x_810; +x_810 = lean_ctor_get(x_809, 0); +lean_inc(x_810); +if (lean_obj_tag(x_810) == 0) +{ +lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; uint8_t x_815; +x_811 = lean_ctor_get(x_780, 1); +lean_inc(x_811); +lean_dec(x_780); +x_812 = lean_ctor_get(x_808, 1); +lean_inc(x_812); +lean_dec(x_808); +x_813 = lean_ctor_get(x_809, 1); +lean_inc(x_813); +lean_dec(x_809); +x_814 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_815 = lean_string_dec_eq(x_813, x_814); +lean_dec(x_813); +if (x_815 == 0) { lean_object* x_816; -lean_dec(x_792); -lean_dec(x_791); -lean_dec(x_790); -lean_dec(x_590); +lean_dec(x_812); +lean_dec(x_811); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25386,20 +25325,35 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); x_816 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_816, 0, x_14); lean_ctor_set(x_816, 1, x_13); return x_816; } +else +{ +if (lean_obj_tag(x_812) == 0) +{ +lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; +lean_free_object(x_14); +x_817 = lean_unsigned_to_nat(2u); +x_818 = lean_array_fget(x_580, x_817); +x_819 = lean_unsigned_to_nat(3u); +x_820 = lean_array_fget(x_580, x_819); +lean_dec(x_580); +x_821 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__62; +x_822 = l_Lean_mkApp4(x_821, x_811, x_818, x_820, x_3); +x_823 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_822, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_823; } else { -lean_object* x_817; -lean_dec(x_791); -lean_dec(x_790); -lean_dec(x_590); +lean_object* x_824; +lean_dec(x_812); +lean_dec(x_811); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25408,50 +25362,46 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); -x_817 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_817, 0, x_14); -lean_ctor_set(x_817, 1, x_13); -return x_817; +x_824 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_824, 0, x_14); +lean_ctor_set(x_824, 1, x_13); +return x_824; } } -case 5: +} +else { -lean_object* x_818; -x_818 = lean_ctor_get(x_790, 0); -lean_inc(x_818); -if (lean_obj_tag(x_818) == 4) -{ -lean_object* x_819; -x_819 = lean_ctor_get(x_818, 0); -lean_inc(x_819); -if (lean_obj_tag(x_819) == 1) -{ -lean_object* x_820; -x_820 = lean_ctor_get(x_819, 0); -lean_inc(x_820); -if (lean_obj_tag(x_820) == 0) -{ -lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; uint8_t x_825; -x_821 = lean_ctor_get(x_790, 1); -lean_inc(x_821); -lean_dec(x_790); -x_822 = lean_ctor_get(x_818, 1); -lean_inc(x_822); -lean_dec(x_818); -x_823 = lean_ctor_get(x_819, 1); -lean_inc(x_823); -lean_dec(x_819); -x_824 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_825 = lean_string_dec_eq(x_823, x_824); -lean_dec(x_823); -if (x_825 == 0) +lean_object* x_825; +lean_dec(x_810); +lean_dec(x_809); +lean_dec(x_808); +lean_dec(x_780); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_779); +lean_ctor_set(x_14, 0, x_2); +x_825 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_825, 0, x_14); +lean_ctor_set(x_825, 1, x_13); +return x_825; +} +} +else { lean_object* x_826; -lean_dec(x_822); -lean_dec(x_821); -lean_dec(x_590); +lean_dec(x_809); +lean_dec(x_808); +lean_dec(x_780); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25460,35 +25410,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); x_826 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_826, 0, x_14); lean_ctor_set(x_826, 1, x_13); return x_826; } -else -{ -if (lean_obj_tag(x_822) == 0) -{ -lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; -lean_free_object(x_14); -x_827 = lean_unsigned_to_nat(2u); -x_828 = lean_array_fget(x_590, x_827); -x_829 = lean_unsigned_to_nat(3u); -x_830 = lean_array_fget(x_590, x_829); -lean_dec(x_590); -x_831 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__62; -x_832 = l_Lean_mkApp4(x_831, x_821, x_828, x_830, x_3); -x_833 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_832, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_833; } else { -lean_object* x_834; -lean_dec(x_822); -lean_dec(x_821); -lean_dec(x_590); +lean_object* x_827; +lean_dec(x_808); +lean_dec(x_780); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25497,23 +25432,19 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); -x_834 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_834, 0, x_14); -lean_ctor_set(x_834, 1, x_13); -return x_834; +x_827 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_827, 0, x_14); +lean_ctor_set(x_827, 1, x_13); +return x_827; } } -} -else +default: { -lean_object* x_835; -lean_dec(x_820); -lean_dec(x_819); -lean_dec(x_818); -lean_dec(x_790); -lean_dec(x_590); +lean_object* x_828; +lean_dec(x_780); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25522,21 +25453,29 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +lean_ctor_set(x_14, 1, x_779); lean_ctor_set(x_14, 0, x_2); -x_835 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_835, 0, x_14); -lean_ctor_set(x_835, 1, x_13); -return x_835; +x_828 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_828, 0, x_14); +lean_ctor_set(x_828, 1, x_13); +return x_828; +} +} +} +} } } else { -lean_object* x_836; -lean_dec(x_819); -lean_dec(x_818); -lean_dec(x_790); -lean_dec(x_590); +lean_object* x_829; uint8_t x_830; +lean_dec(x_583); +x_829 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__40; +x_830 = lean_string_dec_eq(x_582, x_829); +lean_dec(x_582); +if (x_830 == 0) +{ +lean_object* x_831; lean_object* x_832; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25545,20 +25484,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +x_831 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_831); lean_ctor_set(x_14, 0, x_2); -x_836 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_836, 0, x_14); -lean_ctor_set(x_836, 1, x_13); -return x_836; -} +x_832 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_832, 0, x_14); +lean_ctor_set(x_832, 1, x_13); +return x_832; } else { -lean_object* x_837; -lean_dec(x_818); -lean_dec(x_790); -lean_dec(x_590); +lean_object* x_833; lean_object* x_834; uint8_t x_835; +x_833 = lean_array_get_size(x_580); +x_834 = lean_unsigned_to_nat(4u); +x_835 = lean_nat_dec_eq(x_833, x_834); +lean_dec(x_833); +if (x_835 == 0) +{ +lean_object* x_836; lean_object* x_837; +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25567,131 +25511,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); +x_836 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_836); lean_ctor_set(x_14, 0, x_2); x_837 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_837, 0, x_14); lean_ctor_set(x_837, 1, x_13); return x_837; } -} -default: -{ -lean_object* x_838; -lean_dec(x_790); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_789); -lean_ctor_set(x_14, 0, x_2); -x_838 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_838, 0, x_14); -lean_ctor_set(x_838, 1, x_13); -return x_838; -} -} -} -} -} -} else { -lean_object* x_839; uint8_t x_840; -lean_dec(x_593); -x_839 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__40; -x_840 = lean_string_dec_eq(x_592, x_839); -lean_dec(x_592); -if (x_840 == 0) -{ -lean_object* x_841; lean_object* x_842; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_841 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_841); -lean_ctor_set(x_14, 0, x_2); -x_842 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_842, 0, x_14); -lean_ctor_set(x_842, 1, x_13); -return x_842; -} -else -{ -lean_object* x_843; lean_object* x_844; uint8_t x_845; -x_843 = lean_array_get_size(x_590); -x_844 = lean_unsigned_to_nat(4u); -x_845 = lean_nat_dec_eq(x_843, x_844); -lean_dec(x_843); -if (x_845 == 0) -{ -lean_object* x_846; lean_object* x_847; -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_846 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_846); -lean_ctor_set(x_14, 0, x_2); -x_847 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_847, 0, x_14); -lean_ctor_set(x_847, 1, x_13); -return x_847; -} -else -{ -lean_object* x_848; lean_object* x_849; -x_848 = lean_unsigned_to_nat(0u); -x_849 = lean_array_fget(x_590, x_848); -switch (lean_obj_tag(x_849)) { +lean_object* x_838; lean_object* x_839; +x_838 = lean_unsigned_to_nat(0u); +x_839 = lean_array_fget(x_580, x_838); +switch (lean_obj_tag(x_839)) { case 4: { -lean_object* x_850; -x_850 = lean_ctor_get(x_849, 0); -lean_inc(x_850); -if (lean_obj_tag(x_850) == 1) +lean_object* x_840; +x_840 = lean_ctor_get(x_839, 0); +lean_inc(x_840); +if (lean_obj_tag(x_840) == 1) { -lean_object* x_851; -x_851 = lean_ctor_get(x_850, 0); -lean_inc(x_851); -if (lean_obj_tag(x_851) == 0) +lean_object* x_841; +x_841 = lean_ctor_get(x_840, 0); +lean_inc(x_841); +if (lean_obj_tag(x_841) == 0) { -lean_object* x_852; lean_object* x_853; lean_object* x_854; uint8_t x_855; -x_852 = lean_ctor_get(x_849, 1); -lean_inc(x_852); -lean_dec(x_849); -x_853 = lean_ctor_get(x_850, 1); -lean_inc(x_853); -lean_dec(x_850); -x_854 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_855 = lean_string_dec_eq(x_853, x_854); -if (x_855 == 0) +lean_object* x_842; lean_object* x_843; lean_object* x_844; uint8_t x_845; +x_842 = lean_ctor_get(x_839, 1); +lean_inc(x_842); +lean_dec(x_839); +x_843 = lean_ctor_get(x_840, 1); +lean_inc(x_843); +lean_dec(x_840); +x_844 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_845 = lean_string_dec_eq(x_843, x_844); +if (x_845 == 0) { -lean_object* x_856; uint8_t x_857; -x_856 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_857 = lean_string_dec_eq(x_853, x_856); -lean_dec(x_853); -if (x_857 == 0) +lean_object* x_846; uint8_t x_847; +x_846 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_847 = lean_string_dec_eq(x_843, x_846); +lean_dec(x_843); +if (x_847 == 0) { -lean_object* x_858; -lean_dec(x_852); -lean_dec(x_590); +lean_object* x_848; +lean_dec(x_842); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25700,34 +25565,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_858 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_858, 0, x_14); -lean_ctor_set(x_858, 1, x_13); -return x_858; +x_848 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_848, 0, x_14); +lean_ctor_set(x_848, 1, x_13); +return x_848; } else { -if (lean_obj_tag(x_852) == 0) +if (lean_obj_tag(x_842) == 0) { -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; +lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_free_object(x_14); -x_859 = lean_unsigned_to_nat(2u); -x_860 = lean_array_fget(x_590, x_859); -x_861 = lean_unsigned_to_nat(3u); -x_862 = lean_array_fget(x_590, x_861); -lean_dec(x_590); -x_863 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__65; -x_864 = l_Lean_mkApp3(x_863, x_860, x_862, x_3); -x_865 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_864, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_865; +x_849 = lean_unsigned_to_nat(2u); +x_850 = lean_array_fget(x_580, x_849); +x_851 = lean_unsigned_to_nat(3u); +x_852 = lean_array_fget(x_580, x_851); +lean_dec(x_580); +x_853 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__65; +x_854 = l_Lean_mkApp3(x_853, x_850, x_852, x_3); +x_855 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_854, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_855; } else { -lean_object* x_866; -lean_dec(x_852); -lean_dec(x_590); +lean_object* x_856; +lean_dec(x_842); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25736,139 +25601,146 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_866 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_866, 0, x_14); -lean_ctor_set(x_866, 1, x_13); -return x_866; +x_856 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_856, 0, x_14); +lean_ctor_set(x_856, 1, x_13); +return x_856; } } } else { -lean_dec(x_853); -if (lean_obj_tag(x_852) == 0) +lean_dec(x_843); +if (lean_obj_tag(x_842) == 0) { -lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; -x_867 = lean_unsigned_to_nat(2u); -x_868 = lean_array_fget(x_590, x_867); -x_869 = lean_unsigned_to_nat(3u); -x_870 = lean_array_fget(x_590, x_869); -lean_dec(x_590); -lean_inc(x_868); -x_871 = l_Lean_Expr_int_x3f(x_868); +lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; +x_857 = lean_unsigned_to_nat(2u); +x_858 = lean_array_fget(x_580, x_857); +x_859 = lean_unsigned_to_nat(3u); +x_860 = lean_array_fget(x_580, x_859); +lean_dec(x_580); +lean_inc(x_858); +x_861 = l_Lean_Expr_int_x3f(x_858); +if (lean_obj_tag(x_861) == 0) +{ +lean_object* x_862; lean_object* x_863; lean_object* x_864; +lean_free_object(x_14); +x_862 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; +x_863 = l_Lean_mkApp3(x_862, x_860, x_858, x_3); +x_864 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_863, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_864; +} +else +{ +lean_object* x_865; lean_object* x_866; uint8_t x_867; +x_865 = lean_ctor_get(x_861, 0); +lean_inc(x_865); +lean_dec(x_861); +x_866 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; +x_867 = lean_int_dec_eq(x_865, x_866); +lean_dec(x_865); +if (x_867 == 0) +{ +lean_object* x_868; lean_object* x_869; lean_object* x_870; +lean_free_object(x_14); +x_868 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; +x_869 = l_Lean_mkApp3(x_868, x_860, x_858, x_3); +x_870 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_869, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_870; +} +else +{ +lean_object* x_871; +lean_dec(x_858); +x_871 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality(x_2, x_3, x_860, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_871) == 0) { -lean_object* x_872; lean_object* x_873; lean_object* x_874; -lean_free_object(x_14); -x_872 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_873 = l_Lean_mkApp3(x_872, x_870, x_868, x_3); -x_874 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_873, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_874; +uint8_t x_872; +x_872 = !lean_is_exclusive(x_871); +if (x_872 == 0) +{ +lean_object* x_873; lean_object* x_874; +x_873 = lean_ctor_get(x_871, 0); +x_874 = lean_unsigned_to_nat(1u); +lean_ctor_set(x_14, 1, x_874); +lean_ctor_set(x_14, 0, x_873); +lean_ctor_set(x_871, 0, x_14); +return x_871; } else { -lean_object* x_875; lean_object* x_876; uint8_t x_877; +lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; x_875 = lean_ctor_get(x_871, 0); +x_876 = lean_ctor_get(x_871, 1); +lean_inc(x_876); lean_inc(x_875); lean_dec(x_871); -x_876 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_877 = lean_int_dec_lt(x_875, x_876); -if (x_877 == 0) +x_877 = lean_unsigned_to_nat(1u); +lean_ctor_set(x_14, 1, x_877); +lean_ctor_set(x_14, 0, x_875); +x_878 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_878, 0, x_14); +lean_ctor_set(x_878, 1, x_876); +return x_878; +} +} +else { -lean_object* x_878; uint8_t x_879; -x_878 = lean_nat_abs(x_875); -lean_dec(x_875); -x_879 = lean_nat_dec_eq(x_878, x_848); -lean_dec(x_878); +uint8_t x_879; +lean_free_object(x_14); +x_879 = !lean_is_exclusive(x_871); if (x_879 == 0) { +return x_871; +} +else +{ lean_object* x_880; lean_object* x_881; lean_object* x_882; -lean_free_object(x_14); -x_880 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_881 = l_Lean_mkApp3(x_880, x_870, x_868, x_3); -x_882 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_881, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_880 = lean_ctor_get(x_871, 0); +x_881 = lean_ctor_get(x_871, 1); +lean_inc(x_881); +lean_inc(x_880); +lean_dec(x_871); +x_882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_882, 0, x_880); +lean_ctor_set(x_882, 1, x_881); return x_882; } +} +} +} +} else { lean_object* x_883; -lean_dec(x_868); -x_883 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality(x_2, x_3, x_870, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_883) == 0) -{ -uint8_t x_884; -x_884 = !lean_is_exclusive(x_883); -if (x_884 == 0) -{ -lean_object* x_885; lean_object* x_886; -x_885 = lean_ctor_get(x_883, 0); -x_886 = lean_unsigned_to_nat(1u); -lean_ctor_set(x_14, 1, x_886); -lean_ctor_set(x_14, 0, x_885); +lean_dec(x_842); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_838); +lean_ctor_set(x_14, 0, x_2); +x_883 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_883, 0, x_14); +lean_ctor_set(x_883, 1, x_13); return x_883; } -else -{ -lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; -x_887 = lean_ctor_get(x_883, 0); -x_888 = lean_ctor_get(x_883, 1); -lean_inc(x_888); -lean_inc(x_887); -lean_dec(x_883); -x_889 = lean_unsigned_to_nat(1u); -lean_ctor_set(x_14, 1, x_889); -lean_ctor_set(x_14, 0, x_887); -x_890 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_890, 0, x_14); -lean_ctor_set(x_890, 1, x_888); -return x_890; } } else { -uint8_t x_891; -lean_free_object(x_14); -x_891 = !lean_is_exclusive(x_883); -if (x_891 == 0) -{ -return x_883; -} -else -{ -lean_object* x_892; lean_object* x_893; lean_object* x_894; -x_892 = lean_ctor_get(x_883, 0); -x_893 = lean_ctor_get(x_883, 1); -lean_inc(x_893); -lean_inc(x_892); -lean_dec(x_883); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_892); -lean_ctor_set(x_894, 1, x_893); -return x_894; -} -} -} -} -else -{ -lean_object* x_895; lean_object* x_896; lean_object* x_897; -lean_dec(x_875); -lean_free_object(x_14); -x_895 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_896 = l_Lean_mkApp3(x_895, x_870, x_868, x_3); -x_897 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_896, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_897; -} -} -} -else -{ -lean_object* x_898; -lean_dec(x_852); -lean_dec(x_590); +lean_object* x_884; +lean_dec(x_841); +lean_dec(x_840); +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25877,22 +25749,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_898 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_898, 0, x_14); -lean_ctor_set(x_898, 1, x_13); -return x_898; -} +x_884 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_884, 0, x_14); +lean_ctor_set(x_884, 1, x_13); +return x_884; } } else { -lean_object* x_899; -lean_dec(x_851); -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_590); +lean_object* x_885; +lean_dec(x_840); +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25901,72 +25771,112 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_899 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_899, 0, x_14); -lean_ctor_set(x_899, 1, x_13); -return x_899; -} -} -else -{ -lean_object* x_900; -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); -lean_ctor_set(x_14, 0, x_2); -x_900 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_900, 0, x_14); -lean_ctor_set(x_900, 1, x_13); -return x_900; +x_885 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_885, 0, x_14); +lean_ctor_set(x_885, 1, x_13); +return x_885; } } case 5: { -lean_object* x_901; -x_901 = lean_ctor_get(x_849, 0); -lean_inc(x_901); -if (lean_obj_tag(x_901) == 4) +lean_object* x_886; +x_886 = lean_ctor_get(x_839, 0); +lean_inc(x_886); +if (lean_obj_tag(x_886) == 4) +{ +lean_object* x_887; +x_887 = lean_ctor_get(x_886, 0); +lean_inc(x_887); +if (lean_obj_tag(x_887) == 1) +{ +lean_object* x_888; +x_888 = lean_ctor_get(x_887, 0); +lean_inc(x_888); +if (lean_obj_tag(x_888) == 0) +{ +lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; +x_889 = lean_ctor_get(x_839, 1); +lean_inc(x_889); +lean_dec(x_839); +x_890 = lean_ctor_get(x_886, 1); +lean_inc(x_890); +lean_dec(x_886); +x_891 = lean_ctor_get(x_887, 1); +lean_inc(x_891); +lean_dec(x_887); +x_892 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_893 = lean_string_dec_eq(x_891, x_892); +lean_dec(x_891); +if (x_893 == 0) +{ +lean_object* x_894; +lean_dec(x_890); +lean_dec(x_889); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_838); +lean_ctor_set(x_14, 0, x_2); +x_894 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_894, 0, x_14); +lean_ctor_set(x_894, 1, x_13); +return x_894; +} +else +{ +if (lean_obj_tag(x_890) == 0) +{ +lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; +lean_free_object(x_14); +x_895 = lean_unsigned_to_nat(2u); +x_896 = lean_array_fget(x_580, x_895); +x_897 = lean_unsigned_to_nat(3u); +x_898 = lean_array_fget(x_580, x_897); +lean_dec(x_580); +x_899 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__71; +x_900 = l_Lean_mkApp4(x_899, x_889, x_896, x_898, x_3); +x_901 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_900, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_901; +} +else { lean_object* x_902; -x_902 = lean_ctor_get(x_901, 0); -lean_inc(x_902); -if (lean_obj_tag(x_902) == 1) +lean_dec(x_890); +lean_dec(x_889); +lean_dec(x_580); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_ctor_set(x_14, 1, x_838); +lean_ctor_set(x_14, 0, x_2); +x_902 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_902, 0, x_14); +lean_ctor_set(x_902, 1, x_13); +return x_902; +} +} +} +else { lean_object* x_903; -x_903 = lean_ctor_get(x_902, 0); -lean_inc(x_903); -if (lean_obj_tag(x_903) == 0) -{ -lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; uint8_t x_908; -x_904 = lean_ctor_get(x_849, 1); -lean_inc(x_904); -lean_dec(x_849); -x_905 = lean_ctor_get(x_901, 1); -lean_inc(x_905); -lean_dec(x_901); -x_906 = lean_ctor_get(x_902, 1); -lean_inc(x_906); -lean_dec(x_902); -x_907 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_908 = lean_string_dec_eq(x_906, x_907); -lean_dec(x_906); -if (x_908 == 0) -{ -lean_object* x_909; -lean_dec(x_905); -lean_dec(x_904); -lean_dec(x_590); +lean_dec(x_888); +lean_dec(x_887); +lean_dec(x_886); +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -25975,35 +25885,21 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_909 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_909, 0, x_14); -lean_ctor_set(x_909, 1, x_13); -return x_909; +x_903 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_903, 0, x_14); +lean_ctor_set(x_903, 1, x_13); +return x_903; +} } else { -if (lean_obj_tag(x_905) == 0) -{ -lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; -lean_free_object(x_14); -x_910 = lean_unsigned_to_nat(2u); -x_911 = lean_array_fget(x_590, x_910); -x_912 = lean_unsigned_to_nat(3u); -x_913 = lean_array_fget(x_590, x_912); -lean_dec(x_590); -x_914 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__71; -x_915 = l_Lean_mkApp4(x_914, x_904, x_911, x_913, x_3); -x_916 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_915, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_916; -} -else -{ -lean_object* x_917; -lean_dec(x_905); -lean_dec(x_904); -lean_dec(x_590); +lean_object* x_904; +lean_dec(x_887); +lean_dec(x_886); +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26012,23 +25908,20 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_917 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_917, 0, x_14); -lean_ctor_set(x_917, 1, x_13); -return x_917; -} +x_904 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_904, 0, x_14); +lean_ctor_set(x_904, 1, x_13); +return x_904; } } else { -lean_object* x_918; -lean_dec(x_903); -lean_dec(x_902); -lean_dec(x_901); -lean_dec(x_849); -lean_dec(x_590); +lean_object* x_905; +lean_dec(x_886); +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26037,64 +25930,19 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_918 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_918, 0, x_14); -lean_ctor_set(x_918, 1, x_13); -return x_918; -} -} -else -{ -lean_object* x_919; -lean_dec(x_902); -lean_dec(x_901); -lean_dec(x_849); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); -lean_ctor_set(x_14, 0, x_2); -x_919 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_919, 0, x_14); -lean_ctor_set(x_919, 1, x_13); -return x_919; -} -} -else -{ -lean_object* x_920; -lean_dec(x_901); -lean_dec(x_849); -lean_dec(x_590); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); -lean_ctor_set(x_14, 0, x_2); -x_920 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_920, 0, x_14); -lean_ctor_set(x_920, 1, x_13); -return x_920; +x_905 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_905, 0, x_14); +lean_ctor_set(x_905, 1, x_13); +return x_905; } } default: { -lean_object* x_921; -lean_dec(x_849); -lean_dec(x_590); +lean_object* x_906; +lean_dec(x_839); +lean_dec(x_580); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26103,12 +25951,12 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -lean_ctor_set(x_14, 1, x_848); +lean_ctor_set(x_14, 1, x_838); lean_ctor_set(x_14, 0, x_2); -x_921 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_921, 0, x_14); -lean_ctor_set(x_921, 1, x_13); -return x_921; +x_906 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_906, 0, x_14); +lean_ctor_set(x_906, 1, x_13); +return x_906; } } } @@ -26117,49 +25965,104 @@ return x_921; } else { -lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; uint8_t x_926; -x_922 = lean_ctor_get(x_14, 1); -lean_inc(x_922); +lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; uint8_t x_911; +x_907 = lean_ctor_get(x_14, 1); +lean_inc(x_907); lean_dec(x_14); -x_923 = lean_ctor_get(x_15, 1); -lean_inc(x_923); +x_908 = lean_ctor_get(x_15, 1); +lean_inc(x_908); lean_dec(x_15); -x_924 = lean_ctor_get(x_16, 1); -lean_inc(x_924); +x_909 = lean_ctor_get(x_16, 1); +lean_inc(x_909); lean_dec(x_16); -x_925 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__29; -x_926 = lean_string_dec_eq(x_924, x_925); +x_910 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__29; +x_911 = lean_string_dec_eq(x_909, x_910); +if (x_911 == 0) +{ +lean_object* x_912; uint8_t x_913; +x_912 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__28; +x_913 = lean_string_dec_eq(x_909, x_912); +if (x_913 == 0) +{ +lean_object* x_914; uint8_t x_915; +x_914 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__26; +x_915 = lean_string_dec_eq(x_909, x_914); +if (x_915 == 0) +{ +lean_object* x_916; uint8_t x_917; +x_916 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__27; +x_917 = lean_string_dec_eq(x_909, x_916); +if (x_917 == 0) +{ +lean_object* x_918; uint8_t x_919; +x_918 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__8; +x_919 = lean_string_dec_eq(x_909, x_918); +if (x_919 == 0) +{ +lean_object* x_920; uint8_t x_921; +x_920 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__30; +x_921 = lean_string_dec_eq(x_909, x_920); +lean_dec(x_909); +if (x_921 == 0) +{ +lean_object* x_922; lean_object* x_923; lean_object* x_924; +lean_dec(x_908); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_922 = lean_unsigned_to_nat(0u); +x_923 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_923, 0, x_2); +lean_ctor_set(x_923, 1, x_922); +x_924 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_13); +return x_924; +} +else +{ +lean_object* x_925; uint8_t x_926; +x_925 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__31; +x_926 = lean_string_dec_eq(x_908, x_925); +lean_dec(x_908); if (x_926 == 0) { -lean_object* x_927; uint8_t x_928; -x_927 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__28; -x_928 = lean_string_dec_eq(x_924, x_927); -if (x_928 == 0) +lean_object* x_927; lean_object* x_928; lean_object* x_929; +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_927 = lean_unsigned_to_nat(0u); +x_928 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_928, 0, x_2); +lean_ctor_set(x_928, 1, x_927); +x_929 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_929, 0, x_928); +lean_ctor_set(x_929, 1, x_13); +return x_929; +} +else { -lean_object* x_929; uint8_t x_930; -x_929 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__26; -x_930 = lean_string_dec_eq(x_924, x_929); -if (x_930 == 0) -{ -lean_object* x_931; uint8_t x_932; -x_931 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__27; -x_932 = lean_string_dec_eq(x_924, x_931); +lean_object* x_930; lean_object* x_931; uint8_t x_932; +x_930 = lean_array_get_size(x_907); +x_931 = lean_unsigned_to_nat(4u); +x_932 = lean_nat_dec_eq(x_930, x_931); +lean_dec(x_930); if (x_932 == 0) { -lean_object* x_933; uint8_t x_934; -x_933 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__8___closed__8; -x_934 = lean_string_dec_eq(x_924, x_933); -if (x_934 == 0) -{ -lean_object* x_935; uint8_t x_936; -x_935 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__30; -x_936 = lean_string_dec_eq(x_924, x_935); -lean_dec(x_924); -if (x_936 == 0) -{ -lean_object* x_937; lean_object* x_938; lean_object* x_939; -lean_dec(x_923); -lean_dec(x_922); +lean_object* x_933; lean_object* x_934; lean_object* x_935; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26168,25 +26071,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_937 = lean_unsigned_to_nat(0u); -x_938 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_938, 0, x_2); -lean_ctor_set(x_938, 1, x_937); -x_939 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_939, 0, x_938); -lean_ctor_set(x_939, 1, x_13); -return x_939; +x_933 = lean_unsigned_to_nat(0u); +x_934 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_934, 0, x_2); +lean_ctor_set(x_934, 1, x_933); +x_935 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_935, 0, x_934); +lean_ctor_set(x_935, 1, x_13); +return x_935; } else { -lean_object* x_940; uint8_t x_941; -x_940 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__31; -x_941 = lean_string_dec_eq(x_923, x_940); -lean_dec(x_923); -if (x_941 == 0) +lean_object* x_936; lean_object* x_937; +x_936 = lean_unsigned_to_nat(0u); +x_937 = lean_array_fget(x_907, x_936); +if (lean_obj_tag(x_937) == 4) { -lean_object* x_942; lean_object* x_943; lean_object* x_944; -lean_dec(x_922); +lean_object* x_938; +x_938 = lean_ctor_get(x_937, 0); +lean_inc(x_938); +if (lean_obj_tag(x_938) == 1) +{ +lean_object* x_939; +x_939 = lean_ctor_get(x_938, 0); +lean_inc(x_939); +if (lean_obj_tag(x_939) == 0) +{ +lean_object* x_940; lean_object* x_941; lean_object* x_942; uint8_t x_943; +x_940 = lean_ctor_get(x_937, 1); +lean_inc(x_940); +lean_dec(x_937); +x_941 = lean_ctor_get(x_938, 1); +lean_inc(x_941); +lean_dec(x_938); +x_942 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_943 = lean_string_dec_eq(x_941, x_942); +if (x_943 == 0) +{ +lean_object* x_944; uint8_t x_945; +x_944 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_945 = lean_string_dec_eq(x_941, x_944); +lean_dec(x_941); +if (x_945 == 0) +{ +lean_object* x_946; lean_object* x_947; +lean_dec(x_940); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26195,26 +26125,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_942 = lean_unsigned_to_nat(0u); -x_943 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_943, 0, x_2); -lean_ctor_set(x_943, 1, x_942); -x_944 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_944, 0, x_943); -lean_ctor_set(x_944, 1, x_13); -return x_944; +x_946 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_946, 0, x_2); +lean_ctor_set(x_946, 1, x_936); +x_947 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_947, 0, x_946); +lean_ctor_set(x_947, 1, x_13); +return x_947; } else { -lean_object* x_945; lean_object* x_946; uint8_t x_947; -x_945 = lean_array_get_size(x_922); -x_946 = lean_unsigned_to_nat(4u); -x_947 = lean_nat_dec_eq(x_945, x_946); -lean_dec(x_945); -if (x_947 == 0) +if (lean_obj_tag(x_940) == 0) { -lean_object* x_948; lean_object* x_949; lean_object* x_950; -lean_dec(x_922); +lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; +x_948 = lean_unsigned_to_nat(2u); +x_949 = lean_array_fget(x_907, x_948); +x_950 = lean_unsigned_to_nat(3u); +x_951 = lean_array_fget(x_907, x_950); +lean_dec(x_907); +x_952 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__30; +x_953 = l_Lean_mkApp3(x_952, x_949, x_951, x_3); +x_954 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_953, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_954; +} +else +{ +lean_object* x_955; lean_object* x_956; +lean_dec(x_940); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26223,52 +26161,37 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_948 = lean_unsigned_to_nat(0u); -x_949 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_949, 0, x_2); -lean_ctor_set(x_949, 1, x_948); -x_950 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_950, 0, x_949); -lean_ctor_set(x_950, 1, x_13); -return x_950; +x_955 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_955, 0, x_2); +lean_ctor_set(x_955, 1, x_936); +x_956 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_956, 0, x_955); +lean_ctor_set(x_956, 1, x_13); +return x_956; +} +} } else { -lean_object* x_951; lean_object* x_952; -x_951 = lean_unsigned_to_nat(0u); -x_952 = lean_array_fget(x_922, x_951); -if (lean_obj_tag(x_952) == 4) +lean_dec(x_941); +if (lean_obj_tag(x_940) == 0) { -lean_object* x_953; -x_953 = lean_ctor_get(x_952, 0); -lean_inc(x_953); -if (lean_obj_tag(x_953) == 1) +lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; +x_957 = lean_unsigned_to_nat(2u); +x_958 = lean_array_fget(x_907, x_957); +x_959 = lean_unsigned_to_nat(3u); +x_960 = lean_array_fget(x_907, x_959); +lean_dec(x_907); +x_961 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__33; +x_962 = l_Lean_mkApp3(x_961, x_958, x_960, x_3); +x_963 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_962, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_963; +} +else { -lean_object* x_954; -x_954 = lean_ctor_get(x_953, 0); -lean_inc(x_954); -if (lean_obj_tag(x_954) == 0) -{ -lean_object* x_955; lean_object* x_956; lean_object* x_957; uint8_t x_958; -x_955 = lean_ctor_get(x_952, 1); -lean_inc(x_955); -lean_dec(x_952); -x_956 = lean_ctor_get(x_953, 1); -lean_inc(x_956); -lean_dec(x_953); -x_957 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_958 = lean_string_dec_eq(x_956, x_957); -if (x_958 == 0) -{ -lean_object* x_959; uint8_t x_960; -x_959 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_960 = lean_string_dec_eq(x_956, x_959); -lean_dec(x_956); -if (x_960 == 0) -{ -lean_object* x_961; lean_object* x_962; -lean_dec(x_955); -lean_dec(x_922); +lean_object* x_964; lean_object* x_965; +lean_dec(x_940); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26277,34 +26200,68 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_961 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_961, 0, x_2); -lean_ctor_set(x_961, 1, x_951); -x_962 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_962, 0, x_961); -lean_ctor_set(x_962, 1, x_13); -return x_962; +x_964 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_964, 0, x_2); +lean_ctor_set(x_964, 1, x_936); +x_965 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_965, 0, x_964); +lean_ctor_set(x_965, 1, x_13); +return x_965; +} +} } else { -if (lean_obj_tag(x_955) == 0) +lean_object* x_966; lean_object* x_967; +lean_dec(x_939); +lean_dec(x_938); +lean_dec(x_937); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_966 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_966, 0, x_2); +lean_ctor_set(x_966, 1, x_936); +x_967 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_967, 0, x_966); +lean_ctor_set(x_967, 1, x_13); +return x_967; +} +} +else { -lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; -x_963 = lean_unsigned_to_nat(2u); -x_964 = lean_array_fget(x_922, x_963); -x_965 = lean_unsigned_to_nat(3u); -x_966 = lean_array_fget(x_922, x_965); -lean_dec(x_922); -x_967 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__30; -x_968 = l_Lean_mkApp3(x_967, x_964, x_966, x_3); -x_969 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_968, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_968; lean_object* x_969; +lean_dec(x_938); +lean_dec(x_937); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_968 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_968, 0, x_2); +lean_ctor_set(x_968, 1, x_936); +x_969 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_969, 0, x_968); +lean_ctor_set(x_969, 1, x_13); return x_969; } +} else { lean_object* x_970; lean_object* x_971; -lean_dec(x_955); -lean_dec(x_922); +lean_dec(x_937); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26315,7 +26272,7 @@ lean_dec(x_6); lean_dec(x_3); x_970 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_970, 0, x_2); -lean_ctor_set(x_970, 1, x_951); +lean_ctor_set(x_970, 1, x_936); x_971 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_971, 0, x_970); lean_ctor_set(x_971, 1, x_13); @@ -26323,27 +26280,19 @@ return x_971; } } } -else -{ -lean_dec(x_956); -if (lean_obj_tag(x_955) == 0) -{ -lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; -x_972 = lean_unsigned_to_nat(2u); -x_973 = lean_array_fget(x_922, x_972); -x_974 = lean_unsigned_to_nat(3u); -x_975 = lean_array_fget(x_922, x_974); -lean_dec(x_922); -x_976 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__33; -x_977 = l_Lean_mkApp3(x_976, x_973, x_975, x_3); -x_978 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_977, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_978; +} } else { -lean_object* x_979; lean_object* x_980; -lean_dec(x_955); -lean_dec(x_922); +lean_object* x_972; uint8_t x_973; +lean_dec(x_909); +lean_dec(x_907); +x_972 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__37; +x_973 = lean_string_dec_eq(x_908, x_972); +lean_dec(x_908); +if (x_973 == 0) +{ +lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26352,141 +26301,40 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_979 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_979, 0, x_2); -lean_ctor_set(x_979, 1, x_951); -x_980 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_980, 0, x_979); -lean_ctor_set(x_980, 1, x_13); -return x_980; -} -} +x_974 = lean_unsigned_to_nat(0u); +x_975 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_975, 0, x_2); +lean_ctor_set(x_975, 1, x_974); +x_976 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_13); +return x_976; } else { -lean_object* x_981; lean_object* x_982; -lean_dec(x_954); -lean_dec(x_953); -lean_dec(x_952); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_981 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_981, 0, x_2); -lean_ctor_set(x_981, 1, x_951); -x_982 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_13); -return x_982; -} -} -else -{ -lean_object* x_983; lean_object* x_984; -lean_dec(x_953); -lean_dec(x_952); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_983 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_983, 0, x_2); -lean_ctor_set(x_983, 1, x_951); -x_984 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_13); -return x_984; -} -} -else -{ -lean_object* x_985; lean_object* x_986; -lean_dec(x_952); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_985 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_985, 0, x_2); -lean_ctor_set(x_985, 1, x_951); -x_986 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_986, 0, x_985); -lean_ctor_set(x_986, 1, x_13); -return x_986; -} -} -} -} -} -else -{ -lean_object* x_987; uint8_t x_988; -lean_dec(x_924); -lean_dec(x_922); -x_987 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__37; -x_988 = lean_string_dec_eq(x_923, x_987); -lean_dec(x_923); -if (x_988 == 0) -{ -lean_object* x_989; lean_object* x_990; lean_object* x_991; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_989 = lean_unsigned_to_nat(0u); -x_990 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_990, 0, x_2); -lean_ctor_set(x_990, 1, x_989); -x_991 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_991, 0, x_990); -lean_ctor_set(x_991, 1, x_13); -return x_991; -} -else -{ -lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; -x_992 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___closed__6; -x_993 = lean_array_push(x_992, x_3); -x_994 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__35; +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; +x_977 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl___lambda__5___closed__6; +x_978 = lean_array_push(x_977, x_3); +x_979 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__35; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_995 = l_Lean_Meta_mkAppM(x_994, x_993, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_995) == 0) +x_980 = l_Lean_Meta_mkAppM(x_979, x_978, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_980) == 0) { -lean_object* x_996; lean_object* x_997; lean_object* x_998; -x_996 = lean_ctor_get(x_995, 0); -lean_inc(x_996); -x_997 = lean_ctor_get(x_995, 1); -lean_inc(x_997); -lean_dec(x_995); -x_998 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_996, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_997); -return x_998; +lean_object* x_981; lean_object* x_982; lean_object* x_983; +x_981 = lean_ctor_get(x_980, 0); +lean_inc(x_981); +x_982 = lean_ctor_get(x_980, 1); +lean_inc(x_982); +lean_dec(x_980); +x_983 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_981, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_982); +return x_983; } else { -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; +lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26495,41 +26343,41 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_999 = lean_ctor_get(x_995, 0); -lean_inc(x_999); -x_1000 = lean_ctor_get(x_995, 1); -lean_inc(x_1000); -if (lean_is_exclusive(x_995)) { - lean_ctor_release(x_995, 0); - lean_ctor_release(x_995, 1); - x_1001 = x_995; +x_984 = lean_ctor_get(x_980, 0); +lean_inc(x_984); +x_985 = lean_ctor_get(x_980, 1); +lean_inc(x_985); +if (lean_is_exclusive(x_980)) { + lean_ctor_release(x_980, 0); + lean_ctor_release(x_980, 1); + x_986 = x_980; } else { - lean_dec_ref(x_995); - x_1001 = lean_box(0); + lean_dec_ref(x_980); + x_986 = lean_box(0); } -if (lean_is_scalar(x_1001)) { - x_1002 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_986)) { + x_987 = lean_alloc_ctor(1, 2, 0); } else { - x_1002 = x_1001; + x_987 = x_986; } -lean_ctor_set(x_1002, 0, x_999); -lean_ctor_set(x_1002, 1, x_1000); -return x_1002; +lean_ctor_set(x_987, 0, x_984); +lean_ctor_set(x_987, 1, x_985); +return x_987; } } } } else { -lean_object* x_1003; uint8_t x_1004; -lean_dec(x_924); -x_1003 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__36; -x_1004 = lean_string_dec_eq(x_923, x_1003); -lean_dec(x_923); -if (x_1004 == 0) +lean_object* x_988; uint8_t x_989; +lean_dec(x_909); +x_988 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__36; +x_989 = lean_string_dec_eq(x_908, x_988); +lean_dec(x_908); +if (x_989 == 0) { -lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; -lean_dec(x_922); +lean_object* x_990; lean_object* x_991; lean_object* x_992; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26538,26 +26386,26 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1005 = lean_unsigned_to_nat(0u); -x_1006 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1006, 0, x_2); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1007, 0, x_1006); -lean_ctor_set(x_1007, 1, x_13); -return x_1007; +x_990 = lean_unsigned_to_nat(0u); +x_991 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_991, 0, x_2); +lean_ctor_set(x_991, 1, x_990); +x_992 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_992, 0, x_991); +lean_ctor_set(x_992, 1, x_13); +return x_992; } else { -lean_object* x_1008; lean_object* x_1009; uint8_t x_1010; -x_1008 = lean_array_get_size(x_922); -x_1009 = lean_unsigned_to_nat(4u); -x_1010 = lean_nat_dec_eq(x_1008, x_1009); -lean_dec(x_1008); -if (x_1010 == 0) +lean_object* x_993; lean_object* x_994; uint8_t x_995; +x_993 = lean_array_get_size(x_907); +x_994 = lean_unsigned_to_nat(4u); +x_995 = lean_nat_dec_eq(x_993, x_994); +lean_dec(x_993); +if (x_995 == 0) { -lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; -lean_dec(x_922); +lean_object* x_996; lean_object* x_997; lean_object* x_998; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26566,53 +26414,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1011 = lean_unsigned_to_nat(0u); -x_1012 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1012, 0, x_2); -lean_ctor_set(x_1012, 1, x_1011); -x_1013 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_13); -return x_1013; +x_996 = lean_unsigned_to_nat(0u); +x_997 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_997, 0, x_2); +lean_ctor_set(x_997, 1, x_996); +x_998 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_998, 0, x_997); +lean_ctor_set(x_998, 1, x_13); +return x_998; } else { -lean_object* x_1014; lean_object* x_1015; -x_1014 = lean_unsigned_to_nat(0u); -x_1015 = lean_array_fget(x_922, x_1014); -switch (lean_obj_tag(x_1015)) { +lean_object* x_999; lean_object* x_1000; +x_999 = lean_unsigned_to_nat(0u); +x_1000 = lean_array_fget(x_907, x_999); +switch (lean_obj_tag(x_1000)) { case 4: { -lean_object* x_1016; -x_1016 = lean_ctor_get(x_1015, 0); -lean_inc(x_1016); -if (lean_obj_tag(x_1016) == 1) +lean_object* x_1001; +x_1001 = lean_ctor_get(x_1000, 0); +lean_inc(x_1001); +if (lean_obj_tag(x_1001) == 1) { -lean_object* x_1017; -x_1017 = lean_ctor_get(x_1016, 0); -lean_inc(x_1017); -if (lean_obj_tag(x_1017) == 0) +lean_object* x_1002; +x_1002 = lean_ctor_get(x_1001, 0); +lean_inc(x_1002); +if (lean_obj_tag(x_1002) == 0) { -lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; uint8_t x_1021; -x_1018 = lean_ctor_get(x_1015, 1); -lean_inc(x_1018); -lean_dec(x_1015); -x_1019 = lean_ctor_get(x_1016, 1); -lean_inc(x_1019); -lean_dec(x_1016); -x_1020 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_1021 = lean_string_dec_eq(x_1019, x_1020); -if (x_1021 == 0) +lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; uint8_t x_1006; +x_1003 = lean_ctor_get(x_1000, 1); +lean_inc(x_1003); +lean_dec(x_1000); +x_1004 = lean_ctor_get(x_1001, 1); +lean_inc(x_1004); +lean_dec(x_1001); +x_1005 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_1006 = lean_string_dec_eq(x_1004, x_1005); +if (x_1006 == 0) { -lean_object* x_1022; uint8_t x_1023; -x_1022 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_1023 = lean_string_dec_eq(x_1019, x_1022); -lean_dec(x_1019); -if (x_1023 == 0) +lean_object* x_1007; uint8_t x_1008; +x_1007 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_1008 = lean_string_dec_eq(x_1004, x_1007); +lean_dec(x_1004); +if (x_1008 == 0) { -lean_object* x_1024; lean_object* x_1025; -lean_dec(x_1018); -lean_dec(x_922); +lean_object* x_1009; lean_object* x_1010; +lean_dec(x_1003); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26621,174 +26469,284 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1024 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1024, 0, x_2); -lean_ctor_set(x_1024, 1, x_1014); -x_1025 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1025, 0, x_1024); -lean_ctor_set(x_1025, 1, x_13); -return x_1025; +x_1009 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1009, 0, x_2); +lean_ctor_set(x_1009, 1, x_999); +x_1010 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1010, 0, x_1009); +lean_ctor_set(x_1010, 1, x_13); +return x_1010; } else { -if (lean_obj_tag(x_1018) == 0) +if (lean_obj_tag(x_1003) == 0) { -lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; -x_1026 = lean_unsigned_to_nat(2u); -x_1027 = lean_array_fget(x_922, x_1026); -x_1028 = lean_unsigned_to_nat(3u); -x_1029 = lean_array_fget(x_922, x_1028); -lean_dec(x_922); -x_1030 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__39; -x_1031 = l_Lean_mkApp3(x_1030, x_1027, x_1029, x_3); -x_1032 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1031, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; +x_1011 = lean_unsigned_to_nat(2u); +x_1012 = lean_array_fget(x_907, x_1011); +x_1013 = lean_unsigned_to_nat(3u); +x_1014 = lean_array_fget(x_907, x_1013); +lean_dec(x_907); +x_1015 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__39; +x_1016 = l_Lean_mkApp3(x_1015, x_1012, x_1014, x_3); +x_1017 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1016, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1017; +} +else +{ +lean_object* x_1018; lean_object* x_1019; +lean_dec(x_1003); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1018 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1018, 0, x_2); +lean_ctor_set(x_1018, 1, x_999); +x_1019 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1019, 0, x_1018); +lean_ctor_set(x_1019, 1, x_13); +return x_1019; +} +} +} +else +{ +lean_dec(x_1004); +if (lean_obj_tag(x_1003) == 0) +{ +lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; +x_1020 = lean_unsigned_to_nat(2u); +x_1021 = lean_array_fget(x_907, x_1020); +x_1022 = lean_unsigned_to_nat(3u); +x_1023 = lean_array_fget(x_907, x_1022); +lean_dec(x_907); +x_1024 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__41; +x_1025 = l_Lean_mkApp3(x_1024, x_1021, x_1023, x_3); +x_1026 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1025, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1026; +} +else +{ +lean_object* x_1027; lean_object* x_1028; +lean_dec(x_1003); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1027 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1027, 0, x_2); +lean_ctor_set(x_1027, 1, x_999); +x_1028 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1028, 0, x_1027); +lean_ctor_set(x_1028, 1, x_13); +return x_1028; +} +} +} +else +{ +lean_object* x_1029; lean_object* x_1030; +lean_dec(x_1002); +lean_dec(x_1001); +lean_dec(x_1000); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1029 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1029, 0, x_2); +lean_ctor_set(x_1029, 1, x_999); +x_1030 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1030, 0, x_1029); +lean_ctor_set(x_1030, 1, x_13); +return x_1030; +} +} +else +{ +lean_object* x_1031; lean_object* x_1032; +lean_dec(x_1001); +lean_dec(x_1000); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1031 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1031, 0, x_2); +lean_ctor_set(x_1031, 1, x_999); +x_1032 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1032, 0, x_1031); +lean_ctor_set(x_1032, 1, x_13); return x_1032; } -else -{ -lean_object* x_1033; lean_object* x_1034; -lean_dec(x_1018); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1033 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1033, 0, x_2); -lean_ctor_set(x_1033, 1, x_1014); -x_1034 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1034, 0, x_1033); -lean_ctor_set(x_1034, 1, x_13); -return x_1034; -} -} -} -else -{ -lean_dec(x_1019); -if (lean_obj_tag(x_1018) == 0) -{ -lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; -x_1035 = lean_unsigned_to_nat(2u); -x_1036 = lean_array_fget(x_922, x_1035); -x_1037 = lean_unsigned_to_nat(3u); -x_1038 = lean_array_fget(x_922, x_1037); -lean_dec(x_922); -x_1039 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__41; -x_1040 = l_Lean_mkApp3(x_1039, x_1036, x_1038, x_3); -x_1041 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1040, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1041; -} -else -{ -lean_object* x_1042; lean_object* x_1043; -lean_dec(x_1018); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1042 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1042, 0, x_2); -lean_ctor_set(x_1042, 1, x_1014); -x_1043 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1043, 0, x_1042); -lean_ctor_set(x_1043, 1, x_13); -return x_1043; -} -} -} -else -{ -lean_object* x_1044; lean_object* x_1045; -lean_dec(x_1017); -lean_dec(x_1016); -lean_dec(x_1015); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1044 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1044, 0, x_2); -lean_ctor_set(x_1044, 1, x_1014); -x_1045 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1045, 0, x_1044); -lean_ctor_set(x_1045, 1, x_13); -return x_1045; -} -} -else -{ -lean_object* x_1046; lean_object* x_1047; -lean_dec(x_1016); -lean_dec(x_1015); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1046 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1046, 0, x_2); -lean_ctor_set(x_1046, 1, x_1014); -x_1047 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1047, 0, x_1046); -lean_ctor_set(x_1047, 1, x_13); -return x_1047; -} } case 5: { -lean_object* x_1048; -x_1048 = lean_ctor_get(x_1015, 0); -lean_inc(x_1048); -if (lean_obj_tag(x_1048) == 4) +lean_object* x_1033; +x_1033 = lean_ctor_get(x_1000, 0); +lean_inc(x_1033); +if (lean_obj_tag(x_1033) == 4) { -lean_object* x_1049; -x_1049 = lean_ctor_get(x_1048, 0); -lean_inc(x_1049); -if (lean_obj_tag(x_1049) == 1) +lean_object* x_1034; +x_1034 = lean_ctor_get(x_1033, 0); +lean_inc(x_1034); +if (lean_obj_tag(x_1034) == 1) { -lean_object* x_1050; -x_1050 = lean_ctor_get(x_1049, 0); -lean_inc(x_1050); -if (lean_obj_tag(x_1050) == 0) +lean_object* x_1035; +x_1035 = lean_ctor_get(x_1034, 0); +lean_inc(x_1035); +if (lean_obj_tag(x_1035) == 0) { -lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; uint8_t x_1055; -x_1051 = lean_ctor_get(x_1015, 1); -lean_inc(x_1051); -lean_dec(x_1015); -x_1052 = lean_ctor_get(x_1048, 1); -lean_inc(x_1052); -lean_dec(x_1048); -x_1053 = lean_ctor_get(x_1049, 1); -lean_inc(x_1053); -lean_dec(x_1049); -x_1054 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_1055 = lean_string_dec_eq(x_1053, x_1054); -lean_dec(x_1053); -if (x_1055 == 0) +lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; uint8_t x_1040; +x_1036 = lean_ctor_get(x_1000, 1); +lean_inc(x_1036); +lean_dec(x_1000); +x_1037 = lean_ctor_get(x_1033, 1); +lean_inc(x_1037); +lean_dec(x_1033); +x_1038 = lean_ctor_get(x_1034, 1); +lean_inc(x_1038); +lean_dec(x_1034); +x_1039 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_1040 = lean_string_dec_eq(x_1038, x_1039); +lean_dec(x_1038); +if (x_1040 == 0) +{ +lean_object* x_1041; lean_object* x_1042; +lean_dec(x_1037); +lean_dec(x_1036); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1041 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1041, 0, x_2); +lean_ctor_set(x_1041, 1, x_999); +x_1042 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1042, 0, x_1041); +lean_ctor_set(x_1042, 1, x_13); +return x_1042; +} +else +{ +if (lean_obj_tag(x_1037) == 0) +{ +lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; +x_1043 = lean_unsigned_to_nat(2u); +x_1044 = lean_array_fget(x_907, x_1043); +x_1045 = lean_unsigned_to_nat(3u); +x_1046 = lean_array_fget(x_907, x_1045); +lean_dec(x_907); +x_1047 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__44; +x_1048 = l_Lean_mkApp4(x_1047, x_1036, x_1044, x_1046, x_3); +x_1049 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1048, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1049; +} +else +{ +lean_object* x_1050; lean_object* x_1051; +lean_dec(x_1037); +lean_dec(x_1036); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1050 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1050, 0, x_2); +lean_ctor_set(x_1050, 1, x_999); +x_1051 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1051, 1, x_13); +return x_1051; +} +} +} +else +{ +lean_object* x_1052; lean_object* x_1053; +lean_dec(x_1035); +lean_dec(x_1034); +lean_dec(x_1033); +lean_dec(x_1000); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1052 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1052, 0, x_2); +lean_ctor_set(x_1052, 1, x_999); +x_1053 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1053, 0, x_1052); +lean_ctor_set(x_1053, 1, x_13); +return x_1053; +} +} +else +{ +lean_object* x_1054; lean_object* x_1055; +lean_dec(x_1034); +lean_dec(x_1033); +lean_dec(x_1000); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1054 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1054, 0, x_2); +lean_ctor_set(x_1054, 1, x_999); +x_1055 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1055, 0, x_1054); +lean_ctor_set(x_1055, 1, x_13); +return x_1055; +} +} +else { lean_object* x_1056; lean_object* x_1057; -lean_dec(x_1052); -lean_dec(x_1051); -lean_dec(x_922); +lean_dec(x_1033); +lean_dec(x_1000); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26799,83 +26757,78 @@ lean_dec(x_6); lean_dec(x_3); x_1056 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1056, 0, x_2); -lean_ctor_set(x_1056, 1, x_1014); +lean_ctor_set(x_1056, 1, x_999); x_1057 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1057, 0, x_1056); lean_ctor_set(x_1057, 1, x_13); return x_1057; } +} +default: +{ +lean_object* x_1058; lean_object* x_1059; +lean_dec(x_1000); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1058 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1058, 0, x_2); +lean_ctor_set(x_1058, 1, x_999); +x_1059 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1059, 0, x_1058); +lean_ctor_set(x_1059, 1, x_13); +return x_1059; +} +} +} +} +} +} else { -if (lean_obj_tag(x_1052) == 0) +lean_object* x_1060; uint8_t x_1061; +lean_dec(x_909); +x_1060 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__45; +x_1061 = lean_string_dec_eq(x_908, x_1060); +lean_dec(x_908); +if (x_1061 == 0) { -lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; -x_1058 = lean_unsigned_to_nat(2u); -x_1059 = lean_array_fget(x_922, x_1058); -x_1060 = lean_unsigned_to_nat(3u); -x_1061 = lean_array_fget(x_922, x_1060); -lean_dec(x_922); -x_1062 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__44; -x_1063 = l_Lean_mkApp4(x_1062, x_1051, x_1059, x_1061, x_3); -x_1064 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1063, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1062 = lean_unsigned_to_nat(0u); +x_1063 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1063, 0, x_2); +lean_ctor_set(x_1063, 1, x_1062); +x_1064 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1064, 0, x_1063); +lean_ctor_set(x_1064, 1, x_13); return x_1064; } else { -lean_object* x_1065; lean_object* x_1066; -lean_dec(x_1052); -lean_dec(x_1051); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1065 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1065, 0, x_2); -lean_ctor_set(x_1065, 1, x_1014); -x_1066 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_13); -return x_1066; -} -} -} -else +lean_object* x_1065; lean_object* x_1066; uint8_t x_1067; +x_1065 = lean_array_get_size(x_907); +x_1066 = lean_unsigned_to_nat(4u); +x_1067 = lean_nat_dec_eq(x_1065, x_1066); +lean_dec(x_1065); +if (x_1067 == 0) { -lean_object* x_1067; lean_object* x_1068; -lean_dec(x_1050); -lean_dec(x_1049); -lean_dec(x_1048); -lean_dec(x_1015); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1067 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1067, 0, x_2); -lean_ctor_set(x_1067, 1, x_1014); -x_1068 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1068, 0, x_1067); -lean_ctor_set(x_1068, 1, x_13); -return x_1068; -} -} -else -{ -lean_object* x_1069; lean_object* x_1070; -lean_dec(x_1049); -lean_dec(x_1048); -lean_dec(x_1015); -lean_dec(x_922); +lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -26884,158 +26837,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); +x_1068 = lean_unsigned_to_nat(0u); x_1069 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1069, 0, x_2); -lean_ctor_set(x_1069, 1, x_1014); +lean_ctor_set(x_1069, 1, x_1068); x_1070 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1070, 0, x_1069); lean_ctor_set(x_1070, 1, x_13); return x_1070; } -} else { lean_object* x_1071; lean_object* x_1072; -lean_dec(x_1048); -lean_dec(x_1015); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1071 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1071, 0, x_2); -lean_ctor_set(x_1071, 1, x_1014); -x_1072 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1072, 0, x_1071); -lean_ctor_set(x_1072, 1, x_13); -return x_1072; -} -} -default: -{ -lean_object* x_1073; lean_object* x_1074; -lean_dec(x_1015); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1073 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1073, 0, x_2); -lean_ctor_set(x_1073, 1, x_1014); -x_1074 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1074, 0, x_1073); -lean_ctor_set(x_1074, 1, x_13); -return x_1074; -} -} -} -} -} -} -else -{ -lean_object* x_1075; uint8_t x_1076; -lean_dec(x_924); -x_1075 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__45; -x_1076 = lean_string_dec_eq(x_923, x_1075); -lean_dec(x_923); -if (x_1076 == 0) -{ -lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1077 = lean_unsigned_to_nat(0u); -x_1078 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1078, 0, x_2); -lean_ctor_set(x_1078, 1, x_1077); -x_1079 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1079, 0, x_1078); -lean_ctor_set(x_1079, 1, x_13); -return x_1079; -} -else -{ -lean_object* x_1080; lean_object* x_1081; uint8_t x_1082; -x_1080 = lean_array_get_size(x_922); -x_1081 = lean_unsigned_to_nat(4u); -x_1082 = lean_nat_dec_eq(x_1080, x_1081); -lean_dec(x_1080); -if (x_1082 == 0) -{ -lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1083 = lean_unsigned_to_nat(0u); -x_1084 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1084, 0, x_2); -lean_ctor_set(x_1084, 1, x_1083); -x_1085 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1085, 0, x_1084); -lean_ctor_set(x_1085, 1, x_13); -return x_1085; -} -else -{ -lean_object* x_1086; lean_object* x_1087; -x_1086 = lean_unsigned_to_nat(0u); -x_1087 = lean_array_fget(x_922, x_1086); -switch (lean_obj_tag(x_1087)) { +x_1071 = lean_unsigned_to_nat(0u); +x_1072 = lean_array_fget(x_907, x_1071); +switch (lean_obj_tag(x_1072)) { case 4: { -lean_object* x_1088; -x_1088 = lean_ctor_get(x_1087, 0); -lean_inc(x_1088); -if (lean_obj_tag(x_1088) == 1) +lean_object* x_1073; +x_1073 = lean_ctor_get(x_1072, 0); +lean_inc(x_1073); +if (lean_obj_tag(x_1073) == 1) { -lean_object* x_1089; -x_1089 = lean_ctor_get(x_1088, 0); -lean_inc(x_1089); -if (lean_obj_tag(x_1089) == 0) +lean_object* x_1074; +x_1074 = lean_ctor_get(x_1073, 0); +lean_inc(x_1074); +if (lean_obj_tag(x_1074) == 0) { -lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; uint8_t x_1093; -x_1090 = lean_ctor_get(x_1087, 1); -lean_inc(x_1090); -lean_dec(x_1087); -x_1091 = lean_ctor_get(x_1088, 1); -lean_inc(x_1091); -lean_dec(x_1088); -x_1092 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_1093 = lean_string_dec_eq(x_1091, x_1092); -if (x_1093 == 0) +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; uint8_t x_1078; +x_1075 = lean_ctor_get(x_1072, 1); +lean_inc(x_1075); +lean_dec(x_1072); +x_1076 = lean_ctor_get(x_1073, 1); +lean_inc(x_1076); +lean_dec(x_1073); +x_1077 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_1078 = lean_string_dec_eq(x_1076, x_1077); +if (x_1078 == 0) { -lean_object* x_1094; uint8_t x_1095; -x_1094 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_1095 = lean_string_dec_eq(x_1091, x_1094); -lean_dec(x_1091); -if (x_1095 == 0) +lean_object* x_1079; uint8_t x_1080; +x_1079 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_1080 = lean_string_dec_eq(x_1076, x_1079); +lean_dec(x_1076); +if (x_1080 == 0) { -lean_object* x_1096; lean_object* x_1097; -lean_dec(x_1090); -lean_dec(x_922); +lean_object* x_1081; lean_object* x_1082; +lean_dec(x_1075); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27044,174 +26892,284 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1096 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1096, 0, x_2); -lean_ctor_set(x_1096, 1, x_1086); -x_1097 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1097, 0, x_1096); -lean_ctor_set(x_1097, 1, x_13); -return x_1097; +x_1081 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1081, 0, x_2); +lean_ctor_set(x_1081, 1, x_1071); +x_1082 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1082, 0, x_1081); +lean_ctor_set(x_1082, 1, x_13); +return x_1082; } else { -if (lean_obj_tag(x_1090) == 0) +if (lean_obj_tag(x_1075) == 0) { -lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; -x_1098 = lean_unsigned_to_nat(2u); -x_1099 = lean_array_fget(x_922, x_1098); -x_1100 = lean_unsigned_to_nat(3u); -x_1101 = lean_array_fget(x_922, x_1100); -lean_dec(x_922); -x_1102 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__48; -x_1103 = l_Lean_mkApp3(x_1102, x_1099, x_1101, x_3); -x_1104 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1103, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; +x_1083 = lean_unsigned_to_nat(2u); +x_1084 = lean_array_fget(x_907, x_1083); +x_1085 = lean_unsigned_to_nat(3u); +x_1086 = lean_array_fget(x_907, x_1085); +lean_dec(x_907); +x_1087 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__48; +x_1088 = l_Lean_mkApp3(x_1087, x_1084, x_1086, x_3); +x_1089 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1088, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1089; +} +else +{ +lean_object* x_1090; lean_object* x_1091; +lean_dec(x_1075); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1090 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1090, 0, x_2); +lean_ctor_set(x_1090, 1, x_1071); +x_1091 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1091, 0, x_1090); +lean_ctor_set(x_1091, 1, x_13); +return x_1091; +} +} +} +else +{ +lean_dec(x_1076); +if (lean_obj_tag(x_1075) == 0) +{ +lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; +x_1092 = lean_unsigned_to_nat(2u); +x_1093 = lean_array_fget(x_907, x_1092); +x_1094 = lean_unsigned_to_nat(3u); +x_1095 = lean_array_fget(x_907, x_1094); +lean_dec(x_907); +x_1096 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__50; +x_1097 = l_Lean_mkApp3(x_1096, x_1093, x_1095, x_3); +x_1098 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1097, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1098; +} +else +{ +lean_object* x_1099; lean_object* x_1100; +lean_dec(x_1075); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1099 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1099, 0, x_2); +lean_ctor_set(x_1099, 1, x_1071); +x_1100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1100, 0, x_1099); +lean_ctor_set(x_1100, 1, x_13); +return x_1100; +} +} +} +else +{ +lean_object* x_1101; lean_object* x_1102; +lean_dec(x_1074); +lean_dec(x_1073); +lean_dec(x_1072); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1101, 0, x_2); +lean_ctor_set(x_1101, 1, x_1071); +x_1102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1102, 0, x_1101); +lean_ctor_set(x_1102, 1, x_13); +return x_1102; +} +} +else +{ +lean_object* x_1103; lean_object* x_1104; +lean_dec(x_1073); +lean_dec(x_1072); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1103, 0, x_2); +lean_ctor_set(x_1103, 1, x_1071); +x_1104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1104, 0, x_1103); +lean_ctor_set(x_1104, 1, x_13); return x_1104; } -else -{ -lean_object* x_1105; lean_object* x_1106; -lean_dec(x_1090); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1105, 0, x_2); -lean_ctor_set(x_1105, 1, x_1086); -x_1106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1106, 0, x_1105); -lean_ctor_set(x_1106, 1, x_13); -return x_1106; -} -} -} -else -{ -lean_dec(x_1091); -if (lean_obj_tag(x_1090) == 0) -{ -lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; -x_1107 = lean_unsigned_to_nat(2u); -x_1108 = lean_array_fget(x_922, x_1107); -x_1109 = lean_unsigned_to_nat(3u); -x_1110 = lean_array_fget(x_922, x_1109); -lean_dec(x_922); -x_1111 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__50; -x_1112 = l_Lean_mkApp3(x_1111, x_1108, x_1110, x_3); -x_1113 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1112, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1113; -} -else -{ -lean_object* x_1114; lean_object* x_1115; -lean_dec(x_1090); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1114, 0, x_2); -lean_ctor_set(x_1114, 1, x_1086); -x_1115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1115, 0, x_1114); -lean_ctor_set(x_1115, 1, x_13); -return x_1115; -} -} -} -else -{ -lean_object* x_1116; lean_object* x_1117; -lean_dec(x_1089); -lean_dec(x_1088); -lean_dec(x_1087); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1116, 0, x_2); -lean_ctor_set(x_1116, 1, x_1086); -x_1117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1117, 0, x_1116); -lean_ctor_set(x_1117, 1, x_13); -return x_1117; -} -} -else -{ -lean_object* x_1118; lean_object* x_1119; -lean_dec(x_1088); -lean_dec(x_1087); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1118, 0, x_2); -lean_ctor_set(x_1118, 1, x_1086); -x_1119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1119, 0, x_1118); -lean_ctor_set(x_1119, 1, x_13); -return x_1119; -} } case 5: { -lean_object* x_1120; -x_1120 = lean_ctor_get(x_1087, 0); -lean_inc(x_1120); -if (lean_obj_tag(x_1120) == 4) +lean_object* x_1105; +x_1105 = lean_ctor_get(x_1072, 0); +lean_inc(x_1105); +if (lean_obj_tag(x_1105) == 4) { -lean_object* x_1121; -x_1121 = lean_ctor_get(x_1120, 0); -lean_inc(x_1121); -if (lean_obj_tag(x_1121) == 1) +lean_object* x_1106; +x_1106 = lean_ctor_get(x_1105, 0); +lean_inc(x_1106); +if (lean_obj_tag(x_1106) == 1) { -lean_object* x_1122; -x_1122 = lean_ctor_get(x_1121, 0); -lean_inc(x_1122); -if (lean_obj_tag(x_1122) == 0) +lean_object* x_1107; +x_1107 = lean_ctor_get(x_1106, 0); +lean_inc(x_1107); +if (lean_obj_tag(x_1107) == 0) { -lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; uint8_t x_1127; -x_1123 = lean_ctor_get(x_1087, 1); -lean_inc(x_1123); -lean_dec(x_1087); -x_1124 = lean_ctor_get(x_1120, 1); -lean_inc(x_1124); -lean_dec(x_1120); -x_1125 = lean_ctor_get(x_1121, 1); -lean_inc(x_1125); -lean_dec(x_1121); -x_1126 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_1127 = lean_string_dec_eq(x_1125, x_1126); -lean_dec(x_1125); -if (x_1127 == 0) +lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; uint8_t x_1112; +x_1108 = lean_ctor_get(x_1072, 1); +lean_inc(x_1108); +lean_dec(x_1072); +x_1109 = lean_ctor_get(x_1105, 1); +lean_inc(x_1109); +lean_dec(x_1105); +x_1110 = lean_ctor_get(x_1106, 1); +lean_inc(x_1110); +lean_dec(x_1106); +x_1111 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_1112 = lean_string_dec_eq(x_1110, x_1111); +lean_dec(x_1110); +if (x_1112 == 0) +{ +lean_object* x_1113; lean_object* x_1114; +lean_dec(x_1109); +lean_dec(x_1108); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1113, 0, x_2); +lean_ctor_set(x_1113, 1, x_1071); +x_1114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1114, 0, x_1113); +lean_ctor_set(x_1114, 1, x_13); +return x_1114; +} +else +{ +if (lean_obj_tag(x_1109) == 0) +{ +lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; +x_1115 = lean_unsigned_to_nat(2u); +x_1116 = lean_array_fget(x_907, x_1115); +x_1117 = lean_unsigned_to_nat(3u); +x_1118 = lean_array_fget(x_907, x_1117); +lean_dec(x_907); +x_1119 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__53; +x_1120 = l_Lean_mkApp4(x_1119, x_1108, x_1116, x_1118, x_3); +x_1121 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1120, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1121; +} +else +{ +lean_object* x_1122; lean_object* x_1123; +lean_dec(x_1109); +lean_dec(x_1108); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1122, 0, x_2); +lean_ctor_set(x_1122, 1, x_1071); +x_1123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1123, 0, x_1122); +lean_ctor_set(x_1123, 1, x_13); +return x_1123; +} +} +} +else +{ +lean_object* x_1124; lean_object* x_1125; +lean_dec(x_1107); +lean_dec(x_1106); +lean_dec(x_1105); +lean_dec(x_1072); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1124, 0, x_2); +lean_ctor_set(x_1124, 1, x_1071); +x_1125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1125, 0, x_1124); +lean_ctor_set(x_1125, 1, x_13); +return x_1125; +} +} +else +{ +lean_object* x_1126; lean_object* x_1127; +lean_dec(x_1106); +lean_dec(x_1105); +lean_dec(x_1072); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1126, 0, x_2); +lean_ctor_set(x_1126, 1, x_1071); +x_1127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1127, 0, x_1126); +lean_ctor_set(x_1127, 1, x_13); +return x_1127; +} +} +else { lean_object* x_1128; lean_object* x_1129; -lean_dec(x_1124); -lean_dec(x_1123); -lean_dec(x_922); +lean_dec(x_1105); +lean_dec(x_1072); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27222,83 +27180,78 @@ lean_dec(x_6); lean_dec(x_3); x_1128 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1128, 0, x_2); -lean_ctor_set(x_1128, 1, x_1086); +lean_ctor_set(x_1128, 1, x_1071); x_1129 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1129, 0, x_1128); lean_ctor_set(x_1129, 1, x_13); return x_1129; } +} +default: +{ +lean_object* x_1130; lean_object* x_1131; +lean_dec(x_1072); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1130, 0, x_2); +lean_ctor_set(x_1130, 1, x_1071); +x_1131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1131, 0, x_1130); +lean_ctor_set(x_1131, 1, x_13); +return x_1131; +} +} +} +} +} +} else { -if (lean_obj_tag(x_1124) == 0) +lean_object* x_1132; uint8_t x_1133; +lean_dec(x_909); +x_1132 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__48; +x_1133 = lean_string_dec_eq(x_908, x_1132); +lean_dec(x_908); +if (x_1133 == 0) { -lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; -x_1130 = lean_unsigned_to_nat(2u); -x_1131 = lean_array_fget(x_922, x_1130); -x_1132 = lean_unsigned_to_nat(3u); -x_1133 = lean_array_fget(x_922, x_1132); -lean_dec(x_922); -x_1134 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__53; -x_1135 = l_Lean_mkApp4(x_1134, x_1123, x_1131, x_1133, x_3); -x_1136 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1135, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1134 = lean_unsigned_to_nat(0u); +x_1135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1135, 0, x_2); +lean_ctor_set(x_1135, 1, x_1134); +x_1136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_13); return x_1136; } else { -lean_object* x_1137; lean_object* x_1138; -lean_dec(x_1124); -lean_dec(x_1123); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1137, 0, x_2); -lean_ctor_set(x_1137, 1, x_1086); -x_1138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1138, 0, x_1137); -lean_ctor_set(x_1138, 1, x_13); -return x_1138; -} -} -} -else +lean_object* x_1137; lean_object* x_1138; uint8_t x_1139; +x_1137 = lean_array_get_size(x_907); +x_1138 = lean_unsigned_to_nat(4u); +x_1139 = lean_nat_dec_eq(x_1137, x_1138); +lean_dec(x_1137); +if (x_1139 == 0) { -lean_object* x_1139; lean_object* x_1140; -lean_dec(x_1122); -lean_dec(x_1121); -lean_dec(x_1120); -lean_dec(x_1087); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1139, 0, x_2); -lean_ctor_set(x_1139, 1, x_1086); -x_1140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1140, 0, x_1139); -lean_ctor_set(x_1140, 1, x_13); -return x_1140; -} -} -else -{ -lean_object* x_1141; lean_object* x_1142; -lean_dec(x_1121); -lean_dec(x_1120); -lean_dec(x_1087); -lean_dec(x_922); +lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27307,158 +27260,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); +x_1140 = lean_unsigned_to_nat(0u); x_1141 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1141, 0, x_2); -lean_ctor_set(x_1141, 1, x_1086); +lean_ctor_set(x_1141, 1, x_1140); x_1142 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1142, 0, x_1141); lean_ctor_set(x_1142, 1, x_13); return x_1142; } -} else { lean_object* x_1143; lean_object* x_1144; -lean_dec(x_1120); -lean_dec(x_1087); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1143, 0, x_2); -lean_ctor_set(x_1143, 1, x_1086); -x_1144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1144, 0, x_1143); -lean_ctor_set(x_1144, 1, x_13); -return x_1144; -} -} -default: -{ -lean_object* x_1145; lean_object* x_1146; -lean_dec(x_1087); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1145, 0, x_2); -lean_ctor_set(x_1145, 1, x_1086); -x_1146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1146, 0, x_1145); -lean_ctor_set(x_1146, 1, x_13); -return x_1146; -} -} -} -} -} -} -else -{ -lean_object* x_1147; uint8_t x_1148; -lean_dec(x_924); -x_1147 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__48; -x_1148 = lean_string_dec_eq(x_923, x_1147); -lean_dec(x_923); -if (x_1148 == 0) -{ -lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1149 = lean_unsigned_to_nat(0u); -x_1150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1150, 0, x_2); -lean_ctor_set(x_1150, 1, x_1149); -x_1151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_13); -return x_1151; -} -else -{ -lean_object* x_1152; lean_object* x_1153; uint8_t x_1154; -x_1152 = lean_array_get_size(x_922); -x_1153 = lean_unsigned_to_nat(4u); -x_1154 = lean_nat_dec_eq(x_1152, x_1153); -lean_dec(x_1152); -if (x_1154 == 0) -{ -lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1155 = lean_unsigned_to_nat(0u); -x_1156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1156, 0, x_2); -lean_ctor_set(x_1156, 1, x_1155); -x_1157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1157, 0, x_1156); -lean_ctor_set(x_1157, 1, x_13); -return x_1157; -} -else -{ -lean_object* x_1158; lean_object* x_1159; -x_1158 = lean_unsigned_to_nat(0u); -x_1159 = lean_array_fget(x_922, x_1158); -switch (lean_obj_tag(x_1159)) { +x_1143 = lean_unsigned_to_nat(0u); +x_1144 = lean_array_fget(x_907, x_1143); +switch (lean_obj_tag(x_1144)) { case 4: { -lean_object* x_1160; -x_1160 = lean_ctor_get(x_1159, 0); -lean_inc(x_1160); -if (lean_obj_tag(x_1160) == 1) +lean_object* x_1145; +x_1145 = lean_ctor_get(x_1144, 0); +lean_inc(x_1145); +if (lean_obj_tag(x_1145) == 1) { -lean_object* x_1161; -x_1161 = lean_ctor_get(x_1160, 0); -lean_inc(x_1161); -if (lean_obj_tag(x_1161) == 0) +lean_object* x_1146; +x_1146 = lean_ctor_get(x_1145, 0); +lean_inc(x_1146); +if (lean_obj_tag(x_1146) == 0) { -lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; uint8_t x_1165; -x_1162 = lean_ctor_get(x_1159, 1); -lean_inc(x_1162); -lean_dec(x_1159); -x_1163 = lean_ctor_get(x_1160, 1); -lean_inc(x_1163); -lean_dec(x_1160); -x_1164 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_1165 = lean_string_dec_eq(x_1163, x_1164); -if (x_1165 == 0) +lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; uint8_t x_1150; +x_1147 = lean_ctor_get(x_1144, 1); +lean_inc(x_1147); +lean_dec(x_1144); +x_1148 = lean_ctor_get(x_1145, 1); +lean_inc(x_1148); +lean_dec(x_1145); +x_1149 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_1150 = lean_string_dec_eq(x_1148, x_1149); +if (x_1150 == 0) { -lean_object* x_1166; uint8_t x_1167; -x_1166 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_1167 = lean_string_dec_eq(x_1163, x_1166); -lean_dec(x_1163); -if (x_1167 == 0) +lean_object* x_1151; uint8_t x_1152; +x_1151 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_1152 = lean_string_dec_eq(x_1148, x_1151); +lean_dec(x_1148); +if (x_1152 == 0) { -lean_object* x_1168; lean_object* x_1169; -lean_dec(x_1162); -lean_dec(x_922); +lean_object* x_1153; lean_object* x_1154; +lean_dec(x_1147); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27467,174 +27315,284 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1168, 0, x_2); -lean_ctor_set(x_1168, 1, x_1158); -x_1169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1169, 0, x_1168); -lean_ctor_set(x_1169, 1, x_13); -return x_1169; +x_1153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1153, 0, x_2); +lean_ctor_set(x_1153, 1, x_1143); +x_1154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1154, 0, x_1153); +lean_ctor_set(x_1154, 1, x_13); +return x_1154; } else { -if (lean_obj_tag(x_1162) == 0) +if (lean_obj_tag(x_1147) == 0) { -lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; -x_1170 = lean_unsigned_to_nat(2u); -x_1171 = lean_array_fget(x_922, x_1170); -x_1172 = lean_unsigned_to_nat(3u); -x_1173 = lean_array_fget(x_922, x_1172); -lean_dec(x_922); -x_1174 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__56; -x_1175 = l_Lean_mkApp3(x_1174, x_1171, x_1173, x_3); -x_1176 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1175, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; +x_1155 = lean_unsigned_to_nat(2u); +x_1156 = lean_array_fget(x_907, x_1155); +x_1157 = lean_unsigned_to_nat(3u); +x_1158 = lean_array_fget(x_907, x_1157); +lean_dec(x_907); +x_1159 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__56; +x_1160 = l_Lean_mkApp3(x_1159, x_1156, x_1158, x_3); +x_1161 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1160, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1161; +} +else +{ +lean_object* x_1162; lean_object* x_1163; +lean_dec(x_1147); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1162, 0, x_2); +lean_ctor_set(x_1162, 1, x_1143); +x_1163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1163, 0, x_1162); +lean_ctor_set(x_1163, 1, x_13); +return x_1163; +} +} +} +else +{ +lean_dec(x_1148); +if (lean_obj_tag(x_1147) == 0) +{ +lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; +x_1164 = lean_unsigned_to_nat(2u); +x_1165 = lean_array_fget(x_907, x_1164); +x_1166 = lean_unsigned_to_nat(3u); +x_1167 = lean_array_fget(x_907, x_1166); +lean_dec(x_907); +x_1168 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__59; +x_1169 = l_Lean_mkApp3(x_1168, x_1165, x_1167, x_3); +x_1170 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1169, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1170; +} +else +{ +lean_object* x_1171; lean_object* x_1172; +lean_dec(x_1147); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1171, 0, x_2); +lean_ctor_set(x_1171, 1, x_1143); +x_1172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1172, 0, x_1171); +lean_ctor_set(x_1172, 1, x_13); +return x_1172; +} +} +} +else +{ +lean_object* x_1173; lean_object* x_1174; +lean_dec(x_1146); +lean_dec(x_1145); +lean_dec(x_1144); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1173, 0, x_2); +lean_ctor_set(x_1173, 1, x_1143); +x_1174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1174, 0, x_1173); +lean_ctor_set(x_1174, 1, x_13); +return x_1174; +} +} +else +{ +lean_object* x_1175; lean_object* x_1176; +lean_dec(x_1145); +lean_dec(x_1144); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1175, 0, x_2); +lean_ctor_set(x_1175, 1, x_1143); +x_1176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1176, 0, x_1175); +lean_ctor_set(x_1176, 1, x_13); return x_1176; } -else -{ -lean_object* x_1177; lean_object* x_1178; -lean_dec(x_1162); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1177, 0, x_2); -lean_ctor_set(x_1177, 1, x_1158); -x_1178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1178, 0, x_1177); -lean_ctor_set(x_1178, 1, x_13); -return x_1178; -} -} -} -else -{ -lean_dec(x_1163); -if (lean_obj_tag(x_1162) == 0) -{ -lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; -x_1179 = lean_unsigned_to_nat(2u); -x_1180 = lean_array_fget(x_922, x_1179); -x_1181 = lean_unsigned_to_nat(3u); -x_1182 = lean_array_fget(x_922, x_1181); -lean_dec(x_922); -x_1183 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__59; -x_1184 = l_Lean_mkApp3(x_1183, x_1180, x_1182, x_3); -x_1185 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1184, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1185; -} -else -{ -lean_object* x_1186; lean_object* x_1187; -lean_dec(x_1162); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1186, 0, x_2); -lean_ctor_set(x_1186, 1, x_1158); -x_1187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1187, 0, x_1186); -lean_ctor_set(x_1187, 1, x_13); -return x_1187; -} -} -} -else -{ -lean_object* x_1188; lean_object* x_1189; -lean_dec(x_1161); -lean_dec(x_1160); -lean_dec(x_1159); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1188, 0, x_2); -lean_ctor_set(x_1188, 1, x_1158); -x_1189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1189, 0, x_1188); -lean_ctor_set(x_1189, 1, x_13); -return x_1189; -} -} -else -{ -lean_object* x_1190; lean_object* x_1191; -lean_dec(x_1160); -lean_dec(x_1159); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1190, 0, x_2); -lean_ctor_set(x_1190, 1, x_1158); -x_1191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1191, 0, x_1190); -lean_ctor_set(x_1191, 1, x_13); -return x_1191; -} } case 5: { -lean_object* x_1192; -x_1192 = lean_ctor_get(x_1159, 0); -lean_inc(x_1192); -if (lean_obj_tag(x_1192) == 4) +lean_object* x_1177; +x_1177 = lean_ctor_get(x_1144, 0); +lean_inc(x_1177); +if (lean_obj_tag(x_1177) == 4) { -lean_object* x_1193; -x_1193 = lean_ctor_get(x_1192, 0); -lean_inc(x_1193); -if (lean_obj_tag(x_1193) == 1) +lean_object* x_1178; +x_1178 = lean_ctor_get(x_1177, 0); +lean_inc(x_1178); +if (lean_obj_tag(x_1178) == 1) { -lean_object* x_1194; -x_1194 = lean_ctor_get(x_1193, 0); -lean_inc(x_1194); -if (lean_obj_tag(x_1194) == 0) +lean_object* x_1179; +x_1179 = lean_ctor_get(x_1178, 0); +lean_inc(x_1179); +if (lean_obj_tag(x_1179) == 0) { -lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; uint8_t x_1199; -x_1195 = lean_ctor_get(x_1159, 1); -lean_inc(x_1195); -lean_dec(x_1159); -x_1196 = lean_ctor_get(x_1192, 1); -lean_inc(x_1196); -lean_dec(x_1192); -x_1197 = lean_ctor_get(x_1193, 1); -lean_inc(x_1197); -lean_dec(x_1193); -x_1198 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_1199 = lean_string_dec_eq(x_1197, x_1198); -lean_dec(x_1197); -if (x_1199 == 0) +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; uint8_t x_1184; +x_1180 = lean_ctor_get(x_1144, 1); +lean_inc(x_1180); +lean_dec(x_1144); +x_1181 = lean_ctor_get(x_1177, 1); +lean_inc(x_1181); +lean_dec(x_1177); +x_1182 = lean_ctor_get(x_1178, 1); +lean_inc(x_1182); +lean_dec(x_1178); +x_1183 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_1184 = lean_string_dec_eq(x_1182, x_1183); +lean_dec(x_1182); +if (x_1184 == 0) +{ +lean_object* x_1185; lean_object* x_1186; +lean_dec(x_1181); +lean_dec(x_1180); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1185, 0, x_2); +lean_ctor_set(x_1185, 1, x_1143); +x_1186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1186, 0, x_1185); +lean_ctor_set(x_1186, 1, x_13); +return x_1186; +} +else +{ +if (lean_obj_tag(x_1181) == 0) +{ +lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; +x_1187 = lean_unsigned_to_nat(2u); +x_1188 = lean_array_fget(x_907, x_1187); +x_1189 = lean_unsigned_to_nat(3u); +x_1190 = lean_array_fget(x_907, x_1189); +lean_dec(x_907); +x_1191 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__62; +x_1192 = l_Lean_mkApp4(x_1191, x_1180, x_1188, x_1190, x_3); +x_1193 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1192, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1193; +} +else +{ +lean_object* x_1194; lean_object* x_1195; +lean_dec(x_1181); +lean_dec(x_1180); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1194, 0, x_2); +lean_ctor_set(x_1194, 1, x_1143); +x_1195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1195, 0, x_1194); +lean_ctor_set(x_1195, 1, x_13); +return x_1195; +} +} +} +else +{ +lean_object* x_1196; lean_object* x_1197; +lean_dec(x_1179); +lean_dec(x_1178); +lean_dec(x_1177); +lean_dec(x_1144); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1196, 0, x_2); +lean_ctor_set(x_1196, 1, x_1143); +x_1197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1197, 0, x_1196); +lean_ctor_set(x_1197, 1, x_13); +return x_1197; +} +} +else +{ +lean_object* x_1198; lean_object* x_1199; +lean_dec(x_1178); +lean_dec(x_1177); +lean_dec(x_1144); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1198, 0, x_2); +lean_ctor_set(x_1198, 1, x_1143); +x_1199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1199, 0, x_1198); +lean_ctor_set(x_1199, 1, x_13); +return x_1199; +} +} +else { lean_object* x_1200; lean_object* x_1201; -lean_dec(x_1196); -lean_dec(x_1195); -lean_dec(x_922); +lean_dec(x_1177); +lean_dec(x_1144); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27645,83 +27603,78 @@ lean_dec(x_6); lean_dec(x_3); x_1200 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1200, 0, x_2); -lean_ctor_set(x_1200, 1, x_1158); +lean_ctor_set(x_1200, 1, x_1143); x_1201 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1201, 0, x_1200); lean_ctor_set(x_1201, 1, x_13); return x_1201; } +} +default: +{ +lean_object* x_1202; lean_object* x_1203; +lean_dec(x_1144); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1202, 0, x_2); +lean_ctor_set(x_1202, 1, x_1143); +x_1203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1203, 0, x_1202); +lean_ctor_set(x_1203, 1, x_13); +return x_1203; +} +} +} +} +} +} else { -if (lean_obj_tag(x_1196) == 0) +lean_object* x_1204; uint8_t x_1205; +lean_dec(x_909); +x_1204 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__40; +x_1205 = lean_string_dec_eq(x_908, x_1204); +lean_dec(x_908); +if (x_1205 == 0) { -lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; -x_1202 = lean_unsigned_to_nat(2u); -x_1203 = lean_array_fget(x_922, x_1202); -x_1204 = lean_unsigned_to_nat(3u); -x_1205 = lean_array_fget(x_922, x_1204); -lean_dec(x_922); -x_1206 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__62; -x_1207 = l_Lean_mkApp4(x_1206, x_1195, x_1203, x_1205, x_3); -x_1208 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1207, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1206 = lean_unsigned_to_nat(0u); +x_1207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1207, 0, x_2); +lean_ctor_set(x_1207, 1, x_1206); +x_1208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1208, 0, x_1207); +lean_ctor_set(x_1208, 1, x_13); return x_1208; } else { -lean_object* x_1209; lean_object* x_1210; -lean_dec(x_1196); -lean_dec(x_1195); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1209, 0, x_2); -lean_ctor_set(x_1209, 1, x_1158); -x_1210 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1210, 0, x_1209); -lean_ctor_set(x_1210, 1, x_13); -return x_1210; -} -} -} -else +lean_object* x_1209; lean_object* x_1210; uint8_t x_1211; +x_1209 = lean_array_get_size(x_907); +x_1210 = lean_unsigned_to_nat(4u); +x_1211 = lean_nat_dec_eq(x_1209, x_1210); +lean_dec(x_1209); +if (x_1211 == 0) { -lean_object* x_1211; lean_object* x_1212; -lean_dec(x_1194); -lean_dec(x_1193); -lean_dec(x_1192); -lean_dec(x_1159); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1211, 0, x_2); -lean_ctor_set(x_1211, 1, x_1158); -x_1212 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1212, 0, x_1211); -lean_ctor_set(x_1212, 1, x_13); -return x_1212; -} -} -else -{ -lean_object* x_1213; lean_object* x_1214; -lean_dec(x_1193); -lean_dec(x_1192); -lean_dec(x_1159); -lean_dec(x_922); +lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27730,158 +27683,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); +x_1212 = lean_unsigned_to_nat(0u); x_1213 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1213, 0, x_2); -lean_ctor_set(x_1213, 1, x_1158); +lean_ctor_set(x_1213, 1, x_1212); x_1214 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1214, 0, x_1213); lean_ctor_set(x_1214, 1, x_13); return x_1214; } -} else { lean_object* x_1215; lean_object* x_1216; -lean_dec(x_1192); -lean_dec(x_1159); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1215 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1215, 0, x_2); -lean_ctor_set(x_1215, 1, x_1158); -x_1216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1216, 0, x_1215); -lean_ctor_set(x_1216, 1, x_13); -return x_1216; -} -} -default: -{ -lean_object* x_1217; lean_object* x_1218; -lean_dec(x_1159); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1217, 0, x_2); -lean_ctor_set(x_1217, 1, x_1158); -x_1218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1218, 0, x_1217); -lean_ctor_set(x_1218, 1, x_13); -return x_1218; -} -} -} -} -} -} -else -{ -lean_object* x_1219; uint8_t x_1220; -lean_dec(x_924); -x_1219 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__40; -x_1220 = lean_string_dec_eq(x_923, x_1219); -lean_dec(x_923); -if (x_1220 == 0) -{ -lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1221 = lean_unsigned_to_nat(0u); -x_1222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1222, 0, x_2); -lean_ctor_set(x_1222, 1, x_1221); -x_1223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1223, 0, x_1222); -lean_ctor_set(x_1223, 1, x_13); -return x_1223; -} -else -{ -lean_object* x_1224; lean_object* x_1225; uint8_t x_1226; -x_1224 = lean_array_get_size(x_922); -x_1225 = lean_unsigned_to_nat(4u); -x_1226 = lean_nat_dec_eq(x_1224, x_1225); -lean_dec(x_1224); -if (x_1226 == 0) -{ -lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1227 = lean_unsigned_to_nat(0u); -x_1228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1228, 0, x_2); -lean_ctor_set(x_1228, 1, x_1227); -x_1229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1229, 0, x_1228); -lean_ctor_set(x_1229, 1, x_13); -return x_1229; -} -else -{ -lean_object* x_1230; lean_object* x_1231; -x_1230 = lean_unsigned_to_nat(0u); -x_1231 = lean_array_fget(x_922, x_1230); -switch (lean_obj_tag(x_1231)) { +x_1215 = lean_unsigned_to_nat(0u); +x_1216 = lean_array_fget(x_907, x_1215); +switch (lean_obj_tag(x_1216)) { case 4: { -lean_object* x_1232; -x_1232 = lean_ctor_get(x_1231, 0); -lean_inc(x_1232); -if (lean_obj_tag(x_1232) == 1) +lean_object* x_1217; +x_1217 = lean_ctor_get(x_1216, 0); +lean_inc(x_1217); +if (lean_obj_tag(x_1217) == 1) { -lean_object* x_1233; -x_1233 = lean_ctor_get(x_1232, 0); -lean_inc(x_1233); -if (lean_obj_tag(x_1233) == 0) +lean_object* x_1218; +x_1218 = lean_ctor_get(x_1217, 0); +lean_inc(x_1218); +if (lean_obj_tag(x_1218) == 0) { -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; uint8_t x_1237; -x_1234 = lean_ctor_get(x_1231, 1); -lean_inc(x_1234); -lean_dec(x_1231); -x_1235 = lean_ctor_get(x_1232, 1); -lean_inc(x_1235); -lean_dec(x_1232); -x_1236 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; -x_1237 = lean_string_dec_eq(x_1235, x_1236); -if (x_1237 == 0) +lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; uint8_t x_1222; +x_1219 = lean_ctor_get(x_1216, 1); +lean_inc(x_1219); +lean_dec(x_1216); +x_1220 = lean_ctor_get(x_1217, 1); +lean_inc(x_1220); +lean_dec(x_1217); +x_1221 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__9; +x_1222 = lean_string_dec_eq(x_1220, x_1221); +if (x_1222 == 0) { -lean_object* x_1238; uint8_t x_1239; -x_1238 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; -x_1239 = lean_string_dec_eq(x_1235, x_1238); -lean_dec(x_1235); -if (x_1239 == 0) +lean_object* x_1223; uint8_t x_1224; +x_1223 = l_Lean_Elab_Tactic_Omega_succ_x3f___closed__1; +x_1224 = lean_string_dec_eq(x_1220, x_1223); +lean_dec(x_1220); +if (x_1224 == 0) { -lean_object* x_1240; lean_object* x_1241; -lean_dec(x_1234); -lean_dec(x_922); +lean_object* x_1225; lean_object* x_1226; +lean_dec(x_1219); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27890,34 +27738,34 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1240, 0, x_2); -lean_ctor_set(x_1240, 1, x_1230); -x_1241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1241, 0, x_1240); -lean_ctor_set(x_1241, 1, x_13); -return x_1241; +x_1225 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1225, 0, x_2); +lean_ctor_set(x_1225, 1, x_1215); +x_1226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1226, 0, x_1225); +lean_ctor_set(x_1226, 1, x_13); +return x_1226; } else { -if (lean_obj_tag(x_1234) == 0) +if (lean_obj_tag(x_1219) == 0) { -lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; -x_1242 = lean_unsigned_to_nat(2u); -x_1243 = lean_array_fget(x_922, x_1242); -x_1244 = lean_unsigned_to_nat(3u); -x_1245 = lean_array_fget(x_922, x_1244); -lean_dec(x_922); -x_1246 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__65; -x_1247 = l_Lean_mkApp3(x_1246, x_1243, x_1245, x_3); -x_1248 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1247, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1248; +lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; +x_1227 = lean_unsigned_to_nat(2u); +x_1228 = lean_array_fget(x_907, x_1227); +x_1229 = lean_unsigned_to_nat(3u); +x_1230 = lean_array_fget(x_907, x_1229); +lean_dec(x_907); +x_1231 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__65; +x_1232 = l_Lean_mkApp3(x_1231, x_1228, x_1230, x_3); +x_1233 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1232, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1233; } else { -lean_object* x_1249; lean_object* x_1250; -lean_dec(x_1234); -lean_dec(x_922); +lean_object* x_1234; lean_object* x_1235; +lean_dec(x_1219); +lean_dec(x_907); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -27926,236 +27774,424 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1249, 0, x_2); -lean_ctor_set(x_1249, 1, x_1230); -x_1250 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1250, 0, x_1249); -lean_ctor_set(x_1250, 1, x_13); -return x_1250; +x_1234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1234, 0, x_2); +lean_ctor_set(x_1234, 1, x_1215); +x_1235 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1235, 0, x_1234); +lean_ctor_set(x_1235, 1, x_13); +return x_1235; } } } else { -lean_dec(x_1235); -if (lean_obj_tag(x_1234) == 0) +lean_dec(x_1220); +if (lean_obj_tag(x_1219) == 0) { -lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; -x_1251 = lean_unsigned_to_nat(2u); -x_1252 = lean_array_fget(x_922, x_1251); -x_1253 = lean_unsigned_to_nat(3u); -x_1254 = lean_array_fget(x_922, x_1253); -lean_dec(x_922); +lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; +x_1236 = lean_unsigned_to_nat(2u); +x_1237 = lean_array_fget(x_907, x_1236); +x_1238 = lean_unsigned_to_nat(3u); +x_1239 = lean_array_fget(x_907, x_1238); +lean_dec(x_907); +lean_inc(x_1237); +x_1240 = l_Lean_Expr_int_x3f(x_1237); +if (lean_obj_tag(x_1240) == 0) +{ +lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; +x_1241 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; +x_1242 = l_Lean_mkApp3(x_1241, x_1239, x_1237, x_3); +x_1243 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1242, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1243; +} +else +{ +lean_object* x_1244; lean_object* x_1245; uint8_t x_1246; +x_1244 = lean_ctor_get(x_1240, 0); +lean_inc(x_1244); +lean_dec(x_1240); +x_1245 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; +x_1246 = lean_int_dec_eq(x_1244, x_1245); +lean_dec(x_1244); +if (x_1246 == 0) +{ +lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; +x_1247 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; +x_1248 = l_Lean_mkApp3(x_1247, x_1239, x_1237, x_3); +x_1249 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1248, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1249; +} +else +{ +lean_object* x_1250; +lean_dec(x_1237); +x_1250 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality(x_2, x_3, x_1239, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_1250) == 0) +{ +lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; +x_1251 = lean_ctor_get(x_1250, 0); +lean_inc(x_1251); +x_1252 = lean_ctor_get(x_1250, 1); lean_inc(x_1252); -x_1255 = l_Lean_Expr_int_x3f(x_1252); -if (lean_obj_tag(x_1255) == 0) -{ -lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; -x_1256 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_1257 = l_Lean_mkApp3(x_1256, x_1254, x_1252, x_3); -x_1258 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1257, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1258; +if (lean_is_exclusive(x_1250)) { + lean_ctor_release(x_1250, 0); + lean_ctor_release(x_1250, 1); + x_1253 = x_1250; +} else { + lean_dec_ref(x_1250); + x_1253 = lean_box(0); +} +x_1254 = lean_unsigned_to_nat(1u); +x_1255 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1255, 0, x_1251); +lean_ctor_set(x_1255, 1, x_1254); +if (lean_is_scalar(x_1253)) { + x_1256 = lean_alloc_ctor(0, 2, 0); +} else { + x_1256 = x_1253; +} +lean_ctor_set(x_1256, 0, x_1255); +lean_ctor_set(x_1256, 1, x_1252); +return x_1256; } else { -lean_object* x_1259; lean_object* x_1260; uint8_t x_1261; -x_1259 = lean_ctor_get(x_1255, 0); -lean_inc(x_1259); -lean_dec(x_1255); -x_1260 = l_Lean_Elab_Tactic_Omega_mkEvalRflProof___closed__8; -x_1261 = lean_int_dec_lt(x_1259, x_1260); -if (x_1261 == 0) +lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; +x_1257 = lean_ctor_get(x_1250, 0); +lean_inc(x_1257); +x_1258 = lean_ctor_get(x_1250, 1); +lean_inc(x_1258); +if (lean_is_exclusive(x_1250)) { + lean_ctor_release(x_1250, 0); + lean_ctor_release(x_1250, 1); + x_1259 = x_1250; +} else { + lean_dec_ref(x_1250); + x_1259 = lean_box(0); +} +if (lean_is_scalar(x_1259)) { + x_1260 = lean_alloc_ctor(1, 2, 0); +} else { + x_1260 = x_1259; +} +lean_ctor_set(x_1260, 0, x_1257); +lean_ctor_set(x_1260, 1, x_1258); +return x_1260; +} +} +} +} +else { -lean_object* x_1262; uint8_t x_1263; -x_1262 = lean_nat_abs(x_1259); -lean_dec(x_1259); -x_1263 = lean_nat_dec_eq(x_1262, x_1230); -lean_dec(x_1262); -if (x_1263 == 0) +lean_object* x_1261; lean_object* x_1262; +lean_dec(x_1219); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1261 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1261, 0, x_2); +lean_ctor_set(x_1261, 1, x_1215); +x_1262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1262, 0, x_1261); +lean_ctor_set(x_1262, 1, x_13); +return x_1262; +} +} +} +else { -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; -x_1264 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_1265 = l_Lean_mkApp3(x_1264, x_1254, x_1252, x_3); -x_1266 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1265, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_1263; lean_object* x_1264; +lean_dec(x_1218); +lean_dec(x_1217); +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1263, 0, x_2); +lean_ctor_set(x_1263, 1, x_1215); +x_1264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1264, 0, x_1263); +lean_ctor_set(x_1264, 1, x_13); +return x_1264; +} +} +else +{ +lean_object* x_1265; lean_object* x_1266; +lean_dec(x_1217); +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1265, 0, x_2); +lean_ctor_set(x_1265, 1, x_1215); +x_1266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1266, 0, x_1265); +lean_ctor_set(x_1266, 1, x_13); return x_1266; } -else -{ -lean_object* x_1267; -lean_dec(x_1252); -x_1267 = l_Lean_Elab_Tactic_Omega_MetaProblem_addIntInequality(x_2, x_3, x_1254, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_1267) == 0) -{ -lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; -x_1268 = lean_ctor_get(x_1267, 0); -lean_inc(x_1268); -x_1269 = lean_ctor_get(x_1267, 1); -lean_inc(x_1269); -if (lean_is_exclusive(x_1267)) { - lean_ctor_release(x_1267, 0); - lean_ctor_release(x_1267, 1); - x_1270 = x_1267; -} else { - lean_dec_ref(x_1267); - x_1270 = lean_box(0); -} -x_1271 = lean_unsigned_to_nat(1u); -x_1272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1272, 0, x_1268); -lean_ctor_set(x_1272, 1, x_1271); -if (lean_is_scalar(x_1270)) { - x_1273 = lean_alloc_ctor(0, 2, 0); -} else { - x_1273 = x_1270; -} -lean_ctor_set(x_1273, 0, x_1272); -lean_ctor_set(x_1273, 1, x_1269); -return x_1273; -} -else -{ -lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; -x_1274 = lean_ctor_get(x_1267, 0); -lean_inc(x_1274); -x_1275 = lean_ctor_get(x_1267, 1); -lean_inc(x_1275); -if (lean_is_exclusive(x_1267)) { - lean_ctor_release(x_1267, 0); - lean_ctor_release(x_1267, 1); - x_1276 = x_1267; -} else { - lean_dec_ref(x_1267); - x_1276 = lean_box(0); -} -if (lean_is_scalar(x_1276)) { - x_1277 = lean_alloc_ctor(1, 2, 0); -} else { - x_1277 = x_1276; -} -lean_ctor_set(x_1277, 0, x_1274); -lean_ctor_set(x_1277, 1, x_1275); -return x_1277; -} -} -} -else -{ -lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; -lean_dec(x_1259); -x_1278 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__68; -x_1279 = l_Lean_mkApp3(x_1278, x_1254, x_1252, x_3); -x_1280 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1279, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1280; -} -} -} -else -{ -lean_object* x_1281; lean_object* x_1282; -lean_dec(x_1234); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1281, 0, x_2); -lean_ctor_set(x_1281, 1, x_1230); -x_1282 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1282, 0, x_1281); -lean_ctor_set(x_1282, 1, x_13); -return x_1282; -} -} -} -else -{ -lean_object* x_1283; lean_object* x_1284; -lean_dec(x_1233); -lean_dec(x_1232); -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1283, 0, x_2); -lean_ctor_set(x_1283, 1, x_1230); -x_1284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1284, 0, x_1283); -lean_ctor_set(x_1284, 1, x_13); -return x_1284; -} -} -else -{ -lean_object* x_1285; lean_object* x_1286; -lean_dec(x_1232); -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1285, 0, x_2); -lean_ctor_set(x_1285, 1, x_1230); -x_1286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1286, 0, x_1285); -lean_ctor_set(x_1286, 1, x_13); -return x_1286; -} } case 5: { -lean_object* x_1287; -x_1287 = lean_ctor_get(x_1231, 0); -lean_inc(x_1287); -if (lean_obj_tag(x_1287) == 4) +lean_object* x_1267; +x_1267 = lean_ctor_get(x_1216, 0); +lean_inc(x_1267); +if (lean_obj_tag(x_1267) == 4) { -lean_object* x_1288; -x_1288 = lean_ctor_get(x_1287, 0); -lean_inc(x_1288); -if (lean_obj_tag(x_1288) == 1) +lean_object* x_1268; +x_1268 = lean_ctor_get(x_1267, 0); +lean_inc(x_1268); +if (lean_obj_tag(x_1268) == 1) { -lean_object* x_1289; -x_1289 = lean_ctor_get(x_1288, 0); -lean_inc(x_1289); -if (lean_obj_tag(x_1289) == 0) +lean_object* x_1269; +x_1269 = lean_ctor_get(x_1268, 0); +lean_inc(x_1269); +if (lean_obj_tag(x_1269) == 0) { -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; uint8_t x_1294; -x_1290 = lean_ctor_get(x_1231, 1); -lean_inc(x_1290); -lean_dec(x_1231); -x_1291 = lean_ctor_get(x_1287, 1); -lean_inc(x_1291); -lean_dec(x_1287); -x_1292 = lean_ctor_get(x_1288, 1); -lean_inc(x_1292); -lean_dec(x_1288); -x_1293 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; -x_1294 = lean_string_dec_eq(x_1292, x_1293); -lean_dec(x_1292); +lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; uint8_t x_1274; +x_1270 = lean_ctor_get(x_1216, 1); +lean_inc(x_1270); +lean_dec(x_1216); +x_1271 = lean_ctor_get(x_1267, 1); +lean_inc(x_1271); +lean_dec(x_1267); +x_1272 = lean_ctor_get(x_1268, 1); +lean_inc(x_1272); +lean_dec(x_1268); +x_1273 = l_Lean_Elab_Tactic_Omega_asLinearComboImpl_handleNatCast___closed__4; +x_1274 = lean_string_dec_eq(x_1272, x_1273); +lean_dec(x_1272); +if (x_1274 == 0) +{ +lean_object* x_1275; lean_object* x_1276; +lean_dec(x_1271); +lean_dec(x_1270); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1275, 0, x_2); +lean_ctor_set(x_1275, 1, x_1215); +x_1276 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1276, 0, x_1275); +lean_ctor_set(x_1276, 1, x_13); +return x_1276; +} +else +{ +if (lean_obj_tag(x_1271) == 0) +{ +lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; +x_1277 = lean_unsigned_to_nat(2u); +x_1278 = lean_array_fget(x_907, x_1277); +x_1279 = lean_unsigned_to_nat(3u); +x_1280 = lean_array_fget(x_907, x_1279); +lean_dec(x_907); +x_1281 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__71; +x_1282 = l_Lean_mkApp4(x_1281, x_1270, x_1278, x_1280, x_3); +x_1283 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1282, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_1283; +} +else +{ +lean_object* x_1284; lean_object* x_1285; +lean_dec(x_1271); +lean_dec(x_1270); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1284, 0, x_2); +lean_ctor_set(x_1284, 1, x_1215); +x_1285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1285, 0, x_1284); +lean_ctor_set(x_1285, 1, x_13); +return x_1285; +} +} +} +else +{ +lean_object* x_1286; lean_object* x_1287; +lean_dec(x_1269); +lean_dec(x_1268); +lean_dec(x_1267); +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1286, 0, x_2); +lean_ctor_set(x_1286, 1, x_1215); +x_1287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1287, 0, x_1286); +lean_ctor_set(x_1287, 1, x_13); +return x_1287; +} +} +else +{ +lean_object* x_1288; lean_object* x_1289; +lean_dec(x_1268); +lean_dec(x_1267); +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1288, 0, x_2); +lean_ctor_set(x_1288, 1, x_1215); +x_1289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1289, 0, x_1288); +lean_ctor_set(x_1289, 1, x_13); +return x_1289; +} +} +else +{ +lean_object* x_1290; lean_object* x_1291; +lean_dec(x_1267); +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1290, 0, x_2); +lean_ctor_set(x_1290, 1, x_1215); +x_1291 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1291, 0, x_1290); +lean_ctor_set(x_1291, 1, x_13); +return x_1291; +} +} +default: +{ +lean_object* x_1292; lean_object* x_1293; +lean_dec(x_1216); +lean_dec(x_907); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1292, 0, x_2); +lean_ctor_set(x_1292, 1, x_1215); +x_1293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1293, 0, x_1292); +lean_ctor_set(x_1293, 1, x_13); +return x_1293; +} +} +} +} +} +} +} +else +{ +uint8_t x_1294; +lean_dec(x_578); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1294 = !lean_is_exclusive(x_14); if (x_1294 == 0) { -lean_object* x_1295; lean_object* x_1296; -lean_dec(x_1291); -lean_dec(x_1290); -lean_dec(x_922); +lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; +x_1295 = lean_ctor_get(x_14, 1); +lean_dec(x_1295); +x_1296 = lean_ctor_get(x_14, 0); +lean_dec(x_1296); +x_1297 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_1297); +lean_ctor_set(x_14, 0, x_2); +x_1298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1298, 0, x_14); +lean_ctor_set(x_1298, 1, x_13); +return x_1298; +} +else +{ +lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; +lean_dec(x_14); +x_1299 = lean_unsigned_to_nat(0u); +x_1300 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1300, 0, x_2); +lean_ctor_set(x_1300, 1, x_1299); +x_1301 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1301, 0, x_1300); +lean_ctor_set(x_1301, 1, x_13); +return x_1301; +} +} +} +default: +{ +uint8_t x_1302; +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -28163,202 +28199,43 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_4); lean_dec(x_3); -x_1295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1295, 0, x_2); -lean_ctor_set(x_1295, 1, x_1230); -x_1296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1296, 0, x_1295); -lean_ctor_set(x_1296, 1, x_13); -return x_1296; -} -else +x_1302 = !lean_is_exclusive(x_14); +if (x_1302 == 0) { -if (lean_obj_tag(x_1291) == 0) -{ -lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; -x_1297 = lean_unsigned_to_nat(2u); -x_1298 = lean_array_fget(x_922, x_1297); -x_1299 = lean_unsigned_to_nat(3u); -x_1300 = lean_array_fget(x_922, x_1299); -lean_dec(x_922); -x_1301 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__71; -x_1302 = l_Lean_mkApp4(x_1301, x_1290, x_1298, x_1300, x_3); -x_1303 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1302, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_1303; -} -else -{ -lean_object* x_1304; lean_object* x_1305; -lean_dec(x_1291); -lean_dec(x_1290); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1304, 0, x_2); -lean_ctor_set(x_1304, 1, x_1230); -x_1305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1305, 0, x_1304); -lean_ctor_set(x_1305, 1, x_13); -return x_1305; -} -} -} -else -{ -lean_object* x_1306; lean_object* x_1307; -lean_dec(x_1289); -lean_dec(x_1288); -lean_dec(x_1287); -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); +lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; +x_1303 = lean_ctor_get(x_14, 1); +lean_dec(x_1303); +x_1304 = lean_ctor_get(x_14, 0); +lean_dec(x_1304); +x_1305 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_1305); +lean_ctor_set(x_14, 0, x_2); x_1306 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1306, 0, x_2); -lean_ctor_set(x_1306, 1, x_1230); -x_1307 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1307, 0, x_1306); -lean_ctor_set(x_1307, 1, x_13); -return x_1307; -} +lean_ctor_set(x_1306, 0, x_14); +lean_ctor_set(x_1306, 1, x_13); +return x_1306; } else { -lean_object* x_1308; lean_object* x_1309; -lean_dec(x_1288); -lean_dec(x_1287); -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); +lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; +lean_dec(x_14); +x_1307 = lean_unsigned_to_nat(0u); x_1308 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1308, 0, x_2); -lean_ctor_set(x_1308, 1, x_1230); +lean_ctor_set(x_1308, 1, x_1307); x_1309 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1309, 0, x_1308); lean_ctor_set(x_1309, 1, x_13); return x_1309; } } -else -{ -lean_object* x_1310; lean_object* x_1311; -lean_dec(x_1287); -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1310, 0, x_2); -lean_ctor_set(x_1310, 1, x_1230); -x_1311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1311, 0, x_1310); -lean_ctor_set(x_1311, 1, x_13); -return x_1311; -} -} -default: -{ -lean_object* x_1312; lean_object* x_1313; -lean_dec(x_1231); -lean_dec(x_922); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1312 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1312, 0, x_2); -lean_ctor_set(x_1312, 1, x_1230); -x_1313 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1313, 0, x_1312); -lean_ctor_set(x_1313, 1, x_13); -return x_1313; -} -} -} -} -} } } else { -uint8_t x_1314; -lean_dec(x_588); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1314 = !lean_is_exclusive(x_14); -if (x_1314 == 0) -{ -lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; -x_1315 = lean_ctor_get(x_14, 1); -lean_dec(x_1315); -x_1316 = lean_ctor_get(x_14, 0); -lean_dec(x_1316); -x_1317 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_1317); -lean_ctor_set(x_14, 0, x_2); -x_1318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1318, 0, x_14); -lean_ctor_set(x_1318, 1, x_13); -return x_1318; -} -else -{ -lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; -lean_dec(x_14); -x_1319 = lean_unsigned_to_nat(0u); -x_1320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1320, 0, x_2); -lean_ctor_set(x_1320, 1, x_1319); -x_1321 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1321, 0, x_1320); -lean_ctor_set(x_1321, 1, x_13); -return x_1321; -} -} -} -default: -{ -uint8_t x_1322; -lean_dec(x_16); +uint8_t x_1310; lean_dec(x_15); lean_dec(x_12); lean_dec(x_11); @@ -28369,121 +28246,76 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_1322 = !lean_is_exclusive(x_14); -if (x_1322 == 0) +x_1310 = !lean_is_exclusive(x_14); +if (x_1310 == 0) { -lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; -x_1323 = lean_ctor_get(x_14, 1); -lean_dec(x_1323); -x_1324 = lean_ctor_get(x_14, 0); -lean_dec(x_1324); -x_1325 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_1325); +lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; +x_1311 = lean_ctor_get(x_14, 1); +lean_dec(x_1311); +x_1312 = lean_ctor_get(x_14, 0); +lean_dec(x_1312); +x_1313 = lean_unsigned_to_nat(0u); +lean_ctor_set(x_14, 1, x_1313); lean_ctor_set(x_14, 0, x_2); -x_1326 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1326, 0, x_14); -lean_ctor_set(x_1326, 1, x_13); -return x_1326; +x_1314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1314, 0, x_14); +lean_ctor_set(x_1314, 1, x_13); +return x_1314; } else { -lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; +lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_dec(x_14); -x_1327 = lean_unsigned_to_nat(0u); -x_1328 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1328, 0, x_2); -lean_ctor_set(x_1328, 1, x_1327); -x_1329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1329, 0, x_1328); -lean_ctor_set(x_1329, 1, x_13); -return x_1329; -} -} -} -} -else -{ -uint8_t x_1330; -lean_dec(x_15); -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_4); -lean_dec(x_3); -x_1330 = !lean_is_exclusive(x_14); -if (x_1330 == 0) -{ -lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; -x_1331 = lean_ctor_get(x_14, 1); -lean_dec(x_1331); -x_1332 = lean_ctor_get(x_14, 0); -lean_dec(x_1332); -x_1333 = lean_unsigned_to_nat(0u); -lean_ctor_set(x_14, 1, x_1333); -lean_ctor_set(x_14, 0, x_2); -x_1334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1334, 0, x_14); -lean_ctor_set(x_1334, 1, x_13); -return x_1334; -} -else -{ -lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; -lean_dec(x_14); -x_1335 = lean_unsigned_to_nat(0u); -x_1336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1336, 0, x_2); -lean_ctor_set(x_1336, 1, x_1335); -x_1337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1337, 0, x_1336); -lean_ctor_set(x_1337, 1, x_13); -return x_1337; +x_1315 = lean_unsigned_to_nat(0u); +x_1316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1316, 0, x_2); +lean_ctor_set(x_1316, 1, x_1315); +x_1317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1317, 0, x_1316); +lean_ctor_set(x_1317, 1, x_13); +return x_1317; } } } case 7: { -lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; +lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_dec(x_4); -x_1338 = lean_ctor_get(x_1, 1); -lean_inc(x_1338); -x_1339 = lean_ctor_get(x_1, 2); -lean_inc(x_1339); +x_1318 = lean_ctor_get(x_1, 1); +lean_inc(x_1318); +x_1319 = lean_ctor_get(x_1, 2); +lean_inc(x_1319); lean_dec(x_1); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_1338); -x_1340 = l_Lean_Meta_isProp(x_1338, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_1340) == 0) +lean_inc(x_1318); +x_1320 = l_Lean_Meta_isProp(x_1318, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_1320) == 0) { -lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; -x_1341 = lean_ctor_get(x_1340, 0); -lean_inc(x_1341); -x_1342 = lean_ctor_get(x_1340, 1); -lean_inc(x_1342); -lean_dec(x_1340); +lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; +x_1321 = lean_ctor_get(x_1320, 0); +lean_inc(x_1321); +x_1322 = lean_ctor_get(x_1320, 1); +lean_inc(x_1322); +lean_dec(x_1320); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_1339); -x_1343 = l_Lean_Meta_isProp(x_1339, x_9, x_10, x_11, x_12, x_1342); -if (lean_obj_tag(x_1343) == 0) +lean_inc(x_1319); +x_1323 = l_Lean_Meta_isProp(x_1319, x_9, x_10, x_11, x_12, x_1322); +if (lean_obj_tag(x_1323) == 0) { -uint8_t x_1344; -x_1344 = lean_unbox(x_1341); -lean_dec(x_1341); -if (x_1344 == 0) +uint8_t x_1324; +x_1324 = lean_unbox(x_1321); +lean_dec(x_1321); +if (x_1324 == 0) { -uint8_t x_1345; -lean_dec(x_1339); -lean_dec(x_1338); +uint8_t x_1325; +lean_dec(x_1319); +lean_dec(x_1318); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -28492,106 +28324,140 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_1345 = !lean_is_exclusive(x_1343); -if (x_1345 == 0) +x_1325 = !lean_is_exclusive(x_1323); +if (x_1325 == 0) { -lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; -x_1346 = lean_ctor_get(x_1343, 0); -lean_dec(x_1346); -x_1347 = lean_unsigned_to_nat(0u); -x_1348 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1348, 0, x_2); -lean_ctor_set(x_1348, 1, x_1347); -lean_ctor_set(x_1343, 0, x_1348); -return x_1343; +lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; +x_1326 = lean_ctor_get(x_1323, 0); +lean_dec(x_1326); +x_1327 = lean_unsigned_to_nat(0u); +x_1328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1328, 0, x_2); +lean_ctor_set(x_1328, 1, x_1327); +lean_ctor_set(x_1323, 0, x_1328); +return x_1323; } else { -lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; -x_1349 = lean_ctor_get(x_1343, 1); -lean_inc(x_1349); -lean_dec(x_1343); -x_1350 = lean_unsigned_to_nat(0u); -x_1351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1351, 0, x_2); -lean_ctor_set(x_1351, 1, x_1350); -x_1352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1352, 0, x_1351); -lean_ctor_set(x_1352, 1, x_1349); +lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; +x_1329 = lean_ctor_get(x_1323, 1); +lean_inc(x_1329); +lean_dec(x_1323); +x_1330 = lean_unsigned_to_nat(0u); +x_1331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1331, 0, x_2); +lean_ctor_set(x_1331, 1, x_1330); +x_1332 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1332, 0, x_1331); +lean_ctor_set(x_1332, 1, x_1329); +return x_1332; +} +} +else +{ +lean_object* x_1333; uint8_t x_1334; +x_1333 = lean_ctor_get(x_1323, 0); +lean_inc(x_1333); +x_1334 = lean_unbox(x_1333); +lean_dec(x_1333); +if (x_1334 == 0) +{ +uint8_t x_1335; +lean_dec(x_1319); +lean_dec(x_1318); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_1335 = !lean_is_exclusive(x_1323); +if (x_1335 == 0) +{ +lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; +x_1336 = lean_ctor_get(x_1323, 0); +lean_dec(x_1336); +x_1337 = lean_unsigned_to_nat(0u); +x_1338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1338, 0, x_2); +lean_ctor_set(x_1338, 1, x_1337); +lean_ctor_set(x_1323, 0, x_1338); +return x_1323; +} +else +{ +lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; +x_1339 = lean_ctor_get(x_1323, 1); +lean_inc(x_1339); +lean_dec(x_1323); +x_1340 = lean_unsigned_to_nat(0u); +x_1341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1341, 0, x_2); +lean_ctor_set(x_1341, 1, x_1340); +x_1342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1339); +return x_1342; +} +} +else +{ +lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; +x_1343 = lean_ctor_get(x_1323, 1); +lean_inc(x_1343); +lean_dec(x_1323); +x_1344 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__11; +lean_inc(x_1318); +x_1345 = l_Lean_Expr_app___override(x_1344, x_1318); +x_1346 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__74; +x_1347 = l_Lean_mkApp4(x_1346, x_1318, x_1319, x_1345, x_3); +x_1348 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1347, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_1343); +return x_1348; +} +} +} +else +{ +uint8_t x_1349; +lean_dec(x_1321); +lean_dec(x_1319); +lean_dec(x_1318); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_1349 = !lean_is_exclusive(x_1323); +if (x_1349 == 0) +{ +return x_1323; +} +else +{ +lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; +x_1350 = lean_ctor_get(x_1323, 0); +x_1351 = lean_ctor_get(x_1323, 1); +lean_inc(x_1351); +lean_inc(x_1350); +lean_dec(x_1323); +x_1352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1352, 0, x_1350); +lean_ctor_set(x_1352, 1, x_1351); return x_1352; } } -else -{ -lean_object* x_1353; uint8_t x_1354; -x_1353 = lean_ctor_get(x_1343, 0); -lean_inc(x_1353); -x_1354 = lean_unbox(x_1353); -lean_dec(x_1353); -if (x_1354 == 0) -{ -uint8_t x_1355; -lean_dec(x_1339); -lean_dec(x_1338); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_1355 = !lean_is_exclusive(x_1343); -if (x_1355 == 0) -{ -lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; -x_1356 = lean_ctor_get(x_1343, 0); -lean_dec(x_1356); -x_1357 = lean_unsigned_to_nat(0u); -x_1358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1358, 0, x_2); -lean_ctor_set(x_1358, 1, x_1357); -lean_ctor_set(x_1343, 0, x_1358); -return x_1343; } else { -lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; -x_1359 = lean_ctor_get(x_1343, 1); -lean_inc(x_1359); -lean_dec(x_1343); -x_1360 = lean_unsigned_to_nat(0u); -x_1361 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1361, 0, x_2); -lean_ctor_set(x_1361, 1, x_1360); -x_1362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1362, 0, x_1361); -lean_ctor_set(x_1362, 1, x_1359); -return x_1362; -} -} -else -{ -lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; -x_1363 = lean_ctor_get(x_1343, 1); -lean_inc(x_1363); -lean_dec(x_1343); -x_1364 = l_Lean_Elab_Tactic_Omega_MetaProblem_pushNot___closed__11; -lean_inc(x_1338); -x_1365 = l_Lean_Expr_app___override(x_1364, x_1338); -x_1366 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact___lambda__1___closed__74; -x_1367 = l_Lean_mkApp4(x_1366, x_1338, x_1339, x_1365, x_3); -x_1368 = l_Lean_Elab_Tactic_Omega_MetaProblem_addFact(x_2, x_1367, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_1363); -return x_1368; -} -} -} -else -{ -uint8_t x_1369; -lean_dec(x_1341); -lean_dec(x_1339); -lean_dec(x_1338); +uint8_t x_1353; +lean_dec(x_1319); +lean_dec(x_1318); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -28601,63 +28467,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_1369 = !lean_is_exclusive(x_1343); -if (x_1369 == 0) +x_1353 = !lean_is_exclusive(x_1320); +if (x_1353 == 0) { -return x_1343; +return x_1320; } else { -lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; -x_1370 = lean_ctor_get(x_1343, 0); -x_1371 = lean_ctor_get(x_1343, 1); -lean_inc(x_1371); -lean_inc(x_1370); -lean_dec(x_1343); -x_1372 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1372, 0, x_1370); -lean_ctor_set(x_1372, 1, x_1371); -return x_1372; -} -} -} -else -{ -uint8_t x_1373; -lean_dec(x_1339); -lean_dec(x_1338); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_1373 = !lean_is_exclusive(x_1340); -if (x_1373 == 0) -{ -return x_1340; -} -else -{ -lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; -x_1374 = lean_ctor_get(x_1340, 0); -x_1375 = lean_ctor_get(x_1340, 1); -lean_inc(x_1375); -lean_inc(x_1374); -lean_dec(x_1340); -x_1376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1376, 0, x_1374); -lean_ctor_set(x_1376, 1, x_1375); -return x_1376; +lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; +x_1354 = lean_ctor_get(x_1320, 0); +x_1355 = lean_ctor_get(x_1320, 1); +lean_inc(x_1355); +lean_inc(x_1354); +lean_dec(x_1320); +x_1356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1356, 0, x_1354); +lean_ctor_set(x_1356, 1, x_1355); +return x_1356; } } } default: { -lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; +lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -28668,14 +28500,14 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_1377 = lean_unsigned_to_nat(0u); -x_1378 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1378, 0, x_2); -lean_ctor_set(x_1378, 1, x_1377); -x_1379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1379, 0, x_1378); -lean_ctor_set(x_1379, 1, x_13); -return x_1379; +x_1357 = lean_unsigned_to_nat(0u); +x_1358 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1358, 0, x_2); +lean_ctor_set(x_1358, 1, x_1357); +x_1359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1359, 0, x_1358); +lean_ctor_set(x_1359, 1, x_13); +return x_1359; } } } @@ -34148,7 +33980,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1() { _start: { lean_object* x_1; @@ -34156,17 +33988,17 @@ x_1 = lean_mk_string_from_bytes("bv_toNat", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1; +x_2 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3() { _start: { lean_object* x_1; @@ -34174,7 +34006,7 @@ x_1 = lean_mk_string_from_bytes("bvOmegaSimpExtension", 20); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -34182,12 +34014,12 @@ x_1 = l_Lean_Elab_Tactic_Omega_evalUnsafe____x40_Lean_Elab_Tactic_Omega_Frontend x_2 = l___regBuiltin_Lean_Elab_Tactic_Omega_evalOmega___closed__1; x_3 = l_Lean_Elab_Tactic_Omega_evalOmega___closed__2; x_4 = l_Lean_Elab_Tactic_Omega_evalUnsafe____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_6____closed__3; -x_5 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3; +x_5 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5() { _start: { lean_object* x_1; @@ -34195,13 +34027,13 @@ x_1 = lean_mk_string_from_bytes("simp lemmas converting `BitVec` goals to `Nat` return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840_(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_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2; -x_3 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5; -x_4 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4; +x_2 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2; +x_3 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5; +x_4 = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4; x_5 = l_Lean_Meta_registerSimpAttr(x_2, x_3, x_4, x_1); return x_5; } @@ -35133,17 +34965,17 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Omega_evalOmega_declRange__ if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_Omega_evalOmega_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__1); -l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__2); -l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__3); -l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__4); -l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846____closed__5); -if (builtin) {res = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14846_(lean_io_mk_world()); +}l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__1); +l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__2); +l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__3); +l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__4); +l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5 = _init_l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840____closed__5); +if (builtin) {res = l_Lean_Elab_Tactic_Omega_initFn____x40_Lean_Elab_Tactic_Omega_Frontend___hyg_14840_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Tactic_Omega_bvOmegaSimpExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Tactic_Omega_bvOmegaSimpExtension); diff --git a/stage0/stdlib/Lean/Server/CodeActions/Attr.c b/stage0/stdlib/Lean/Server/CodeActions/Attr.c index 117ae92346..15f9cc8adb 100644 --- a/stage0/stdlib/Lean/Server/CodeActions/Attr.c +++ b/stage0/stdlib/Lean/Server/CodeActions/Attr.c @@ -13,143 +13,225 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_CommandCodeActions_onCmd___default; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28; +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__4(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9; 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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739_(lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_CodeAction_mkCommandCodeAction___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__11; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__37; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4; LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_CodeAction_mkHoleCodeAction___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20; static lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3; +lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297_(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__4; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__2; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053_(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__34; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__5; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24; uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_CodeAction_builtinCmdCodeActions; lean_object* l_Lean_Syntax_getArgs(lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__15; -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4; lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__3___closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__2; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__31; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_instBEqExpr; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1; +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__3(lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981_(lean_object*); +lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29; LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_CodeAction_mkHoleCodeAction___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_registerInitAttrUnsafe___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__4___boxed(lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4; size_t lean_usize_of_nat(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__27; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__3___boxed(lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__8; lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1; static lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActionEntry___closed__1; +lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__19; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11; lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__4___closed__1; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__16; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__4(lean_object*); -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16; +lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_CommandCodeActions_insert___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__23; LEAN_EXPORT lean_object* l_Lean_CodeAction_cmdCodeActionExt; -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5; lean_object* lean_decl_get_sorry_dep(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__12; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3; +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__20; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_CodeAction_CommandCodeActions_insert___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3; lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_instHashableExpr; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21; +extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_CodeAction_CommandCodeActions_insert___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__1; LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_CodeAction_mkCommandCodeAction___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__21; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instHashableLocalInstance___boxed(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__36; +lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__5; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434_(lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__3; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__17; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__2; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__6; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_CommandCodeActions_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35; LEAN_EXPORT lean_object* l_Lean_CodeAction_CommandCodeActions_insert___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__9; LEAN_EXPORT lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__18; LEAN_EXPORT lean_object* l_Lean_CodeAction_mkCommandCodeAction(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30; lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; LEAN_EXPORT lean_object* l_Lean_CodeAction_CommandCodeActions_onAnyCmd___default; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__13; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__8; static lean_object* l_Lean_CodeAction_mkCommandCodeAction_unsafe__1___closed__1; +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40; LEAN_EXPORT lean_object* l_Lean_CodeAction_CommandCodeActions_insert(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_183_(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_mkCommandCodeAction_unsafe__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__14; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6; -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2; static lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__22; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19; +LEAN_EXPORT lean_object* l_Lean_CodeAction_insertBuiltin(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l_Lean_CodeAction_mkCommandCodeAction_unsafe__1___closed__2; lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6; LEAN_EXPORT lean_object* l_Lean_CodeAction_mkHoleCodeAction(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__10; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActionEntry; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_insertBuiltin___closed__1; +lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -157,21 +239,33 @@ LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82_(lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_mkCommandCodeAction_unsafe__1(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2; +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5; static lean_object* l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__2; +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActions; static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__7; LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_insertBuiltin___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__7; -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionExt; -static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__5; static lean_object* _init_l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1() { @@ -1812,7 +1906,83 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1; +x_3 = lean_st_mk_ref(x_2, x_1); +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; +} +} +} +static lean_object* _init_l_Lean_CodeAction_insertBuiltin___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_CodeAction_builtinCmdCodeActions; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_insertBuiltin(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_4 = l_Lean_CodeAction_insertBuiltin___closed__1; +x_5 = lean_st_ref_take(x_4, x_3); +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 = l_Lean_CodeAction_CommandCodeActions_insert(x_6, x_1, x_2); +x_9 = lean_st_ref_set(x_4, x_8, x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_insertBuiltin___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_CodeAction_insertBuiltin(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____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) { _start: { uint8_t x_7; @@ -1882,7 +2052,7 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__2(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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -1925,7 +2095,7 @@ x_19 = 0; x_20 = lean_usize_of_nat(x_9); lean_dec(x_9); lean_inc(x_5); -x_21 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__1(x_8, x_19, x_20, x_4, x_5, x_6); +x_21 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__1(x_8, x_19, x_20, x_4, x_5, x_6); lean_dec(x_8); if (lean_obj_tag(x_21) == 0) { @@ -1979,108 +2149,159 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__1(lean_object* x_1) { _start: { -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_get_size(x_4); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_lt(x_8, x_7); +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_CodeAction_insertBuiltin___closed__1; +x_3 = lean_st_ref_get(x_2, x_1); +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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_1); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; +x_2 = l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__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; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_array_get_size(x_1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = lean_nat_dec_le(x_4, x_4); if (x_9 == 0) { -lean_object* x_10; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); lean_dec(x_2); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_6); -return x_10; +x_10 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_3); +return x_11; } else { -uint8_t x_11; -x_11 = lean_nat_dec_le(x_7, x_7); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_6); -return x_12; -} -else -{ -size_t x_13; size_t x_14; lean_object* x_15; -lean_dec(x_1); -x_13 = 0; -x_14 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__2(x_4, x_13, x_14, x_2, x_5, x_6); +size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_12 = 0; +x_13 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_14 = l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1; +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__2(x_1, x_12, x_13, x_14, x_2, x_3); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; +lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_3); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set(x_15, 0, x_18); +x_18 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_15, 0, x_19); 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_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); 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_3); -lean_ctor_set(x_21, 1, 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; +x_22 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, 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_21); +return x_24; } } else { -uint8_t x_23; -lean_dec(x_3); -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) { return x_15; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); lean_dec(x_15); -x_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; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } } } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -2128,7 +2349,7 @@ return x_16; } } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1() { _start: { lean_object* x_1; @@ -2136,110 +2357,126 @@ x_1 = lean_mk_string_from_bytes("cmdCodeActionExt", 16); return x_1; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; x_2 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__2; -x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; -x_2 = l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3; -x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__2), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739_(lean_object* x_1) { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4() { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3; -x_3 = l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1; -x_4 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__3; -x_5 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__1___boxed), 6, 3); -lean_closure_set(x_5, 0, x_2); -lean_closure_set(x_5, 1, x_3); -lean_closure_set(x_5, 2, x_4); -x_6 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2; -x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4; -x_8 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5; -x_9 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__7; -x_10 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__8; -x_11 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_11, 0, x_6); -lean_ctor_set(x_11, 1, x_7); -lean_ctor_set(x_11, 2, x_5); -lean_ctor_set(x_11, 3, x_8); -lean_ctor_set(x_11, 4, x_9); -lean_ctor_set(x_11, 5, x_10); -x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_11, x_1); -return x_12; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__2), 2, 0); +return x_1; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____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) { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5() { _start: { -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__1(x_1, x_7, x_8, x_4, x_5, x_6); -lean_dec(x_1); -return x_9; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4; +x_3 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____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) { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6() { _start: { -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____spec__2(x_1, x_7, x_8, x_4, x_5, x_6); -lean_dec(x_1); -return x_9; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___boxed), 3, 0); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____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) { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7() { _start: { -lean_object* x_7; -x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__4), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8() { +_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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6; +x_4 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7; +x_5 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__7; +x_6 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_82____closed__8; +x_7 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set(x_7, 5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8; +x_3 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__1(x_1, x_7, x_8, x_4, x_5, x_6); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____spec__2(x_1, x_7, x_8, x_4, x_5, x_6); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____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) { _start: { uint8_t x_7; @@ -2308,7 +2545,7 @@ return x_23; } } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -2316,7 +2553,7 @@ x_1 = l_Lean_CodeAction_cmdCodeActionExt; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____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_object* x_12; lean_object* x_13; lean_object* x_14; @@ -2364,7 +2601,7 @@ lean_ctor_set(x_23, 1, x_2); x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_15); -x_25 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1; +x_25 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1; x_26 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_25, x_21, x_24); x_27 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__5; lean_ctor_set(x_18, 4, x_27); @@ -2415,7 +2652,7 @@ lean_ctor_set(x_41, 1, x_2); x_42 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_15); -x_43 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1; +x_43 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1; x_44 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_43, x_35, x_42); x_45 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__5; x_46 = lean_alloc_ctor(0, 7, 0); @@ -2495,7 +2732,7 @@ return x_64; } } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -2503,22 +2740,22 @@ x_1 = lean_mk_string_from_bytes("command_code_action", 19); return x_1; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____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) { _start: { lean_object* x_7; uint8_t x_8; lean_dec(x_3); -x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2; +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2; lean_inc(x_1); x_8 = l_Lean_Syntax_isOfKind(x_1, x_7); if (x_8 == 0) @@ -2548,7 +2785,7 @@ lean_dec(x_14); x_16 = 0; lean_inc(x_5); lean_inc(x_4); -x_17 = l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____spec__1(x_15, x_16, x_13, x_4, x_5, x_6); +x_17 = l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____spec__1(x_15, x_16, x_13, x_4, x_5, x_6); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -2574,7 +2811,7 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_26; lean_object* x_27; lean_free_object(x_20); x_26 = lean_box(0); -x_27 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1(x_2, x_18, x_26, x_4, x_5, x_23); +x_27 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1(x_2, x_18, x_26, x_4, x_5, x_23); lean_dec(x_5); lean_dec(x_4); return x_27; @@ -2609,7 +2846,7 @@ if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); -x_34 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1(x_2, x_18, x_33, x_4, x_5, x_30); +x_34 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1(x_2, x_18, x_33, x_4, x_5, x_30); lean_dec(x_5); lean_dec(x_4); return x_34; @@ -2658,7 +2895,7 @@ return x_40; } } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2666,16 +2903,16 @@ x_1 = lean_mk_string_from_bytes("invalid attribute 'command_code_action', must b return x_1; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3(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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; uint8_t x_8; @@ -2686,7 +2923,7 @@ if (x_8 == 0) lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_dec(x_2); lean_dec(x_1); -x_9 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2; +x_9 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2; x_10 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_9, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); @@ -2713,32 +2950,32 @@ else { lean_object* x_15; lean_object* x_16; x_15 = lean_box(0); -x_16 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2(x_2, x_1, x_15, x_4, x_5, x_6); +x_16 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2(x_2, x_1, x_15, x_4, x_5, x_6); return x_16; } } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__15; -x_2 = lean_unsigned_to_nat(981u); +x_2 = lean_unsigned_to_nat(1053u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3() { _start: { lean_object* x_1; @@ -2746,13 +2983,13 @@ x_1 = lean_mk_string_from_bytes("Declare a new command code action, to appear in return x_1; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4() { _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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1; -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2; -x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3; x_4 = 1; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_1); @@ -2762,20 +2999,20 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); return x_5; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6() { +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4; -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5; x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__22; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -2784,16 +3021,16 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____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: { size_t x_7; size_t x_8; lean_object* x_9; @@ -2801,28 +3038,938 @@ x_7 = lean_unbox_usize(x_1); lean_dec(x_1); x_8 = lean_unbox_usize(x_2); lean_dec(x_2); -x_9 = l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____spec__1(x_7, x_8, x_3, x_4, x_5, x_6); +x_9 = l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____spec__1(x_7, x_8, x_3, x_4, x_5, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____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_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_2); +lean_inc(x_1); +return x_1; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l___private_Lean_ToExpr_0__Lean_Name_toExprAux(x_4); +lean_inc(x_2); +x_7 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1(x_1, x_2, x_5); +x_8 = l_Lean_mkAppB(x_2, x_6, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("insertBuiltin", 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; +x_2 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__2; +x_3 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Name", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___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_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("List", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("toArray", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_levelZero; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("nil", 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cons", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6; +x_3 = l_Lean_Expr_app___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declare", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23; +x_3 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24; +x_4 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__4; +x_5 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set(x_5, 4, x_3); +lean_ctor_set(x_5, 5, x_4); +lean_ctor_set(x_5, 6, x_2); +lean_ctor_set(x_5, 7, x_3); +lean_ctor_set(x_5, 8, x_3); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__27() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__36() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__37() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____lambda__1___closed__3; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38; +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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26; +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28; +x_3 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35; +x_4 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39; +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; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43() { +_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___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42; +x_3 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_4); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25; +x_3 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40; +x_4 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_6 = lean_box(0); +x_7 = lean_array_to_list(lean_box(0), x_2); +x_8 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15; +x_9 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19; +x_10 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1(x_8, x_9, x_7); +x_11 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11; +x_12 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6; +x_13 = l_Lean_mkAppB(x_11, x_12, x_10); +lean_inc(x_1); +x_14 = l_Lean_Expr_const___override(x_1, x_6); +x_15 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20; +x_16 = lean_array_push(x_15, x_13); +x_17 = lean_array_push(x_16, x_14); +x_18 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3; +x_19 = l_Lean_mkAppN(x_18, x_17); +x_20 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22; +x_21 = l_Lean_Name_append(x_1, x_20); +x_22 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44; +x_23 = lean_st_mk_ref(x_22, x_5); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_21, x_3, x_4, 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 = l_Lean_declareBuiltin(x_27, x_19, x_3, x_4, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +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_st_ref_get(x_24, x_31); +lean_dec(x_24); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +else +{ +uint8_t x_37; +lean_dec(x_24); +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) +{ +return x_29; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_29, 0); +x_39 = lean_ctor_get(x_29, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_29); +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; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____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; +x_7 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin(x_1, x_2, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("builtin_command_code_action", 27); +return x_1; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_mkHoleCodeAction_unsafe__1___closed__1; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____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) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2; +lean_inc(x_1); +x_8 = l_Lean_Syntax_isOfKind(x_1, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +lean_dec(x_1); +x_13 = l_Lean_Syntax_getArgs(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +lean_inc(x_5); +lean_inc(x_4); +x_17 = l_Array_mapMUnsafe_map___at_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____spec__1(x_15, x_16, x_13, x_4, x_5, x_6); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_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_st_ref_get(x_5, x_19); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_2); +x_25 = lean_decl_get_sorry_dep(x_24, x_2); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; +lean_free_object(x_20); +x_26 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin(x_2, x_18, x_4, x_5, x_23); +return x_26; +} +else +{ +lean_object* x_27; +lean_dec(x_25); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_27 = lean_box(0); +lean_ctor_set(x_20, 0, x_27); +return x_20; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_2); +x_31 = lean_decl_get_sorry_dep(x_30, x_2); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +x_32 = l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin(x_2, x_18, x_4, x_5, x_29); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_31); +lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_29); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_17); +if (x_35 == 0) +{ +return x_17; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_17, 0); +x_37 = lean_ctor_get(x_17, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_17); +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_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; uint8_t x_8; +x_7 = 0; +x_8 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_183_(x_3, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2; +x_10 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__1(x_9, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2(x_2, x_1, x_15, x_4, x_5, x_6); +return x_16; +} +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__15; +x_2 = lean_unsigned_to_nat(1434u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Declare a new builtin command code action, to appear in the code actions on commands", 84); +return x_1; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4() { +_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_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3; +x_4 = 1; +x_5 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5; +x_3 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_297____closed__22; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6; +x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_3); +lean_dec(x_3); +x_8 = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } @@ -2951,44 +4098,166 @@ l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1 = _init_l_Lean_Cod lean_mark_persistent(l_Lean_CodeAction_instInhabitedCommandCodeActions___closed__1); l_Lean_CodeAction_instInhabitedCommandCodeActions = _init_l_Lean_CodeAction_instInhabitedCommandCodeActions(); lean_mark_persistent(l_Lean_CodeAction_instInhabitedCommandCodeActions); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__1); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__2); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__3); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__4); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739____closed__5); if (builtin) {res = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_739_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; +l_Lean_CodeAction_builtinCmdCodeActions = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_CodeAction_builtinCmdCodeActions); +lean_dec_ref(res); +}l_Lean_CodeAction_insertBuiltin___closed__1 = _init_l_Lean_CodeAction_insertBuiltin___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_insertBuiltin___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____lambda__3___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__3); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__4); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__5); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__6); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__7); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793____closed__8); +if (builtin) {res = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_793_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; l_Lean_CodeAction_cmdCodeActionExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_CodeAction_cmdCodeActionExt); lean_dec_ref(res); -}l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__1___closed__1); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__1); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__2___closed__2); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__1); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____lambda__3___closed__2); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__1); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__2); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__3); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__4); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__5); -l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6(); -lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981____closed__6); -if (builtin) {res = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_981_(lean_io_mk_world()); +}l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__1___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__2___closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____lambda__3___closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__3); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__4); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__5); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053____closed__6); +if (builtin) {res = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1053_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__1); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__2); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__3); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__4); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__5); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__6); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__7); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__8); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__9); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__10); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__11); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__12); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__13); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__14); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__15); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__16); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__17); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__18); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__19); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__20); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__21); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__22); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__23); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__24); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__25); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__26); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__27 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__27(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__27); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__28); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__29); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__30); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__31 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__31(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__31); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__32); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__33); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__34 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__34(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__34); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__35); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__36 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__36(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__36); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__37 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__37(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__37); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__38); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__39); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__40); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__41); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__42); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__43); +l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44 = _init_l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44(); +lean_mark_persistent(l___private_Lean_Server_CodeActions_Attr_0__Lean_CodeAction_addBuiltin___closed__44); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____lambda__2___closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__1); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__2); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__3); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__4); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__5); +l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6 = _init_l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6(); +lean_mark_persistent(l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434____closed__6); +if (builtin) {res = l_Lean_CodeAction_initFn____x40_Lean_Server_CodeActions_Attr___hyg_1434_(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/Server/CodeActions/Provider.c b/stage0/stdlib/Lean/Server/CodeActions/Provider.c index e74ded072c..f60b57e91b 100644 --- a/stage0/stdlib/Lean/Server/CodeActions/Provider.c +++ b/stage0/stdlib/Lean/Server/CodeActions/Provider.c @@ -17,6 +17,7 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___close LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_holeCodeActionProvider___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Syntax_0__String_beqRange____x40_Lean_Syntax___hyg_91_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_CodeAction_findInfoTree_x3f___spec__2___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1; lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_CodeAction_findTactic_x3f_go___closed__4; @@ -25,6 +26,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___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_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___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___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3; LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_visit(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_panic___at_Lean_CodeAction_cmdCodeActionProvider___spec__1___closed__1; @@ -37,6 +39,7 @@ lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_CodeAction_findInfoTree_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); @@ -54,6 +57,7 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___close lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l_Lean_CodeAction_findTactic_x3f_visit___closed__1; static lean_object* l_Lean_CodeAction_cmdCodeActionProvider___closed__1; +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_merge___boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -68,6 +72,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_holeCode LEAN_EXPORT lean_object* l_Lean_CodeAction_findInfoTree_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__3___boxed(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_CodeAction_findTactic_x3f_go___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -92,8 +97,10 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2; lean_object* l_Lean_Syntax_getTailInfo(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Server_addBuiltinCodeActionProvider(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__10; LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_go___lambda__1___boxed(lean_object*, lean_object*); @@ -113,12 +120,14 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoT lean_object* l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__3; +static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_CodeAction_findInfoTree_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__2; 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_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_cmdCodeActionProvider___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_CodeAction_holeCodeActionProvider___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_cmdCodeActionProvider___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_CodeAction_findInfoTree_x3f___spec__1___lambda__1(lean_object*, lean_object*); @@ -141,8 +150,10 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___closed__1; static lean_object* l_Lean_CodeAction_findTactic_x3f_go___closed__1; LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_CodeAction_findInfoTree_x3f___lambda__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx(lean_object*); extern lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActions; @@ -765,6 +776,51 @@ lean_dec(x_5); return x_7; } } +static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("CodeAction", 10); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("holeCodeActionProvider", 22); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__1; +x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1; +x_3 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_holeCodeActionProvider), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3; +x_3 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4; +x_4 = l_Lean_Server_addBuiltinCodeActionProvider(x_2, x_3, x_1); +return x_4; +} +} static lean_object* _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1() { _start: { @@ -4450,6 +4506,43 @@ lean_dec(x_1); return x_6; } } +static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cmdCodeActionProvider", 21); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__1; +x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1; +x_3 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_cmdCodeActionProvider), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2; +x_3 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3; +x_4 = l_Lean_Server_addBuiltinCodeActionProvider(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_BuiltinTerm(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_BuiltinNotation(uint8_t builtin, lean_object*); @@ -4505,7 +4598,18 @@ l_Lean_CodeAction_holeCodeActionProvider___closed__2 = _init_l_Lean_CodeAction_h lean_mark_persistent(l_Lean_CodeAction_holeCodeActionProvider___closed__2); l_Lean_CodeAction_holeCodeActionProvider___closed__3 = _init_l_Lean_CodeAction_holeCodeActionProvider___closed__3(); lean_mark_persistent(l_Lean_CodeAction_holeCodeActionProvider___closed__3); -l_Lean_CodeAction_findTactic_x3f_visit___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1(); +l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1); +l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2); +l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3); +l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4); +if (builtin) {res = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_CodeAction_findTactic_x3f_visit___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1(); lean_mark_persistent(l_Lean_CodeAction_findTactic_x3f_visit___closed__1); l_Lean_CodeAction_findTactic_x3f_go___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_go___closed__1(); lean_mark_persistent(l_Lean_CodeAction_findTactic_x3f_go___closed__1); @@ -4537,7 +4641,16 @@ l_Lean_CodeAction_cmdCodeActionProvider___closed__1 = _init_l_Lean_CodeAction_cm lean_mark_persistent(l_Lean_CodeAction_cmdCodeActionProvider___closed__1); l_Lean_CodeAction_cmdCodeActionProvider___closed__2 = _init_l_Lean_CodeAction_cmdCodeActionProvider___closed__2(); lean_mark_persistent(l_Lean_CodeAction_cmdCodeActionProvider___closed__2); -return lean_io_result_mk_ok(lean_box(0)); +l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1); +l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2); +l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3); +if (builtin) {res = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(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 }