chore: update stage0
This commit is contained in:
parent
fd926cc44e
commit
fe90da5a8d
10 changed files with 10171 additions and 7284 deletions
|
|
@ -26,4 +26,3 @@ options get_default_options() {
|
|||
return opts;
|
||||
}
|
||||
}
|
||||
// trigger stage0
|
||||
348
stage0/stdlib/Init/Grind/Ring/Poly.c
generated
348
stage0/stdlib/Init/Grind/Ring/Poly.c
generated
|
|
@ -27,7 +27,6 @@ LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Power_varLt(lean_object*, lean_object*
|
|||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__3____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_mul_go_match__3_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConstC(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteAsIntModule_go___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_denote_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -35,7 +34,6 @@ LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_beqMon____x40_Init_Grind_Ring_Poly___h
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combineC(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulC(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_instDecidableEqOrdering(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__15____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__12____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instBEqPoly;
|
||||
|
|
@ -46,13 +44,10 @@ uint64_t lean_uint64_of_nat(lean_object*);
|
|||
uint64_t lean_uint64_mix_hash(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_isSorted___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_insert_go_match__1_splitter___redArg(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__nzdiv__cert(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combine_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_denote_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_normEq0(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__1____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__unsat__certC(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_instReprPoly___closed__0;
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__11____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_combine_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -101,7 +96,6 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instInhabitedPoly;
|
|||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__2____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
lean_object* l_Nat_reprFast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConst_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPoly___closed__3____x40_Init_Grind_Ring_Poly___hyg_5160_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denote_x27_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteAsIntModule___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -124,10 +118,8 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote_x27_denoteTerm___redA
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_concat(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__13____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_insert_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__nzdiv__certC___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__7____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_revlexWF___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__certC___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Grind_CommRing_reprPower____x40_Init_Grind_Ring_Poly___hyg_1440__spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
|
|
@ -147,7 +139,6 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_degree(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_hashPoly____x40_Init_Grind_Ring_Poly___hyg_5298____boxed(lean_object*);
|
||||
LEAN_EXPORT uint64_t l_Lean_Grind_CommRing_hashExpr____x40_Init_Grind_Ring_Poly___hyg_530_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instBEqExpr;
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__cert(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__12____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_mul_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_powerRevlex___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -162,7 +153,6 @@ static lean_object* l_Lean_Grind_CommRing_reprPoly___closed__4____x40_Init_Grind
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMonC(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_hashMon____x40_Init_Grind_Ring_Poly___hyg_2010____boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__certC(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Power_denote_match__3_splitter___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__1____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
|
|
@ -175,7 +165,6 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_degree___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstC_go___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denote___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__cond_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__unsat__cert(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instReprExpr;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_revlexWF_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instBEqPower;
|
||||
|
|
@ -193,11 +182,9 @@ LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__gcd__cert(lean_object*, lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_toPolyC(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote_x27_go___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConst___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__nzdiv__cert___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__6____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote_x27_denoteTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__unsat__cert___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__18____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__9____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_hashExpr____x40_Init_Grind_Ring_Poly___hyg_530____boxed(lean_object*);
|
||||
|
|
@ -212,7 +199,6 @@ LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Mon_revlexFuel(lean_object*, lean_obje
|
|||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__21____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_beqPower____x40_Init_Grind_Ring_Poly___hyg_1366____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__cert___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_instHashableExpr___closed__0;
|
||||
LEAN_EXPORT uint64_t l_Lean_Grind_CommRing_hashMon____x40_Init_Grind_Ring_Poly___hyg_2010_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instReprPoly;
|
||||
|
|
@ -256,7 +242,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__24____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combineC_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Expr_toPoly_match__3_splitter(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_Grind_CommRing_NullCert_eq__unsat__certC___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_denote_x27_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__9____x40_Init_Grind_Ring_Poly___hyg_711_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_ofMon(lean_object*);
|
||||
|
|
@ -273,7 +258,6 @@ LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing
|
|||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denote___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprPower____x40_Init_Grind_Ring_Poly___hyg_1440____boxed(lean_object*, lean_object*);
|
||||
uint8_t l_instDecidableNot___redArg(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprPoly____x40_Init_Grind_Ring_Poly___hyg_5160_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instHashableMon;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
|
|
@ -282,7 +266,6 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst_go(lean_object*, le
|
|||
static lean_object* l_Lean_Grind_CommRing_reprMon___closed__0____x40_Init_Grind_Ring_Poly___hyg_1892_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote_x27___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__cond_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_toPoly(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Power_denote_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_hashPower____x40_Init_Grind_Ring_Poly___hyg_1510____boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Poly_isSorted(lean_object*);
|
||||
|
|
@ -299,7 +282,6 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_powC(lean_object*, lean_obje
|
|||
static lean_object* l_Lean_Grind_CommRing_instHashablePower___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprPower___redArg____x40_Init_Grind_Ring_Poly___hyg_1440_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_beqExpr____x40_Init_Grind_Ring_Poly___hyg_159_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_toPolyC(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_insertC(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprExpr____x40_Init_Grind_Ring_Poly___hyg_711_(lean_object*, lean_object*);
|
||||
|
|
@ -315,7 +297,6 @@ LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_beqPower____x40_Init_Grind_Ring_Poly__
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_grevlex___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_pow(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__nzdiv__certC(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstC___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_instBEqMon___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConstC___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -7679,74 +7660,6 @@ x_3 = l_Lean_Grind_CommRing_Expr_toPolyC_go(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_toPoly(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Grind_CommRing_instInhabitedPoly___closed__0;
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_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;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_5);
|
||||
x_6 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
x_7 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_4);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = l_Lean_Grind_CommRing_Expr_toPoly(x_7);
|
||||
x_9 = l_Lean_Grind_CommRing_Poly_mul(x_3, x_8);
|
||||
x_10 = l_Lean_Grind_CommRing_NullCert_toPoly(x_6);
|
||||
x_11 = l_Lean_Grind_CommRing_Poly_combine(x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_toPolyC(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
lean_dec(x_2);
|
||||
x_3 = l_Lean_Grind_CommRing_instInhabitedPoly___closed__0;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_5);
|
||||
x_6 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_6);
|
||||
x_7 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_1);
|
||||
x_8 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_5);
|
||||
lean_ctor_set(x_8, 1, x_6);
|
||||
lean_inc(x_2);
|
||||
x_9 = l_Lean_Grind_CommRing_Expr_toPolyC_go(x_2, x_8);
|
||||
lean_inc(x_2);
|
||||
x_10 = l_Lean_Grind_CommRing_Poly_mulC(x_4, x_9, x_2);
|
||||
lean_inc(x_2);
|
||||
x_11 = l_Lean_Grind_CommRing_NullCert_toPolyC(x_7, x_2);
|
||||
x_12 = l_Lean_Grind_CommRing_Poly_combineC(x_10, x_11, x_2);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Power_denote_match__3_splitter___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -8115,157 +8028,6 @@ lean_dec(x_2);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec_ref(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_5);
|
||||
x_6 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_6);
|
||||
x_7 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_1);
|
||||
x_8 = lean_apply_4(x_3, x_4, x_5, x_6, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___redArg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_NullCert_denote_match__1_splitter(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__cert(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; uint8_t x_7;
|
||||
x_4 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
lean_ctor_set(x_4, 1, x_3);
|
||||
x_5 = l_Lean_Grind_CommRing_Expr_toPoly(x_4);
|
||||
x_6 = l_Lean_Grind_CommRing_NullCert_toPoly(x_1);
|
||||
x_7 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_5, x_6);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_5);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__cert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Grind_CommRing_NullCert_eq__cert(x_1, x_2, x_3);
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__nzdiv__cert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; uint8_t x_6; uint8_t x_7;
|
||||
x_5 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0;
|
||||
x_6 = lean_int_dec_eq(x_2, x_5);
|
||||
x_7 = l_instDecidableNot___redArg(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_8 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_3);
|
||||
lean_ctor_set(x_8, 1, x_4);
|
||||
x_9 = l_Lean_Grind_CommRing_Expr_toPoly(x_8);
|
||||
x_10 = l_Lean_Grind_CommRing_Poly_mulConst(x_2, x_9);
|
||||
x_11 = l_Lean_Grind_CommRing_NullCert_toPoly(x_1);
|
||||
x_12 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_10, x_11);
|
||||
lean_dec_ref(x_11);
|
||||
lean_dec_ref(x_10);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__nzdiv__cert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5; lean_object* x_6;
|
||||
x_5 = l_Lean_Grind_CommRing_NullCert_eq__nzdiv__cert(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__unsat__cert(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4; uint8_t x_5;
|
||||
x_3 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0;
|
||||
x_4 = lean_int_dec_eq(x_2, x_3);
|
||||
x_5 = l_instDecidableNot___redArg(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_6 = l_Lean_Grind_CommRing_NullCert_toPoly(x_1);
|
||||
x_7 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_2);
|
||||
x_8 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_6, x_7);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__unsat__cert___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Grind_CommRing_NullCert_eq__unsat__cert(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Expr_toPolyC_go_match__3_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -8487,116 +8249,6 @@ x_6 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Expr_toPolyC_go_ma
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__certC(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_5 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
lean_inc(x_4);
|
||||
x_6 = l_Lean_Grind_CommRing_Expr_toPolyC_go(x_4, x_5);
|
||||
x_7 = l_Lean_Grind_CommRing_NullCert_toPolyC(x_1, x_4);
|
||||
x_8 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_6, x_7);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__certC___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5; lean_object* x_6;
|
||||
x_5 = l_Lean_Grind_CommRing_NullCert_eq__certC(x_1, x_2, x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__nzdiv__certC(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; uint8_t x_7; uint8_t x_8;
|
||||
x_6 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0;
|
||||
x_7 = lean_int_dec_eq(x_2, x_6);
|
||||
x_8 = l_instDecidableNot___redArg(x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_4);
|
||||
lean_inc(x_5);
|
||||
x_10 = l_Lean_Grind_CommRing_Expr_toPolyC_go(x_5, x_9);
|
||||
lean_inc(x_5);
|
||||
x_11 = l_Lean_Grind_CommRing_Poly_mulConstC(x_2, x_10, x_5);
|
||||
x_12 = l_Lean_Grind_CommRing_NullCert_toPolyC(x_1, x_5);
|
||||
x_13 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_11, x_12);
|
||||
lean_dec_ref(x_12);
|
||||
lean_dec_ref(x_11);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__nzdiv__certC___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_6; lean_object* x_7;
|
||||
x_6 = l_Lean_Grind_CommRing_NullCert_eq__nzdiv__certC(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_box(x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__unsat__certC(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; uint8_t x_7;
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_nat_to_int(x_3);
|
||||
x_5 = lean_int_emod(x_2, x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0;
|
||||
x_7 = lean_int_dec_eq(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_8 = l_Lean_Grind_CommRing_NullCert_toPolyC(x_1, x_3);
|
||||
x_9 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_2);
|
||||
x_10 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(x_8, x_9);
|
||||
lean_dec_ref(x_9);
|
||||
lean_dec_ref(x_8);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_11;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = 0;
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__unsat__certC___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Grind_CommRing_NullCert_eq__unsat__certC(x_1, x_2, x_3);
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteAsIntModule_go___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
8
stage0/stdlib/Lake/DSL/Meta.c
generated
8
stage0/stdlib/Lake/DSL/Meta.c
generated
|
|
@ -111,7 +111,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
static lean_object* l_Lake_DSL_elabRunIO___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_logInfoAt___at___Lake_DSL_elabRunIO_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___Lean_Elab_Term_elabParserName_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_withIsolatedStreams___at___Lake_DSL_elabRunIO_spec__0___redArg___closed__4;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
|
|
@ -146,6 +145,7 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf___regBuiltin_Lake_DSL_elabMetaIf_
|
|||
LEAN_EXPORT lean_object* l_Lake_DSL_expandCmdDo(lean_object*);
|
||||
static lean_object* l_Lake_DSL_elabRunIO___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__8___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at___Lake_DSL_elabRunIO_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__0() {
|
||||
_start:
|
||||
|
|
@ -1688,7 +1688,7 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean
|
|||
x_66 = lean_ctor_get(x_65, 1);
|
||||
lean_inc(x_66);
|
||||
lean_dec_ref(x_65);
|
||||
x_67 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__0___redArg(x_63, x_6, x_66);
|
||||
x_67 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__8___redArg(x_63, x_6, x_66);
|
||||
x_68 = lean_ctor_get(x_67, 0);
|
||||
lean_inc(x_68);
|
||||
x_69 = lean_ctor_get(x_67, 1);
|
||||
|
|
@ -2049,7 +2049,7 @@ lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139;
|
|||
x_136 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_136);
|
||||
lean_dec_ref(x_135);
|
||||
x_137 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__0___redArg(x_133, x_6, x_136);
|
||||
x_137 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__8___redArg(x_133, x_6, x_136);
|
||||
x_138 = lean_ctor_get(x_137, 0);
|
||||
lean_inc(x_138);
|
||||
x_139 = lean_ctor_get(x_137, 1);
|
||||
|
|
@ -2579,7 +2579,7 @@ lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260;
|
|||
x_257 = lean_ctor_get(x_256, 1);
|
||||
lean_inc(x_257);
|
||||
lean_dec_ref(x_256);
|
||||
x_258 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__0___redArg(x_254, x_6, x_257);
|
||||
x_258 = l_Lean_instantiateMVars___at___Lean_Elab_Term_elabLetDeclAux_spec__8___redArg(x_254, x_6, x_257);
|
||||
x_259 = lean_ctor_get(x_258, 0);
|
||||
lean_inc(x_259);
|
||||
x_260 = lean_ctor_get(x_258, 1);
|
||||
|
|
|
|||
3128
stage0/stdlib/Lean/Elab/Binders.c
generated
3128
stage0/stdlib/Lean/Elab/Binders.c
generated
File diff suppressed because it is too large
Load diff
4410
stage0/stdlib/Lean/Elab/MutualDef.c
generated
4410
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
159
stage0/stdlib/Lean/Linter/List.c
generated
159
stage0/stdlib/Lean/Linter/List.c
generated
|
|
@ -9434,7 +9434,7 @@ lean_inc_ref(x_9);
|
|||
x_12 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_2, x_9, x_11, x_4);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_12, 1);
|
||||
|
|
@ -9448,149 +9448,150 @@ if (lean_is_exclusive(x_12)) {
|
|||
x_15 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_13);
|
||||
x_16 = lean_apply_1(x_1, x_13);
|
||||
x_17 = lean_unbox(x_16);
|
||||
if (x_17 == 0)
|
||||
x_16 = l_Lean_Expr_cleanupAnnotations(x_13);
|
||||
x_17 = lean_apply_1(x_1, x_16);
|
||||
x_18 = lean_unbox(x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_13);
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
lean_dec_ref(x_8);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = lean_box(0);
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_19 = x_15;
|
||||
x_20 = x_15;
|
||||
}
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_14);
|
||||
return x_19;
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_14);
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_10) == 1)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_20);
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
x_21 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec_ref(x_10);
|
||||
x_21 = lean_local_ctx_find(x_9, x_20);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
x_22 = lean_local_ctx_find(x_9, x_21);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
lean_dec(x_13);
|
||||
lean_dec_ref(x_8);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = lean_box(0);
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_23 = x_15;
|
||||
x_24 = x_15;
|
||||
}
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_14);
|
||||
return x_23;
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_14);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_34;
|
||||
x_24 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_24);
|
||||
if (lean_is_exclusive(x_21)) {
|
||||
lean_ctor_release(x_21, 0);
|
||||
x_25 = x_21;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_35;
|
||||
x_25 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_25);
|
||||
if (lean_is_exclusive(x_22)) {
|
||||
lean_ctor_release(x_22, 0);
|
||||
x_26 = x_22;
|
||||
} else {
|
||||
lean_dec_ref(x_21);
|
||||
x_25 = lean_box(0);
|
||||
lean_dec_ref(x_22);
|
||||
x_26 = lean_box(0);
|
||||
}
|
||||
x_26 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_27);
|
||||
if (lean_is_exclusive(x_8)) {
|
||||
lean_ctor_release(x_8, 0);
|
||||
lean_ctor_release(x_8, 1);
|
||||
x_27 = x_8;
|
||||
x_28 = x_8;
|
||||
} else {
|
||||
lean_dec_ref(x_8);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = lean_box(0);
|
||||
}
|
||||
x_34 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_24);
|
||||
x_28 = x_34;
|
||||
goto block_33;
|
||||
block_33:
|
||||
x_35 = lean_ctor_get(x_25, 2);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_25);
|
||||
x_29 = x_35;
|
||||
goto block_34;
|
||||
block_34:
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
if (lean_is_scalar(x_27)) {
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
if (lean_is_scalar(x_28)) {
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_29 = x_27;
|
||||
x_30 = x_28;
|
||||
}
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_13);
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_26);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
if (lean_is_scalar(x_25)) {
|
||||
x_31 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_13);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_27);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
if (lean_is_scalar(x_26)) {
|
||||
x_32 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_31 = x_25;
|
||||
}
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_32 = x_15;
|
||||
x_32 = x_26;
|
||||
}
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_14);
|
||||
return x_32;
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_33 = x_15;
|
||||
}
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_14);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36;
|
||||
lean_object* x_36; lean_object* x_37;
|
||||
lean_dec(x_13);
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
lean_dec_ref(x_8);
|
||||
x_35 = lean_box(0);
|
||||
x_36 = lean_box(0);
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_36 = x_15;
|
||||
x_37 = x_15;
|
||||
}
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
lean_ctor_set(x_36, 1, x_14);
|
||||
return x_36;
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_14);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_37;
|
||||
uint8_t x_38;
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
x_37 = !lean_is_exclusive(x_12);
|
||||
if (x_37 == 0)
|
||||
x_38 = !lean_is_exclusive(x_12);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_38 = lean_ctor_get(x_12, 0);
|
||||
x_39 = lean_ctor_get(x_12, 1);
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_12, 0);
|
||||
x_40 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_12);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
return x_40;
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
516
stage0/stdlib/Lean/LocalContext.c
generated
516
stage0/stdlib/Lean/LocalContext.c
generated
|
|
@ -20,6 +20,7 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_mkLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_LocalContext_findFromUserName_x3f_spec__0_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_reprLocalDeclKind____x40_Lean_LocalContext___hyg_20____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_LocalContext_mkLocalDecl_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___Lean_PersistentArray_findSomeRevMAux___at___Lean_PersistentArray_findSomeRevM_x3f___at___Lean_LocalContext_findFromUserName_x3f_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getLocalHyps___redArg___lam__3(lean_object*, lean_object*);
|
||||
|
|
@ -96,6 +97,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalDeclKind_noConfusion___redArg(uint8_t, uint
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_mkLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalDecl_isNondep(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_LocalContext_contains_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_replaceFVarId___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_PersistentHashMap_mapMAux___at___Lean_PersistentHashMap_mapM___at___Lean_PersistentHashMap_map___at___Lean_LocalContext_replaceFVarId_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -223,6 +225,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_contains___boxed(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_all___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___Lean_LocalDecl_value_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalDecl_kind(lean_object*);
|
||||
uint64_t l_Lean_hashFVarId____x40_Lean_Expr___hyg_1560_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t);
|
||||
|
|
@ -253,17 +256,21 @@ LEAN_EXPORT lean_object* l_Lean_LocalDecl_fvarId___boxed(lean_object*);
|
|||
lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_LocalContext_mkLocalDecl_spec__0_spec__0_spec__2___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDeclKind_toCtorIdx___boxed(lean_object*);
|
||||
lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_LocalContext_find_x3f_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__Array_mapM_x27_go___at___Array_mapM_x27___at___Lean_PersistentHashMap_mapMAux___at___Lean_PersistentHashMap_mapM___at___Lean_PersistentHashMap_map___at___Lean_LocalContext_replaceFVarId_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_getSanitizeNames(lean_object*);
|
||||
lean_object* l_Lean_beqFVarId____x40_Lean_Expr___hyg_1502____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_LocalContext_0__Lean_LocalContext_popTailNoneAux(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_forM___redArg___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_PersistentArray_mapMAux___at___Lean_PersistentArray_mapM___at___Lean_LocalContext_replaceFVarId_spec__6_spec__6_spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_LocalDecl_value___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalDecl_isLet(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_reprLocalDeclKind___closed__6____x40_Lean_LocalContext___hyg_20_;
|
||||
|
|
@ -304,11 +311,13 @@ LEAN_EXPORT lean_object* l_Array_mapM_x27___at___Lean_PersistentHashMap_mapMAux_
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_findFromUserName_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_mkBinding___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_renameUserName(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_modifyLocalDecls(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___Lean_LocalContext_isEmpty_spec__0___redArg___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_foldlM___at___Lean_LocalContext_size_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_foldlM___at___Lean_LocalContext_size_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_allM(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedLocalDecl;
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
|
|
@ -320,6 +329,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_foldl___redArg___lam__0(lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_LocalContext_find_x3f_spec__0___redArg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentArray_get_x21___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_outOfBounds___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkLocalDeclEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_LocalContext_find_x3f_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -374,6 +384,7 @@ lean_object* lean_panic_fn(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint8_t l_Lean_LocalContext_all(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_getFVarIds_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_LocalDecl_value___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_LocalContext_mkLocalDecl_spec__0_spec__0_spec__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_getFVarIds_spec__0_spec__0_spec__0(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
|
|
@ -7993,6 +8004,489 @@ goto block_19;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = lean_usize_dec_eq(x_3, x_4);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10;
|
||||
x_7 = lean_array_uget(x_2, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_8 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0(x_1, x_7, x_5);
|
||||
lean_dec_ref(x_7);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_3, x_9);
|
||||
x_3 = x_10;
|
||||
x_5 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; uint8_t x_11;
|
||||
x_11 = lean_usize_dec_eq(x_3, x_4);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_12 = lean_ctor_get(x_5, 0);
|
||||
x_13 = lean_ctor_get(x_5, 1);
|
||||
x_14 = lean_ctor_get(x_5, 2);
|
||||
x_15 = lean_array_uget(x_2, x_3);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
x_6 = x_5;
|
||||
goto block_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_26; lean_object* x_30;
|
||||
lean_inc(x_14);
|
||||
lean_inc_ref(x_13);
|
||||
lean_inc_ref(x_12);
|
||||
if (lean_is_exclusive(x_5)) {
|
||||
lean_ctor_release(x_5, 0);
|
||||
lean_ctor_release(x_5, 1);
|
||||
lean_ctor_release(x_5, 2);
|
||||
x_16 = x_5;
|
||||
} else {
|
||||
lean_dec_ref(x_5);
|
||||
x_16 = lean_box(0);
|
||||
}
|
||||
x_17 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_17);
|
||||
if (lean_is_exclusive(x_15)) {
|
||||
lean_ctor_release(x_15, 0);
|
||||
x_18 = x_15;
|
||||
} else {
|
||||
lean_dec_ref(x_15);
|
||||
x_18 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_1);
|
||||
x_19 = lean_apply_1(x_1, x_17);
|
||||
x_30 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_30);
|
||||
x_26 = x_30;
|
||||
goto block_29;
|
||||
block_25:
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
if (lean_is_scalar(x_18)) {
|
||||
x_22 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_22 = x_18;
|
||||
}
|
||||
lean_ctor_set(x_22, 0, x_19);
|
||||
x_23 = l_Lean_PersistentArray_set___redArg(x_13, x_21, x_22);
|
||||
lean_dec(x_21);
|
||||
if (lean_is_scalar(x_16)) {
|
||||
x_24 = lean_alloc_ctor(0, 3, 0);
|
||||
} else {
|
||||
x_24 = x_16;
|
||||
}
|
||||
lean_ctor_set(x_24, 0, x_20);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
lean_ctor_set(x_24, 2, x_14);
|
||||
x_6 = x_24;
|
||||
goto block_10;
|
||||
}
|
||||
block_29:
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
lean_inc_ref(x_19);
|
||||
x_27 = l_Lean_PersistentHashMap_insert___at___Lean_LocalContext_mkLocalDecl_spec__0___redArg(x_12, x_26, x_19);
|
||||
x_28 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_28);
|
||||
x_20 = x_27;
|
||||
x_21 = x_28;
|
||||
goto block_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
block_10:
|
||||
{
|
||||
size_t x_7; size_t x_8;
|
||||
x_7 = 1;
|
||||
x_8 = lean_usize_add(x_3, x_7);
|
||||
x_3 = x_8;
|
||||
x_5 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = lean_array_get_size(x_4);
|
||||
x_7 = lean_nat_dec_lt(x_5, x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = lean_nat_dec_le(x_6, x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_9; size_t x_10; lean_object* x_11;
|
||||
x_9 = 0;
|
||||
x_10 = lean_usize_of_nat(x_6);
|
||||
lean_dec(x_6);
|
||||
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0(x_1, x_4, x_9, x_10, x_3);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_12 = lean_ctor_get(x_2, 0);
|
||||
x_13 = lean_unsigned_to_nat(0u);
|
||||
x_14 = lean_array_get_size(x_12);
|
||||
x_15 = lean_nat_dec_lt(x_13, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_dec(x_14);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_16;
|
||||
x_16 = lean_nat_dec_le(x_14, x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_dec(x_14);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_17; size_t x_18; lean_object* x_19;
|
||||
x_17 = 0;
|
||||
x_18 = lean_usize_of_nat(x_14);
|
||||
lean_dec(x_14);
|
||||
x_19 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_12, x_17, x_18, x_3);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; size_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
x_7 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_getFVarIds_spec__0_spec__0___closed__0;
|
||||
x_8 = lean_usize_shift_right(x_3, x_4);
|
||||
x_9 = lean_usize_to_nat(x_8);
|
||||
x_10 = lean_array_get_borrowed(x_7, x_6, x_9);
|
||||
x_11 = 1;
|
||||
x_12 = lean_usize_shift_left(x_11, x_4);
|
||||
x_13 = lean_usize_sub(x_12, x_11);
|
||||
x_14 = lean_usize_land(x_3, x_13);
|
||||
x_15 = 5;
|
||||
x_16 = lean_usize_sub(x_4, x_15);
|
||||
lean_inc_ref(x_1);
|
||||
x_17 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0(x_1, x_10, x_14, x_16, x_5);
|
||||
x_18 = lean_unsigned_to_nat(1u);
|
||||
x_19 = lean_nat_add(x_9, x_18);
|
||||
lean_dec(x_9);
|
||||
x_20 = lean_array_get_size(x_6);
|
||||
x_21 = lean_nat_dec_lt(x_19, x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_19);
|
||||
lean_dec_ref(x_1);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_22;
|
||||
x_22 = lean_nat_dec_le(x_20, x_20);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_19);
|
||||
lean_dec_ref(x_1);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_23; size_t x_24; lean_object* x_25;
|
||||
x_23 = lean_usize_of_nat(x_19);
|
||||
lean_dec(x_19);
|
||||
x_24 = lean_usize_of_nat(x_20);
|
||||
lean_dec(x_20);
|
||||
x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0(x_1, x_6, x_23, x_24, x_17);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_26 = lean_ctor_get(x_2, 0);
|
||||
x_27 = lean_usize_to_nat(x_3);
|
||||
x_28 = lean_array_get_size(x_26);
|
||||
x_29 = lean_nat_dec_lt(x_27, x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_27);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = lean_nat_dec_le(x_28, x_28);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_27);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_31; size_t x_32; lean_object* x_33;
|
||||
x_31 = lean_usize_of_nat(x_27);
|
||||
lean_dec(x_27);
|
||||
x_32 = lean_usize_of_nat(x_28);
|
||||
lean_dec(x_28);
|
||||
x_33 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_26, x_31, x_32, x_5);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = lean_nat_dec_eq(x_4, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
x_9 = lean_ctor_get_usize(x_2, 4);
|
||||
x_10 = lean_ctor_get(x_2, 3);
|
||||
x_11 = lean_nat_dec_le(x_10, x_4);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
size_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_12 = lean_usize_of_nat(x_4);
|
||||
lean_inc_ref(x_1);
|
||||
x_13 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0(x_1, x_7, x_12, x_9, x_3);
|
||||
x_14 = lean_array_get_size(x_8);
|
||||
x_15 = lean_nat_dec_lt(x_5, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_dec(x_14);
|
||||
lean_dec_ref(x_1);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_16;
|
||||
x_16 = lean_nat_dec_le(x_14, x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_dec(x_14);
|
||||
lean_dec_ref(x_1);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_17; size_t x_18; lean_object* x_19;
|
||||
x_17 = 0;
|
||||
x_18 = lean_usize_of_nat(x_14);
|
||||
lean_dec(x_14);
|
||||
x_19 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_8, x_17, x_18, x_13);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_20 = lean_nat_sub(x_4, x_10);
|
||||
x_21 = lean_array_get_size(x_8);
|
||||
x_22 = lean_nat_dec_lt(x_20, x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_20);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_23;
|
||||
x_23 = lean_nat_dec_le(x_21, x_21);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_20);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_24; size_t x_25; lean_object* x_26;
|
||||
x_24 = lean_usize_of_nat(x_20);
|
||||
lean_dec(x_20);
|
||||
x_25 = lean_usize_of_nat(x_21);
|
||||
lean_dec(x_21);
|
||||
x_26 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_8, x_24, x_25, x_3);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_27 = lean_ctor_get(x_2, 0);
|
||||
x_28 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_1);
|
||||
x_29 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0(x_1, x_27, x_3);
|
||||
x_30 = lean_array_get_size(x_28);
|
||||
x_31 = lean_nat_dec_lt(x_5, x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_dec(x_30);
|
||||
lean_dec_ref(x_1);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_32;
|
||||
x_32 = lean_nat_dec_le(x_30, x_30);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_dec(x_30);
|
||||
lean_dec_ref(x_1);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_33; size_t x_34; lean_object* x_35;
|
||||
x_33 = 0;
|
||||
x_34 = lean_usize_of_nat(x_30);
|
||||
lean_dec(x_30);
|
||||
x_35 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_28, x_33, x_34, x_29);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_modifyLocalDecls(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_3);
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0(x_2, x_3, x_1, x_4);
|
||||
lean_dec_ref(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
size_t x_6; size_t x_7; lean_object* x_8;
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_6, x_7, x_5);
|
||||
lean_dec_ref(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
size_t x_6; size_t x_7; lean_object* x_8;
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0_spec__1(x_1, x_2, x_6, x_7, x_5);
|
||||
lean_dec_ref(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_____private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0_spec__0(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
size_t x_6; size_t x_7; lean_object* x_8;
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_8 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0_spec__0(x_1, x_2, x_6, x_7, x_5);
|
||||
lean_dec_ref(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_PersistentArray_foldlM___at___Lean_LocalContext_modifyLocalDecls_spec__0(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_dec_ref(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_setKind(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -9422,7 +9916,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_LocalContext_get_x21___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(14u);
|
||||
x_3 = lean_unsigned_to_nat(552u);
|
||||
x_3 = lean_unsigned_to_nat(567u);
|
||||
x_4 = l_Lean_LocalContext_mkBinding___lam__0___closed__0;
|
||||
x_5 = l_Lean_LocalDecl_value___closed__0;
|
||||
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
|
||||
|
|
@ -10629,11 +11123,11 @@ goto block_44;
|
|||
block_19:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_LocalContext_setUserName(x_2, x_16, x_13);
|
||||
x_17 = l_Lean_LocalContext_setUserName(x_2, x_16, x_14);
|
||||
x_1 = x_12;
|
||||
x_2 = x_17;
|
||||
x_3 = x_15;
|
||||
x_4 = x_14;
|
||||
x_4 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
block_27:
|
||||
|
|
@ -10650,8 +11144,8 @@ x_25 = l_Lean_NameSet_insert(x_3, x_20);
|
|||
x_26 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec_ref(x_21);
|
||||
x_13 = x_23;
|
||||
x_14 = x_24;
|
||||
x_13 = x_24;
|
||||
x_14 = x_23;
|
||||
x_15 = x_25;
|
||||
x_16 = x_26;
|
||||
goto block_19;
|
||||
|
|
@ -10840,13 +11334,13 @@ goto block_14;
|
|||
block_9:
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = lean_name_eq(x_3, x_5);
|
||||
x_6 = lean_name_eq(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_4);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_box(0);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -10854,7 +11348,7 @@ else
|
|||
{
|
||||
lean_object* x_8;
|
||||
x_8 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_4);
|
||||
lean_ctor_set(x_8, 0, x_3);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
|
|
@ -10864,8 +11358,8 @@ lean_object* x_13;
|
|||
x_13 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec_ref(x_10);
|
||||
x_3 = x_12;
|
||||
x_4 = x_11;
|
||||
x_3 = x_11;
|
||||
x_4 = x_12;
|
||||
x_5 = x_13;
|
||||
goto block_9;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPoly;
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr__1___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofMon___closed__5;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__8;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0;
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPoly___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__5;
|
||||
|
|
@ -33,7 +32,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofMon(lean_object*);
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__7;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofMon___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__19;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__5;
|
||||
|
|
@ -41,8 +39,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__17;
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPower___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__23;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__13;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofMon___closed__3;
|
||||
|
|
@ -50,8 +46,6 @@ lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_o
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPoly___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr__1___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__12;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3;
|
||||
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__8;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__4;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__1;
|
||||
|
|
@ -59,11 +53,9 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__18;
|
|||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__11;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1;
|
||||
lean_object* l_Lean_Level_ofNat(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__22;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__10;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__2;
|
||||
|
|
@ -73,7 +65,6 @@ lean_object* lean_nat_to_int(lean_object*);
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__21;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__15;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__11;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__16;
|
||||
|
|
@ -82,7 +73,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__5;
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPoly___closed__0;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__10;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__18;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofMon___closed__0;
|
||||
|
|
@ -92,7 +82,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__0;
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprMon___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr__1;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4;
|
||||
lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__6;
|
||||
|
|
@ -102,7 +91,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__0;
|
|||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprMon;
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2;
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly(lean_object*);
|
||||
|
|
@ -135,7 +123,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__19;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPower(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprPoly___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instToExprMon___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__6;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr___closed__9;
|
||||
|
|
@ -1220,149 +1207,6 @@ x_1 = l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__3;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("NullCert", 8, 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("empty", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0;
|
||||
x_3 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__2;
|
||||
x_4 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__1;
|
||||
x_5 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__0;
|
||||
x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Grind_Arith_CommRing_ofPoly___closed__17;
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0;
|
||||
x_3 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__2;
|
||||
x_4 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__1;
|
||||
x_5 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__0;
|
||||
x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofNullCert(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3;
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_5);
|
||||
x_6 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
x_7 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5;
|
||||
x_8 = l_Lean_Meta_Grind_Arith_CommRing_ofPoly(x_3);
|
||||
x_9 = l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(x_4);
|
||||
x_10 = l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(x_5);
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert(x_6);
|
||||
x_12 = l_Lean_mkApp4(x_7, x_8, x_9, x_10, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0;
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__2;
|
||||
x_3 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__1;
|
||||
x_4 = l_Lean_Meta_Grind_Arith_CommRing_ofPower___closed__0;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2;
|
||||
x_2 = l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1796,28 +1640,6 @@ l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__3 = _init_l_Lean_Meta_
|
|||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr___closed__3);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprExpr);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__0);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__1);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__2);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__3);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__4);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofNullCert___closed__5);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0 = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__0);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__1);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__2);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert___closed__3);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert = _init_l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instToExprNullCert);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__0 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__0();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__0);
|
||||
l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_ofSemiringExpr___closed__1();
|
||||
|
|
|
|||
54
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c
generated
54
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat.c
generated
|
|
@ -16,6 +16,7 @@ extern "C" {
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__20____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_118_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_517_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_403_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_403_(lean_object*);
|
||||
|
|
@ -30,6 +31,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_init
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_118_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__5____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_749_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_749_(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_118_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_863_;
|
||||
|
|
@ -84,6 +86,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_init
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_232_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_175_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_633_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_575_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_691_(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_749_;
|
||||
|
|
@ -108,6 +111,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_init
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_175_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__15____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_289_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__12____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__7____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
|
|
@ -1093,6 +1097,47 @@ x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("elimEq", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_403_;
|
||||
x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(977u);
|
||||
x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__30____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_;
|
||||
x_3 = l_Lean_Name_num___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
x_3 = 0;
|
||||
x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Util_Trace(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_DvdCnstr(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_LeCnstr(uint8_t builtin, lean_object*);
|
||||
|
|
@ -1375,6 +1420,15 @@ lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_ini
|
|||
if (builtin) {res = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_920_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_);
|
||||
if (builtin) {res = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_977_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
8653
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c
generated
8653
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/EqCnstr.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue