From 6e821de11abd3c16dbbeb15cbfe315e2abbef10a Mon Sep 17 00:00:00 2001 From: Joe Hendrix Date: Wed, 21 Feb 2024 10:33:00 -0800 Subject: [PATCH] chore: update stage0 --- stage0/stdlib/Init/Data/BitVec/Basic.c | 1420 +++++++---- stage0/stdlib/Lean/Meta/CompletionName.c | 286 +++ .../Meta/Tactic/Simp/BuiltinSimprocs/Int.c | 1981 +++++++++------ stage0/stdlib/Lean/Server/Completion.c | 2174 +++++++---------- 4 files changed, 3374 insertions(+), 2487 deletions(-) create mode 100644 stage0/stdlib/Lean/Meta/CompletionName.c diff --git a/stage0/stdlib/Init/Data/BitVec/Basic.c b/stage0/stdlib/Init/Data/BitVec/Basic.c index 8afaa794e3..2af9e91954 100644 --- a/stage0/stdlib/Init/Data/BitVec/Basic.c +++ b/stage0/stdlib/Init/Data/BitVec/Basic.c @@ -19,8 +19,10 @@ static lean_object* l_Std_BitVec_term_____x23_______closed__12; static lean_object* l_Std_BitVec_term_____x23_______closed__1; lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_neg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec_unexpandBitVecOfNatLt(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_getLsb___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_concat___rarg(lean_object*, uint8_t); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3; LEAN_EXPORT lean_object* l_Std_BitVec_instLEBitVec(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_smtSDiv(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftLeftBitVec(lean_object*, lean_object*, lean_object*, lean_object*); @@ -29,6 +31,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_instModBitVec___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_sub___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__5; LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__5; LEAN_EXPORT lean_object* l_Std_BitVec_getLsb(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_sle___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_ult(lean_object*); @@ -45,6 +48,7 @@ LEAN_EXPORT uint8_t l_Std_instDecidableEqBitVec___rarg(lean_object*, lean_object LEAN_EXPORT lean_object* l_Std_BitVec_rotateLeft(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__18; LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftRightBitVec___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec_natCastInst(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHAppendBitVecHAddNatInstHAddInstAddNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_xor(lean_object*); static lean_object* l_Std_BitVec_instModBitVec___closed__1; @@ -72,20 +76,20 @@ static lean_object* l_Std_BitVec_instReprBitVec___closed__3; LEAN_EXPORT lean_object* l_Std_BitVec_instToStringBitVec(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_toHex(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__16; LEAN_EXPORT uint8_t l_Std_BitVec_decEq___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_allOnes(lean_object*); static lean_object* l_Std_BitVec_instHShiftRightBitVecNat___closed__1; +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_append___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_le(lean_object*, lean_object*); lean_object* lean_nat_shiftr(lean_object*, lean_object*); -lean_object* l_Fin_add(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_append(lean_object*); LEAN_EXPORT uint8_t l_Std_BitVec_sle(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_BitVec_ule___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_BitVec_instNatCastBitVec(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_zero___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftLeftBitVec___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_decEq___rarg___boxed(lean_object*, lean_object*); @@ -114,13 +118,13 @@ lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT uint8_t l_Std_BitVec_ult___rarg(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_allOnes___boxed(lean_object*); -lean_object* l_Fin_sub(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__4; LEAN_EXPORT lean_object* l_Std_BitVec_ofBool___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_sdiv___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_udiv(lean_object*); static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__8; +LEAN_EXPORT lean_object* l_Std_BitVec_term_____x23_x27____; LEAN_EXPORT uint8_t l_Std_BitVec_instDecidableLtBitVecInstLTBitVec___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_toInt___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___rarg(lean_object*); @@ -129,6 +133,7 @@ static lean_object* l_Std_BitVec_term_____x23_______closed__8; LEAN_EXPORT lean_object* l_Std_BitVec_decEq(lean_object*); lean_object* lean_string_mk(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_ult___boxed(lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4; LEAN_EXPORT lean_object* l_Std_BitVec_instComplementBitVec(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_sdiv(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__5; @@ -137,10 +142,13 @@ LEAN_EXPORT lean_object* l_Std_BitVec_toInt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_instDecidableEqBitVec___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instDivBitVec(lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_ushiftRight___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_smtUDiv___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_umod(lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2; LEAN_EXPORT lean_object* l_Std_BitVec_instDecidableLtBitVecInstLTBitVec(lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6; LEAN_EXPORT lean_object* l_Std_BitVec_sshiftRight___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_BitVec_instAndOpBitVec___closed__1; @@ -155,6 +163,7 @@ static lean_object* l_Std_BitVec_term_____x23_______closed__14; LEAN_EXPORT uint8_t l_Std_BitVec_getLsb___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_toNat___rarg___boxed(lean_object*); static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__9; +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__3; LEAN_EXPORT lean_object* l_Std_BitVec_fill(lean_object*, uint8_t); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_zero(lean_object*); @@ -166,6 +175,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Std_BitVec_instReprBitVec___closed__2; LEAN_EXPORT lean_object* l_Std_BitVec_udiv___boxed(lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instDecidableLtBitVecInstLTBitVec___rarg___boxed(lean_object*, lean_object*); @@ -179,7 +189,6 @@ LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend___boxed(lean_object*, lean_obje static lean_object* l_Std_BitVec_term_____x23_______closed__9; LEAN_EXPORT lean_object* l_Std_BitVec_and___rarg(lean_object*, lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__3; -lean_object* l_Fin_mul(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_umod___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_truncate___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_ult___rarg___boxed(lean_object*, lean_object*); @@ -188,6 +197,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_or___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_getMsb___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_concat___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__6; static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__12; LEAN_EXPORT lean_object* l_Std_BitVec_instIntCastBitVec(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instXorBitVec(lean_object*); @@ -200,6 +210,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftRightBitVecNat(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_smtSDiv___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_cast(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_instDecidableEqBitVec(lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8; LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg___boxed(lean_object*); lean_object* lean_nat_lxor(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); @@ -207,15 +218,19 @@ uint8_t l_Nat_testBit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_append___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_abs___boxed(lean_object*, lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__4; static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__7; LEAN_EXPORT lean_object* l_Std_BitVec_neg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instDecidableLeBitVecInstLEBitVec___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHAppendBitVecHAddNatInstHAddInstAddNat___rarg(lean_object*); lean_object* lean_nat_pow(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__1; LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___boxed(lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__11; +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHAppendBitVecHAddNatInstHAddInstAddNat(lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); @@ -257,6 +272,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftRightBitVec___boxed(lean_object* LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftLeftBitVecNat(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_or(lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1; static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__13; LEAN_EXPORT lean_object* l_Std_BitVec_ofInt___boxed(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); @@ -265,6 +281,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_umod___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_replicate(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeft(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instHShiftRightBitVecNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instOrOpBitVec___boxed(lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__16; LEAN_EXPORT lean_object* l_Std_BitVec_rotateRight(lean_object*, lean_object*, lean_object*); @@ -278,6 +295,8 @@ LEAN_EXPORT lean_object* l_Std_BitVec_instAndOpBitVec___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instLTBitVec(lean_object*); static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__3; LEAN_EXPORT lean_object* l_Std_BitVec_rotateLeft___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9; +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__8; static lean_object* l_Std_BitVec_term_____x23_______closed__7; LEAN_EXPORT lean_object* l_Std_BitVec_or___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_smtUDiv(lean_object*, lean_object*, lean_object*); @@ -286,6 +305,7 @@ LEAN_EXPORT lean_object* l_Std_BitVec_toNat(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_xor___rarg___boxed(lean_object*, lean_object*); lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instDecidableLeBitVecInstLEBitVec(lean_object*); +static lean_object* l_Std_BitVec_term_____x23_x27_______closed__7; LEAN_EXPORT lean_object* l_Std_BitVec_instInhabitedBitVec___boxed(lean_object*); static lean_object* l_Std_BitVec_term_____x23_______closed__17; LEAN_EXPORT lean_object* l_Std_instDecidableEqBitVec___boxed(lean_object*); @@ -297,6 +317,7 @@ lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_truncate(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_instDecidableLeBitVecInstLEBitVec___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_BitVec_mul___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7; LEAN_EXPORT uint8_t l_Std_BitVec_decEq___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -369,38 +390,37 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_inc(x_1); return x_1; } } -LEAN_EXPORT lean_object* l_Std_BitVec_cast(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Std_BitVec_cast___rarg___boxed), 1, 0); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Std_BitVec_cast___rarg(x_1); -lean_dec(x_1); +x_2 = lean_alloc_closure((void*)(l_Std_BitVec_ofNatLt___rarg___boxed), 2, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Std_BitVec_cast___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_Std_BitVec_cast(x_1, x_2, x_3); -lean_dec(x_2); +lean_object* x_3; +x_3 = l_Std_BitVec_ofNatLt___rarg(x_1, x_2); lean_dec(x_1); -return x_4; +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_ofNatLt___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_ofNatLt(x_1); +lean_dec(x_1); +return x_2; } } LEAN_EXPORT lean_object* l_Std_BitVec_ofNat(lean_object* x_1, lean_object* x_2) { @@ -424,7 +444,25 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_BitVec_instNatCastBitVec(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_BitVec_instOfNat(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_BitVec_ofNat(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_instOfNat___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_BitVec_instOfNat(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_natCastInst(lean_object* x_1) { _start: { lean_object* x_2; @@ -466,6 +504,78 @@ lean_dec(x_1); return x_2; } } +static lean_object* _init_l_Std_BitVec_nil___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Std_BitVec_ofNat(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_BitVec_nil() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_BitVec_nil___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zero(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zero___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_zero(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_instInhabitedBitVec(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_instInhabitedBitVec___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_instInhabitedBitVec(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_allOnes(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_unsigned_to_nat(2u); +x_3 = lean_nat_pow(x_2, x_1); +x_4 = lean_unsigned_to_nat(1u); +x_5 = lean_nat_sub(x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_allOnes___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_allOnes(x_1); +lean_dec(x_1); +return x_2; +} +} LEAN_EXPORT uint8_t l_Std_BitVec_getLsb___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -625,58 +735,68 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_BitVec_zero(lean_object* x_1) { +static lean_object* _init_l_Std_BitVec_ofInt___closed__1() { _start: { -lean_object* x_2; -x_2 = lean_unsigned_to_nat(0u); +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_BitVec_zero___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_BitVec_ofInt(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_2; -x_2 = l_Std_BitVec_zero(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_instInhabitedBitVec(lean_object* x_1) { -_start: +lean_object* x_3; uint8_t x_4; +x_3 = l_Std_BitVec_ofInt___closed__1; +x_4 = lean_int_dec_lt(x_2, x_3); +if (x_4 == 0) { -lean_object* x_2; -x_2 = lean_unsigned_to_nat(0u); -return x_2; +lean_object* x_5; lean_object* x_6; +x_5 = lean_nat_abs(x_2); +x_6 = l_Std_BitVec_ofNat(x_1, x_5); +lean_dec(x_5); +return x_6; } -} -LEAN_EXPORT lean_object* l_Std_BitVec_instInhabitedBitVec___boxed(lean_object* x_1) { -_start: +else { -lean_object* x_2; -x_2 = l_Std_BitVec_instInhabitedBitVec(x_1); -lean_dec(x_1); -return x_2; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_nat_abs(x_2); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_7, x_8); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_pow(x_10, x_1); +x_12 = lean_nat_mod(x_9, x_11); +lean_dec(x_9); +x_13 = lean_nat_sub(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +x_14 = lean_nat_sub(x_13, x_8); +lean_dec(x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Std_BitVec_instOfNat(lean_object* x_1, lean_object* x_2) { +} +LEAN_EXPORT lean_object* l_Std_BitVec_ofInt___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_BitVec_ofNat(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_instOfNat___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_BitVec_instOfNat(x_1, x_2); +x_3 = l_Std_BitVec_ofInt(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } +LEAN_EXPORT lean_object* l_Std_BitVec_instIntCastBitVec(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_BitVec_ofInt___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Std_BitVec_term_____x23_______closed__1() { _start: { @@ -1144,6 +1264,319 @@ return x_23; } } } +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term__#'__", 10); +return x_1; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_______closed__1; +x_2 = l_Std_BitVec_term_____x23_______closed__2; +x_3 = l_Std_BitVec_term_____x23_x27_______closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("#'", 2); +return x_1; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_BitVec_term_____x23_x27_______closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_______closed__6; +x_2 = l_Std_BitVec_term_____x23_______closed__9; +x_3 = l_Std_BitVec_term_____x23_x27_______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_Std_BitVec_term_____x23_x27_______closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_______closed__6; +x_2 = l_Std_BitVec_term_____x23_x27_______closed__5; +x_3 = l_Std_BitVec_term_____x23_______closed__9; +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_Std_BitVec_term_____x23_x27_______closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_______closed__6; +x_2 = l_Std_BitVec_term_____x23_x27_______closed__6; +x_3 = l_Std_BitVec_term_____x23_______closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27_______closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_x27_______closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Std_BitVec_term_____x23_x27_______closed__7; +x_4 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_BitVec_term_____x23_x27____() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_BitVec_term_____x23_x27_______closed__8; +return x_1; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("BitVec.ofNatLt", 14); +return x_1; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ofNatLt", 7); +return x_1; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_BitVec_term_____x23_______closed__2; +x_2 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Std_BitVec_term_____x23_______closed__1; +x_2 = l_Std_BitVec_term_____x23_______closed__2; +x_3 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6; +x_2 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Std_BitVec_term_____x23_x27_______closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 5); +lean_inc(x_12); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4; +x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); +x_19 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2; +x_20 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9; +lean_inc(x_14); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__16; +lean_inc(x_14); +x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); +x_24 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__5; +x_25 = l_Lean_Syntax_node2(x_14, x_24, x_21, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_unexpandBitVecOfNatLt(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__5; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = lean_unsigned_to_nat(2u); +lean_inc(x_9); +x_11 = l_Lean_Syntax_matchesNull(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_2); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_9, x_14); +x_16 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_17 = 0; +x_18 = l_Lean_SourceInfo_fromRef(x_2, x_17); +x_19 = l_Std_BitVec_term_____x23_x27_______closed__3; +lean_inc(x_18); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Std_BitVec_term_____x23_x27_______closed__2; +x_22 = l_Lean_Syntax_node3(x_18, x_21, x_15, x_20, x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_3); +return x_23; +} +} +} +} static lean_object* _init_l_Std_BitVec_toHex___boxed__const__1() { _start: { @@ -1277,12 +1710,11 @@ return x_14; LEAN_EXPORT lean_object* l_Std_BitVec_add(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; -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_pow(x_4, x_1); -x_6 = l_Fin_add(x_5, x_2, x_3); -lean_dec(x_5); -return x_6; +lean_object* x_4; lean_object* x_5; +x_4 = lean_nat_add(x_2, x_3); +x_5 = l_Std_BitVec_ofNat(x_1, x_4); +lean_dec(x_4); +return x_5; } } LEAN_EXPORT lean_object* l_Std_BitVec_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1308,12 +1740,16 @@ return x_2; LEAN_EXPORT lean_object* l_Std_BitVec_sub(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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_unsigned_to_nat(2u); x_5 = lean_nat_pow(x_4, x_1); -x_6 = l_Fin_sub(x_5, x_2, x_3); +x_6 = lean_nat_sub(x_5, x_3); lean_dec(x_5); -return x_6; +x_7 = lean_nat_add(x_2, x_6); +lean_dec(x_6); +x_8 = l_Std_BitVec_ofNat(x_1, x_7); +lean_dec(x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Std_BitVec_sub___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1339,12 +1775,14 @@ return x_2; LEAN_EXPORT lean_object* l_Std_BitVec_neg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Std_BitVec_ofNat(x_1, x_3); -x_5 = l_Std_BitVec_sub(x_1, x_4, x_2); +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_pow(x_3, x_1); +x_5 = lean_nat_sub(x_4, x_2); lean_dec(x_4); -return x_5; +x_6 = l_Std_BitVec_ofNat(x_1, x_5); +lean_dec(x_5); +return x_6; } } LEAN_EXPORT lean_object* l_Std_BitVec_neg___boxed(lean_object* x_1, lean_object* x_2) { @@ -1366,26 +1804,6 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_BitVec_allOnes(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_unsigned_to_nat(1u); -x_3 = l_Std_BitVec_ofNat(x_1, x_2); -x_4 = l_Std_BitVec_neg(x_1, x_3); -lean_dec(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_allOnes___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_BitVec_allOnes(x_1); -lean_dec(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Std_BitVec_abs(lean_object* x_1, lean_object* x_2) { _start: { @@ -1433,12 +1851,11 @@ return x_3; LEAN_EXPORT lean_object* l_Std_BitVec_mul(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; -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_pow(x_4, x_1); -x_6 = l_Fin_mul(x_5, x_2, x_3); -lean_dec(x_5); -return x_6; +lean_object* x_4; lean_object* x_5; +x_4 = lean_nat_mul(x_2, x_3); +x_5 = l_Std_BitVec_ofNat(x_1, x_4); +lean_dec(x_4); +return x_5; } } LEAN_EXPORT lean_object* l_Std_BitVec_mul___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1597,12 +2014,9 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Std_BitVec_ofNat(x_1, x_8); -x_10 = l_Std_BitVec_neg(x_1, x_9); -lean_dec(x_9); -return x_10; +lean_object* x_8; +x_8 = l_Std_BitVec_allOnes(x_1); +return x_8; } } } @@ -1883,19 +2297,17 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = l_Std_BitVec_neg(x_1, x_3); x_14 = lean_nat_mod(x_2, x_13); lean_dec(x_13); -x_15 = l_Std_BitVec_ofNat(x_1, x_4); -x_16 = lean_nat_dec_eq(x_14, x_15); -lean_dec(x_15); -if (x_16 == 0) +x_15 = lean_nat_dec_eq(x_14, x_4); +if (x_15 == 0) { -lean_object* x_17; -x_17 = l_Std_BitVec_add(x_1, x_14, x_3); +lean_object* x_16; +x_16 = l_Std_BitVec_add(x_1, x_14, x_3); lean_dec(x_14); -return x_17; +return x_16; } else { @@ -1907,36 +2319,34 @@ else { if (x_11 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = l_Std_BitVec_neg(x_1, x_2); -x_19 = lean_nat_mod(x_18, x_3); +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Std_BitVec_neg(x_1, x_2); +x_18 = lean_nat_mod(x_17, x_3); +lean_dec(x_17); +x_19 = lean_nat_dec_eq(x_18, x_4); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = l_Std_BitVec_sub(x_1, x_3, x_18); lean_dec(x_18); -x_20 = l_Std_BitVec_ofNat(x_1, x_4); -x_21 = lean_nat_dec_eq(x_19, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = l_Std_BitVec_sub(x_1, x_3, x_19); -lean_dec(x_19); -return x_22; +return x_20; } else { -return x_19; +return x_18; } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = l_Std_BitVec_neg(x_1, x_2); -x_24 = l_Std_BitVec_neg(x_1, x_3); -x_25 = lean_nat_mod(x_23, x_24); -lean_dec(x_24); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Std_BitVec_neg(x_1, x_2); +x_22 = l_Std_BitVec_neg(x_1, x_3); +x_23 = lean_nat_mod(x_21, x_22); +lean_dec(x_22); +lean_dec(x_21); +x_24 = l_Std_BitVec_neg(x_1, x_23); lean_dec(x_23); -x_26 = l_Std_BitVec_neg(x_1, x_25); -lean_dec(x_25); -return x_26; +return x_24; } } } @@ -1953,6 +2363,84 @@ lean_dec(x_1); return x_4; } } +static lean_object* _init_l_Std_BitVec_ofBool___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Std_BitVec_ofNat(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_BitVec_ofBool___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Std_BitVec_ofNat(x_1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_ofBool(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_Std_BitVec_ofBool___closed__1; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Std_BitVec_ofBool___closed__2; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_ofBool___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Std_BitVec_ofBool(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_fill(lean_object* x_1, uint8_t x_2) { +_start: +{ +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Std_BitVec_ofNat(x_1, x_3); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_unsigned_to_nat(1u); +x_6 = l_Std_BitVec_ofNat(x_1, x_5); +x_7 = l_Std_BitVec_neg(x_1, x_6); +lean_dec(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_fill___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Std_BitVec_fill(x_1, x_3); +lean_dec(x_1); +return x_4; +} +} LEAN_EXPORT uint8_t l_Std_BitVec_ult___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -2175,6 +2663,256 @@ x_5 = lean_box(x_4); return x_5; } } +LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_cast(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_BitVec_cast___rarg___boxed), 1, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_cast___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_cast___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_cast___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_cast(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_nat_shiftr(x_3, x_1); +x_5 = l_Std_BitVec_ofNat(x_2, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_BitVec_extractLsb_x27___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_extractLsb_x27___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_extractLsb_x27(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___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; +x_4 = lean_nat_sub(x_1, x_2); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_add(x_4, x_5); +lean_dec(x_4); +x_7 = l_Std_BitVec_extractLsb_x27___rarg(x_2, x_6, x_3); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_BitVec_extractLsb___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_extractLsb___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_extractLsb(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_BitVec_zeroExtend_x27___rarg___boxed), 1, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_zeroExtend_x27___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_zeroExtend_x27(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_nat_shiftl(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_BitVec_shiftLeftZeroExtend___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_BitVec_shiftLeftZeroExtend___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_BitVec_shiftLeftZeroExtend(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_le(x_1, x_2); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Std_BitVec_ofNat(x_2, x_3); +return x_5; +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_zeroExtend(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_truncate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_zeroExtend(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_truncate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_truncate(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_signExtend(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Std_BitVec_toInt(x_1, x_3); +x_5 = l_Std_BitVec_ofInt(x_2, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_BitVec_signExtend___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_BitVec_signExtend(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_BitVec_and___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -2384,63 +3122,6 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Std_BitVec_ofInt___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_ofInt(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = l_Std_BitVec_ofInt___closed__1; -x_4 = lean_int_dec_lt(x_2, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_nat_abs(x_2); -x_6 = l_Std_BitVec_ofNat(x_1, x_5); -lean_dec(x_5); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_nat_abs(x_2); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_sub(x_7, x_8); -lean_dec(x_7); -x_10 = l_Std_BitVec_ofNat(x_1, x_9); -lean_dec(x_9); -x_11 = l_Std_BitVec_not(x_1, x_10); -lean_dec(x_10); -return x_11; -} -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_ofInt___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_BitVec_ofInt(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_instIntCastBitVec(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_BitVec_ofInt___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeft(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2659,75 +3340,6 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___rarg(lean_object* x_1) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Std_BitVec_zeroExtend_x27___rarg___boxed), 1, 0); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___rarg___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_BitVec_zeroExtend_x27___rarg(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_zeroExtend_x27(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_nat_shiftl(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_BitVec_shiftLeftZeroExtend___rarg___boxed), 2, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_BitVec_shiftLeftZeroExtend___rarg(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_shiftLeftZeroExtend___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_BitVec_shiftLeftZeroExtend(x_1); -lean_dec(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Std_BitVec_append___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2792,85 +3404,6 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_nat_shiftr(x_3, x_1); -x_5 = l_Std_BitVec_ofNat(x_2, x_4); -lean_dec(x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_BitVec_extractLsb_x27___rarg___boxed), 3, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_extractLsb_x27___rarg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb_x27___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_BitVec_extractLsb_x27(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___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; -x_4 = lean_nat_sub(x_1, x_2); -x_5 = lean_unsigned_to_nat(1u); -x_6 = lean_nat_add(x_4, x_5); -lean_dec(x_4); -x_7 = l_Std_BitVec_extractLsb_x27___rarg(x_2, x_6, x_3); -lean_dec(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_BitVec_extractLsb___rarg___boxed), 3, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_extractLsb___rarg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_extractLsb___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_BitVec_extractLsb(x_1); -lean_dec(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Std_BitVec_replicate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2911,169 +3444,6 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_BitVec_fill(lean_object* x_1, uint8_t x_2) { -_start: -{ -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Std_BitVec_ofNat(x_1, x_3); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Std_BitVec_ofNat(x_1, x_5); -x_7 = l_Std_BitVec_neg(x_1, x_6); -lean_dec(x_6); -return x_7; -} -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_fill___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_2); -lean_dec(x_2); -x_4 = l_Std_BitVec_fill(x_1, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_nat_dec_le(x_1, x_2); -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = l_Std_BitVec_ofNat(x_2, x_3); -return x_5; -} -else -{ -lean_inc(x_3); -return x_3; -} -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_zeroExtend___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_zeroExtend(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_truncate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_zeroExtend(x_1, x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_truncate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_truncate(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_signExtend(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Std_BitVec_toInt(x_1, x_3); -x_5 = l_Std_BitVec_ofInt(x_2, x_4); -lean_dec(x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_signExtend___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_BitVec_signExtend(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -static lean_object* _init_l_Std_BitVec_ofBool___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_BitVec_ofNat(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Std_BitVec_ofBool___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = l_Std_BitVec_ofNat(x_1, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_ofBool(uint8_t x_1) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_2; -x_2 = l_Std_BitVec_ofBool___closed__1; -return x_2; -} -else -{ -lean_object* x_3; -x_3 = l_Std_BitVec_ofBool___closed__2; -return x_3; -} -} -} -LEAN_EXPORT lean_object* l_Std_BitVec_ofBool___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Std_BitVec_ofBool(x_2); -return x_3; -} -} -static lean_object* _init_l_Std_BitVec_nil___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Std_BitVec_ofNat(x_1, x_1); -return x_2; -} -} -static lean_object* _init_l_Std_BitVec_nil() { -_start: -{ -lean_object* x_1; -x_1 = l_Std_BitVec_nil___closed__1; -return x_1; -} -} LEAN_EXPORT lean_object* l_Std_BitVec_concat___rarg(lean_object* x_1, uint8_t x_2) { _start: { @@ -3152,6 +3522,12 @@ lean_dec_ref(res); res = initialize_Init_Data_Nat_Power2(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Std_BitVec_nil___closed__1 = _init_l_Std_BitVec_nil___closed__1(); +lean_mark_persistent(l_Std_BitVec_nil___closed__1); +l_Std_BitVec_nil = _init_l_Std_BitVec_nil(); +lean_mark_persistent(l_Std_BitVec_nil); +l_Std_BitVec_ofInt___closed__1 = _init_l_Std_BitVec_ofInt___closed__1(); +lean_mark_persistent(l_Std_BitVec_ofInt___closed__1); l_Std_BitVec_term_____x23_______closed__1 = _init_l_Std_BitVec_term_____x23_______closed__1(); lean_mark_persistent(l_Std_BitVec_term_____x23_______closed__1); l_Std_BitVec_term_____x23_______closed__2 = _init_l_Std_BitVec_term_____x23_______closed__2(); @@ -3222,6 +3598,42 @@ l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__15); l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__16 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__16(); lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23______1___closed__16); +l_Std_BitVec_term_____x23_x27_______closed__1 = _init_l_Std_BitVec_term_____x23_x27_______closed__1(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__1); +l_Std_BitVec_term_____x23_x27_______closed__2 = _init_l_Std_BitVec_term_____x23_x27_______closed__2(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__2); +l_Std_BitVec_term_____x23_x27_______closed__3 = _init_l_Std_BitVec_term_____x23_x27_______closed__3(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__3); +l_Std_BitVec_term_____x23_x27_______closed__4 = _init_l_Std_BitVec_term_____x23_x27_______closed__4(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__4); +l_Std_BitVec_term_____x23_x27_______closed__5 = _init_l_Std_BitVec_term_____x23_x27_______closed__5(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__5); +l_Std_BitVec_term_____x23_x27_______closed__6 = _init_l_Std_BitVec_term_____x23_x27_______closed__6(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__6); +l_Std_BitVec_term_____x23_x27_______closed__7 = _init_l_Std_BitVec_term_____x23_x27_______closed__7(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__7); +l_Std_BitVec_term_____x23_x27_______closed__8 = _init_l_Std_BitVec_term_____x23_x27_______closed__8(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27_______closed__8); +l_Std_BitVec_term_____x23_x27____ = _init_l_Std_BitVec_term_____x23_x27____(); +lean_mark_persistent(l_Std_BitVec_term_____x23_x27____); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__1); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__2); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__3); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__4); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__5); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__6); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__7); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__8); +l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9 = _init_l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9(); +lean_mark_persistent(l_Std_BitVec___aux__Init__Data__BitVec__Basic______macroRules__Std__BitVec__term_____x23_x27______1___closed__9); l_Std_BitVec_toHex___boxed__const__1 = _init_l_Std_BitVec_toHex___boxed__const__1(); lean_mark_persistent(l_Std_BitVec_toHex___boxed__const__1); l_Std_BitVec_instReprBitVec___closed__1 = _init_l_Std_BitVec_instReprBitVec___closed__1(); @@ -3234,24 +3646,18 @@ l_Std_BitVec_instDivBitVec___closed__1 = _init_l_Std_BitVec_instDivBitVec___clos lean_mark_persistent(l_Std_BitVec_instDivBitVec___closed__1); l_Std_BitVec_instModBitVec___closed__1 = _init_l_Std_BitVec_instModBitVec___closed__1(); lean_mark_persistent(l_Std_BitVec_instModBitVec___closed__1); +l_Std_BitVec_ofBool___closed__1 = _init_l_Std_BitVec_ofBool___closed__1(); +lean_mark_persistent(l_Std_BitVec_ofBool___closed__1); +l_Std_BitVec_ofBool___closed__2 = _init_l_Std_BitVec_ofBool___closed__2(); +lean_mark_persistent(l_Std_BitVec_ofBool___closed__2); l_Std_BitVec_instAndOpBitVec___closed__1 = _init_l_Std_BitVec_instAndOpBitVec___closed__1(); lean_mark_persistent(l_Std_BitVec_instAndOpBitVec___closed__1); l_Std_BitVec_instOrOpBitVec___closed__1 = _init_l_Std_BitVec_instOrOpBitVec___closed__1(); lean_mark_persistent(l_Std_BitVec_instOrOpBitVec___closed__1); l_Std_BitVec_instXorBitVec___closed__1 = _init_l_Std_BitVec_instXorBitVec___closed__1(); lean_mark_persistent(l_Std_BitVec_instXorBitVec___closed__1); -l_Std_BitVec_ofInt___closed__1 = _init_l_Std_BitVec_ofInt___closed__1(); -lean_mark_persistent(l_Std_BitVec_ofInt___closed__1); l_Std_BitVec_instHShiftRightBitVecNat___closed__1 = _init_l_Std_BitVec_instHShiftRightBitVecNat___closed__1(); lean_mark_persistent(l_Std_BitVec_instHShiftRightBitVecNat___closed__1); -l_Std_BitVec_ofBool___closed__1 = _init_l_Std_BitVec_ofBool___closed__1(); -lean_mark_persistent(l_Std_BitVec_ofBool___closed__1); -l_Std_BitVec_ofBool___closed__2 = _init_l_Std_BitVec_ofBool___closed__2(); -lean_mark_persistent(l_Std_BitVec_ofBool___closed__2); -l_Std_BitVec_nil___closed__1 = _init_l_Std_BitVec_nil___closed__1(); -lean_mark_persistent(l_Std_BitVec_nil___closed__1); -l_Std_BitVec_nil = _init_l_Std_BitVec_nil(); -lean_mark_persistent(l_Std_BitVec_nil); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/CompletionName.c b/stage0/stdlib/Lean/Meta/CompletionName.c new file mode 100644 index 0000000000..5edac29750 --- /dev/null +++ b/stage0/stdlib/Lean/Meta/CompletionName.c @@ -0,0 +1,286 @@ +// Lean compiler output +// Module: Lean.Meta.CompletionName +// Imports: Init Lean.Meta.Basic Lean.Meta.Match.MatcherInfo +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Meta_addToCompletionBlackList___closed__1; +uint8_t lean_is_matcher(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1; +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3; +uint8_t lean_is_aux_recursor(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_allowCompletion___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2; +LEAN_EXPORT uint8_t l_Lean_Meta_allowCompletion(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_completionBlackListExt; +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_isPrivateName(lean_object*); +uint8_t l_Lean_isRecCore(lean_object*, lean_object*); +LEAN_EXPORT lean_object* lean_completion_add_to_black_list(lean_object*, lean_object*); +extern lean_object* l_Lean_noConfusionExt; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1; +lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5_(lean_object*); +uint8_t l_Lean_Name_isInternal(lean_object*); +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Meta", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("completionBlackListExt", 22); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4; +x_3 = l_Lean_mkTagDeclarationExtension(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_addToCompletionBlackList___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_completionBlackListExt; +return x_1; +} +} +LEAN_EXPORT lean_object* lean_completion_add_to_black_list(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Meta_addToCompletionBlackList___closed__1; +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_noConfusionExt; +return x_1; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_16; +x_16 = l_Lean_Name_isInternal(x_2); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_box(0); +x_3 = x_17; +goto block_15; +} +else +{ +uint8_t x_18; +x_18 = l_Lean_isPrivateName(x_2); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_2); +lean_dec(x_1); +x_19 = 1; +return x_19; +} +else +{ +lean_object* x_20; +x_20 = lean_box(0); +x_3 = x_20; +goto block_15; +} +} +block_15: +{ +uint8_t x_4; +lean_dec(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_4 = lean_is_aux_recursor(x_1, x_2); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_6 = l_Lean_TagDeclarationExtension_isTagged(x_5, x_1, x_2); +if (x_6 == 0) +{ +uint8_t x_7; +lean_inc(x_2); +lean_inc(x_1); +x_7 = l_Lean_isRecCore(x_1, x_2); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_Meta_addToCompletionBlackList___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_TagDeclarationExtension_isTagged(x_8, x_1, x_2); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = lean_is_matcher(x_1, x_2); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_2); +lean_dec(x_1); +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +lean_dec(x_2); +lean_dec(x_1); +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +lean_dec(x_2); +lean_dec(x_1); +x_13 = 1; +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_2); +lean_dec(x_1); +x_14 = 1; +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_allowCompletion(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_allowCompletion___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Meta_allowCompletion(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Match_MatcherInfo(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Meta_CompletionName(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Match_MatcherInfo(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5____closed__4); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_CompletionName___hyg_5_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Meta_completionBlackListExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Meta_completionBlackListExt); +lean_dec_ref(res); +}l_Lean_Meta_addToCompletionBlackList___closed__1 = _init_l_Lean_Meta_addToCompletionBlackList___closed__1(); +lean_mark_persistent(l_Lean_Meta_addToCompletionBlackList___closed__1); +l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1 = _init_l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_CompletionName_0__Lean_Meta_isBlacklisted___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c index db90bb4716..9e8515222d 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c @@ -13,72 +13,64 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1664_(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceBNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784_(lean_object*); static lean_object* l_Int_reduceBoolPred___lambda__1___closed__5; static lean_object* l_Int_reduceMul___closed__2; static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__7; -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__3; LEAN_EXPORT lean_object* l_Int_reduceDiv___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_reducePow___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1112_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865_(lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1758_(lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__9; -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__11; +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3; static lean_object* l_Int_reduceUnary___lambda__1___closed__1; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1707_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1894_(lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__4; static lean_object* l_Int_toExpr___closed__13; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1270_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceGE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__7; LEAN_EXPORT lean_object* l_Int_reduceAdd___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___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1869_(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1150_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceGT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceMul___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___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1272_(lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1432_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4; static lean_object* l_Int_toExpr___closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1675_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1718_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Int_reduceToNat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1584_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8; static lean_object* l_Int_reduceAdd___closed__1; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662_(lean_object*); +LEAN_EXPORT lean_object* l_Int_reduceToNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceUnary___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Int_reduceNatCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__5; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1; static lean_object* l_Int_reduceDiv___closed__2; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__4; LEAN_EXPORT lean_object* l_Int_reduceAdd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceAbs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1829_(lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1110_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1541_(lean_object*); static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__4; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__2; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621_(lean_object*); static lean_object* l_Int_reduceDiv___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceBEq___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_Int_reduceBin___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_fromExpr_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998_(lean_object*); static lean_object* l_Int_reducePow___closed__2; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5; static lean_object* l_Int_fromExpr_x3f___closed__3; LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__5; @@ -86,143 +78,154 @@ static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__6; LEAN_EXPORT lean_object* l_Int_reduceBNe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1152_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3; -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1875_(lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__10; -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4; static lean_object* l_Int_reduceGE___closed__2; lean_object* lean_int_emod(lean_object*, lean_object*); static lean_object* l_Int_toExpr___closed__1; static lean_object* l_Int_reduceLE___closed__2; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6; LEAN_EXPORT lean_object* l_Int_reduceNeg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_reduceBoolPred___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2; static lean_object* l_Int_reduceNe___closed__1; +LEAN_EXPORT lean_object* l_Int_reduceNatCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3; static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__1; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1473_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1553_(lean_object*); lean_object* l_Lean_Meta_Simp_evalPropStep(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceGE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__6; LEAN_EXPORT lean_object* l_Int_reduceNeg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__10; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1756_(lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__1; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__7; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__11; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__4; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__10; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4; static lean_object* l_Int_reduceLT___closed__3; LEAN_EXPORT lean_object* l_Int_reduceSub___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673_(lean_object*); static lean_object* l_Int_reduceMod___closed__3; static lean_object* l_Int_fromExpr_x3f___closed__1; LEAN_EXPORT lean_object* l_Int_reduceUnary___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__2; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3; uint8_t lean_int_dec_le(lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__3; LEAN_EXPORT lean_object* l_Int_reducePow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceAbs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6; lean_object* l_Lean_Expr_appArg_x21(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1190_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__9; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Int_reduceBoolPred___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_toExpr(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3; static lean_object* l_Int_reducePow___closed__1; static lean_object* l_Int_reduceEq___closed__2; static lean_object* l_Int_reduceEq___closed__1; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8; +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9; LEAN_EXPORT lean_object* l_Int_fromExpr_x3f___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceNeg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1788_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9; uint8_t l_instDecidableNot___rarg(uint8_t); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1896_(lean_object*); static lean_object* l_Int_reduceBoolPred___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Int_reduceLE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5; extern lean_object* l_Lean_Meta_Simp_builtinSimprocsRef; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1543_(lean_object*); +LEAN_EXPORT lean_object* l_Int_reduceToNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__8; -static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__7; static lean_object* l_Int_toExpr___closed__14; static lean_object* l_Int_reduceLT___closed__2; static lean_object* l_Int_reduceAdd___closed__3; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__6; -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1; static lean_object* l_Int_reduceBEq___closed__2; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7; static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; lean_object* lean_nat_to_int(lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2; static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__3; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__5; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__4; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5; lean_object* l_Int_pow(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3; -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8; +static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11; +LEAN_EXPORT lean_object* l_Int_reduceNatCore(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_Int_reduceLE___closed__1; LEAN_EXPORT lean_object* l_Int_reducePow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__11; +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6; LEAN_EXPORT lean_object* l_Int_toExpr___boxed(lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__2; +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1512_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9; -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__9; +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__6; static lean_object* l_Int_reduceDiv___closed__3; +LEAN_EXPORT lean_object* l_Int_reduceToNat___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__1; static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__7; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754_(lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__2; LEAN_EXPORT lean_object* l_Int_reduceGT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_fromExpr_x3f___closed__4; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Int_reduceBEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3; static lean_object* l_Int_reduceAdd___closed__2; extern lean_object* l_Lean_levelZero; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__2; LEAN_EXPORT lean_object* l_Int_reduceNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1; LEAN_EXPORT lean_object* l_Int_reduceBEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1705_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1072_(lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1877_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceLT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceMod___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1596_(lean_object*); static lean_object* l_Int_toExpr___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1430_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__1; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7; LEAN_EXPORT lean_object* l_Int_fromExpr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__6; static lean_object* l_Int_reduceGT___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1666_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__11; -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8; -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5; +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1; LEAN_EXPORT lean_object* l_Int_reduceBinPred___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceBin___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__12; -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__8; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892_(lean_object*); +static lean_object* l_Int_reduceToNat___closed__1; LEAN_EXPORT lean_object* l_Int_reduceBoolPred___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7; LEAN_EXPORT lean_object* l_Int_isPosValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__8; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__8; LEAN_EXPORT lean_object* l_Int_reduceMod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,140 +235,154 @@ LEAN_EXPORT lean_object* l_Int_reduceUnary(lean_object*, lean_object*, lean_obje static lean_object* l_Int_reduceMul___closed__3; lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceBNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__12; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__3; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1748_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8; static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__7; -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3; static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825_(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9; +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__9; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__14; +static lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__8; static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__10; -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5; static lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1188____closed__7; -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1; lean_object* lean_int_sub(lean_object*, lean_object*); static lean_object* l_Int_toExpr___closed__2; static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__2; +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4; static lean_object* l_Int_toExpr___closed__10; static lean_object* l_Int_fromExpr_x3f___closed__2; static lean_object* l_Int_reduceBEq___closed__1; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148_(lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__5; LEAN_EXPORT lean_object* l_Int_reduceSub___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceDiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744_(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000_(lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__3; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__10; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7; static lean_object* l_Int_reduceNe___closed__2; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__6; LEAN_EXPORT lean_object* l_Int_reduceBin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1635_(lean_object*); static lean_object* l_Int_reduceAbs___closed__2; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1786_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6; lean_object* lean_nat_abs(lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__6; static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__9; static lean_object* l_Int_reduceGT___closed__2; +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8; static lean_object* l_Int_reduceBNe___closed__2; -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9; -static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1; LEAN_EXPORT lean_object* l_Int_reduceBinPred___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__5; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__2; lean_object* lean_int_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceLE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__5; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__3; LEAN_EXPORT lean_object* l_Int_reduceLE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_registerBuiltinSimproc(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_reduceSub___closed__2; -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5; static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__2; static lean_object* l_Int_reduceSub___closed__1; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1625_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1471_(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070_(lean_object*); static lean_object* l_Int_reduceMod___closed__2; +static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7; lean_object* l_Lean_mkRawNatLit(lean_object*); -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3; static lean_object* l_Int_toExpr___closed__11; static lean_object* l_Int_toExpr___closed__9; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1867_(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Int_toExpr___closed__6; -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9; static lean_object* l_Int_reduceAbs___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714_(lean_object*); static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__3; static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__13; lean_object* l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; LEAN_EXPORT lean_object* l_Int_reduceMul___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10; +static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10; static lean_object* l_Int_reduceLT___closed__1; LEAN_EXPORT lean_object* l_Int_reduceGE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1230_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); static lean_object* l_Int_toExpr___closed__8; static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__10; static lean_object* l_Int_reduceMul___closed__1; LEAN_EXPORT lean_object* l_Int_reduceEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6; +lean_object* l_Int_toNat(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1594_(lean_object*); LEAN_EXPORT lean_object* l_Int_isPosValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7; static lean_object* l_Int_reduceSub___closed__3; uint8_t lean_int_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1746_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8; -static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10; +static lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551_(lean_object*); static lean_object* l_Int_reduceGT___closed__3; LEAN_EXPORT lean_object* l_Int_reduceSub(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592_(lean_object*); static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2; LEAN_EXPORT lean_object* l_Int_reduceNe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__6; LEAN_EXPORT lean_object* l_Int_fromExpr_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_reduceBoolPred___lambda__1___closed__7; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5; static lean_object* l___regBuiltin_Int_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1268____closed__11; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1623_(lean_object*); +static lean_object* l_Int_reduceToNat___closed__2; LEAN_EXPORT lean_object* l_Int_reducePow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Int_reduceMod___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1716_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7; +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4; +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7; static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__8; LEAN_EXPORT lean_object* l_Int_reduceBinPred(lean_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_Int_reduceGT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1582_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1677_(lean_object*); static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__7; lean_object* lean_int_add(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6; uint8_t lean_int_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Int_reduceNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__7; static lean_object* l_Int_reduceGE___closed__3; static lean_object* l_Int_reduceBNe___closed__1; lean_object* l_Nat_fromExpr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5; LEAN_EXPORT lean_object* l_Int_fromExpr_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__9; +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1; static lean_object* l_Int_reduceGE___closed__1; static lean_object* l_Int_toExpr___closed__7; -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4; static lean_object* l_Int_toExpr___closed__12; -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8; +static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__6; static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__4; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__4; @@ -373,15 +390,11 @@ lean_object* lean_int_ediv(lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__3; LEAN_EXPORT lean_object* l_Int_isPosValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_isPosValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1070____closed__4; -static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4; -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10; lean_object* lean_int_neg(lean_object*); extern lean_object* l_Lean_Meta_Simp_builtinSEvalprocsRef; -static lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7; -static lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__11; static lean_object* l___regBuiltin_Int_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1148____closed__9; -static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2; static lean_object* l_Int_toExpr___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1192_(lean_object*); static lean_object* l_Int_fromExpr_x3f___lambda__2___closed__1; @@ -389,22 +402,28 @@ static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__1; LEAN_EXPORT lean_object* l_Int_reduceDiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__1; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3; static lean_object* l_Int_reduceLE___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633_(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1232_(lean_object*); -static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1; -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1514_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceEq___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___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510_(lean_object*); static lean_object* l_Int_reduceBEq___closed__3; -static lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7; +static lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1; +static lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3; static lean_object* l___regBuiltin_Int_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1108____closed__5; static lean_object* l_Int_reduceBoolPred___lambda__1___closed__10; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1637_(lean_object*); static lean_object* l_Int_reduceBoolPred___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Int_reduceBoolPred(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_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6; +static lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1; LEAN_EXPORT lean_object* l_Int_reduceMod___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1827_(lean_object*); LEAN_EXPORT lean_object* l_Int_reduceLT___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___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1555_(lean_object*); +static lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2; static lean_object* l___regBuiltin_Int_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1228____closed__5; +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873_(lean_object*); static lean_object* l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1428____closed__1; LEAN_EXPORT lean_object* l_Int_fromExpr_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: @@ -5346,295 +5365,6 @@ x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = l_Lean_Expr_appArg_x21(x_1); -x_12 = l_Int_fromExpr_x3f(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = l_Int_reduceUnary___lambda__1___closed__1; -lean_ctor_set(x_12, 0, x_16); -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = l_Int_reduceUnary___lambda__1___closed__1; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_12, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_13, 0); -lean_inc(x_22); -lean_dec(x_13); -x_23 = lean_nat_abs(x_22); -lean_dec(x_22); -x_24 = l_Lean_mkNatLit(x_23); -x_25 = lean_box(0); -x_26 = 0; -x_27 = 1; -x_28 = lean_alloc_ctor(0, 2, 5); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_25); -lean_ctor_set_uint32(x_28, sizeof(void*)*2, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*2 + 4, x_27); -x_29 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_12, 0, x_29); -return x_12; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint32_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_30 = lean_ctor_get(x_12, 1); -lean_inc(x_30); -lean_dec(x_12); -x_31 = lean_ctor_get(x_13, 0); -lean_inc(x_31); -lean_dec(x_13); -x_32 = lean_nat_abs(x_31); -lean_dec(x_31); -x_33 = l_Lean_mkNatLit(x_32); -x_34 = lean_box(0); -x_35 = 0; -x_36 = 1; -x_37 = lean_alloc_ctor(0, 2, 5); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -lean_ctor_set_uint32(x_37, sizeof(void*)*2, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*2 + 4, x_36); -x_38 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_30); -return x_39; -} -} -} -else -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_12); -if (x_40 == 0) -{ -return x_12; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_12, 0); -x_42 = lean_ctor_get(x_12, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_12); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -} -static lean_object* _init_l_Int_reduceAbs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("natAbs", 6); -return x_1; -} -} -static lean_object* _init_l_Int_reduceAbs___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l_Int_reduceAbs___closed__1; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Int_reduceAbs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = l_Int_reduceAbs___closed__2; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Expr_isAppOfArity(x_1, x_10, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = l_Int_reduceUnary___lambda__1___closed__1; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_9); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Int_reduceAbs___lambda__1(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Int_reduceAbs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Int_reduceAbs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Int_reduceAbs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("reduceAbs", 9); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Int_reduceAbs___closed__2; -x_2 = lean_unsigned_to_nat(1u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4() { -_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___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4; -x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5; -x_2 = lean_box(3); -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Int_reduceAbs___boxed), 9, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2; -x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6; -x_4 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7; -x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1541_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2; -x_4 = 1; -x_5 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7; -x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1543_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2; -x_4 = 1; -x_5 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7; -x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} LEAN_EXPORT lean_object* l_Int_reduceLT___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -5900,7 +5630,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1() { _start: { lean_object* x_1; @@ -5908,17 +5638,17 @@ x_1 = lean_mk_string_from_bytes("reduceLT", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1; +x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5930,7 +5660,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -5939,57 +5669,57 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; -x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10() { +static lean_object* _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10() { _start: { lean_object* x_1; @@ -5997,37 +5727,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceLT), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2; -x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9; -x_4 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10; +x_2 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2; +x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9; +x_4 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1582_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1471_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2; +x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10; +x_5 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1584_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1473_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2; +x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10; +x_5 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -6297,7 +6027,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1() { _start: { lean_object* x_1; @@ -6305,17 +6035,17 @@ x_1 = lean_mk_string_from_bytes("reduceLE", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1; +x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6327,57 +6057,57 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; -x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4; +x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5; +x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6; +x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7; +x_1 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9() { +static lean_object* _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9() { _start: { lean_object* x_1; @@ -6385,37 +6115,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceLE), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2; -x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8; -x_4 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9; +x_2 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2; +x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8; +x_4 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1623_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1512_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2; +x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9; +x_5 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1625_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1514_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2; +x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9; +x_5 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -6685,7 +6415,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1() { _start: { lean_object* x_1; @@ -6693,17 +6423,17 @@ x_1 = lean_mk_string_from_bytes("reduceGT", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1; +x_2 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3() { _start: { lean_object* x_1; @@ -6711,37 +6441,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceGT), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2; -x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9; -x_4 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3; +x_2 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2; +x_3 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9; +x_4 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1664_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1553_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2; +x_3 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3; +x_5 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1666_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1555_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2; +x_3 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3; +x_5 = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -7011,7 +6741,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1() { _start: { lean_object* x_1; @@ -7019,17 +6749,17 @@ x_1 = lean_mk_string_from_bytes("reduceGE", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1; +x_2 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3() { _start: { lean_object* x_1; @@ -7037,37 +6767,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceGE), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2; -x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8; -x_4 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3; +x_2 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2; +x_3 = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8; +x_4 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1705_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1594_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2; +x_3 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3; +x_5 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1707_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1596_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2; +x_3 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3; +x_5 = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -7329,7 +7059,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1() { _start: { lean_object* x_1; @@ -7337,17 +7067,17 @@ x_1 = lean_mk_string_from_bytes("reduceEq", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1; +x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7359,47 +7089,47 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__5; -x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3; +x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4; +x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5; +x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6; +x_1 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8() { _start: { lean_object* x_1; @@ -7407,37 +7137,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceEq), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2; -x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7; -x_4 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8; +x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2; +x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7; +x_4 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1746_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1635_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2; +x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8; +x_5 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1748_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1637_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2; +x_3 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8; +x_5 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -7700,7 +7430,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1() { _start: { lean_object* x_1; @@ -7708,17 +7438,17 @@ x_1 = lean_mk_string_from_bytes("reduceNe", 8); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1; +x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3() { _start: { lean_object* x_1; @@ -7726,21 +7456,21 @@ x_1 = lean_mk_string_from_bytes("Not", 3); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3; +x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4; +x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7748,57 +7478,57 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; -x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6; -x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3; +x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6; +x_2 = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7; +x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8; +x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9; +x_1 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11() { +static lean_object* _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11() { _start: { lean_object* x_1; @@ -7806,37 +7536,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceNe), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2; -x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10; -x_4 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11; +x_2 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2; +x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10; +x_4 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1786_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1675_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2; +x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11; +x_5 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1788_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1677_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2; +x_3 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11; +x_5 = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -8128,7 +7858,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1() { _start: { lean_object* x_1; @@ -8136,17 +7866,17 @@ x_1 = lean_mk_string_from_bytes("reduceBEq", 9); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1; +x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -8158,57 +7888,57 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; -x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4; +x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5; +x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6; +x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7; +x_1 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9() { +static lean_object* _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9() { _start: { lean_object* x_1; @@ -8216,37 +7946,37 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceBEq), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2; -x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8; -x_4 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9; +x_2 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2; +x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8; +x_4 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1827_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1716_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2; +x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9; +x_5 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1829_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1718_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2; +x_3 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9; +x_5 = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -8530,7 +8260,7 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1() { _start: { lean_object* x_1; @@ -8538,17 +8268,17 @@ x_1 = lean_mk_string_from_bytes("reduceBNe", 9); return x_1; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; -x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1; +x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -8560,57 +8290,57 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4; -x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3; +x_1 = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4; +x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4; +x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_996____closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5; +x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6; +x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7; +x_1 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7; x_2 = lean_box(3); x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9() { +static lean_object* _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9() { _start: { lean_object* x_1; @@ -8618,37 +8348,769 @@ x_1 = lean_alloc_closure((void*)(l_Int_reduceBNe), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2; -x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8; -x_4 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9; +x_2 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2; +x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8; +x_4 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9; x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1867_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1756_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; -x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2; +x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9; +x_5 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1869_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1758_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; -x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2; +x_3 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2; x_4 = 1; -x_5 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9; +x_5 = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9; +x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Int_reduceNatCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Expr_appArg_x21(x_1); +x_13 = l_Int_fromExpr_x3f(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = l_Int_reduceUnary___lambda__1___closed__1; +lean_ctor_set(x_13, 0, x_17); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = l_Int_reduceUnary___lambda__1___closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint32_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; +x_22 = lean_ctor_get(x_13, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = lean_apply_1(x_2, x_23); +x_25 = l_Lean_mkNatLit(x_24); +x_26 = lean_box(0); +x_27 = 0; +x_28 = 1; +x_29 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_26); +lean_ctor_set_uint32(x_29, sizeof(void*)*2, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*2 + 4, x_28); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_13, 0, x_30); +return x_13; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint32_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_dec(x_13); +x_32 = lean_ctor_get(x_14, 0); +lean_inc(x_32); +lean_dec(x_14); +x_33 = lean_apply_1(x_2, x_32); +x_34 = l_Lean_mkNatLit(x_33); +x_35 = lean_box(0); +x_36 = 0; +x_37 = 1; +x_38 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set_uint32(x_38, sizeof(void*)*2, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 4, x_37); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_31); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_2); +x_41 = !lean_is_exclusive(x_13); +if (x_41 == 0) +{ +return x_13; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_13, 0); +x_43 = lean_ctor_get(x_13, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_13); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +LEAN_EXPORT lean_object* l_Int_reduceNatCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Expr_isAppOfArity(x_3, x_1, x_12); +lean_dec(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = l_Int_reduceUnary___lambda__1___closed__1; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Int_reduceNatCore___lambda__1(x_3, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Int_reduceNatCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Int_reduceNatCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_Expr_appArg_x21(x_1); +x_12 = l_Int_fromExpr_x3f(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = l_Int_reduceUnary___lambda__1___closed__1; +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Int_reduceUnary___lambda__1___closed__1; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_21 = lean_ctor_get(x_12, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_13, 0); +lean_inc(x_22); +lean_dec(x_13); +x_23 = lean_nat_abs(x_22); +lean_dec(x_22); +x_24 = l_Lean_mkNatLit(x_23); +x_25 = lean_box(0); +x_26 = 0; +x_27 = 1; +x_28 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set_uint32(x_28, sizeof(void*)*2, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*2 + 4, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_12, 0, x_29); +return x_12; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint32_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); +lean_dec(x_12); +x_31 = lean_ctor_get(x_13, 0); +lean_inc(x_31); +lean_dec(x_13); +x_32 = lean_nat_abs(x_31); +lean_dec(x_31); +x_33 = l_Lean_mkNatLit(x_32); +x_34 = lean_box(0); +x_35 = 0; +x_36 = 1; +x_37 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set_uint32(x_37, sizeof(void*)*2, x_35); +lean_ctor_set_uint8(x_37, sizeof(void*)*2 + 4, x_36); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_30); +return x_39; +} +} +} +else +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_12); +if (x_40 == 0) +{ +return x_12; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_12, 0); +x_42 = lean_ctor_get(x_12, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +static lean_object* _init_l_Int_reduceAbs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("natAbs", 6); +return x_1; +} +} +static lean_object* _init_l_Int_reduceAbs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; +x_2 = l_Int_reduceAbs___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Int_reduceAbs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = l_Int_reduceAbs___closed__2; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Expr_isAppOfArity(x_1, x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = l_Int_reduceUnary___lambda__1___closed__1; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Int_reduceAbs___lambda__1(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Int_reduceAbs___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Int_reduceAbs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Int_reduceAbs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Int_reduceAbs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("reduceAbs", 9); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; +x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_reduceAbs___closed__2; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4() { +_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___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4; +x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5; +x_2 = lean_box(3); +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Int_reduceAbs___boxed), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2; +x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6; +x_4 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7; +x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1875_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; +x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2; +x_4 = 1; +x_5 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7; +x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1877_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; +x_3 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2; +x_4 = 1; +x_5 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7; +x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Int_reduceToNat___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_Expr_appArg_x21(x_1); +x_12 = l_Int_fromExpr_x3f(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = l_Int_reduceUnary___lambda__1___closed__1; +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Int_reduceUnary___lambda__1___closed__1; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_21 = lean_ctor_get(x_12, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_13, 0); +lean_inc(x_22); +lean_dec(x_13); +x_23 = l_Int_toNat(x_22); +lean_dec(x_22); +x_24 = l_Lean_mkNatLit(x_23); +x_25 = lean_box(0); +x_26 = 0; +x_27 = 1; +x_28 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set_uint32(x_28, sizeof(void*)*2, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*2 + 4, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_12, 0, x_29); +return x_12; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint32_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); +lean_dec(x_12); +x_31 = lean_ctor_get(x_13, 0); +lean_inc(x_31); +lean_dec(x_13); +x_32 = l_Int_toNat(x_31); +lean_dec(x_31); +x_33 = l_Lean_mkNatLit(x_32); +x_34 = lean_box(0); +x_35 = 0; +x_36 = 1; +x_37 = lean_alloc_ctor(0, 2, 5); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set_uint32(x_37, sizeof(void*)*2, x_35); +lean_ctor_set_uint8(x_37, sizeof(void*)*2 + 4, x_36); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_30); +return x_39; +} +} +} +else +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_12); +if (x_40 == 0) +{ +return x_12; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_12, 0); +x_42 = lean_ctor_get(x_12, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +static lean_object* _init_l_Int_reduceToNat___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("toNat", 5); +return x_1; +} +} +static lean_object* _init_l_Int_reduceToNat___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; +x_2 = l_Int_reduceToNat___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Int_reduceToNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = l_Int_reduceToNat___closed__2; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Expr_isAppOfArity(x_1, x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = l_Int_reduceUnary___lambda__1___closed__1; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Int_reduceToNat___lambda__1(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Int_reduceToNat___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Int_reduceToNat___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Int_reduceToNat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Int_reduceToNat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("reduceToNat", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_fromExpr_x3f___lambda__2___closed__4; +x_2 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Int_reduceToNat___closed__2; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4; +x_2 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4; +x_2 = lean_box(3); +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Int_reduceToNat___boxed), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2; +x_3 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5; +x_4 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6; +x_5 = l_Lean_Meta_Simp_registerBuiltinSimproc(x_2, x_3, x_4, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1894_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_998____closed__1; +x_3 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2; +x_4 = 1; +x_5 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6; +x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1896_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Int_reduceNeg_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1000____closed__1; +x_3 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2; +x_4 = 1; +x_5 = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6; x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -9025,66 +9487,39 @@ lean_dec_ref(res); }if (builtin) {res = l___regBuiltin_Int_reducePow_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1432_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Int_reduceAbs___closed__1 = _init_l_Int_reduceAbs___closed__1(); -lean_mark_persistent(l_Int_reduceAbs___closed__1); -l_Int_reduceAbs___closed__2 = _init_l_Int_reduceAbs___closed__2(); -lean_mark_persistent(l_Int_reduceAbs___closed__2); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__1); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__2); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__3); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__4); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__5); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__6); -l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539____closed__7); -if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1539_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1541_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1543_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); }l_Int_reduceLT___closed__1 = _init_l_Int_reduceLT___closed__1(); lean_mark_persistent(l_Int_reduceLT___closed__1); l_Int_reduceLT___closed__2 = _init_l_Int_reduceLT___closed__2(); lean_mark_persistent(l_Int_reduceLT___closed__2); l_Int_reduceLT___closed__3 = _init_l_Int_reduceLT___closed__3(); lean_mark_persistent(l_Int_reduceLT___closed__3); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__1); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__2); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__3); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__4); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__5); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__6); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__7); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__8); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__9); -l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10(); -lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580____closed__10); -if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1580_(lean_io_mk_world()); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__1); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__2); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__3); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__4); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__5); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__6); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__7); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__8); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__9); +l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10 = _init_l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10(); +lean_mark_persistent(l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469____closed__10); +if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1469_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1582_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1471_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1584_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1473_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceLE___closed__1 = _init_l_Int_reduceLE___closed__1(); @@ -9093,31 +9528,31 @@ l_Int_reduceLE___closed__2 = _init_l_Int_reduceLE___closed__2(); lean_mark_persistent(l_Int_reduceLE___closed__2); l_Int_reduceLE___closed__3 = _init_l_Int_reduceLE___closed__3(); lean_mark_persistent(l_Int_reduceLE___closed__3); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__1); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__2); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__3); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__4); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__5); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__6); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__7); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__8); -l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9(); -lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621____closed__9); -if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1621_(lean_io_mk_world()); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__1); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__2); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__3); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__4); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__5); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__6); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__7); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__8); +l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9 = _init_l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9(); +lean_mark_persistent(l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510____closed__9); +if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1510_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1623_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1512_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1625_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceLE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1514_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceGT___closed__1 = _init_l_Int_reduceGT___closed__1(); @@ -9126,19 +9561,19 @@ l_Int_reduceGT___closed__2 = _init_l_Int_reduceGT___closed__2(); lean_mark_persistent(l_Int_reduceGT___closed__2); l_Int_reduceGT___closed__3 = _init_l_Int_reduceGT___closed__3(); lean_mark_persistent(l_Int_reduceGT___closed__3); -l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__1); -l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__2); -l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662____closed__3); -if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1662_(lean_io_mk_world()); +l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__1); +l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__2); +l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3 = _init_l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551____closed__3); +if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1551_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1664_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1553_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1666_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1555_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceGE___closed__1 = _init_l_Int_reduceGE___closed__1(); @@ -9147,83 +9582,83 @@ l_Int_reduceGE___closed__2 = _init_l_Int_reduceGE___closed__2(); lean_mark_persistent(l_Int_reduceGE___closed__2); l_Int_reduceGE___closed__3 = _init_l_Int_reduceGE___closed__3(); lean_mark_persistent(l_Int_reduceGE___closed__3); -l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__1); -l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__2); -l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703____closed__3); -if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1703_(lean_io_mk_world()); +l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__1); +l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__2); +l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3 = _init_l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592____closed__3); +if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1592_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1705_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1594_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1707_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceGE_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1596_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceEq___closed__1 = _init_l_Int_reduceEq___closed__1(); lean_mark_persistent(l_Int_reduceEq___closed__1); l_Int_reduceEq___closed__2 = _init_l_Int_reduceEq___closed__2(); lean_mark_persistent(l_Int_reduceEq___closed__2); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__1); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__2); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__3); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__4); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__5); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__6); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__7); -l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744____closed__8); -if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1744_(lean_io_mk_world()); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__1); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__2); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__3); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__4); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__5); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__6); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__7); +l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8 = _init_l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633____closed__8); +if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1633_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1746_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1635_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1748_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1637_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceNe___closed__1 = _init_l_Int_reduceNe___closed__1(); lean_mark_persistent(l_Int_reduceNe___closed__1); l_Int_reduceNe___closed__2 = _init_l_Int_reduceNe___closed__2(); lean_mark_persistent(l_Int_reduceNe___closed__2); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__1); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__2); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__3); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__4); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__5); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__6); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__7); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__8); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__9); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__10); -l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11(); -lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784____closed__11); -if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1784_(lean_io_mk_world()); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__1); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__2); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__3); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__4); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__5); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__6); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__7); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__8); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__9); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__10); +l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11 = _init_l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11(); +lean_mark_persistent(l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673____closed__11); +if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1673_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1786_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1675_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1788_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1677_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceBEq___closed__1 = _init_l_Int_reduceBEq___closed__1(); @@ -9232,62 +9667,114 @@ l_Int_reduceBEq___closed__2 = _init_l_Int_reduceBEq___closed__2(); lean_mark_persistent(l_Int_reduceBEq___closed__2); l_Int_reduceBEq___closed__3 = _init_l_Int_reduceBEq___closed__3(); lean_mark_persistent(l_Int_reduceBEq___closed__3); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__1); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__2); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__3); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__4); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__5); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__6); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__7); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__8); -l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9(); -lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825____closed__9); -if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1825_(lean_io_mk_world()); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__1); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__2); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__3); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__4); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__5); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__6); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__7); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__8); +l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9 = _init_l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9(); +lean_mark_persistent(l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714____closed__9); +if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1714_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1827_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1716_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1829_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceBEq_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1718_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Int_reduceBNe___closed__1 = _init_l_Int_reduceBNe___closed__1(); lean_mark_persistent(l_Int_reduceBNe___closed__1); l_Int_reduceBNe___closed__2 = _init_l_Int_reduceBNe___closed__2(); lean_mark_persistent(l_Int_reduceBNe___closed__2); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__1); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__2); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__3); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__4); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__5); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__6); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__7); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__8); -l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9(); -lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865____closed__9); -if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1865_(lean_io_mk_world()); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__1); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__2); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__3); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__4); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__5); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__6); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__7); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__8); +l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9 = _init_l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9(); +lean_mark_persistent(l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754____closed__9); +if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1754_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1867_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1756_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1869_(lean_io_mk_world()); +}if (builtin) {res = l___regBuiltin_Int_reduceBNe_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1758_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Int_reduceAbs___closed__1 = _init_l_Int_reduceAbs___closed__1(); +lean_mark_persistent(l_Int_reduceAbs___closed__1); +l_Int_reduceAbs___closed__2 = _init_l_Int_reduceAbs___closed__2(); +lean_mark_persistent(l_Int_reduceAbs___closed__2); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__1); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__2); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__3); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__4); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__5); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__6); +l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7 = _init_l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7(); +lean_mark_persistent(l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873____closed__7); +if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1873_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1875_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}if (builtin) {res = l___regBuiltin_Int_reduceAbs_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1877_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Int_reduceToNat___closed__1 = _init_l_Int_reduceToNat___closed__1(); +lean_mark_persistent(l_Int_reduceToNat___closed__1); +l_Int_reduceToNat___closed__2 = _init_l_Int_reduceToNat___closed__2(); +lean_mark_persistent(l_Int_reduceToNat___closed__2); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__1); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__2); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__3); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__4); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__5); +l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6 = _init_l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6(); +lean_mark_persistent(l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892____closed__6); +if (builtin) {res = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1892_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}if (builtin) {res = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1894_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}if (builtin) {res = l___regBuiltin_Int_reduceToNat_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Int___hyg_1896_(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/Completion.c b/stage0/stdlib/Lean/Server/Completion.c index 7e0f6d1182..f026102816 100644 --- a/stage0/stdlib/Lean/Server/Completion.c +++ b/stage0/stdlib/Lean/Server/Completion.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Server.Completion -// Imports: Lean.Environment Lean.Parser.Term Lean.Data.FuzzyMatching Lean.Data.Lsp.LanguageFeatures Lean.Data.Lsp.Capabilities Lean.Data.Lsp.Utf16 Lean.Meta.Tactic.Apply Lean.Meta.Match.MatcherInfo Lean.Server.InfoUtils Lean.Parser.Extension +// Imports: Lean.Environment Lean.Parser.Term Lean.Data.FuzzyMatching Lean.Data.Lsp.LanguageFeatures Lean.Data.Lsp.Capabilities Lean.Data.Lsp.Utf16 Lean.Meta.CompletionName Lean.Meta.Tactic.Apply Lean.Meta.Match.MatcherInfo Lean.Server.InfoUtils Lean.Parser.Extension #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -19,8 +19,6 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Server_Completion_completeNamespaces___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1; -uint8_t lean_is_matcher(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Completion_completeNamespaces___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_instInhabitedParserCategory; @@ -67,7 +65,6 @@ static lean_object* l_Lean_Server_Completion_matchNamespace___closed__1; static lean_object* l_List_forIn_loop___at_Lean_Server_Completion_completeNamespaces___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3; lean_object* l_Lean_findDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___closed__4; @@ -88,15 +85,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl uint8_t lean_usize_dec_eq(size_t, size_t); extern lean_object* l_Lean_Parser_ParserExtension_instInhabitedState; uint8_t l_Lean_Name_isAnonymous(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Completion_completeNamespaces___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Completion_completeNamespaces___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotIdCompletion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Completion_completeNamespaces___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__23(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDefEqToAppOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -107,7 +102,6 @@ uint8_t lean_float_decLt(double, double); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getExpectedNumArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Completion_matchNamespace___closed__1___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_isEnumType___at___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,17 +148,13 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Com lean_object* l_Lean_Elab_Info_occursBefore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_consumeImplicitPrefix___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5; -uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Completion_matchNamespace(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__15(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_unfoldeDefinitionGuarded_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Completion_addToBlackList___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__1; @@ -178,7 +168,6 @@ lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_Completion_matchNamespace___boxed(lean_object*, lean_object*, lean_object*); -uint8_t lean_is_aux_recursor(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDefEqToAppOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); @@ -187,7 +176,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducin lean_object* l_Lean_Data_Trie_findPrefix_go___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic(lean_object*, lean_object*); -LEAN_EXPORT lean_object* lean_completion_add_to_black_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchDecl_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__3; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -211,12 +199,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_parserExtension; static lean_object* l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux_traverse___at_Lean_Server_Completion_completeNamespaces___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_runM___closed__1; -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getOptionDecls(lean_object*); @@ -231,7 +218,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addNamespaceCompletionItem___closed__3; lean_object* l_Lean_FuzzyMatching_fuzzyMatchScoreWithThreshold_x3f(lean_object*, lean_object*, double); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_mkCompletionItem___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,7 +254,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addNamespaceCompletionItem___closed__2; static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___closed__4; -lean_object* l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; static lean_object* l_List_allM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___spec__5___closed__2; static lean_object* l_Lean_getConstInfo___at___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___spec__3___closed__3; @@ -286,7 +272,6 @@ LEAN_EXPORT lean_object* l_Lean_SMap_forM___at___private_Lean_Server_Completion_ static lean_object* l_List_forIn_loop___at_Lean_Server_Completion_completeNamespaces___spec__1___closed__3; lean_object* l_String_csize(uint32_t); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4; double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isTypeApplicable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -318,14 +303,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl static lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__1; uint8_t l_Lean_Name_isAtomic(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_consumeImplicitPrefix___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_allowCompletion(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forM___at_Lean_Server_Completion_completeNamespaces___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Completion_completeNamespaces___spec__7___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__24___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addNamespaceCompletionItem___closed__1; @@ -349,10 +333,9 @@ static double l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKe LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotIdCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Completion_completeNamespaces___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchDecl_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -372,7 +355,7 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Completion_completeNamespaces___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isProp(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___closed__1; @@ -383,7 +366,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_isPrivateName(lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___lambda__1___closed__4; LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Server_Completion_0__Lean_Server_Completion_dotIdCompletion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,20 +376,18 @@ lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_Completion_completionBlackListExt; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Info_isCompletion(lean_object*); extern lean_object* l_Lean_namespacesExt; lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_truncate_go___closed__2; -extern lean_object* l_Lean_noConfusionExt; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___closed__4; static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___closed__6; -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl___spec__3___closed__2; @@ -442,16 +422,14 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Compl lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8_(lean_object*); lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_Server_Completion_completeNamespaces___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___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_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore_visitNamespaces(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); @@ -473,344 +451,12 @@ LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Server_Completio LEAN_EXPORT lean_object* l_Lean_Server_Completion_completeNamespaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___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*); +static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_SMap_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___closed__1; static lean_object* l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchDecl_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_data_value_to_string(lean_object*); -static lean_object* _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Server", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Completion", 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("completionBlackListExt", 22); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1; -x_2 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2; -x_3 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3; -x_4 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5; -x_3 = l_Lean_mkTagDeclarationExtension(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_Completion_addToBlackList___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Server_Completion_completionBlackListExt; -return x_1; -} -} -LEAN_EXPORT lean_object* lean_completion_add_to_black_list(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Server_Completion_addToBlackList___closed__1; -x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_is_matcher(x_10, x_1); -x_12 = lean_box(x_11); -lean_ctor_set(x_7, 0, x_12); -return x_7; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_7, 0); -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_7); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_is_matcher(x_15, x_1); -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_14); -return x_18; -} -} -} -static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_noConfusionExt; -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(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; uint8_t x_41; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_10 = x_7; -} else { - lean_dec_ref(x_7); - x_10 = lean_box(0); -} -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_41 = l_Lean_Name_isInternal(x_1); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_box(0); -x_12 = x_42; -goto block_40; -} -else -{ -uint8_t x_43; -x_43 = l_Lean_isPrivateName(x_1); -if (x_43 == 0) -{ -uint8_t x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_44 = 1; -x_45 = lean_box(x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_9); -return x_46; -} -else -{ -lean_object* x_47; -x_47 = lean_box(0); -x_12 = x_47; -goto block_40; -} -} -block_40: -{ -uint8_t x_13; -lean_dec(x_12); -lean_inc(x_1); -lean_inc(x_11); -x_13 = lean_is_aux_recursor(x_11, x_1); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1; -lean_inc(x_1); -lean_inc(x_11); -x_15 = l_Lean_TagDeclarationExtension_isTagged(x_14, x_11, x_1); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_10); -lean_inc(x_1); -x_16 = l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(x_1, x_2, x_3, x_4, x_5, x_9); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_unbox(x_17); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_17); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_16, 1); -x_21 = lean_ctor_get(x_16, 0); -lean_dec(x_21); -x_22 = l_Lean_Server_Completion_addToBlackList___closed__1; -lean_inc(x_1); -x_23 = l_Lean_TagDeclarationExtension_isTagged(x_22, x_11, x_1); -if (x_23 == 0) -{ -lean_object* x_24; -lean_free_object(x_16); -x_24 = l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(x_1, x_2, x_3, x_4, x_5, x_20); -return x_24; -} -else -{ -lean_object* x_25; -lean_dec(x_1); -x_25 = lean_box(x_23); -lean_ctor_set(x_16, 0, x_25); -return x_16; -} -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_dec(x_16); -x_27 = l_Lean_Server_Completion_addToBlackList___closed__1; -lean_inc(x_1); -x_28 = l_Lean_TagDeclarationExtension_isTagged(x_27, x_11, x_1); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(x_1, x_2, x_3, x_4, x_5, x_26); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_1); -x_30 = lean_box(x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_26); -return x_31; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_11); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_16); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_16, 0); -lean_dec(x_33); -return x_16; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_16, 1); -lean_inc(x_34); -lean_dec(x_16); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_17); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_11); -lean_dec(x_1); -x_36 = lean_box(x_15); -if (lean_is_scalar(x_10)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_10; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_9); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_11); -lean_dec(x_1); -x_38 = lean_box(x_13); -if (lean_is_scalar(x_10)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_10; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_9); -return x_39; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Meta_isMatcher___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___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___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_consumeImplicitPrefix___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -5406,7 +5052,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_truncate_go___closed__1; x_2 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_truncate_go___closed__2; -x_3 = lean_unsigned_to_nat(178u); +x_3 = lean_unsigned_to_nat(164u); x_4 = lean_unsigned_to_nat(25u); x_5 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_truncate_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8477,288 +8123,272 @@ return x_36; } } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(lean_object* x_1, lean_object* x_2, double x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; +lean_object* x_12; lean_object* x_13; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +x_12 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 1); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_5, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_dec(x_5); lean_inc(x_14); -lean_dec(x_4); -lean_inc(x_13); -x_15 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_13, x_6, x_7, x_8, x_9, x_10); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); lean_inc(x_2); -x_19 = l_Lean_Name_getString_x21(x_2); -x_20 = lean_box(0); -x_21 = l_Lean_Name_str___override(x_20, x_19); +x_16 = l_Lean_Meta_allowCompletion(x_2, x_14); +if (x_16 == 0) +{ +lean_dec(x_14); +x_5 = x_15; +goto _start; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_inc(x_3); +x_18 = l_Lean_Name_getString_x21(x_3); +x_19 = lean_box(0); +x_20 = l_Lean_Name_str___override(x_19, x_18); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); lean_inc(x_1); -x_22 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_21, x_13, x_1, x_3, x_5, x_6, x_7, x_8, x_9, x_18); +x_21 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_20, x_14, x_1, x_4, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; -} -} -else -{ -lean_object* x_30; -lean_dec(x_23); -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_dec(x_22); -x_4 = x_14; -x_10 = x_30; -goto _start; -} -} -else -{ -uint8_t x_32; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -return x_22; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_22, 0); -x_34 = lean_ctor_get(x_22, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_22); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; -lean_dec(x_13); -x_36 = lean_ctor_get(x_15, 1); -lean_inc(x_36); +uint8_t x_23; lean_dec(x_15); -x_4 = x_14; -x_10 = x_36; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +x_25 = lean_box(0); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +else +{ +lean_object* x_29; +lean_dec(x_22); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_dec(x_21); +x_5 = x_15; +x_11 = x_29; goto _start; } } +else +{ +uint8_t x_31; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_21); +if (x_31 == 0) +{ +return x_21; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 0); +x_33 = lean_ctor_get(x_21, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_21); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(lean_object* x_1, lean_object* x_2, double x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; lean_object* x_12; +lean_object* x_12; lean_object* x_13; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +x_12 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_4, 1); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_5, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_dec(x_5); lean_inc(x_14); -lean_dec(x_4); -lean_inc(x_13); -x_15 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_13, x_6, x_7, x_8, x_9, x_10); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_unbox(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); lean_inc(x_2); -x_19 = l_Lean_Name_getString_x21(x_2); -x_20 = lean_box(0); -x_21 = l_Lean_Name_str___override(x_20, x_19); +x_16 = l_Lean_Meta_allowCompletion(x_2, x_14); +if (x_16 == 0) +{ +lean_dec(x_14); +x_5 = x_15; +goto _start; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_inc(x_3); +x_18 = l_Lean_Name_getString_x21(x_3); +x_19 = lean_box(0); +x_20 = l_Lean_Name_str___override(x_19, x_18); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); lean_inc(x_1); -x_22 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_21, x_13, x_1, x_3, x_5, x_6, x_7, x_8, x_9, x_18); +x_21 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_20, x_14, x_1, x_4, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_22, 0, x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; -} -} -else -{ -lean_object* x_30; -lean_dec(x_23); -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); -lean_dec(x_22); -x_4 = x_14; -x_10 = x_30; -goto _start; -} -} -else -{ -uint8_t x_32; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -return x_22; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_22, 0); -x_34 = lean_ctor_get(x_22, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_22); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; -lean_dec(x_13); -x_36 = lean_ctor_get(x_15, 1); -lean_inc(x_36); +uint8_t x_23; lean_dec(x_15); -x_4 = x_14; -x_10 = x_36; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +x_25 = lean_box(0); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +else +{ +lean_object* x_29; +lean_dec(x_22); +x_29 = lean_ctor_get(x_21, 1); +lean_inc(x_29); +lean_dec(x_21); +x_5 = x_15; +x_11 = x_29; goto _start; } } +else +{ +uint8_t x_31; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_21); +if (x_31 == 0) +{ +return x_21; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 0); +x_33 = lean_ctor_get(x_21, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_21); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} } } LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -9617,14 +9247,15 @@ return x_36; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; -x_12 = l_Lean_Name_isPrefixOf(x_1, x_4); -if (x_12 == 0) +uint8_t x_13; +x_13 = l_Lean_Name_isPrefixOf(x_1, x_5); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -9635,23 +9266,24 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_13 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -return x_14; +x_14 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_box(0); -lean_inc(x_4); -x_16 = l_Lean_Name_replacePrefix(x_4, x_1, x_15); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_box(0); +lean_inc(x_5); +x_17 = l_Lean_Name_replacePrefix(x_5, x_1, x_16); lean_dec(x_1); -x_17 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic(x_2, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic(x_2, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_19; lean_object* x_20; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -9660,23 +9292,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_18 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_11); -return x_19; +x_19 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +return x_20; } else { -lean_object* x_20; double x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_unbox_float(x_20); -lean_dec(x_20); -x_22 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(x_3, x_4, x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); -return x_22; +lean_object* x_21; double x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_unbox_float(x_21); +lean_dec(x_21); +x_23 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(x_3, x_4, x_5, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +return x_23; } } } @@ -9712,6 +9344,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_12 = lean_alloc_ctor(1, 1, 0); @@ -9737,12 +9370,14 @@ x_24 = lean_ctor_get(x_14, 0); lean_inc(x_24); lean_dec(x_14); x_25 = l_Lean_getAliasState(x_3); +lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_26 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1), 11, 3); +x_26 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___lambda__1), 12, 4); lean_closure_set(x_26, 0, x_24); lean_closure_set(x_26, 1, x_2); lean_closure_set(x_26, 2, x_1); +lean_closure_set(x_26, 3, x_3); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -9787,6 +9422,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_33 = !lean_is_exclusive(x_27); @@ -9811,128 +9447,120 @@ return x_36; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_object* x_37; lean_object* x_38; uint8_t x_39; x_37 = lean_ctor_get(x_14, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_14, 1); lean_inc(x_38); lean_dec(x_14); lean_inc(x_38); -x_39 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_38, x_7, x_8, x_9, x_10, x_11); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) +lean_inc(x_3); +x_39 = l_Lean_Meta_allowCompletion(x_3, x_38); +if (x_39 == 0) { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -lean_inc(x_37); -lean_inc(x_2); -x_43 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic(x_2, x_37); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; +lean_object* x_40; lean_dec(x_38); lean_dec(x_37); -x_44 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; -x_16 = x_44; -x_17 = x_42; +x_40 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; +x_16 = x_40; +x_17 = x_11; goto block_23; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; double x_49; lean_object* x_50; -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); +lean_object* x_41; +lean_inc(x_37); +lean_inc(x_2); +x_41 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic(x_2, x_37); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +lean_dec(x_38); +lean_dec(x_37); +x_42 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; +x_16 = x_42; +x_17 = x_11; +goto block_23; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; double x_47; lean_object* x_48; +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Name_getString_x21(x_37); +x_45 = lean_box(0); +x_46 = l_Lean_Name_str___override(x_45, x_44); +x_47 = lean_unbox_float(x_43); lean_dec(x_43); -x_46 = l_Lean_Name_getString_x21(x_37); -x_47 = lean_box(0); -x_48 = l_Lean_Name_str___override(x_47, x_46); -x_49 = lean_unbox_float(x_45); -lean_dec(x_45); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); -x_50 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_48, x_38, x_1, x_49, x_6, x_7, x_8, x_9, x_10, x_42); -if (lean_obj_tag(x_50) == 0) +x_48 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItemForDecl(x_46, x_38, x_1, x_47, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +lean_object* x_49; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_box(0); +x_16 = x_51; +x_17 = x_50; +goto block_23; +} +else { lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_49); +x_52 = lean_ctor_get(x_48, 1); lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_box(0); +lean_dec(x_48); +x_53 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; x_16 = x_53; x_17 = x_52; goto block_23; } -else -{ -lean_object* x_54; lean_object* x_55; -lean_dec(x_51); -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -x_55 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; -x_16 = x_55; -x_17 = x_54; -goto block_23; -} } else { -uint8_t x_56; +uint8_t x_54; lean_dec(x_15); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_50); -if (x_56 == 0) +x_54 = !lean_is_exclusive(x_48); +if (x_54 == 0) { -return x_50; +return x_48; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_50, 0); -x_58 = lean_ctor_get(x_50, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_50); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_48); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } -else -{ -lean_object* x_60; lean_object* x_61; -lean_dec(x_38); -lean_dec(x_37); -x_60 = lean_ctor_get(x_39, 1); -lean_inc(x_60); -lean_dec(x_39); -x_61 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___closed__2; -x_16 = x_61; -x_17 = x_60; -goto block_23; -} } block_23: { @@ -9945,6 +9573,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_18 = lean_box(0); @@ -13268,44 +12897,56 @@ return x_41; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_inc(x_5); -x_13 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_5, x_8, x_9, x_10, x_11, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_unbox(x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(x_2); -lean_inc(x_3); +uint8_t x_14; lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__1___boxed), 12, 5); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_17); -lean_closure_set(x_18, 2, x_5); -lean_closure_set(x_18, 3, x_6); -lean_closure_set(x_18, 4, x_3); -x_19 = lean_ctor_get(x_4, 0); -lean_inc(x_19); +x_14 = l_Lean_Meta_allowCompletion(x_1, x_6); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); +lean_dec(x_2); +x_15 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_box(x_3); +lean_inc(x_4); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__1___boxed), 12, 5); +lean_closure_set(x_18, 0, x_2); +lean_closure_set(x_18, 1, x_17); +lean_closure_set(x_18, 2, x_6); +lean_closure_set(x_18, 3, x_7); +lean_closure_set(x_18, 4, x_4); +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +lean_dec(x_5); x_20 = lean_ctor_get(x_19, 4); lean_inc(x_20); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_21 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore_visitNamespaces(x_18, x_20, x_7, x_8, x_9, x_10, x_11, x_16); +x_21 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore_visitNamespaces(x_18, x_20, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; @@ -13315,15 +12956,15 @@ if (lean_obj_tag(x_22) == 0) { uint8_t x_23; lean_dec(x_19); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); +lean_dec(x_4); +lean_dec(x_2); x_23 = !lean_is_exclusive(x_21); if (x_23 == 0) { @@ -13362,23 +13003,23 @@ x_31 = lean_ctor_get(x_21, 1); lean_inc(x_31); lean_dec(x_21); x_32 = lean_box(0); -x_33 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__3(x_19, x_3, x_2, x_1, x_5, x_6, x_32, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_7); +x_33 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__3(x_19, x_4, x_3, x_2, x_6, x_7, x_32, x_8, x_9, x_10, x_11, x_12, x_31); +lean_dec(x_8); return x_33; } else { uint8_t x_34; lean_dec(x_19); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); +lean_dec(x_4); +lean_dec(x_2); x_34 = !lean_is_exclusive(x_21); if (x_34 == 0) { @@ -13408,15 +13049,15 @@ else { uint8_t x_40; lean_dec(x_19); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); +lean_dec(x_4); +lean_dec(x_2); x_40 = !lean_is_exclusive(x_21); if (x_40 == 0) { @@ -13437,42 +13078,6 @@ return x_43; } } } -else -{ -uint8_t x_44; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_13); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_13, 0); -lean_dec(x_45); -x_46 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -lean_ctor_set(x_13, 0, x_46); -return x_13; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_13, 1); -lean_inc(x_47); -lean_dec(x_13); -x_48 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} -} } } LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -13498,12 +13103,12 @@ return x_8; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(x_1, x_2, x_4, x_3, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_12; +x_12 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(x_1, x_2, x_3, x_5, x_4, x_6, x_7, x_8, x_9, x_10, x_11); +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -13544,11 +13149,13 @@ x_17 = lean_box(x_2); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed), 12, 4); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_17); -lean_closure_set(x_18, 2, x_3); -lean_closure_set(x_18, 3, x_4); +lean_inc(x_15); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed), 13, 5); +lean_closure_set(x_18, 0, x_15); +lean_closure_set(x_18, 1, x_1); +lean_closure_set(x_18, 2, x_17); +lean_closure_set(x_18, 3, x_3); +lean_closure_set(x_18, 4, x_4); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -13605,9 +13212,11 @@ lean_dec(x_19); lean_inc(x_1); x_28 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__5___boxed), 3, 1); lean_closure_set(x_28, 0, x_1); +lean_inc(x_15); lean_inc(x_3); -x_29 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed), 10, 1); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed), 11, 2); lean_closure_set(x_29, 0, x_3); +lean_closure_set(x_29, 1, x_15); x_30 = lean_ctor_get(x_4, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_30, 5); @@ -13618,6 +13227,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_15); lean_inc(x_1); x_33 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17(x_3, x_1, x_15, x_31, x_32, x_6, x_7, x_8, x_9, x_10, x_27); if (lean_obj_tag(x_33) == 0) @@ -14040,26 +13650,26 @@ lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -double x_11; lean_object* x_12; -x_11 = lean_unbox_float(x_3); -lean_dec(x_3); -x_12 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_12; +double x_12; lean_object* x_13; +x_12 = lean_unbox_float(x_4); +lean_dec(x_4); +x_13 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__7(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_13; } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -double x_11; lean_object* x_12; -x_11 = lean_unbox_float(x_3); -lean_dec(x_3); -x_12 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -return x_12; +double x_12; lean_object* x_13; +x_12 = lean_unbox_float(x_4); +lean_dec(x_4); +x_13 = l_List_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__8(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_13; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -14098,15 +13708,6 @@ lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_List_forIn_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -14243,14 +13844,14 @@ lean_dec(x_8); return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__4(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -14262,15 +13863,15 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -double x_11; lean_object* x_12; -x_11 = lean_unbox_float(x_4); -lean_dec(x_4); -x_12 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +double x_12; lean_object* x_13; +x_12 = lean_unbox_float(x_5); lean_dec(x_5); -return x_12; +x_13 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__6(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_13; } } LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -15458,505 +15059,617 @@ return x_11; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_free_object(x_11); -x_26 = l_Lean_ConstantInfo_name(x_4); -lean_inc(x_26); -x_27 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_26, x_6, x_7, x_8, x_9, x_20); -x_28 = lean_ctor_get(x_27, 0); +x_26 = lean_st_ref_get(x_9, x_20); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); +lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); lean_dec(x_27); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_31 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod(x_23, x_4, x_6, x_7, x_8, x_9, x_30); -if (lean_obj_tag(x_31) == 0) +x_30 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod(x_23, x_4, x_6, x_7, x_8, x_9, x_28); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_unbox(x_32); +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +x_34 = l_Lean_ConstantInfo_name(x_4); +lean_inc(x_34); +x_35 = l_Lean_Meta_allowCompletion(x_29, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_34); lean_dec(x_32); -if (x_33 == 0) -{ -uint8_t x_34; -lean_dec(x_26); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_34 = !lean_is_exclusive(x_31); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_31, 0); -lean_dec(x_35); x_36 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -lean_ctor_set(x_31, 0, x_36); -return x_31; +lean_ctor_set(x_30, 0, x_36); +return x_30; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_dec(x_31); +uint8_t x_37; +x_37 = lean_unbox(x_32); +lean_dec(x_32); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_34); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); x_38 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} +lean_ctor_set(x_30, 0, x_38); +return x_30; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_31, 1); -lean_inc(x_40); -lean_dec(x_31); +lean_object* x_39; +lean_free_object(x_30); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_41 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl(x_4, x_5, x_6, x_7, x_8, x_9, x_40); -if (lean_obj_tag(x_41) == 0) +x_39 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl(x_4, x_5, x_6, x_7, x_8, x_9, x_33); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_42; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) +lean_object* x_40; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) { -uint8_t x_43; -lean_dec(x_26); +uint8_t x_41; +lean_dec(x_34); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 0); -lean_dec(x_44); -x_45 = lean_box(0); -lean_ctor_set(x_41, 0, x_45); -return x_41; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -lean_dec(x_41); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} -} -else -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_ctor_get(x_41, 1); -lean_inc(x_49); -lean_dec(x_41); -x_50 = !lean_is_exclusive(x_42); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; double x_56; uint8_t x_57; lean_object* x_58; -x_51 = lean_ctor_get(x_42, 0); -lean_inc(x_26); -x_52 = l_Lean_Name_getString_x21(x_26); -x_53 = lean_box(0); -x_54 = l_Lean_Name_str___override(x_53, x_52); -x_55 = l_Lean_ConstantInfo_type(x_4); -lean_ctor_set(x_42, 0, x_26); -x_56 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; -x_57 = lean_unbox(x_51); -lean_dec(x_51); -x_58 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_54, x_55, x_2, x_42, x_57, x_56, x_5, x_6, x_7, x_8, x_9, x_49); -return x_58; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; double x_65; uint8_t x_66; lean_object* x_67; -x_59 = lean_ctor_get(x_42, 0); -lean_inc(x_59); +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_39, 0); lean_dec(x_42); -lean_inc(x_26); -x_60 = l_Lean_Name_getString_x21(x_26); -x_61 = lean_box(0); -x_62 = l_Lean_Name_str___override(x_61, x_60); -x_63 = l_Lean_ConstantInfo_type(x_4); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_26); -x_65 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; -x_66 = lean_unbox(x_59); -lean_dec(x_59); -x_67 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_62, x_63, x_2, x_64, x_66, x_65, x_5, x_6, x_7, x_8, x_9, x_49); -return x_67; +x_43 = lean_box(0); +lean_ctor_set(x_39, 0, x_43); +return x_39; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 1); +lean_inc(x_44); +lean_dec(x_39); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +else +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_39, 1); +lean_inc(x_47); +lean_dec(x_39); +x_48 = !lean_is_exclusive(x_40); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; double x_54; uint8_t x_55; lean_object* x_56; +x_49 = lean_ctor_get(x_40, 0); +lean_inc(x_34); +x_50 = l_Lean_Name_getString_x21(x_34); +x_51 = lean_box(0); +x_52 = l_Lean_Name_str___override(x_51, x_50); +x_53 = l_Lean_ConstantInfo_type(x_4); +lean_ctor_set(x_40, 0, x_34); +x_54 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; +x_55 = lean_unbox(x_49); +lean_dec(x_49); +x_56 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_52, x_53, x_2, x_40, x_55, x_54, x_5, x_6, x_7, x_8, x_9, x_47); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; double x_63; uint8_t x_64; lean_object* x_65; +x_57 = lean_ctor_get(x_40, 0); +lean_inc(x_57); +lean_dec(x_40); +lean_inc(x_34); +x_58 = l_Lean_Name_getString_x21(x_34); +x_59 = lean_box(0); +x_60 = l_Lean_Name_str___override(x_59, x_58); +x_61 = l_Lean_ConstantInfo_type(x_4); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_34); +x_63 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; +x_64 = lean_unbox(x_57); +lean_dec(x_57); +x_65 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_60, x_61, x_2, x_62, x_64, x_63, x_5, x_6, x_7, x_8, x_9, x_47); +return x_65; } } } else { -uint8_t x_68; -lean_dec(x_26); +uint8_t x_66; +lean_dec(x_34); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_68 = !lean_is_exclusive(x_41); -if (x_68 == 0) +x_66 = !lean_is_exclusive(x_39); +if (x_66 == 0) { -return x_41; +return x_39; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_41, 0); -x_70 = lean_ctor_get(x_41, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_39, 0); +x_68 = lean_ctor_get(x_39, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_39); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_70 = lean_ctor_get(x_30, 0); +x_71 = lean_ctor_get(x_30, 1); +lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_41); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -else +lean_dec(x_30); +x_72 = l_Lean_ConstantInfo_name(x_4); +lean_inc(x_72); +x_73 = l_Lean_Meta_allowCompletion(x_29, x_72); +if (x_73 == 0) { -uint8_t x_72; -lean_dec(x_26); +lean_object* x_74; lean_object* x_75; +lean_dec(x_72); +lean_dec(x_70); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_72 = !lean_is_exclusive(x_31); -if (x_72 == 0) -{ -return x_31; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_31, 0); -x_74 = lean_ctor_get(x_31, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_31); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); +x_74 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_71); return x_75; } -} -} else { uint8_t x_76; -lean_dec(x_26); -lean_dec(x_23); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_76 = !lean_is_exclusive(x_27); +x_76 = lean_unbox(x_70); +lean_dec(x_70); if (x_76 == 0) { lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_27, 0); -lean_dec(x_77); -x_78 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -lean_ctor_set(x_27, 0, x_78); -return x_27; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_27, 1); -lean_inc(x_79); -lean_dec(x_27); -x_80 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} -} -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_82 = lean_ctor_get(x_11, 1); -lean_inc(x_82); -lean_dec(x_11); -x_83 = lean_ctor_get(x_12, 0); -lean_inc(x_83); -lean_dec(x_12); -x_84 = l_Lean_Name_getPrefix(x_83); -lean_dec(x_83); -x_85 = l_Lean_NameSet_contains(x_1, x_84); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; -lean_dec(x_84); +lean_dec(x_72); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_86 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_82); -return x_87; +x_77 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_71); +return x_78; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_88 = l_Lean_ConstantInfo_name(x_4); -lean_inc(x_88); -x_89 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed(x_88, x_6, x_7, x_8, x_9, x_82); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_unbox(x_90); -lean_dec(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_89, 1); -lean_inc(x_92); -lean_dec(x_89); +lean_object* x_79; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_93 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod(x_84, x_4, x_6, x_7, x_8, x_9, x_92); -if (lean_obj_tag(x_93) == 0) +x_79 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl(x_4, x_5, x_6, x_7, x_8, x_9, x_71); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_94; uint8_t x_95; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_unbox(x_94); -lean_dec(x_94); -if (x_95 == 0) +lean_object* x_80; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_72); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_82 = x_79; +} else { + lean_dec_ref(x_79); + x_82 = lean_box(0); +} +x_83 = lean_box(0); +if (lean_is_scalar(x_82)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_82; +} +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_81); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; double x_93; uint8_t x_94; lean_object* x_95; +x_85 = lean_ctor_get(x_79, 1); +lean_inc(x_85); +lean_dec(x_79); +x_86 = lean_ctor_get(x_80, 0); +lean_inc(x_86); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + x_87 = x_80; +} else { + lean_dec_ref(x_80); + x_87 = lean_box(0); +} +lean_inc(x_72); +x_88 = l_Lean_Name_getString_x21(x_72); +x_89 = lean_box(0); +x_90 = l_Lean_Name_str___override(x_89, x_88); +x_91 = l_Lean_ConstantInfo_type(x_4); +if (lean_is_scalar(x_87)) { + x_92 = lean_alloc_ctor(1, 1, 0); +} else { + x_92 = x_87; +} +lean_ctor_set(x_92, 0, x_72); +x_93 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; +x_94 = lean_unbox(x_86); +lean_dec(x_86); +x_95 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_90, x_91, x_2, x_92, x_94, x_93, x_5, x_6, x_7, x_8, x_9, x_85); +return x_95; +} +} +else { lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_88); +lean_dec(x_72); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_96 = lean_ctor_get(x_93, 1); +x_96 = lean_ctor_get(x_79, 0); lean_inc(x_96); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_97 = x_93; +x_97 = lean_ctor_get(x_79, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_98 = x_79; } else { - lean_dec_ref(x_93); - x_97 = lean_box(0); + lean_dec_ref(x_79); + x_98 = lean_box(0); } -x_98 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -if (lean_is_scalar(x_97)) { - x_99 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); } else { - x_99 = x_97; + x_99 = x_98; } -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_96); +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); return x_99; } +} +} +} +} else { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_93, 1); -lean_inc(x_100); -lean_dec(x_93); +uint8_t x_100; +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_100 = !lean_is_exclusive(x_30); +if (x_100 == 0) +{ +return x_30; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_30, 0); +x_102 = lean_ctor_get(x_30, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_30); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_104 = lean_ctor_get(x_11, 1); +lean_inc(x_104); +lean_dec(x_11); +x_105 = lean_ctor_get(x_12, 0); +lean_inc(x_105); +lean_dec(x_12); +x_106 = l_Lean_Name_getPrefix(x_105); +lean_dec(x_105); +x_107 = l_Lean_NameSet_contains(x_1, x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_106); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_108 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_104); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_110 = lean_st_ref_get(x_9, x_104); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_ctor_get(x_111, 0); +lean_inc(x_113); +lean_dec(x_111); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_101 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl(x_4, x_5, x_6, x_7, x_8, x_9, x_100); -if (lean_obj_tag(x_101) == 0) +x_114 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_isDotCompletionMethod(x_106, x_4, x_6, x_7, x_8, x_9, x_112); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_102; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_88); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_104 = x_101; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_117 = x_114; } else { - lean_dec_ref(x_101); - x_104 = lean_box(0); + lean_dec_ref(x_114); + x_117 = lean_box(0); } -x_105 = lean_box(0); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -return x_106; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; double x_115; uint8_t x_116; lean_object* x_117; -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_dec(x_101); -x_108 = lean_ctor_get(x_102, 0); -lean_inc(x_108); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - x_109 = x_102; -} else { - lean_dec_ref(x_102); - x_109 = lean_box(0); -} -lean_inc(x_88); -x_110 = l_Lean_Name_getString_x21(x_88); -x_111 = lean_box(0); -x_112 = l_Lean_Name_str___override(x_111, x_110); -x_113 = l_Lean_ConstantInfo_type(x_4); -if (lean_is_scalar(x_109)) { - x_114 = lean_alloc_ctor(1, 1, 0); -} else { - x_114 = x_109; -} -lean_ctor_set(x_114, 0, x_88); -x_115 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; -x_116 = lean_unbox(x_108); -lean_dec(x_108); -x_117 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_112, x_113, x_2, x_114, x_116, x_115, x_5, x_6, x_7, x_8, x_9, x_107); -return x_117; -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_88); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_118 = lean_ctor_get(x_101, 0); +x_118 = l_Lean_ConstantInfo_name(x_4); lean_inc(x_118); -x_119 = lean_ctor_get(x_101, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_120 = x_101; +x_119 = l_Lean_Meta_allowCompletion(x_113, x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; +lean_dec(x_118); +lean_dec(x_115); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_120 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +if (lean_is_scalar(x_117)) { + x_121 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_101); - x_120 = lean_box(0); + x_121 = x_117; } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); -} else { - x_121 = x_120; -} -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_116); return x_121; } -} -} else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_88); +uint8_t x_122; +x_122 = lean_unbox(x_115); +lean_dec(x_115); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_118); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_122 = lean_ctor_get(x_93, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_93, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_124 = x_93; +x_123 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; +if (lean_is_scalar(x_117)) { + x_124 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_93); - x_124 = lean_box(0); -} -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(1, 2, 0); -} else { - x_125 = x_124; -} -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); -return x_125; + x_124 = x_117; } +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_116); +return x_124; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_88); -lean_dec(x_84); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_126 = lean_ctor_get(x_89, 1); +lean_object* x_125; +lean_dec(x_117); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_125 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_getCompletionKindForDecl(x_4, x_5, x_6, x_7, x_8, x_9, x_116); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_126; +x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_127 = x_89; +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_118); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_128 = x_125; } else { - lean_dec_ref(x_89); - x_127 = lean_box(0); + lean_dec_ref(x_125); + x_128 = lean_box(0); } -x_128 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem___lambda__1___closed__1; -if (lean_is_scalar(x_127)) { - x_129 = lean_alloc_ctor(0, 2, 0); +x_129 = lean_box(0); +if (lean_is_scalar(x_128)) { + x_130 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_127; + x_130 = x_128; } -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_126); -return x_129; +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +return x_130; +} +else +{ +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; double x_139; uint8_t x_140; lean_object* x_141; +x_131 = lean_ctor_get(x_125, 1); +lean_inc(x_131); +lean_dec(x_125); +x_132 = lean_ctor_get(x_126, 0); +lean_inc(x_132); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + x_133 = x_126; +} else { + lean_dec_ref(x_126); + x_133 = lean_box(0); +} +lean_inc(x_118); +x_134 = l_Lean_Name_getString_x21(x_118); +x_135 = lean_box(0); +x_136 = l_Lean_Name_str___override(x_135, x_134); +x_137 = l_Lean_ConstantInfo_type(x_4); +if (lean_is_scalar(x_133)) { + x_138 = lean_alloc_ctor(1, 1, 0); +} else { + x_138 = x_133; +} +lean_ctor_set(x_138, 0, x_118); +x_139 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___closed__4; +x_140 = lean_unbox(x_132); +lean_dec(x_132); +x_141 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_addCompletionItem(x_136, x_137, x_2, x_138, x_140, x_139, x_5, x_6, x_7, x_8, x_9, x_131); +return x_141; +} +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_118); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_142 = lean_ctor_get(x_125, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_125, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_144 = x_125; +} else { + lean_dec_ref(x_125); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +} +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_113); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +x_146 = lean_ctor_get(x_114, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_114, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_148 = x_114; +} else { + lean_dec_ref(x_114); + x_148 = lean_box(0); +} +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); +} else { + x_149 = x_148; +} +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_147); +return x_149; } } } @@ -15967,7 +15680,7 @@ static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Comp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Parser", 6); +x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } @@ -15975,7 +15688,7 @@ static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Comp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); +x_1 = lean_mk_string_from_bytes("Parser", 6); return x_1; } } @@ -15983,18 +15696,26 @@ static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Comp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("completion", 10); +x_1 = lean_mk_string_from_bytes("Term", 4); return x_1; } } static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("completion", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1; -x_2 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__1; -x_3 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__2; -x_4 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__3; +x_1 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__1; +x_2 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__2; +x_3 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__3; +x_4 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -16018,7 +15739,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_4); lean_inc(x_13); x_15 = l_Lean_Syntax_getKind(x_13); -x_16 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4; +x_16 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5; x_17 = lean_name_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) @@ -19839,6 +19560,7 @@ lean_object* initialize_Lean_Data_FuzzyMatching(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_Capabilities(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_Utf16(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_CompletionName(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Apply(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Match_MatcherInfo(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_InfoUtils(uint8_t builtin, lean_object*); @@ -19866,6 +19588,9 @@ lean_dec_ref(res); res = initialize_Lean_Data_Lsp_Utf16(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_CompletionName(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Apply(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -19878,25 +19603,6 @@ lean_dec_ref(res); res = initialize_Lean_Parser_Extension(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1 = _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1(); -lean_mark_persistent(l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__1); -l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2 = _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2(); -lean_mark_persistent(l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__2); -l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3 = _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3(); -lean_mark_persistent(l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__3); -l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4 = _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4(); -lean_mark_persistent(l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__4); -l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5 = _init_l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5(); -lean_mark_persistent(l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8____closed__5); -if (builtin) {res = l_Lean_Server_Completion_initFn____x40_Lean_Server_Completion___hyg_8_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l_Lean_Server_Completion_completionBlackListExt = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_Server_Completion_completionBlackListExt); -lean_dec_ref(res); -}l_Lean_Server_Completion_addToBlackList___closed__1 = _init_l_Lean_Server_Completion_addToBlackList___closed__1(); -lean_mark_persistent(l_Lean_Server_Completion_addToBlackList___closed__1); -l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1 = _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___closed__1); l_Array_qsort_sort___at___private_Lean_Server_Completion_0__Lean_Server_Completion_sortCompletionItems___spec__1___closed__1 = _init_l_Array_qsort_sort___at___private_Lean_Server_Completion_0__Lean_Server_Completion_sortCompletionItems___spec__1___closed__1(); lean_mark_persistent(l_Array_qsort_sort___at___private_Lean_Server_Completion_0__Lean_Server_Completion_sortCompletionItems___spec__1___closed__1); l___private_Lean_Server_Completion_0__Lean_Server_Completion_mkCompletionItem___closed__1 = _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_mkCompletionItem___closed__1(); @@ -19999,6 +19705,8 @@ l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lam lean_mark_persistent(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__3); l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4 = _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4(); lean_mark_persistent(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__4); +l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5 = _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__5); l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__3___closed__1 = _init_l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__3___closed__1); l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Completion_0__Lean_Server_Completion_fieldIdCompletion___spec__1___closed__1();