chore: update stage0
This commit is contained in:
parent
8457342d33
commit
a487bb8d63
32 changed files with 8757 additions and 5884 deletions
35
stage0/stdlib/Init/Control/Lawful/Instances.c
generated
35
stage0/stdlib/Init/Control/Lawful/Instances.c
generated
|
|
@ -13,6 +13,8 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__Except_map_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__Except_map_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__ExceptT_bindCont_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__ExceptT_run__bind_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__ExceptT_run__bind_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -50,6 +52,39 @@ x_4 = lean_alloc_closure((void*)(l___private_Init_Control_Lawful_Instances_0__Ex
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__Except_map_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_1(x_3, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__Except_map_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Init_Control_Lawful_Instances_0__Except_map_match__1_splitter___rarg), 3, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Control_Lawful_Instances_0__ExceptT_run__bind_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
34
stage0/stdlib/Init/Data/Array/BasicAux.c
generated
34
stage0/stdlib/Init/Data/Array/BasicAux.c
generated
|
|
@ -21,6 +21,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
LEAN_EXPORT lean_object* l_Array_mapM_x27_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapM_x27___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__List_toArrayAux_match__1_splitter(lean_object*, lean_object*);
|
||||
size_t lean_ptr_addr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapM_x27(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Array_mapMono___spec__2(lean_object*);
|
||||
|
|
@ -36,12 +37,45 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go_
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapM_x27_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__List_toArrayAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Array_mapMono___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Array_mapMono___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__List_toArrayAux_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_dec(x_4);
|
||||
x_5 = lean_apply_1(x_3, x_2);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_apply_3(x_4, x_6, x_7, x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__List_toArrayAux_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_BasicAux_0__List_toArrayAux_match__1_splitter___rarg), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapM_x27_go___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
96
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
96
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
|
|
@ -27,7 +27,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMapM_
|
|||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__9;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableMemOfLawfulBEq(lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -44,7 +46,9 @@ lean_object* l_Nat_decidableExistsLT_x27(lean_object*, lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMapM_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__23;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__push_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_forIn_x27_loop_match__3_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__11;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -80,8 +84,10 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_ofFn_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__31;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableExistsAndMemOfDecidablePred___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__28;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__push_match__1_splitter(lean_object*, lean_object*);
|
||||
|
|
@ -93,6 +99,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l_Array_contains___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableMemOfLawfulBEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528____closed__16;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18528_;
|
||||
|
|
@ -186,6 +193,45 @@ x_2 = lean_alloc_closure((void*)(l_Array_instDecidableExistsAndMemOfDecidablePre
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_2(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_Array_Lemmas_0__List_mapA_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -247,6 +293,56 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg(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_1, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_sub(x_1, x_7);
|
||||
x_9 = lean_apply_2(x_4, x_8, lean_box(0));
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10;
|
||||
lean_dec(x_4);
|
||||
x_10 = lean_apply_1(x_3, lean_box(0));
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg___boxed), 4, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg___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_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMapM_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
56
stage0/stdlib/Init/Data/Array/OfFn.c
generated
56
stage0/stdlib/Init/Data/Array/OfFn.c
generated
|
|
@ -13,16 +13,72 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_push___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_ofFnM(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_ofFnM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_foldlM_loop___at_Array_ofFnM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_foldlM_loop___at_Array_ofFnM___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_foldlM_loop___at_Array_ofFnM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_foldlM_loop___at_Array_ofFnM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg(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_1, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_sub(x_1, x_7);
|
||||
x_9 = lean_apply_2(x_3, x_8, lean_box(0));
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10;
|
||||
lean_dec(x_3);
|
||||
x_10 = lean_apply_1(x_4, lean_box(0));
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg___boxed), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg___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_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___rarg(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_Data_Array_OfFn_0__Array_ofFn_go_match__1_splitter(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Fin_foldlM_loop___at_Array_ofFnM___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
56
stage0/stdlib/Init/Data/Array/Range.c
generated
56
stage0/stdlib/Init/Data/Array/Range.c
generated
|
|
@ -13,6 +13,62 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg(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_1, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_sub(x_1, x_7);
|
||||
x_9 = lean_apply_2(x_3, x_8, lean_box(0));
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10;
|
||||
lean_dec(x_3);
|
||||
x_10 = lean_apply_1(x_4, lean_box(0));
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg___boxed), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg___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_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___rarg(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_Data_Array_Range_0__Array_ofFn_go_match__1_splitter(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Array_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_OfFn(uint8_t builtin, lean_object*);
|
||||
|
|
|
|||
42
stage0/stdlib/Init/Data/List/Monadic.c
generated
42
stage0/stdlib/Init/Data/List/Monadic.c
generated
|
|
@ -23,6 +23,7 @@ LEAN_EXPORT lean_object* l_List_mapM_x27(lean_object*, lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_anyM_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_flatMapM_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_mapM_x27_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_anyM_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_anyM_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_mapA_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -53,6 +54,8 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_forIn_x27_lo
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_mapM_x27_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM_x27___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_mapA_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -124,6 +127,45 @@ x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Monadic_0__List_filt
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_2(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_List_Monadic_0__List_findM_x3f_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_mapM_x27___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
106
stage0/stdlib/Init/Data/List/Sort/Impl.c
generated
106
stage0/stdlib/Init/Data/List/Sort/Impl.c
generated
|
|
@ -39,6 +39,7 @@ lean_object* l_List_reverseAux___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__25;
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__31;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_merge_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_mergeSortTR_u2082_run_x27_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__6;
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -65,6 +66,7 @@ static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed
|
|||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeTR_go(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__51;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__17;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_mergeSort_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__41;
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__30;
|
||||
|
|
@ -76,6 +78,7 @@ static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed
|
|||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_mergeSort_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__59;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__15;
|
||||
|
|
@ -115,6 +118,7 @@ static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_merge_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_916____closed__49;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_MergeSort_Internal_splitRevAt_go_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -388,6 +392,55 @@ x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeTR___rarg), 3, 0
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_merge_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_6 = lean_apply_1(x_3, x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_apply_2(x_4, x_1, lean_box(0));
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_2);
|
||||
x_12 = lean_apply_4(x_5, x_8, x_9, x_10, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_merge_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Impl_0__List_merge_match__1_splitter___rarg), 5, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1726,6 +1779,59 @@ x_2 = lean_alloc_closure((void*)(l_List_MergeSort_Internal_mergeSortTR_u2082___r
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_mergeSort_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_6 = lean_apply_1(x_3, x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_9 = lean_apply_2(x_4, x_8, x_2);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
lean_dec(x_4);
|
||||
x_10 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_1);
|
||||
x_11 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_7);
|
||||
x_13 = lean_apply_4(x_5, x_10, x_11, x_12, x_2);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Impl_0__List_mergeSort_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Impl_0__List_mergeSort_match__1_splitter___rarg), 5, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_List_Sort_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Sort_Lemmas(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
|
|||
51
stage0/stdlib/Init/Data/List/Sort/Lemmas.c
generated
51
stage0/stdlib/Init/Data/List/Sort/Lemmas.c
generated
|
|
@ -14,7 +14,58 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_merge_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_merge_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_merge_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_6 = lean_apply_1(x_3, x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_apply_2(x_4, x_1, lean_box(0));
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_2);
|
||||
x_12 = lean_apply_4(x_5, x_8, x_9, x_10, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_merge_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_Sort_Lemmas_0__List_merge_match__1_splitter___rarg), 5, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Sort_Lemmas_0__List_mergeSort_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
84
stage0/stdlib/Init/Data/List/ToArray.c
generated
84
stage0/stdlib/Init/Data/List/ToArray.c
generated
|
|
@ -21,6 +21,8 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_isEqvAux_ma
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findSomeM_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_anyM_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_forIn_x27_loop_match__3_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findM_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findSomeM_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_forIn_x27_loop_match__3_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -28,6 +30,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_filter_match
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_erase_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findSomeM_x3f_match__3_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_isEqvAux_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_forIn_x27_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_forIn_x27_loop_match__3_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_forIn_x27__cons_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -38,12 +41,15 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_forIn_x27_l
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_filter_match__1_splitter(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_anyM_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findM_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_erase_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findSomeM_x3f_match__3_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findSomeRevM_x3f_find_match__1_splitter(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_findSomeM_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_anyM_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__Array_isEqvAux_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_filter_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -234,6 +240,45 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_2(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_List_ToArray_0__List_mapA_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findSomeM_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -395,6 +440,45 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_2(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_List_ToArray_0__List_findM_x3f_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_ToArray_0__List_anyM_match__1_splitter___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Grind.c
generated
6
stage0/stdlib/Init/Grind.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Grind
|
||||
// Imports: Init.Grind.Norm Init.Grind.Tactics Init.Grind.Lemmas Init.Grind.Cases Init.Grind.Propagator Init.Grind.Util Init.Grind.Offset Init.Grind.PP Init.Grind.CommRing Init.Grind.Module Init.Grind.Ordered Init.Grind.Ext Init.Data.Int.OfNat
|
||||
// Imports: Init.Grind.Norm Init.Grind.Tactics Init.Grind.Lemmas Init.Grind.Cases Init.Grind.Propagator Init.Grind.Util Init.Grind.Offset Init.Grind.PP Init.Grind.CommRing Init.Grind.Module Init.Grind.Ordered Init.Grind.Ext Init.Grind.ToInt Init.Data.Int.OfNat
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -25,6 +25,7 @@ lean_object* initialize_Init_Grind_CommRing(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Grind_Module(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Grind_Ordered(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Grind_Ext(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Grind_ToInt(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Int_OfNat(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Grind(uint8_t builtin, lean_object* w) {
|
||||
|
|
@ -67,6 +68,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Grind_Ext(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Grind_ToInt(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Int_OfNat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
474
stage0/stdlib/Init/Grind/ToInt.c
generated
Normal file
474
stage0/stdlib/Init/Grind/ToInt.c
generated
Normal file
|
|
@ -0,0 +1,474 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Grind.ToInt
|
||||
// Imports: Init.Data.Int.DivMod.Basic Init.Data.Int.Lemmas Init.Data.Int.Order Init.Data.Fin.Lemmas Init.Data.UInt.Lemmas Init.Data.SInt.Lemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_BitVec_toInt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt8SomeIntNegHPowOfNat(uint8_t);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt32SomeIntOfNatHPow___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt32SomeIntNegHPowOfNat(uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_ToInt_0__Lean_Grind_ToInt_wrap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int64_to_int_sint(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_ToInt_wrap___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int_emod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt16SomeIntNegHPowOfNat(uint16_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_ToInt_wrap(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_ToInt_0__Lean_Grind_ToInt_wrap_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt32SomeIntNegHPowOfNat___boxed(lean_object*);
|
||||
lean_object* l_Nat_cast___at___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast___rarg(lean_object*);
|
||||
lean_object* lean_int8_to_int(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecOfNatNatSomeInt(lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt8SomeIntOfNatHPow___boxed(lean_object*);
|
||||
lean_object* lean_int32_to_int(uint32_t);
|
||||
lean_object* lean_uint64_to_nat(uint64_t);
|
||||
static lean_object* l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt32SomeIntOfNatHPow(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt16SomeIntOfNatHPow___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUSizeSomeIntOfNatHPowNatNumBits(size_t);
|
||||
static lean_object* l_Lean_Grind_instToIntIntNone___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt64SomeIntOfNatHPow(uint64_t);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntIntNone;
|
||||
lean_object* lean_int16_to_int(uint16_t);
|
||||
lean_object* l_id___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt8SomeIntNegHPowOfNat___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntNatSomeIntOfNatNone;
|
||||
lean_object* lean_uint16_to_nat(uint16_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt64SomeIntNegHPowOfNat___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt8SomeIntOfNatHPow(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt64SomeIntOfNatHPow___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntISizeSomeIntNegHPowNatOfNatHSubNumBits(size_t);
|
||||
lean_object* lean_uint8_to_nat(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt64SomeIntNegHPowOfNat(uint64_t);
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt16SomeIntNegHPowOfNat___boxed(lean_object*);
|
||||
lean_object* lean_isize_to_int(size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecSomeIntNegHPowNatOfNatHSub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntISizeSomeIntNegHPowNatOfNatHSubNumBits___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt16SomeIntOfNatHPow(uint16_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUSizeSomeIntOfNatHPowNatNumBits___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_ToInt_wrap(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_inc(x_3);
|
||||
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;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_int_sub(x_3, x_4);
|
||||
x_7 = lean_int_sub(x_5, x_4);
|
||||
x_8 = lean_int_emod(x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_int_add(x_8, x_4);
|
||||
lean_dec(x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_ToInt_wrap___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Grind_ToInt_wrap(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_ToInt_0__Lean_Grind_ToInt_wrap_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = lean_apply_3(x_4, x_1, x_2, lean_box(0));
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_apply_3(x_4, x_1, x_2, lean_box(0));
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_apply_2(x_3, x_7, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_ToInt_0__Lean_Grind_ToInt_wrap_match__1_splitter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Grind_ToInt_0__Lean_Grind_ToInt_wrap_match__1_splitter___rarg), 4, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_instToIntIntNone___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_id___rarg___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_instToIntIntNone() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Grind_instToIntIntNone___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Nat_cast___at___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine___spec__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_instToIntNatSomeIntOfNatNone() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Grind_instToIntFinSomeIntOfNatCast___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntFinSomeIntOfNatCast___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Grind_instToIntFinSomeIntOfNatCast(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt8SomeIntOfNatHPow(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_uint8_to_nat(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt8SomeIntOfNatHPow___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntUInt8SomeIntOfNatHPow(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt16SomeIntOfNatHPow(uint16_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_uint16_to_nat(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt16SomeIntOfNatHPow___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint16_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntUInt16SomeIntOfNatHPow(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt32SomeIntOfNatHPow(uint32_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_uint32_to_nat(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt32SomeIntOfNatHPow___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint32(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntUInt32SomeIntOfNatHPow(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt64SomeIntOfNatHPow(uint64_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_uint64_to_nat(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUInt64SomeIntOfNatHPow___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint64(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntUInt64SomeIntOfNatHPow(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUSizeSomeIntOfNatHPowNatNumBits(size_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_usize_to_nat(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntUSizeSomeIntOfNatHPowNatNumBits___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntUSizeSomeIntOfNatHPowNatNumBits(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt8SomeIntNegHPowOfNat(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_int8_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt8SomeIntNegHPowOfNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntInt8SomeIntNegHPowOfNat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt16SomeIntNegHPowOfNat(uint16_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_int16_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt16SomeIntNegHPowOfNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint16_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntInt16SomeIntNegHPowOfNat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt32SomeIntNegHPowOfNat(uint32_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_int32_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt32SomeIntNegHPowOfNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint32(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntInt32SomeIntNegHPowOfNat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt64SomeIntNegHPowOfNat(uint64_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_int64_to_int_sint(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntInt64SomeIntNegHPowOfNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint64(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntInt64SomeIntNegHPowOfNat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecOfNatNatSomeInt(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Grind_instToIntBitVecOfNatNatSomeInt(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntBitVecSomeIntNegHPowNatOfNatHSub(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_BitVec_toInt___boxed), 2, 1);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntISizeSomeIntNegHPowNatOfNatHSubNumBits(size_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_isize_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_instToIntISizeSomeIntNegHPowNatOfNatHSubNumBits___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Grind_instToIntISizeSomeIntNegHPowNatOfNatHSubNumBits(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Int_DivMod_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Int_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Int_Order(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Fin_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_UInt_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_SInt_Lemmas(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Grind_ToInt(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_Int_DivMod_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Int_Lemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Int_Order(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Fin_Lemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_UInt_Lemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_SInt_Lemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Grind_instToIntIntNone___closed__1 = _init_l_Lean_Grind_instToIntIntNone___closed__1();
|
||||
lean_mark_persistent(l_Lean_Grind_instToIntIntNone___closed__1);
|
||||
l_Lean_Grind_instToIntIntNone = _init_l_Lean_Grind_instToIntIntNone();
|
||||
lean_mark_persistent(l_Lean_Grind_instToIntIntNone);
|
||||
l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1 = _init_l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1();
|
||||
lean_mark_persistent(l_Lean_Grind_instToIntNatSomeIntOfNatNone___closed__1);
|
||||
l_Lean_Grind_instToIntNatSomeIntOfNatNone = _init_l_Lean_Grind_instToIntNatSomeIntOfNatNone();
|
||||
lean_mark_persistent(l_Lean_Grind_instToIntNatSomeIntOfNatNone);
|
||||
l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1 = _init_l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1();
|
||||
lean_mark_persistent(l_Lean_Grind_instToIntBitVecOfNatNatSomeInt___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
6
stage0/stdlib/Lake/CLI/Main.c
generated
6
stage0/stdlib/Lake/CLI/Main.c
generated
|
|
@ -87,7 +87,6 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
static lean_object* l_Lake_verifyInstall___closed__2;
|
||||
lean_object* lean_io_rename(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lake_build___closed__1;
|
||||
lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_takeOptArg_x27___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instMonadLiftLoggerIOCliStateM(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instMonadLiftLogIOLoggerIO___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -290,6 +289,7 @@ static lean_object* l_Lake_lake_script_doc___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lake_lakeLongOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeCli___closed__20;
|
||||
static lean_object* l_Lake_lake_checkTest___closed__6;
|
||||
lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_clean___boxed__const__1;
|
||||
lean_object* l_String_posOfAux(lean_object*, uint32_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_env___lambda__1___boxed__const__1;
|
||||
|
|
@ -56116,7 +56116,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_array_mk(x_1);
|
||||
x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(x_2);
|
||||
x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -56301,7 +56301,7 @@ lean_ctor_set(x_30, 1, x_28);
|
|||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_17);
|
||||
x_32 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(x_6);
|
||||
x_32 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_6);
|
||||
x_33 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7187____closed__5;
|
||||
x_34 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
|
|
|
|||
3
stage0/stdlib/Lake/CLI/Translate.c
generated
3
stage0/stdlib/Lake/CLI/Translate.c
generated
|
|
@ -369,10 +369,11 @@ lean_object* x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4;
|
|||
x_1 = l_Lake_Package_mkConfigString___closed__5;
|
||||
x_2 = 0;
|
||||
x_3 = 1;
|
||||
x_4 = lean_alloc_ctor(0, 1, 2);
|
||||
x_4 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_3);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 2, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
stage0/stdlib/Lake/CLI/Translate/Lean.c
generated
2
stage0/stdlib/Lake/CLI/Translate/Lean.c
generated
|
|
@ -29458,7 +29458,7 @@ x_2 = l_Lake_Package_mkLeanConfig___closed__7;
|
|||
x_3 = l_Lake_mkDeclValWhere_x3f___closed__11;
|
||||
x_4 = l_Lake_Package_mkLeanConfig___closed__8;
|
||||
x_5 = l_Lake_Package_mkLeanConfig___closed__9;
|
||||
x_6 = l_Lean_Syntax_node5(x_1, x_2, x_3, x_4, x_3, x_5, x_3);
|
||||
x_6 = l_Lean_Syntax_node6(x_1, x_2, x_3, x_3, x_4, x_3, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
stage0/stdlib/Lake/Config/Pattern.c
generated
18
stage0/stdlib/Lake/Config/Pattern.c
generated
|
|
@ -127,7 +127,9 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_Pattern_all(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lake_Pattern_empty___elambda__1(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Config_Pattern_0__String_atEnd_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instEmptyCollectionPatternDescr(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Config_Pattern_0__String_atEnd_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_StrPat_none;
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lake_StrPatDescr_matches___spec__2(lean_object*, lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lake_StrPat_verLike___closed__2;
|
||||
|
|
@ -2462,6 +2464,22 @@ lean_ctor_set(x_7, 2, x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Config_Pattern_0__String_atEnd_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_apply_2(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Config_Pattern_0__String_atEnd_match__1_splitter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lake_Config_Pattern_0__String_atEnd_match__1_splitter___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lake_isVerLike(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
697
stage0/stdlib/Lake/Load/Lean/Elab.c
generated
697
stage0/stdlib/Lake/Load/Lean/Elab.c
generated
File diff suppressed because it is too large
Load diff
16
stage0/stdlib/Lake/Load/Manifest.c
generated
16
stage0/stdlib/Lake/Load/Manifest.c
generated
|
|
@ -32,7 +32,6 @@ lean_object* l_Lean_RBNode_find___at___private_Lean_Data_Json_Basic_0__Lean_Json
|
|||
lean_object* l_Lean_Name_fromJson_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Manifest_getPackages(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_PackageEntry_instToJson;
|
||||
lean_object* l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Manifest_saveEntries(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Manifest_getPackages___closed__6;
|
||||
static lean_object* l___private_Lake_Load_Manifest_0__Lake_fromJsonPackageEntryV6____x40_Lake_Load_Manifest___hyg_131____lambda__2___closed__9;
|
||||
|
|
@ -170,6 +169,7 @@ static lean_object* l_Lake_PackageEntry_fromJson_x3f___closed__24;
|
|||
uint8_t l_Lake_StdVer_compare(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_PackageEntry_fromJson_x3f___closed__12;
|
||||
static lean_object* l_Lake_PackageEntry_toJson___closed__7;
|
||||
lean_object* l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(lean_object*);
|
||||
lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Manifest_save(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_abs(lean_object*);
|
||||
|
|
@ -1276,7 +1276,7 @@ lean_dec(x_89);
|
|||
x_98 = lean_unsigned_to_nat(6u);
|
||||
x_99 = lean_array_get(x_31, x_30, x_98);
|
||||
lean_dec(x_30);
|
||||
x_100 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_99);
|
||||
x_100 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_99);
|
||||
if (lean_obj_tag(x_100) == 0)
|
||||
{
|
||||
uint8_t x_101;
|
||||
|
|
@ -3177,7 +3177,7 @@ lean_object* x_279; lean_object* x_280;
|
|||
x_279 = lean_ctor_get(x_277, 0);
|
||||
lean_inc(x_279);
|
||||
lean_dec(x_277);
|
||||
x_280 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_279);
|
||||
x_280 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_279);
|
||||
if (lean_obj_tag(x_280) == 0)
|
||||
{
|
||||
lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285;
|
||||
|
|
@ -3442,7 +3442,7 @@ lean_dec(x_189);
|
|||
x_199 = lean_ctor_get(x_192, 0);
|
||||
lean_inc(x_199);
|
||||
lean_dec(x_192);
|
||||
x_200 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_199);
|
||||
x_200 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_199);
|
||||
if (lean_obj_tag(x_200) == 0)
|
||||
{
|
||||
lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205;
|
||||
|
|
@ -3683,7 +3683,7 @@ lean_object* x_265; lean_object* x_266;
|
|||
x_265 = lean_ctor_get(x_158, 0);
|
||||
lean_inc(x_265);
|
||||
lean_dec(x_158);
|
||||
x_266 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_265);
|
||||
x_266 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_265);
|
||||
if (lean_obj_tag(x_266) == 0)
|
||||
{
|
||||
lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271;
|
||||
|
|
@ -3937,7 +3937,7 @@ lean_object* x_122; lean_object* x_123;
|
|||
x_122 = lean_ctor_get(x_119, 0);
|
||||
lean_inc(x_122);
|
||||
lean_dec(x_119);
|
||||
x_123 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_122);
|
||||
x_123 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_122);
|
||||
if (lean_obj_tag(x_123) == 0)
|
||||
{
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
|
|
@ -6530,7 +6530,7 @@ lean_object* x_60; lean_object* x_61;
|
|||
x_60 = lean_ctor_get(x_58, 0);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_58);
|
||||
x_61 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_60);
|
||||
x_61 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_60);
|
||||
if (lean_obj_tag(x_61) == 0)
|
||||
{
|
||||
uint8_t x_62;
|
||||
|
|
@ -6666,7 +6666,7 @@ lean_object* x_29; lean_object* x_30;
|
|||
x_29 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_15);
|
||||
x_30 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_29);
|
||||
x_30 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_29);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
uint8_t x_31;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Reservoir.c
generated
4
stage0/stdlib/Lake/Reservoir.c
generated
|
|
@ -28,7 +28,6 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_RBNode_find___at___private_Lean_Data_Json_Basic_0__Lean_Json_beq_x27___spec__3(lean_object*, lean_object*);
|
||||
uint8_t lean_uint8_lor(uint8_t, uint8_t);
|
||||
static lean_object* l_Lake_ReservoirResp_fromJson_x3f___rarg___closed__12;
|
||||
lean_object* l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(lean_object*);
|
||||
static lean_object* l_Lake_Reservoir_fetchPkg_x3f___lambda__1___closed__3;
|
||||
static lean_object* l_Lake_RegistryPkg_fromJson_x3f___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lake_ReservoirResp_fromJson_x3f___at_Lake_Reservoir_fetchPkg_x3f___spec__1(lean_object*);
|
||||
|
|
@ -137,6 +136,7 @@ lean_object* l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_obj
|
|||
static lean_object* l_Lake_getUrl___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_RegistryPkg_gitSrc_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_RegistrySrc_fromJson_x3f___closed__7;
|
||||
lean_object* l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(lean_object*);
|
||||
static lean_object* l_Lake_RegistrySrc_fromJson_x3f___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lake_ReservoirResp_fromJson_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instFromJsonReservoirResp(lean_object*);
|
||||
|
|
@ -990,7 +990,7 @@ lean_dec(x_16);
|
|||
x_28 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_24);
|
||||
x_29 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_607____spec__2(x_28);
|
||||
x_29 = l_Option_fromJson_x3f___at___private_Lean_Setup_0__Lean_fromJsonModuleArtifacts____x40_Lean_Setup___hyg_691____spec__2(x_28);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
uint8_t x_30;
|
||||
|
|
|
|||
18
stage0/stdlib/Lake/Util/Version.c
generated
18
stage0/stdlib/Lake/Util/Version.c
generated
|
|
@ -44,6 +44,7 @@ static lean_object* l_Lake_reprSemVerCore____x40_Lake_Util_Version___hyg_54____c
|
|||
static lean_object* l_Lake_SemVerCore_parse___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lake_instOrdSemVerCore;
|
||||
LEAN_EXPORT uint8_t l_Lake_StdVer_parse___lambda__1(uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__String_atEnd_match__1_splitter(lean_object*);
|
||||
static lean_object* l_Lake_StdVer_parse___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_SemVerCore_toString(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instLTStdVer;
|
||||
|
|
@ -175,6 +176,7 @@ lean_object* l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(le
|
|||
static lean_object* l_Lake_ToolchainVer_ofString___closed__12;
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
static lean_object* l_Lake_SemVerCore_parse___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__String_atEnd_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_ToolchainVer_le_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeSemVerCoreStdVer;
|
||||
static lean_object* l_Lake_reprStdVer____x40_Lake_Util_Version___hyg_964____closed__4;
|
||||
|
|
@ -2660,6 +2662,22 @@ x_1 = l_Lake_ToolchainVer_prOrigin___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__String_atEnd_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_apply_2(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__String_atEnd_match__1_splitter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lake_Util_Version_0__String_atEnd_match__1_splitter___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_ToolchainVer_ofString___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -297,7 +297,6 @@ static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities___closed__1;
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1395____closed__19;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_2015____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonLeanClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1209____boxed(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_137____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_2015____spec__7___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -350,6 +349,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonT
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__12;
|
||||
static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_2015____closed__15;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonLeanClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1237____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_24____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_52____closed__8;
|
||||
|
|
@ -2377,7 +2377,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_469____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -8546,7 +8546,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
@ -8586,7 +8586,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__4;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -8627,7 +8627,7 @@ lean_inc(x_45);
|
|||
lean_dec(x_36);
|
||||
x_46 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__5;
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_46);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_46);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_48;
|
||||
|
|
@ -8669,7 +8669,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__6;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
@ -8712,7 +8712,7 @@ lean_inc(x_67);
|
|||
lean_dec(x_58);
|
||||
x_68 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__7;
|
||||
lean_inc(x_1);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_68);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_68);
|
||||
if (lean_obj_tag(x_69) == 0)
|
||||
{
|
||||
uint8_t x_70;
|
||||
|
|
@ -8756,7 +8756,7 @@ lean_inc(x_78);
|
|||
lean_dec(x_69);
|
||||
x_79 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__8;
|
||||
lean_inc(x_1);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_79);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_79);
|
||||
if (lean_obj_tag(x_80) == 0)
|
||||
{
|
||||
uint8_t x_81;
|
||||
|
|
@ -8801,7 +8801,7 @@ lean_inc(x_89);
|
|||
lean_dec(x_80);
|
||||
x_90 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_90);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_90);
|
||||
if (lean_obj_tag(x_91) == 0)
|
||||
{
|
||||
uint8_t x_92;
|
||||
|
|
@ -8847,7 +8847,7 @@ lean_inc(x_100);
|
|||
lean_dec(x_91);
|
||||
x_101 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__10;
|
||||
lean_inc(x_1);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_101);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_101);
|
||||
if (lean_obj_tag(x_102) == 0)
|
||||
{
|
||||
uint8_t x_103;
|
||||
|
|
@ -8942,7 +8942,7 @@ lean_inc(x_122);
|
|||
lean_dec(x_113);
|
||||
x_123 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__12;
|
||||
lean_inc(x_1);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_123);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_123);
|
||||
if (lean_obj_tag(x_124) == 0)
|
||||
{
|
||||
uint8_t x_125;
|
||||
|
|
@ -8991,7 +8991,7 @@ lean_inc(x_133);
|
|||
lean_dec(x_124);
|
||||
x_134 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1823____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_134);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_134);
|
||||
if (lean_obj_tag(x_135) == 0)
|
||||
{
|
||||
uint8_t x_136;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
4
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
|
|
@ -253,7 +253,6 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeAction
|
|||
static lean_object* l_Array_fromJson_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_154____spec__3___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1242____closed__18;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1242____closed__23;
|
||||
static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1677____closed__6;
|
||||
|
|
@ -303,6 +302,7 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCo
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1242____closed__28;
|
||||
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1642_(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_909____closed__4;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_154____lambda__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1798____closed__2;
|
||||
|
|
@ -2963,7 +2963,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_863____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
|
|||
366
stage0/stdlib/Lean/Elab/Import.c
generated
366
stage0/stdlib/Lean/Elab/Import.c
generated
|
|
@ -16,10 +16,12 @@ extern "C" {
|
|||
LEAN_EXPORT lean_object* l_IO_println___at_Lean_Elab_printImports___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_processHeaderCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2;
|
||||
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_processHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_print_imports(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_processHeaderCore___spec__1___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_processHeaderCore___spec__1___lambda__1___closed__2;
|
||||
|
|
@ -41,6 +43,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_processHead
|
|||
static lean_object* l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_startPos(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_processHeaderCore___spec__1___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__4;
|
||||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___lambda__1___closed__6;
|
||||
static lean_object* l_Lean_Elab_processHeaderCore___closed__2;
|
||||
|
|
@ -77,11 +80,11 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___lambda__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_printImports___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___lambda__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_processHeaderCore___spec__1___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_parseImports___closed__1;
|
||||
lean_object* l_Lean_findOLean(lean_object*, lean_object*);
|
||||
|
|
@ -90,7 +93,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_parseImports(lean_object*, lean_object*, le
|
|||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_printImportSrcs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_processHeaderCore___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -99,6 +102,7 @@ lean_object* lean_array_mk(lean_object*);
|
|||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_startPos___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
lean_object* l_Lean_findLean(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -119,7 +123,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports__
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__1;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_HeaderSyntax_imports___lambda__1___closed__1;
|
||||
|
|
@ -245,82 +249,146 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__1;
|
||||
x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(27u);
|
||||
x_3 = lean_unsigned_to_nat(28u);
|
||||
x_4 = lean_unsigned_to_nat(13u);
|
||||
x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__3;
|
||||
x_6 = l_mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_5 = lean_unsigned_to_nat(3u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = lean_unsigned_to_nat(4u);
|
||||
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
|
||||
x_9 = lean_unsigned_to_nat(0u);
|
||||
x_10 = l_Lean_Syntax_matchesNull(x_8, x_9);
|
||||
if (x_10 == 0)
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_6 = lean_unsigned_to_nat(4u);
|
||||
x_7 = l_Lean_Syntax_getArg(x_1, x_6);
|
||||
x_8 = lean_unsigned_to_nat(5u);
|
||||
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
|
||||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = l_Lean_Syntax_matchesNull(x_9, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_6);
|
||||
x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_12 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_11);
|
||||
return x_12;
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
lean_dec(x_7);
|
||||
x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_13 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_12);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Syntax_getId(x_6);
|
||||
lean_dec(x_6);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
lean_object* x_14;
|
||||
x_14 = l_Lean_Syntax_getId(x_7);
|
||||
lean_dec(x_7);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_14; uint8_t x_15; lean_object* x_16;
|
||||
x_14 = 0;
|
||||
x_15 = 1;
|
||||
x_16 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_16, 0, x_13);
|
||||
lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_14);
|
||||
lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 1, x_15);
|
||||
return x_16;
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_15; uint8_t x_16; lean_object* x_17;
|
||||
x_15 = 0;
|
||||
x_16 = 1;
|
||||
x_17 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_17, 0, x_14);
|
||||
lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_15);
|
||||
lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_16);
|
||||
lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 2, x_15);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17; lean_object* x_18;
|
||||
x_17 = 0;
|
||||
x_18 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_18, 0, x_13);
|
||||
lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_17);
|
||||
lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 1, x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_19; lean_object* x_20;
|
||||
uint8_t x_18; uint8_t x_19; lean_object* x_20;
|
||||
x_18 = 0;
|
||||
x_19 = 1;
|
||||
x_20 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_20, 0, x_13);
|
||||
lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_19);
|
||||
x_20 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_20, 0, x_14);
|
||||
lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_18);
|
||||
lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 1, x_19);
|
||||
lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 2, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21; uint8_t x_22; lean_object* x_23;
|
||||
x_21 = 1;
|
||||
x_22 = 0;
|
||||
x_23 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_23, 0, x_13);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_21);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 1, x_22);
|
||||
return x_23;
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_21; lean_object* x_22;
|
||||
x_21 = 0;
|
||||
x_22 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_22, 0, x_14);
|
||||
lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21);
|
||||
lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 1, x_21);
|
||||
lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 2, x_21);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_23; uint8_t x_24; lean_object* x_25;
|
||||
x_23 = 0;
|
||||
x_24 = 1;
|
||||
x_25 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_25, 0, x_14);
|
||||
lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_23);
|
||||
lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 1, x_23);
|
||||
lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 2, x_24);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_26; uint8_t x_27; lean_object* x_28;
|
||||
x_26 = 1;
|
||||
x_27 = 0;
|
||||
x_28 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_28, 0, x_14);
|
||||
lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_26);
|
||||
lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 1, x_26);
|
||||
lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 2, x_27);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_29; lean_object* x_30;
|
||||
x_29 = 1;
|
||||
x_30 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_30, 0, x_14);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 1, x_29);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 2, x_29);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_31; uint8_t x_32; lean_object* x_33;
|
||||
x_31 = 1;
|
||||
x_32 = 0;
|
||||
x_33 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_33, 0, x_14);
|
||||
lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_31);
|
||||
lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 1, x_32);
|
||||
lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 2, x_32);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_34; uint8_t x_35; lean_object* x_36;
|
||||
x_34 = 1;
|
||||
x_35 = 0;
|
||||
x_36 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_36, 0, x_14);
|
||||
lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_34);
|
||||
lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 1, x_35);
|
||||
lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 2, x_34);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -370,66 +438,148 @@ x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(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; uint8_t x_7;
|
||||
x_5 = lean_unsigned_to_nat(3u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = l_Lean_Syntax_isNone(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_unsigned_to_nat(1u);
|
||||
lean_inc(x_6);
|
||||
x_9 = l_Lean_Syntax_matchesNull(x_6, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_11 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_10);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = l_Lean_Syntax_getArg(x_6, x_12);
|
||||
lean_dec(x_6);
|
||||
x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__5;
|
||||
lean_inc(x_13);
|
||||
x_15 = l_Lean_Syntax_isOfKind(x_13, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_17 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_16);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_18 = l_Lean_Syntax_getArg(x_13, x_12);
|
||||
lean_dec(x_13);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_2, x_4, x_20, x_19);
|
||||
lean_dec(x_19);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
lean_dec(x_6);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_2, x_4, x_23, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("meta", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__1;
|
||||
x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__2;
|
||||
x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__3;
|
||||
x_4 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_4 = lean_unsigned_to_nat(1u);
|
||||
x_5 = l_Lean_Syntax_getArg(x_1, x_4);
|
||||
x_6 = l_Lean_Syntax_isNone(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; uint8_t x_8;
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
uint8_t x_7;
|
||||
lean_inc(x_5);
|
||||
x_8 = l_Lean_Syntax_matchesNull(x_5, x_7);
|
||||
if (x_8 == 0)
|
||||
x_7 = l_Lean_Syntax_matchesNull(x_5, x_4);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_5);
|
||||
x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_10 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_9);
|
||||
return x_10;
|
||||
x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_9 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_8);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_5, x_11);
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = l_Lean_Syntax_getArg(x_5, x_10);
|
||||
lean_dec(x_5);
|
||||
x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__5;
|
||||
lean_inc(x_12);
|
||||
x_14 = l_Lean_Syntax_isOfKind(x_12, x_13);
|
||||
if (x_14 == 0)
|
||||
x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2;
|
||||
lean_inc(x_11);
|
||||
x_13 = l_Lean_Syntax_isOfKind(x_11, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_16 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_15);
|
||||
return x_16;
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_11);
|
||||
x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__4;
|
||||
x_15 = l_panic___at_Lean_Elab_HeaderSyntax_imports___spec__2(x_14);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_17 = l_Lean_Syntax_getArg(x_12, x_11);
|
||||
lean_dec(x_12);
|
||||
x_18 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_3, x_19, x_18);
|
||||
lean_dec(x_18);
|
||||
return x_20;
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_16 = l_Lean_Syntax_getArg(x_11, x_10);
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_1, x_3, x_18, x_17);
|
||||
lean_dec(x_17);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
lean_dec(x_5);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_3, x_22, x_21);
|
||||
return x_23;
|
||||
x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_1, x_3, x_21, x_20);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -534,7 +684,7 @@ lean_dec(x_25);
|
|||
x_33 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_7, x_34, x_33);
|
||||
x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3(x_7, x_34, x_33);
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_7);
|
||||
x_36 = lean_array_uset(x_9, x_4, x_35);
|
||||
|
|
@ -550,7 +700,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
|||
lean_dec(x_17);
|
||||
x_38 = lean_box(0);
|
||||
x_39 = lean_box(0);
|
||||
x_40 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_7, x_39, x_38);
|
||||
x_40 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3(x_7, x_39, x_38);
|
||||
lean_dec(x_7);
|
||||
x_41 = lean_array_uset(x_9, x_4, x_40);
|
||||
x_4 = x_12;
|
||||
|
|
@ -606,10 +756,11 @@ lean_object* x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4;
|
|||
x_1 = l_Lean_Elab_HeaderSyntax_imports___lambda__1___closed__4;
|
||||
x_2 = 0;
|
||||
x_3 = 1;
|
||||
x_4 = lean_alloc_ctor(0, 1, 2);
|
||||
x_4 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_3);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 2, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -680,7 +831,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__1;
|
||||
x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(28u);
|
||||
x_3 = lean_unsigned_to_nat(29u);
|
||||
x_4 = lean_unsigned_to_nat(9u);
|
||||
x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___closed__3;
|
||||
x_6 = l_mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -890,11 +1041,24 @@ return x_24;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__1(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -902,11 +1066,11 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2(x_1, x_2, x_3);
|
||||
x_4 = l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
|
|
@ -2549,6 +2713,10 @@ l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2
|
|||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__4);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__2___closed__5);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__1);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___lambda__3___closed__2);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__1();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__1);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_HeaderSyntax_imports___spec__3___closed__2();
|
||||
|
|
|
|||
215
stage0/stdlib/Lean/Elab/ParseImportsFast.c
generated
215
stage0/stdlib/Lean/Elab/ParseImportsFast.c
generated
|
|
@ -13,8 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__1(lean_object*);
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdCont___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
|
|
@ -22,6 +20,8 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonImport__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_andthen(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -30,17 +30,14 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImpor
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__1;
|
||||
static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1;
|
||||
static lean_object* l_Lean_ParseImports_instInhabitedState___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent_parse(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdRestFast___boxed(lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__2;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(lean_object*, lean_object*);
|
||||
extern uint32_t l_Lean_idBeginEscape;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_(lean_object*);
|
||||
static lean_object* l_Lean_instToJsonImport__1___closed__1;
|
||||
|
|
@ -52,6 +49,7 @@ static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec_
|
|||
static lean_object* l_Lean_parseImports_x27___closed__1;
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
|
|
@ -62,14 +60,15 @@ uint8_t lean_uint32_dec_le(uint32_t, uint32_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___rarg(lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_whitespace___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_parseImports_x27___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1;
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1(uint32_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -77,27 +76,29 @@ uint8_t lean_string_utf8_at_end(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdCont(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_keyword___spec__1___closed__1;
|
||||
static lean_object* l_Lean_ParseImports_main___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_moduleIdent_parse___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_many(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__2;
|
||||
static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkEOIError(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(lean_object*);
|
||||
lean_object* l_IO_FS_readFile(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_isLetterLike(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instAndThenParser(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern uint32_t l_Lean_idEndEscape;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___rarg___boxed(lean_object*);
|
||||
|
|
@ -110,6 +111,7 @@ static lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___spec_
|
|||
static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__1;
|
||||
static lean_object* l_Lean_parseImports_x27___closed__2;
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_println___at_Lean_Environment_displayStats___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkError(lean_object*, lean_object*);
|
||||
|
|
@ -131,6 +133,7 @@ static lean_object* l_Lean_ParseImports_main___closed__2;
|
|||
static lean_object* l_Lean_ParseImports_whitespace___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_main(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(lean_object*);
|
||||
static lean_object* l_Lean_instToJsonPrintImportResult___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent(lean_object*, lean_object*);
|
||||
|
|
@ -148,18 +151,16 @@ size_t lean_array_size(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_takeWhile___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2;
|
||||
LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestCold(uint32_t);
|
||||
static lean_object* l_Lean_instToJsonParseImportsResult___closed__1;
|
||||
static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at_Lean_ParseImports_whitespace___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedState;
|
||||
|
|
@ -169,16 +170,16 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_setPos(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToJsonPrintImportsResult___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2;
|
||||
LEAN_EXPORT lean_object* lean_print_imports_json(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_printImportsJson___spec__1(size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestFast(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonPrintImportResult;
|
||||
static lean_object* _init_l_Lean_ParseImports_instInhabitedState___closed__1() {
|
||||
_start:
|
||||
|
|
@ -3615,16 +3616,18 @@ return x_3;
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2);
|
||||
x_5 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1);
|
||||
x_6 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set_uint8(x_6, sizeof(void*)*1, x_4);
|
||||
lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 1, x_5);
|
||||
x_7 = l_Lean_ParseImports_State_pushImport(x_6, x_3);
|
||||
x_8 = l_Lean_ParseImports_whitespace(x_2, x_7);
|
||||
return x_8;
|
||||
x_6 = 0;
|
||||
x_7 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_7, 0, x_1);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_4);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 1, x_5);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 2, x_6);
|
||||
x_8 = l_Lean_ParseImports_State_pushImport(x_7, x_3);
|
||||
x_9 = l_Lean_ParseImports_whitespace(x_2, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParseImports_moduleIdent___closed__1() {
|
||||
|
|
@ -3998,10 +4001,11 @@ lean_object* x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4;
|
|||
x_1 = l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__2___closed__2;
|
||||
x_2 = 0;
|
||||
x_3 = 1;
|
||||
x_4 = lean_alloc_ctor(0, 1, 2);
|
||||
x_4 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_3);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 2, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -4704,6 +4708,14 @@ return x_1;
|
|||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("isMeta", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_array_mk(x_1);
|
||||
|
|
@ -4713,7 +4725,7 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = 1;
|
||||
|
|
@ -4740,7 +4752,6 @@ x_15 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_9);
|
||||
x_16 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 1);
|
||||
lean_dec(x_1);
|
||||
x_17 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_17, 0, x_16);
|
||||
x_18 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3;
|
||||
|
|
@ -4750,19 +4761,33 @@ lean_ctor_set(x_19, 1, x_17);
|
|||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_9);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_9);
|
||||
x_22 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_15);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_10);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_25 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_23, x_24);
|
||||
x_26 = l_Lean_Json_mkObj(x_25);
|
||||
return x_26;
|
||||
x_21 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 2);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_22, 0, x_21);
|
||||
x_23 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_9);
|
||||
x_26 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_9);
|
||||
x_27 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_20);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_15);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_10);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
x_30 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_31 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_29, x_30);
|
||||
x_32 = l_Lean_Json_mkObj(x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____lambda__1___boxed(lean_object* x_1) {
|
||||
|
|
@ -4791,7 +4816,7 @@ x_1 = l_Lean_instToJsonImport__1___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -4816,19 +4841,19 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_array_size(x_1);
|
||||
x_3 = 0;
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2(x_2, x_3, x_1);
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(x_2, x_3, x_1);
|
||||
x_5 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4836,7 +4861,7 @@ x_1 = lean_mk_string_unchecked("imports", 7, 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4844,14 +4869,14 @@ x_1 = lean_mk_string_unchecked("isModule", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__1(x_2);
|
||||
x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1;
|
||||
x_3 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__1(x_2);
|
||||
x_4 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
|
|
@ -4863,7 +4888,7 @@ x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
|
|||
lean_dec(x_1);
|
||||
x_9 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_9, 0, x_8);
|
||||
x_10 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2;
|
||||
x_10 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2;
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
|
|
@ -4876,13 +4901,13 @@ lean_ctor_set(x_13, 1, x_6);
|
|||
x_14 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_7);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
x_15 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_15 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_16 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_14, x_15);
|
||||
x_17 = l_Lean_Json_mkObj(x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -4890,7 +4915,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____spec__2(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____spec__2(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -4898,7 +4923,7 @@ static lean_object* _init_l_Lean_instToJsonParseImportsResult___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4915,7 +4940,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 3);
|
||||
|
|
@ -5023,7 +5048,7 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -5039,7 +5064,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481_(x_4);
|
||||
x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495_(x_4);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
|
|
@ -5051,7 +5076,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5077,19 +5102,19 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_array_size(x_1);
|
||||
x_3 = 0;
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3(x_2, x_3, x_1);
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(x_2, x_3, x_1);
|
||||
x_5 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5097,7 +5122,7 @@ x_1 = lean_mk_string_unchecked("result", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5105,19 +5130,19 @@ x_1 = lean_mk_string_unchecked("errors", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__1(x_3, x_2);
|
||||
x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__1(x_3, x_2);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__2(x_5);
|
||||
x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2;
|
||||
x_6 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__2(x_5);
|
||||
x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2;
|
||||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
lean_ctor_set(x_8, 1, x_6);
|
||||
|
|
@ -5131,13 +5156,13 @@ lean_ctor_set(x_11, 1, x_9);
|
|||
x_12 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_4);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_13 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_14 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_12, x_13);
|
||||
x_15 = l_Lean_Json_mkObj(x_14);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -5145,7 +5170,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____spec__3(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____spec__3(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -5153,7 +5178,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportResult___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5165,7 +5190,7 @@ x_1 = l_Lean_instToJsonPrintImportResult___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5180,7 +5205,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
|
|||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644_(x_5);
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
@ -5190,24 +5215,24 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_array_size(x_1);
|
||||
x_3 = 0;
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2(x_2, x_3, x_1);
|
||||
x_4 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(x_2, x_3, x_1);
|
||||
x_5 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_2 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__1(x_1);
|
||||
x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1;
|
||||
x_2 = l_Array_toJson___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__1(x_1);
|
||||
x_3 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -5218,13 +5243,13 @@ lean_ctor_set(x_6, 1, x_5);
|
|||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_9 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187____spec__1(x_7, x_8);
|
||||
x_10 = l_Lean_Json_mkObj(x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -5232,7 +5257,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703____spec__2(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717____spec__2(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -5240,7 +5265,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportsResult___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5295,7 +5320,7 @@ x_16 = lean_ctor_get(x_14, 0);
|
|||
x_17 = lean_ctor_get(x_14, 1);
|
||||
x_18 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
lean_ctor_set(x_14, 1, x_19);
|
||||
lean_ctor_set(x_14, 0, x_18);
|
||||
x_20 = 1;
|
||||
|
|
@ -5316,7 +5341,7 @@ lean_inc(x_24);
|
|||
lean_dec(x_14);
|
||||
x_26 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
x_27 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_27 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
|
|
@ -5408,7 +5433,7 @@ if (lean_is_exclusive(x_57)) {
|
|||
}
|
||||
x_61 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_61, 0, x_58);
|
||||
x_62 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4;
|
||||
x_62 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5;
|
||||
if (lean_is_scalar(x_60)) {
|
||||
x_63 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -5532,7 +5557,7 @@ lean_inc(x_6);
|
|||
x_7 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_5);
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1703_(x_6);
|
||||
x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1717_(x_6);
|
||||
x_9 = l_Lean_Json_compress(x_8);
|
||||
x_10 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_9, x_7);
|
||||
return x_10;
|
||||
|
|
@ -5621,14 +5646,16 @@ l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_Par
|
|||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__3);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__4);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1389____closed__5);
|
||||
l_Lean_instToJsonImport__1___closed__1 = _init_l_Lean_instToJsonImport__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport__1___closed__1);
|
||||
l_Lean_instToJsonImport__1 = _init_l_Lean_instToJsonImport__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1481____closed__2);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1495____closed__2);
|
||||
l_Lean_instToJsonParseImportsResult___closed__1 = _init_l_Lean_instToJsonParseImportsResult___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonParseImportsResult___closed__1);
|
||||
l_Lean_instToJsonParseImportsResult = _init_l_Lean_instToJsonParseImportsResult();
|
||||
|
|
@ -5639,10 +5666,10 @@ l_Lean_parseImports_x27___closed__2 = _init_l_Lean_parseImports_x27___closed__2(
|
|||
lean_mark_persistent(l_Lean_parseImports_x27___closed__2);
|
||||
l_Lean_parseImports_x27___closed__3 = _init_l_Lean_parseImports_x27___closed__3();
|
||||
lean_mark_persistent(l_Lean_parseImports_x27___closed__3);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1644____closed__2);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1658____closed__2);
|
||||
l_Lean_instToJsonPrintImportResult___closed__1 = _init_l_Lean_instToJsonPrintImportResult___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonPrintImportResult___closed__1);
|
||||
l_Lean_instToJsonPrintImportResult = _init_l_Lean_instToJsonPrintImportResult();
|
||||
|
|
|
|||
1330
stage0/stdlib/Lean/Environment.c
generated
1330
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
14
stage0/stdlib/Lean/Message.c
generated
14
stage0/stdlib/Lean/Message.c
generated
|
|
@ -279,6 +279,7 @@ static double l_Lean_MessageData_formatAux___lambda__3___closed__5;
|
|||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3357____rarg___closed__14;
|
||||
static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__26;
|
||||
LEAN_EXPORT lean_object* l_Lean_inlineExpr___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3357____rarg___closed__24;
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3357____rarg___closed__21;
|
||||
|
|
@ -447,7 +448,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3357____rarg___closed__31;
|
||||
static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__1;
|
||||
static lean_object* l_Lean_instToMessageDataOption___rarg___closed__5;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageData_arrayExpr_toMessageData___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_lazy___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageSeverity_noConfusion___rarg___closed__1;
|
||||
|
|
@ -533,8 +533,8 @@ static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__47;
|
|||
static lean_object* l_Lean_termM_x21_____closed__9;
|
||||
static lean_object* l_Lean_instFromJsonSerialMessage___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToInfos___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3895____closed__22;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_toMessageList(lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_toJsonMessageSeverity____x40_Lean_Message___hyg_125____closed__1;
|
||||
static lean_object* l_Lean_instInhabitedMessageLog___closed__5;
|
||||
|
|
@ -7476,7 +7476,7 @@ lean_inc(x_35);
|
|||
lean_dec(x_26);
|
||||
x_36 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_3203____rarg___closed__4;
|
||||
lean_inc(x_2);
|
||||
x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_2, x_36);
|
||||
x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_2, x_36);
|
||||
if (lean_obj_tag(x_37) == 0)
|
||||
{
|
||||
uint8_t x_38;
|
||||
|
|
@ -7561,7 +7561,7 @@ lean_inc(x_57);
|
|||
lean_dec(x_48);
|
||||
x_58 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_3203____rarg___closed__6;
|
||||
lean_inc(x_2);
|
||||
x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_2, x_58);
|
||||
x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_2, x_58);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
uint8_t x_60;
|
||||
|
|
@ -8332,7 +8332,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_3203____rarg___closed__4;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -8415,7 +8415,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_3203____rarg___closed__6;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
@ -8546,7 +8546,7 @@ x_89 = lean_ctor_get(x_80, 0);
|
|||
lean_inc(x_89);
|
||||
lean_dec(x_80);
|
||||
x_90 = l___private_Lean_Message_0__Lean_toJsonSerialMessage____x40_Lean_Message___hyg_3745____closed__1;
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__1(x_1, x_90);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__1(x_1, x_90);
|
||||
if (lean_obj_tag(x_91) == 0)
|
||||
{
|
||||
uint8_t x_92;
|
||||
|
|
|
|||
3474
stage0/stdlib/Lean/Parser/Command.c
generated
3474
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
966
stage0/stdlib/Lean/Parser/Module.c
generated
966
stage0/stdlib/Lean/Parser/Module.c
generated
File diff suppressed because it is too large
Load diff
1015
stage0/stdlib/Lean/Server/Completion/ImportCompletion.c
generated
1015
stage0/stdlib/Lean/Server/Completion/ImportCompletion.c
generated
File diff suppressed because it is too large
Load diff
2620
stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c
generated
2620
stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c
generated
File diff suppressed because it is too large
Load diff
2768
stage0/stdlib/Lean/Setup.c
generated
2768
stage0/stdlib/Lean/Setup.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Util/Profiler.c
generated
8
stage0/stdlib/Lean/Util/Profiler.c
generated
|
|
@ -346,6 +346,7 @@ static lean_object* l_Lean_Firefox_Thread_new___closed__5;
|
|||
static lean_object* l_Lean_Firefox_categories___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_toJson___at___private_Lean_Util_Profiler_0__Lean_Firefox_toJsonFrameTable____x40_Lean_Util_Profiler___hyg_3393____spec__1(lean_object*);
|
||||
double lean_uint64_to_float(uint64_t);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1342____spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1342____closed__27;
|
||||
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1342____spec__2(lean_object*);
|
||||
|
|
@ -571,7 +572,6 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Pro
|
|||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2936____closed__26;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfileMeta____x40_Lean_Util_Profiler___hyg_807____closed__10;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSamplesTable____x40_Lean_Util_Profiler___hyg_1725____closed__23;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Firefox_Thread_new(lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_244____closed__17;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_4194____closed__26;
|
||||
|
|
@ -667,7 +667,7 @@ LEAN_EXPORT lean_object* l_Lean_Firefox_FrameTable_push(lean_object*, lean_objec
|
|||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2936____closed__19;
|
||||
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Firefox_Profile_export___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Firefox_categories___closed__1;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSamplesTable____x40_Lean_Util_Profiler___hyg_1725____closed__22;
|
||||
static lean_object* l_Lean_Firefox_categories___closed__28;
|
||||
|
|
@ -1522,7 +1522,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_244____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -9797,7 +9797,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_4194____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_196____spec__2(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_241____spec__2(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
|
|||
|
|
@ -13,6 +13,39 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_2(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter___rarg), 2, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Udiv_0__BitVec_divSubtractShift_match__1_splitter(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Const(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Sub(uint8_t builtin, lean_object*);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue