chore: update stage0
This commit is contained in:
parent
68d9d14d44
commit
7344bcffd8
72 changed files with 10464 additions and 7947 deletions
|
|
@ -13,7 +13,7 @@ options get_default_options() {
|
|||
opts = opts.update({"debug", "terminalTacticsAsSorry"}, false);
|
||||
// switch to `true` for ABI-breaking changes affecting meta code;
|
||||
// see also next option!
|
||||
opts = opts.update({"interpreter", "prefer_native"}, true);
|
||||
opts = opts.update({"interpreter", "prefer_native"}, false);
|
||||
// switch to `false` when enabling `prefer_native` should also affect use
|
||||
// of built-in parsers in quotations; this is usually the case, but setting
|
||||
// both to `true` may be necessary for handling non-builtin parsers with
|
||||
|
|
|
|||
19
stage0/stdlib/Init/Coe.c
generated
19
stage0/stdlib/Init/Coe.c
generated
|
|
@ -26,7 +26,6 @@ LEAN_EXPORT lean_object* l_subtypeCoe___rarg___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instCoeTOfCoeDep___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_coeNotation___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Internal_liftCoeM(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_optionCoe(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeHTCT___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeOutOfCoeFun___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeTC___rarg(lean_object*);
|
||||
|
|
@ -81,7 +80,6 @@ static lean_object* l_coeFunNotation___closed__2;
|
|||
static lean_object* l_coeNotation___closed__9;
|
||||
LEAN_EXPORT lean_object* l_instCoeHTCOfCoeOTC___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeOTC___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeHTCTOfCoeTailOfCoeHTC___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instCoeTOfCoeDep___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_subtypeCoe___rarg(lean_object*);
|
||||
|
|
@ -730,23 +728,6 @@ x_4 = lean_box(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_optionCoe(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_optionCoe___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_subtypeCoe___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
16
stage0/stdlib/Init/Data/Array/Basic.c
generated
16
stage0/stdlib/Init/Data/Array/Basic.c
generated
|
|
@ -234,6 +234,7 @@ LEAN_EXPORT lean_object* l_Array_foldrM_fold(lean_object*, lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Array_modify(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_take___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_split___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_10606_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlM_loop(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instHAppendList(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_take(lean_object*);
|
||||
|
|
@ -431,12 +432,12 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListAppend___spe
|
|||
LEAN_EXPORT lean_object* l_Array_filter(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_idxOf___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_11026_;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_findSome_x21___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_11023_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMap___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findFinIdx_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findRevM_x3f(lean_object*, lean_object*);
|
||||
|
|
@ -724,7 +725,6 @@ LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRev_x3f___
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__2(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_779____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_idxOf(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_10603_;
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11530,7 +11530,7 @@ lean_dec(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_10603_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_10606_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -11739,7 +11739,7 @@ x_2 = lean_alloc_closure((void*)(l_Array_eraseP___rarg), 2, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_11023_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_11026_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -13982,16 +13982,16 @@ l_Array_filterRevM___rarg___closed__1 = _init_l_Array_filterRevM___rarg___closed
|
|||
lean_mark_persistent(l_Array_filterRevM___rarg___closed__1);
|
||||
l_Array_partition___rarg___closed__1 = _init_l_Array_partition___rarg___closed__1();
|
||||
lean_mark_persistent(l_Array_partition___rarg___closed__1);
|
||||
l___auto____x40_Init_Data_Array_Basic___hyg_10603_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_10603_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_10603_);
|
||||
l___auto____x40_Init_Data_Array_Basic___hyg_10606_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_10606_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_10606_);
|
||||
l_Array_eraseIdx_x21___rarg___closed__1 = _init_l_Array_eraseIdx_x21___rarg___closed__1();
|
||||
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__1);
|
||||
l_Array_eraseIdx_x21___rarg___closed__2 = _init_l_Array_eraseIdx_x21___rarg___closed__2();
|
||||
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__2);
|
||||
l_Array_eraseIdx_x21___rarg___closed__3 = _init_l_Array_eraseIdx_x21___rarg___closed__3();
|
||||
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__3);
|
||||
l___auto____x40_Init_Data_Array_Basic___hyg_11023_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_11023_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_11023_);
|
||||
l___auto____x40_Init_Data_Array_Basic___hyg_11026_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_11026_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_11026_);
|
||||
l_Array_insertIdx_x21___rarg___closed__1 = _init_l_Array_insertIdx_x21___rarg___closed__1();
|
||||
lean_mark_persistent(l_Array_insertIdx_x21___rarg___closed__1);
|
||||
l_Array_insertIdx_x21___rarg___closed__2 = _init_l_Array_insertIdx_x21___rarg___closed__2();
|
||||
|
|
|
|||
358
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
358
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
|
|
@ -14,113 +14,113 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_instDecidableMemOfLawfulBEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__replicate_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5;
|
||||
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*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16;
|
||||
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);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_decidableExistsLT_x27(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2;
|
||||
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*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__replicate_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableExistsAndMemOfDecidablePred(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev___rarg(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__replicate_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728_;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9;
|
||||
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_17728____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableExistsAndMemOfDecidablePred___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
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___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter(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_17728____closed__29;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
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_Array_instDecidableMemOfLawfulBEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31;
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23;
|
||||
lean_object* l_Nat_decidableBallLT(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_17727_;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -317,7 +317,7 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -325,7 +325,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -333,7 +333,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -341,7 +341,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -349,19 +349,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -370,7 +370,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -378,19 +378,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -398,17 +398,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -416,41 +416,41 @@ x_1 = lean_mk_string_unchecked("simp", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -458,25 +458,25 @@ x_1 = lean_mk_string_unchecked("optConfig", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -484,23 +484,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -508,63 +508,63 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -572,23 +572,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -596,23 +596,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__29() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -620,23 +620,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__29;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -644,11 +644,11 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1244,70 +1244,70 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_ToArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__1);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__2);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__3);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__4);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__5);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__6);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__7);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__8);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__9);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__10);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__11);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__12);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__13);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__14);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__15);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__16);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__17);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__18);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__19);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__20);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__21);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__22);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__23);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__24);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__25);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__26);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__27);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__28);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__29);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__30);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727____closed__31);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17727_ = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17727_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17727_);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__1);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__2);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__3);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__4);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__5);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__6);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__7);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__8);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__9);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__10);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__11);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__12);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__13);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__14);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__15);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__16);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__17);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__18);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__19);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__20);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__21);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__22);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__23);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__24);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__25);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__26);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__27);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__28);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__29 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__29);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__30);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728____closed__31);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_17728_ = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_17728_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_17728_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
824
stage0/stdlib/Init/Data/List/MinMax.c
generated
824
stage0/stdlib/Init/Data/List/MinMax.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Init/Data/Nat.c
generated
6
stage0/stdlib/Init/Data/Nat.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Nat
|
||||
// Imports: Init.Data.Nat.Basic Init.Data.Nat.Div.Basic Init.Data.Nat.Dvd Init.Data.Nat.Gcd Init.Data.Nat.MinMax Init.Data.Nat.Bitwise Init.Data.Nat.Control Init.Data.Nat.Log2 Init.Data.Nat.Power2 Init.Data.Nat.Linear Init.Data.Nat.SOM Init.Data.Nat.Lemmas Init.Data.Nat.Mod Init.Data.Nat.Lcm Init.Data.Nat.Compare Init.Data.Nat.Simproc Init.Data.Nat.Fold
|
||||
// Imports: Init.Data.Nat.Basic Init.Data.Nat.Div Init.Data.Nat.Dvd Init.Data.Nat.Gcd Init.Data.Nat.MinMax Init.Data.Nat.Bitwise Init.Data.Nat.Control Init.Data.Nat.Log2 Init.Data.Nat.Power2 Init.Data.Nat.Linear Init.Data.Nat.SOM Init.Data.Nat.Lemmas Init.Data.Nat.Mod Init.Data.Nat.Lcm Init.Data.Nat.Compare Init.Data.Nat.Simproc Init.Data.Nat.Fold
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* initialize_Init_Data_Nat_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_Div_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_Div(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_Dvd(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_Gcd(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_MinMax(uint8_t builtin, lean_object*);
|
||||
|
|
@ -38,7 +38,7 @@ _G_initialized = true;
|
|||
res = initialize_Init_Data_Nat_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Nat_Div_Basic(builtin, lean_io_mk_world());
|
||||
res = initialize_Init_Data_Nat_Div(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Nat_Dvd(builtin, lean_io_mk_world());
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Data/Option.c
generated
6
stage0/stdlib/Init/Data/Option.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Option
|
||||
// Imports: Init.Data.Option.Basic Init.Data.Option.BasicAux Init.Data.Option.Instances Init.Data.Option.Lemmas Init.Data.Option.Attach Init.Data.Option.List Init.Data.Option.Monadic
|
||||
// Imports: Init.Data.Option.Basic Init.Data.Option.BasicAux Init.Data.Option.Coe Init.Data.Option.Instances Init.Data.Option.Lemmas Init.Data.Option.Attach Init.Data.Option.List Init.Data.Option.Monadic
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* initialize_Init_Data_Option_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_BasicAux(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Instances(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Attach(uint8_t builtin, lean_object*);
|
||||
|
|
@ -31,6 +32,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Option_BasicAux(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Instances(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
48
stage0/stdlib/Init/Data/Option/Coe.c
generated
Normal file
48
stage0/stdlib/Init/Data/Option/Coe.c
generated
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Option.Coe
|
||||
// Imports: Init.Coe
|
||||
#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_EXPORT lean_object* l_optionCoe(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_optionCoe(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_optionCoe___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Option_Coe(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_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
12
stage0/stdlib/Init/Data/String/Basic.c
generated
12
stage0/stdlib/Init/Data/String/Basic.c
generated
|
|
@ -54,6 +54,7 @@ LEAN_EXPORT uint8_t l_String_Pos_isValid_go(lean_object*, lean_object*, lean_obj
|
|||
LEAN_EXPORT lean_object* l_String_toNat_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_revPosOfAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_push_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_remainingToString___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_append___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_substrEq_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -175,7 +176,6 @@ LEAN_EXPORT uint8_t l_String_Iterator_hasNext(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_String_mapAux___at_String_toLower___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_pos___boxed(lean_object*);
|
||||
lean_object* lean_string_mk(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_push_match__1_splitter___rarg(lean_object*, uint32_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_all(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_firstDiffPos(lean_object*, lean_object*);
|
||||
|
|
@ -333,6 +333,7 @@ LEAN_EXPORT lean_object* l_String_capitalize(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_String_endsWith___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_all___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_next___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_singleton(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x3f___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Pos_min___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -365,7 +366,6 @@ LEAN_EXPORT lean_object* l_Substring_foldl___rarg(lean_object*, lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_String_foldl___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_decLt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_extract_go_u2082___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at_Substring_all___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_extract_go_u2081___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_split(lean_object*, lean_object*);
|
||||
|
|
@ -1970,7 +1970,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -1993,11 +1993,11 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -2008,7 +2008,7 @@ LEAN_EXPORT uint8_t l_String_instDecidableEqIterator(lean_object* x_1, lean_obje
|
|||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
43
stage0/stdlib/Init/Data/String/Extra.c
generated
43
stage0/stdlib/Init/Data/String/Extra.c
generated
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__8;
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter(lean_object*);
|
||||
uint8_t lean_uint32_to_uint8(uint32_t);
|
||||
static lean_object* l_String_toNat_x21___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_saveLine(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -49,6 +50,7 @@ uint8_t lean_string_validate_utf8(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_String_fromUTF8_loop(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_instInhabitedNat;
|
||||
LEAN_EXPORT lean_object* l_String_crlfToLf(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_utf8EncodeChar___boxed(lean_object*);
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__17;
|
||||
|
|
@ -151,6 +153,7 @@ lean_object* l_String_toSubstring_x27(lean_object*);
|
|||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__11;
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__2;
|
||||
static lean_object* l_String___aux__Init__Data__String__Extra______macroRules__tacticDecreasing__trivial__1___closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_fromUTF8_x3f___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_String_toNat_x21___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
|
|
@ -2389,6 +2392,46 @@ return x_3;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = lean_nat_dec_eq(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = lean_unsigned_to_nat(1u);
|
||||
x_7 = lean_nat_sub(x_1, x_6);
|
||||
x_8 = lean_apply_1(x_3, x_7);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_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_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Data/Vector.c
generated
6
stage0/stdlib/Init/Data/Vector.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Vector
|
||||
// Imports: Init.Data.Vector.Basic Init.Data.Vector.Lemmas Init.Data.Vector.Lex Init.Data.Vector.MapIdx Init.Data.Vector.Count Init.Data.Vector.DecidableEq Init.Data.Vector.Zip Init.Data.Vector.OfFn Init.Data.Vector.Range Init.Data.Vector.Erase Init.Data.Vector.Monadic Init.Data.Vector.InsertIdx Init.Data.Vector.FinRange Init.Data.Vector.Extract Init.Data.Vector.Perm
|
||||
// Imports: Init.Data.Vector.Basic Init.Data.Vector.Lemmas Init.Data.Vector.Lex Init.Data.Vector.MapIdx Init.Data.Vector.Count Init.Data.Vector.DecidableEq Init.Data.Vector.Zip Init.Data.Vector.OfFn Init.Data.Vector.Range Init.Data.Vector.Erase Init.Data.Vector.Monadic Init.Data.Vector.InsertIdx Init.Data.Vector.FinRange Init.Data.Vector.Extract Init.Data.Vector.Perm Init.Data.Vector.Find
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -28,6 +28,7 @@ lean_object* initialize_Init_Data_Vector_InsertIdx(uint8_t builtin, lean_object*
|
|||
lean_object* initialize_Init_Data_Vector_FinRange(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Vector_Extract(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Vector_Perm(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Vector_Find(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Vector(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -78,6 +79,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Vector_Perm(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Vector_Find(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
2260
stage0/stdlib/Init/Meta.c
generated
2260
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lake/CLI/Error.c
generated
4
stage0/stdlib/Lake/CLI/Error.c
generated
|
|
@ -93,6 +93,7 @@ LEAN_EXPORT lean_object* l_Lake_CliError_toString(lean_object*);
|
|||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__97;
|
||||
static lean_object* l_Lake_CliError_toString___closed__25;
|
||||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__82;
|
||||
lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Char_quote(uint32_t);
|
||||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__35;
|
||||
static lean_object* l_Lake_CliError_toString___closed__41;
|
||||
|
|
@ -179,7 +180,6 @@ LEAN_EXPORT lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_
|
|||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__80;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_CliError_toString___closed__26;
|
||||
lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__26;
|
||||
static lean_object* l_Lake_CliError_toString___closed__42;
|
||||
static lean_object* l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__95;
|
||||
|
|
@ -1950,7 +1950,7 @@ lean_inc(x_239);
|
|||
lean_dec(x_1);
|
||||
x_240 = lean_unsigned_to_nat(1024u);
|
||||
x_241 = lean_nat_dec_le(x_240, x_2);
|
||||
x_242 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__1(x_239, x_240);
|
||||
x_242 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__1(x_239, x_240);
|
||||
x_243 = l___private_Lake_CLI_Error_0__Lake_reprCliError____x40_Lake_CLI_Error___hyg_324____closed__29;
|
||||
x_244 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_244, 0, x_243);
|
||||
|
|
|
|||
20
stage0/stdlib/Lake/Config/InstallPath.c
generated
20
stage0/stdlib/Lake/Config/InstallPath.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lake.Config.InstallPath
|
||||
// Imports: Init.Control.Option Lean.Compiler.FFI Lake.Util.NativeLib Lake.Config.Defaults
|
||||
// Imports: Init.Control.Option Init.Data.Option.Coe Lean.Compiler.FFI Lake.Util.NativeLib Lake.Config.Defaults
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -130,7 +130,6 @@ lean_object* lean_array_to_list(lean_object*);
|
|||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprElanInstall____x40_Lake_Config_InstallPath___hyg_116____closed__14;
|
||||
static lean_object* l_Lake_envToBool_x3f___closed__2;
|
||||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprElanInstall____x40_Lake_Config_InstallPath___hyg_116____closed__16;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_leancExe___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_instInhabitedElanInstall;
|
||||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__40;
|
||||
|
|
@ -220,6 +219,7 @@ lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprElanInstall____x40_Lake_Config_InstallPath___hyg_116____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lake_lakeBuildHome_x3f(lean_object*);
|
||||
static lean_object* l_Lake_findLeanInstall_x3f___lambda__2___closed__2;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__41;
|
||||
LEAN_EXPORT lean_object* l_Lake_lakeExe;
|
||||
static lean_object* l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__25;
|
||||
|
|
@ -2331,7 +2331,7 @@ if (x_189 == 0)
|
|||
lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; uint8_t x_354; lean_object* x_355;
|
||||
x_345 = lean_array_to_list(x_187);
|
||||
x_346 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_347 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_345, x_346);
|
||||
x_347 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_345, x_346);
|
||||
x_348 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_349 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_349, 0, x_348);
|
||||
|
|
@ -2389,7 +2389,7 @@ if (x_192 == 0)
|
|||
lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; lean_object* x_342;
|
||||
x_332 = lean_array_to_list(x_190);
|
||||
x_333 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_334 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_332, x_333);
|
||||
x_334 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_332, x_333);
|
||||
x_335 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_336 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_336, 0, x_335);
|
||||
|
|
@ -2448,7 +2448,7 @@ if (x_195 == 0)
|
|||
lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; lean_object* x_329;
|
||||
x_319 = lean_array_to_list(x_193);
|
||||
x_320 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_321 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_319, x_320);
|
||||
x_321 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_319, x_320);
|
||||
x_322 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_323 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_323, 0, x_322);
|
||||
|
|
@ -2506,7 +2506,7 @@ if (x_198 == 0)
|
|||
lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; lean_object* x_316;
|
||||
x_306 = lean_array_to_list(x_196);
|
||||
x_307 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_308 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_306, x_307);
|
||||
x_308 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_306, x_307);
|
||||
x_309 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_310 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_310, 0, x_309);
|
||||
|
|
@ -2564,7 +2564,7 @@ if (x_201 == 0)
|
|||
lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303;
|
||||
x_293 = lean_array_to_list(x_199);
|
||||
x_294 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_295 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_293, x_294);
|
||||
x_295 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_293, x_294);
|
||||
x_296 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_297 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_297, 0, x_296);
|
||||
|
|
@ -2623,7 +2623,7 @@ if (x_204 == 0)
|
|||
lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282;
|
||||
x_262 = lean_array_to_list(x_202);
|
||||
x_263 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__48;
|
||||
x_264 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_262, x_263);
|
||||
x_264 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_262, x_263);
|
||||
x_265 = l___private_Lake_Config_InstallPath_0__Lake_reprLeanInstall____x40_Lake_Config_InstallPath___hyg_537____closed__52;
|
||||
x_266 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_266, 0, x_265);
|
||||
|
|
@ -7873,6 +7873,7 @@ return x_376;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Init_Control_Option(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_FFI(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lake_Util_NativeLib(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lake_Config_Defaults(uint8_t builtin, lean_object*);
|
||||
|
|
@ -7884,6 +7885,9 @@ _G_initialized = true;
|
|||
res = initialize_Init_Control_Option(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_FFI(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
14
stage0/stdlib/Lake/Config/LeanConfig.c
generated
14
stage0/stdlib/Lake/Config/LeanConfig.c
generated
|
|
@ -248,7 +248,6 @@ static lean_object* l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig___
|
|||
lean_object* lean_array_to_list(lean_object*);
|
||||
static lean_object* l_Lake_Backend_ofString_x3f___closed__6;
|
||||
static lean_object* l_Lake_LeanConfig_moreLinkObjs___proj___closed__3;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_LeanConfig___fields___closed__39;
|
||||
static lean_object* l_Lake_LeanConfig___fields___closed__19;
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildType_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
|
|
@ -434,6 +433,7 @@ LEAN_EXPORT lean_object* l_Lake_LeanConfig_platformIndependent_instConfigField;
|
|||
static lean_object* l_Lake_LeanConfig_weakLeanArgs___proj___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_LeanOption_asCliArg(lean_object*);
|
||||
static lean_object* l_Lake_LeanConfig_moreLeanArgs___proj___closed__5;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Config_LeanConfig_0__Lake_reprLeanOption____x40_Lake_Config_LeanConfig___hyg_924____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lake_LeanConfig_moreServerOptions___proj___elambda__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_LeanConfig_moreLinkObjs___proj___closed__4;
|
||||
|
|
@ -3842,7 +3842,7 @@ if (x_25 == 0)
|
|||
lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; lean_object* x_339;
|
||||
x_329 = lean_array_to_list(x_23);
|
||||
x_330 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_331 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_329, x_330);
|
||||
x_331 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_329, x_330);
|
||||
x_332 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_333 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_333, 0, x_332);
|
||||
|
|
@ -3901,7 +3901,7 @@ if (x_28 == 0)
|
|||
lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; lean_object* x_326;
|
||||
x_316 = lean_array_to_list(x_26);
|
||||
x_317 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_318 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_316, x_317);
|
||||
x_318 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_316, x_317);
|
||||
x_319 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_320 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_320, 0, x_319);
|
||||
|
|
@ -3959,7 +3959,7 @@ if (x_31 == 0)
|
|||
lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; lean_object* x_313;
|
||||
x_303 = lean_array_to_list(x_29);
|
||||
x_304 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_305 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_303, x_304);
|
||||
x_305 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_303, x_304);
|
||||
x_306 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_307 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_307, 0, x_306);
|
||||
|
|
@ -4077,7 +4077,7 @@ if (x_37 == 0)
|
|||
lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; lean_object* x_287;
|
||||
x_277 = lean_array_to_list(x_35);
|
||||
x_278 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_279 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_277, x_278);
|
||||
x_279 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_277, x_278);
|
||||
x_280 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_281 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_281, 0, x_280);
|
||||
|
|
@ -4251,7 +4251,7 @@ if (x_46 == 0)
|
|||
lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248;
|
||||
x_238 = lean_array_to_list(x_44);
|
||||
x_239 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_240 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_238, x_239);
|
||||
x_240 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_238, x_239);
|
||||
x_241 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_242 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_242, 0, x_241);
|
||||
|
|
@ -4309,7 +4309,7 @@ if (x_49 == 0)
|
|||
lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235;
|
||||
x_225 = lean_array_to_list(x_47);
|
||||
x_226 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__40;
|
||||
x_227 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_225, x_226);
|
||||
x_227 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_225, x_226);
|
||||
x_228 = l___private_Lake_Config_LeanConfig_0__Lake_reprLeanConfig____x40_Lake_Config_LeanConfig___hyg_1281____closed__44;
|
||||
x_229 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_229, 0, x_228);
|
||||
|
|
|
|||
16
stage0/stdlib/Lake/Load/Resolve.c
generated
16
stage0/stdlib/Lake/Load/Resolve.c
generated
|
|
@ -129,6 +129,7 @@ static lean_object* l___private_Lake_Load_Resolve_0__Lake_Workspace_runResolveT_
|
|||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__43(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lake_Load_Resolve_0__Lake_Workspace_runResolveT___rarg___lambda__3(lean_object*, lean_object*);
|
||||
lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -206,7 +207,6 @@ uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Load_Resolve_0__Lake_reuseManifest___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__12(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lake_Load_Resolve_0__Lake_Workspace_resolveDepsCore___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__42(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Workspace_updateAndMaterializeCore___spec__21(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4147,7 +4147,7 @@ if (x_11 == 0)
|
|||
lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_12 = lean_ctor_get(x_10, 0);
|
||||
x_13 = lean_ctor_get(x_10, 1);
|
||||
x_14 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_1, x_12);
|
||||
x_14 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_1, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
|
|
@ -4208,7 +4208,7 @@ x_28 = lean_ctor_get(x_10, 1);
|
|||
lean_inc(x_28);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_10);
|
||||
x_29 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_1, x_27);
|
||||
x_29 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_1, x_27);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
|
|
@ -14133,7 +14133,7 @@ _start:
|
|||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_8, x_3);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_8, x_3);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -16135,7 +16135,7 @@ _start:
|
|||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_8, x_3);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_8, x_3);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -18020,7 +18020,7 @@ _start:
|
|||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_8, x_3);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_8, x_3);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -20214,7 +20214,7 @@ _start:
|
|||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_8, x_3);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_8, x_3);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -25763,7 +25763,7 @@ _start:
|
|||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_10, x_6);
|
||||
x_11 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_10, x_6);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
|
|
|
|||
6
stage0/stdlib/Lake/Toml/Data/DateTime.c
generated
6
stage0/stdlib/Lake/Toml/Data/DateTime.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lake.Toml.Data.DateTime
|
||||
// Imports: Lake.Util.Date
|
||||
// Imports: Init.Data.Option.Coe Lake.Util.Date
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -5104,12 +5104,16 @@ x_1 = l_Lake_Toml_DateTime_instToString___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lake_Util_Date(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lake_Toml_Data_DateTime(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_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lake_Util_Date(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
12
stage0/stdlib/Lake/Util/Binder.c
generated
12
stage0/stdlib/Lake/Util/Binder.c
generated
|
|
@ -30,6 +30,7 @@ LEAN_EXPORT lean_object* l_Lake_instReprBinderSyntaxView;
|
|||
static lean_object* l_Lake_BinderSyntaxView_mkBinder___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lake_mkDepArrow___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_expandBinderModifier___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_expandBinderCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__2;
|
||||
static lean_object* l_Lake_BinderSyntaxView_mkDepArrow___closed__3;
|
||||
|
|
@ -97,10 +98,10 @@ LEAN_EXPORT lean_object* l_Lake_expandOptType(lean_object*, lean_object*);
|
|||
static lean_object* l_Option_repr___at___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____spec__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_binderIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__5;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_expandBinderCore___closed__1;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__26;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeHoleTerm___boxed(lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__23;
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeTermArgument___boxed(lean_object*);
|
||||
|
|
@ -179,7 +180,6 @@ LEAN_EXPORT lean_object* l_Option_repr___at___private_Lake_Util_Binder_0__Lake_r
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_expandBinderCore___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeBinderIdentBinder(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeEllipsisArgument(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lake_expandBinderIdent___spec__1(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -634,7 +634,7 @@ x_4 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_unsigned_to_nat(1024u);
|
||||
x_6 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(x_4, x_5);
|
||||
x_6 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(x_4, x_5);
|
||||
x_7 = l_Option_repr___at___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____spec__1___closed__4;
|
||||
x_8 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
|
|
@ -891,7 +891,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_obj
|
|||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_3, x_4);
|
||||
x_5 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_3, x_4);
|
||||
x_6 = l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__7;
|
||||
x_7 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
|
|
@ -922,7 +922,7 @@ lean_ctor_set(x_19, 0, x_17);
|
|||
lean_ctor_set(x_19, 1, x_18);
|
||||
x_20 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_20);
|
||||
x_21 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(x_20, x_4);
|
||||
x_21 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(x_20, x_4);
|
||||
x_22 = l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__12;
|
||||
x_23 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
|
|
@ -948,7 +948,7 @@ lean_ctor_set(x_30, 0, x_29);
|
|||
lean_ctor_set(x_30, 1, x_18);
|
||||
x_31 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_31);
|
||||
x_32 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(x_31, x_4);
|
||||
x_32 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(x_31, x_4);
|
||||
x_33 = l___private_Lake_Util_Binder_0__Lake_reprBinderSyntaxView____x40_Lake_Util_Binder___hyg_339____closed__15;
|
||||
x_34 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
|
|
|
|||
6
stage0/stdlib/Lake/Util/IO.c
generated
6
stage0/stdlib/Lake/Util/IO.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lake.Util.IO
|
||||
// Imports: Init.System.IO
|
||||
// Imports: Init.System.IO Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -236,6 +236,7 @@ return x_19;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lake_Util_IO(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -244,6 +245,9 @@ _G_initialized = true;
|
|||
res = initialize_Init_System_IO(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lake_resolvePath___closed__1 = _init_l_Lake_resolvePath___closed__1();
|
||||
lean_mark_persistent(l_Lake_resolvePath___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
1380
stage0/stdlib/Lean/AddDecl.c
generated
1380
stage0/stdlib/Lean/AddDecl.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Attributes.c
generated
4
stage0/stdlib/Lean/Attributes.c
generated
|
|
@ -187,6 +187,7 @@ LEAN_EXPORT lean_object* l_Lean_AttributeKind_noConfusion___rarg(uint8_t, uint8_
|
|||
LEAN_EXPORT lean_object* l_Lean_mkAttributeImplOfEntry(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_fold___at_Lean_mkModuleData___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedAttributeImpl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedTagAttribute___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerBuiltinAttribute___lambda__3___boxed(lean_object*);
|
||||
|
|
@ -414,7 +415,6 @@ static lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3___closed__4
|
|||
LEAN_EXPORT lean_object* l_Lean_instInhabitedEnumAttributes___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__2;
|
||||
lean_object* l_Lean_RBNode_fold___at_Lean_mkModuleData___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerTagAttribute___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_get_num_attributes(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_EnumAttributes_setValue___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3874,7 +3874,7 @@ _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;
|
||||
x_2 = l_Lean_instInhabitedTagAttribute___lambda__4___closed__1;
|
||||
x_3 = l_Lean_RBNode_fold___at_Lean_mkModuleData___spec__5(x_2, x_1);
|
||||
x_3 = l_Lean_RBNode_fold___at_Lean_mkModuleData___spec__4(x_2, x_1);
|
||||
x_4 = lean_array_get_size(x_3);
|
||||
x_5 = lean_unsigned_to_nat(1u);
|
||||
x_6 = lean_nat_sub(x_4, x_5);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Compiler/IR.c
generated
10
stage0/stdlib/Lean/Compiler/IR.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Compiler.IR
|
||||
// Imports: Lean.Compiler.IR.Basic Lean.Compiler.IR.Format Lean.Compiler.IR.CompilerM Lean.Compiler.IR.PushProj Lean.Compiler.IR.ElimDeadVars Lean.Compiler.IR.SimpCase Lean.Compiler.IR.ResetReuse Lean.Compiler.IR.NormIds Lean.Compiler.IR.Checker Lean.Compiler.IR.Borrow Lean.Compiler.IR.Boxing Lean.Compiler.IR.RC Lean.Compiler.IR.ExpandResetReuse Lean.Compiler.IR.UnboxResult Lean.Compiler.IR.ElimDeadBranches Lean.Compiler.IR.EmitC Lean.Compiler.IR.CtorLayout Lean.Compiler.IR.Sorry
|
||||
// Imports: Lean.Compiler.IR.Basic Lean.Compiler.IR.Format Lean.Compiler.IR.CompilerM Lean.Compiler.IR.PushProj Lean.Compiler.IR.ElimDeadVars Lean.Compiler.IR.SimpCase Lean.Compiler.IR.ResetReuse Lean.Compiler.IR.NormIds Lean.Compiler.IR.Checker Lean.Compiler.IR.Borrow Lean.Compiler.IR.Boxing Lean.Compiler.IR.RC Lean.Compiler.IR.ExpandResetReuse Lean.Compiler.IR.UnboxResult Lean.Compiler.IR.ElimDeadBranches Lean.Compiler.IR.EmitC Lean.Compiler.IR.CtorLayout Lean.Compiler.IR.Sorry Lean.Compiler.IR.LLVMBindings Lean.Compiler.IR.EmitLLVM
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1523,6 +1523,8 @@ lean_object* initialize_Lean_Compiler_IR_ElimDeadBranches(uint8_t builtin, lean_
|
|||
lean_object* initialize_Lean_Compiler_IR_EmitC(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_CtorLayout(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_Sorry(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_LLVMBindings(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_EmitLLVM(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Compiler_IR(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1582,6 +1584,12 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Compiler_IR_Sorry(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_IR_LLVMBindings(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_IR_EmitLLVM(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__1 = _init_l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__1();
|
||||
lean_mark_persistent(l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__1);
|
||||
l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__2 = _init_l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__2();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Compiler/LCNF.c
generated
6
stage0/stdlib/Lean/Compiler/LCNF.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Compiler.LCNF
|
||||
// Imports: Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Check Lean.Compiler.LCNF.CompilerM Lean.Compiler.LCNF.CSE Lean.Compiler.LCNF.DependsOn Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.FixedParams Lean.Compiler.LCNF.InferType Lean.Compiler.LCNF.JoinPoints Lean.Compiler.LCNF.LCtx Lean.Compiler.LCNF.Level Lean.Compiler.LCNF.Main Lean.Compiler.LCNF.Passes Lean.Compiler.LCNF.PassManager Lean.Compiler.LCNF.PhaseExt Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.PullFunDecls Lean.Compiler.LCNF.PullLetDecls Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Simp Lean.Compiler.LCNF.Specialize Lean.Compiler.LCNF.SpecInfo Lean.Compiler.LCNF.Testing Lean.Compiler.LCNF.ToDecl Lean.Compiler.LCNF.ToExpr Lean.Compiler.LCNF.ToLCNF Lean.Compiler.LCNF.Types Lean.Compiler.LCNF.Util Lean.Compiler.LCNF.ConfigOptions Lean.Compiler.LCNF.MonoTypes Lean.Compiler.LCNF.ToMono Lean.Compiler.LCNF.MonadScope Lean.Compiler.LCNF.Closure Lean.Compiler.LCNF.LambdaLifting Lean.Compiler.LCNF.ReduceArity
|
||||
// Imports: Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Check Lean.Compiler.LCNF.CompilerM Lean.Compiler.LCNF.CSE Lean.Compiler.LCNF.DependsOn Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.FixedParams Lean.Compiler.LCNF.InferType Lean.Compiler.LCNF.JoinPoints Lean.Compiler.LCNF.LCtx Lean.Compiler.LCNF.Level Lean.Compiler.LCNF.Main Lean.Compiler.LCNF.Passes Lean.Compiler.LCNF.PassManager Lean.Compiler.LCNF.PhaseExt Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.PullFunDecls Lean.Compiler.LCNF.PullLetDecls Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Simp Lean.Compiler.LCNF.Specialize Lean.Compiler.LCNF.SpecInfo Lean.Compiler.LCNF.Testing Lean.Compiler.LCNF.ToDecl Lean.Compiler.LCNF.ToExpr Lean.Compiler.LCNF.ToLCNF Lean.Compiler.LCNF.Types Lean.Compiler.LCNF.Util Lean.Compiler.LCNF.ConfigOptions Lean.Compiler.LCNF.MonoTypes Lean.Compiler.LCNF.ToMono Lean.Compiler.LCNF.MonadScope Lean.Compiler.LCNF.Closure Lean.Compiler.LCNF.LambdaLifting Lean.Compiler.LCNF.ReduceArity Lean.Compiler.LCNF.Probing
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -50,6 +50,7 @@ lean_object* initialize_Lean_Compiler_LCNF_MonadScope(uint8_t builtin, lean_obje
|
|||
lean_object* initialize_Lean_Compiler_LCNF_Closure(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_LCNF_LambdaLifting(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_LCNF_ReduceArity(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_LCNF_Probing(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -166,6 +167,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Compiler_LCNF_ReduceArity(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_LCNF_Probing(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/LCNF/MonoTypes.c
generated
4
stage0/stdlib/Lean/Compiler/LCNF/MonoTypes.c
generated
|
|
@ -57,6 +57,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Compiler_LCNF_hasT
|
|||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_toMonoType_visitApp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_MonoTypes_0__Lean_Compiler_LCNF_reprTrivialStructureInfo____x40_Lean_Compiler_LCNF_MonoTypes___hyg_249_(lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_getRelevantCtorFields___closed__4;
|
||||
lean_object* l_Lean_Compiler_LCNF_CacheExtension_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_BaseTypes___hyg_3____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_getRelevantCtorFields___lambda__1___closed__1;
|
||||
|
|
@ -75,7 +76,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_M
|
|||
static uint64_t l_Lean_Compiler_LCNF_getRelevantCtorFields___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_hasTrivialStructure_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_toMonoType___closed__1;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_getRelevantCtorFields___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedTrivialStructureInfo;
|
||||
|
|
@ -1734,7 +1734,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = l_Lean_Compiler_LCNF_builtinRuntimeTypes;
|
||||
x_6 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_1, x_5);
|
||||
x_6 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_1, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c
generated
4
stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c
generated
|
|
@ -142,6 +142,7 @@ static lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCasesImpl
|
|||
uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCasesImplementedBy___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement;
|
||||
static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8;
|
||||
lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*);
|
||||
|
|
@ -239,7 +240,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_t
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__3(lean_object*, lean_object*);
|
||||
uint8_t lean_is_marked_borrowed(lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
lean_object* lean_csimp_replace_constants(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -17417,7 +17417,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
|||
x_9 = lean_ctor_get(x_1, 0);
|
||||
x_10 = l_Lean_Name_getPrefix(x_9);
|
||||
x_11 = l_Lean_Compiler_LCNF_builtinRuntimeTypes;
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_10, x_11);
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/LCNF/Util.c
generated
4
stage0/stdlib/Lean/Compiler/LCNF/Util.c
generated
|
|
@ -40,6 +40,7 @@ static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__36;
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__12;
|
||||
static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__42;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__6;
|
||||
lean_object* l_Lean_Expr_appArg_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isRuntimeBultinType___boxed(lean_object*);
|
||||
|
|
@ -58,7 +59,6 @@ lean_object* l_Lean_Name_getPrefix(lean_object*);
|
|||
static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__28;
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isCasesApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Util_0__Lean_Compiler_LCNF_getCasesOnInductiveVal_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes___closed__25;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1990,7 +1990,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; uint8_t x_3;
|
||||
x_2 = l_Lean_Compiler_LCNF_builtinRuntimeTypes;
|
||||
x_3 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_1, x_2);
|
||||
x_3 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data/FuzzyMatching.c
generated
6
stage0/stdlib/Lean/Data/FuzzyMatching.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data.FuzzyMatching
|
||||
// Imports: Init.Data.Range Init.Data.OfScientific
|
||||
// Imports: Init.Data.Range Init.Data.OfScientific Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -3886,6 +3886,7 @@ return x_6;
|
|||
}
|
||||
lean_object* initialize_Init_Data_Range(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_OfScientific(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data_FuzzyMatching(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -3897,6 +3898,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_OfScientific(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_iterateLookaround___rarg___closed__1 = _init_l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_iterateLookaround___rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_iterateLookaround___rarg___closed__1);
|
||||
l_Std_Range_forIn_x27_loop___at___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_containsInOrderLower___spec__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at___private_Lean_Data_FuzzyMatching_0__Lean_FuzzyMatching_containsInOrderLower___spec__1___closed__1();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/KVMap.c
generated
4
stage0/stdlib/Lean/Data/KVMap.c
generated
|
|
@ -42,6 +42,7 @@ static lean_object* l_Lean_KVMap_instValueString___closed__1;
|
|||
static lean_object* l_Lean_KVMap_instValueName___closed__1;
|
||||
lean_object* l_String_quote(lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_253____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_KVMap_updateName(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_253____closed__3;
|
||||
|
|
@ -220,7 +221,6 @@ static lean_object* l_Lean_KVMap_instBEq___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_KVMap_getInt___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Prod_repr___at___private_Lean_Data_KVMap_0__Lean_reprKVMap____x40_Lean_Data_KVMap___hyg_920____spec__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_KVMap_instToString___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_253____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_KVMap_updateString(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1357,7 +1357,7 @@ lean_inc(x_181);
|
|||
lean_dec(x_1);
|
||||
x_182 = lean_unsigned_to_nat(1024u);
|
||||
x_183 = lean_nat_dec_le(x_182, x_2);
|
||||
x_184 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_181, x_182);
|
||||
x_184 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_181, x_182);
|
||||
x_185 = l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_253____closed__35;
|
||||
x_186 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_186, 0, x_185);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data/Trie.c
generated
6
stage0/stdlib/Lean/Data/Trie.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data.Trie
|
||||
// Imports: Lean.Data.Format
|
||||
// Imports: Lean.Data.Format Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1941,6 +1941,7 @@ return x_2;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Data_Format(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data_Trie(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1949,6 +1950,9 @@ _G_initialized = true;
|
|||
res = initialize_Lean_Data_Format(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Data_Trie_empty___closed__1 = _init_l_Lean_Data_Trie_empty___closed__1();
|
||||
lean_mark_persistent(l_Lean_Data_Trie_empty___closed__1);
|
||||
l_Lean_Data_Trie_instEmptyCollection___closed__1 = _init_l_Lean_Data_Trie_instEmptyCollection___closed__1();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Command.c
generated
6
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -271,6 +271,7 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__6;
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_Linter_name___autoParam___closed__22;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_runLintersAsync___lambda__2___closed__1;
|
||||
lean_object* l_Lean_Exception_toMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -459,7 +460,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_wra
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_MetaM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -41272,7 +41272,7 @@ lean_inc(x_13);
|
|||
x_14 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_5, x_13);
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_5, x_13);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -41328,7 +41328,7 @@ lean_inc(x_30);
|
|||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_32 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_5, x_30);
|
||||
x_32 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_5, x_30);
|
||||
lean_dec(x_30);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
4
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
|
|
@ -85,6 +85,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*);
|
|||
static lean_object* l_Lean_Elab_expandDeclIdCore___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Visibility_noConfusion___rarg___closed__1;
|
||||
static lean_object* l_Lean_Elab_instToFormatModifiers___closed__22;
|
||||
uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*);
|
||||
|
|
@ -128,7 +129,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___boxed(lean_
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_RecKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_instInhabitedModifiers___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Visibility_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4275,7 +4275,7 @@ x_9 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_9);
|
||||
x_10 = lean_array_uget(x_4, x_5);
|
||||
x_11 = l_Lean_Syntax_getId(x_10);
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_11, x_7);
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_11, x_7);
|
||||
x_13 = lean_box_usize(x_5);
|
||||
x_14 = lean_box_usize(x_6);
|
||||
lean_inc(x_3);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
6
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
|
|
@ -54,6 +54,7 @@ lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeCompatible___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___lambda__3___closed__1;
|
||||
|
|
@ -77,7 +78,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompati
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_sortDeclLevelParams___lambda__2___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___lambda__3___closed__3;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15(lean_object*);
|
||||
static lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___closed__4;
|
||||
static lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___closed__1;
|
||||
|
|
@ -2808,7 +2808,7 @@ if (x_6 == 0)
|
|||
{
|
||||
lean_object* x_7; uint8_t x_8; size_t x_9; size_t x_10;
|
||||
x_7 = lean_array_uget(x_2, x_3);
|
||||
x_8 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_7, x_1);
|
||||
x_8 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_7, x_1);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_3, x_9);
|
||||
if (x_8 == 0)
|
||||
|
|
@ -2840,7 +2840,7 @@ x_4 = l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(x_1, x_3)
|
|||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_3, x_2);
|
||||
x_5 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
|
|
|
|||
1512
stage0/stdlib/Lean/Elab/Declaration.c
generated
1512
stage0/stdlib/Lean/Elab/Declaration.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Elab/Level.c
generated
6
stage0/stdlib/Lean/Elab/Level.c
generated
|
|
@ -44,6 +44,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Level_instMonadOptionsLev
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Level_elabLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Level_elabLevel___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Level_elabLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Level_elabLevel___closed__3;
|
||||
|
|
@ -69,7 +70,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Level_instMonadOptionsLevelElabM;
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Level_elabLevel___closed__22;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Level_instAddMessageContextLevelElabM___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Level_elabLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_isValidAutoBoundLevelName(lean_object*, uint8_t);
|
||||
|
|
@ -1616,7 +1616,7 @@ x_53 = lean_ctor_get(x_3, 1);
|
|||
lean_inc(x_53);
|
||||
x_54 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_54);
|
||||
x_55 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_51, x_54);
|
||||
x_55 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_51, x_54);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
if (x_10 == 0)
|
||||
|
|
@ -2438,7 +2438,7 @@ x_258 = lean_ctor_get(x_3, 1);
|
|||
lean_inc(x_258);
|
||||
x_259 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_259);
|
||||
x_260 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_256, x_259);
|
||||
x_260 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_256, x_259);
|
||||
if (x_260 == 0)
|
||||
{
|
||||
if (x_216 == 0)
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Elab/MutualDef.c
generated
32
stage0/stdlib/Lean/Elab/MutualDef.c
generated
|
|
@ -70,7 +70,7 @@ extern lean_object* l_Lean_instFVarIdSetInhabited;
|
|||
static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__5___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_addConstAsync(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Environment_addConstAsync(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToSnapshotTreeBodyProcessedSnapshot___boxed(lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
|
|
@ -353,6 +353,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_clean
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__2(lean_object*, size_t, size_t);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_useProofAsSorry___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -616,7 +617,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___la
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__8___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_instImpl____x40_Lean_Elab_MutualDef___hyg_12568_;
|
||||
|
|
@ -916,7 +916,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_MutualDef_0
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__5___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -20429,7 +20429,7 @@ x_38 = lean_ctor_get(x_34, 0);
|
|||
lean_inc(x_38);
|
||||
lean_dec(x_34);
|
||||
x_39 = lean_ctor_get(x_2, 7);
|
||||
x_40 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_38, x_39);
|
||||
x_40 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_38, x_39);
|
||||
lean_dec(x_38);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
|
|
@ -20594,7 +20594,7 @@ x_37 = lean_ctor_get(x_33, 0);
|
|||
lean_inc(x_37);
|
||||
lean_dec(x_33);
|
||||
x_38 = lean_ctor_get(x_1, 8);
|
||||
x_39 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_37, x_38);
|
||||
x_39 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_37, x_38);
|
||||
lean_dec(x_37);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
|
|
@ -21058,7 +21058,7 @@ x_46 = lean_ctor_get(x_38, 0);
|
|||
lean_inc(x_46);
|
||||
lean_dec(x_38);
|
||||
x_47 = lean_ctor_get(x_2, 8);
|
||||
x_48 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_46, x_47);
|
||||
x_48 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_46, x_47);
|
||||
lean_dec(x_46);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
|
|
@ -22801,7 +22801,7 @@ block_64:
|
|||
lean_object* x_35; lean_object* x_36; uint8_t x_37;
|
||||
x_35 = lean_ctor_get(x_1, 7);
|
||||
x_36 = l_Lean_LocalDecl_userName(x_31);
|
||||
x_37 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_36, x_35);
|
||||
x_37 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_36, x_35);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
uint8_t x_38;
|
||||
|
|
@ -23446,7 +23446,7 @@ block_64:
|
|||
lean_object* x_35; lean_object* x_36; uint8_t x_37;
|
||||
x_35 = lean_ctor_get(x_1, 7);
|
||||
x_36 = l_Lean_LocalDecl_userName(x_31);
|
||||
x_37 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_36, x_35);
|
||||
x_37 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_36, x_35);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
uint8_t x_38;
|
||||
|
|
@ -50006,7 +50006,7 @@ x_47 = lean_box(0);
|
|||
x_48 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_9);
|
||||
x_49 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_46, x_47, x_45);
|
||||
x_49 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_46, x_47, x_47, x_45);
|
||||
if (lean_obj_tag(x_49) == 0)
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
|
|
@ -50139,7 +50139,7 @@ x_93 = lean_box(0);
|
|||
x_94 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_94);
|
||||
lean_inc(x_9);
|
||||
x_95 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_92, x_93, x_91);
|
||||
x_95 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_92, x_93, x_93, x_91);
|
||||
if (lean_obj_tag(x_95) == 0)
|
||||
{
|
||||
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124;
|
||||
|
|
@ -50290,7 +50290,7 @@ x_144 = lean_box(0);
|
|||
x_145 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_145);
|
||||
lean_inc(x_9);
|
||||
x_146 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_143, x_144, x_141);
|
||||
x_146 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_143, x_144, x_144, x_141);
|
||||
if (lean_obj_tag(x_146) == 0)
|
||||
{
|
||||
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175;
|
||||
|
|
@ -50465,7 +50465,7 @@ x_200 = lean_box(0);
|
|||
x_201 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_201);
|
||||
lean_inc(x_9);
|
||||
x_202 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_199, x_200, x_197);
|
||||
x_202 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_199, x_200, x_200, x_197);
|
||||
if (lean_obj_tag(x_202) == 0)
|
||||
{
|
||||
lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231;
|
||||
|
|
@ -50707,7 +50707,7 @@ x_268 = lean_box(0);
|
|||
x_269 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_269);
|
||||
lean_inc(x_9);
|
||||
x_270 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_267, x_268, x_265);
|
||||
x_270 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_267, x_268, x_268, x_265);
|
||||
if (lean_obj_tag(x_270) == 0)
|
||||
{
|
||||
lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299;
|
||||
|
|
@ -51316,7 +51316,7 @@ x_413 = lean_box(0);
|
|||
x_414 = lean_ctor_get(x_15, 5);
|
||||
lean_inc(x_414);
|
||||
lean_inc(x_9);
|
||||
x_415 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_412, x_413, x_410);
|
||||
x_415 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_9, x_412, x_413, x_413, x_410);
|
||||
if (lean_obj_tag(x_415) == 0)
|
||||
{
|
||||
lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; uint8_t x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444;
|
||||
|
|
@ -51673,7 +51673,7 @@ lean_inc(x_20);
|
|||
x_21 = 1;
|
||||
x_22 = 1;
|
||||
lean_inc(x_19);
|
||||
x_23 = l_Lean_Environment_addConstAsync(x_18, x_19, x_21, x_22, x_22, x_17);
|
||||
x_23 = l_Lean_Environment_addConstAsync(x_18, x_19, x_21, x_21, x_22, x_22, x_17);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28;
|
||||
|
|
@ -53566,7 +53566,7 @@ lean_inc(x_596);
|
|||
x_597 = 1;
|
||||
x_598 = 1;
|
||||
lean_inc(x_595);
|
||||
x_599 = l_Lean_Environment_addConstAsync(x_594, x_595, x_597, x_598, x_598, x_593);
|
||||
x_599 = l_Lean_Environment_addConstAsync(x_594, x_595, x_597, x_597, x_598, x_598, x_593);
|
||||
if (lean_obj_tag(x_599) == 0)
|
||||
{
|
||||
lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610;
|
||||
|
|
|
|||
779
stage0/stdlib/Lean/Elab/MutualInductive.c
generated
779
stage0/stdlib/Lean/Elab/MutualInductive.c
generated
|
|
@ -48,7 +48,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_withExplicitToImplicit___rarg___box
|
|||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8(lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkResultingUniverses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_addConstAsync(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Environment_addConstAsync(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_isMutualInductive(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -692,7 +692,7 @@ static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_c
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkResultingUniverses___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyComputedFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInductiveView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -27503,10 +27503,10 @@ x_22 = lean_ctor_get(x_20, 0);
|
|||
x_23 = lean_ctor_get(x_7, 5);
|
||||
x_24 = 7;
|
||||
x_25 = 1;
|
||||
x_26 = l_Lean_Environment_addConstAsync(x_18, x_13, x_24, x_25, x_25, x_17);
|
||||
x_26 = l_Lean_Environment_addConstAsync(x_18, x_13, x_24, x_24, x_25, x_25, x_17);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_ctor_get(x_26, 1);
|
||||
|
|
@ -27514,535 +27514,538 @@ lean_inc(x_28);
|
|||
lean_dec(x_26);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
x_30 = lean_box(0);
|
||||
lean_inc(x_29);
|
||||
lean_inc(x_27);
|
||||
x_30 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_27, x_29, x_20, x_28);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
x_31 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_27, x_29, x_20, x_30, x_28);
|
||||
if (lean_obj_tag(x_31) == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_30);
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_31);
|
||||
lean_inc(x_27);
|
||||
x_32 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_27, x_29, x_31);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
x_33 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_27, x_29, x_32);
|
||||
if (lean_obj_tag(x_33) == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
x_33 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_32);
|
||||
x_34 = lean_ctor_get(x_27, 0);
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_34 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_33);
|
||||
x_35 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_27);
|
||||
x_35 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_33);
|
||||
x_36 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_35);
|
||||
x_37 = lean_unsigned_to_nat(1u);
|
||||
x_38 = lean_nat_add(x_2, x_37);
|
||||
x_36 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_34);
|
||||
x_37 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_36);
|
||||
x_38 = lean_unsigned_to_nat(1u);
|
||||
x_39 = lean_nat_add(x_2, x_38);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_38;
|
||||
x_9 = x_36;
|
||||
x_2 = x_39;
|
||||
x_9 = x_37;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_40;
|
||||
uint8_t x_41;
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_40 = !lean_is_exclusive(x_32);
|
||||
if (x_40 == 0)
|
||||
x_41 = !lean_is_exclusive(x_33);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_41 = lean_ctor_get(x_32, 0);
|
||||
x_42 = lean_io_error_to_string(x_41);
|
||||
x_43 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
x_44 = l_Lean_MessageData_ofFormat(x_43);
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_42 = lean_ctor_get(x_33, 0);
|
||||
x_43 = lean_io_error_to_string(x_42);
|
||||
x_44 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
x_45 = l_Lean_MessageData_ofFormat(x_44);
|
||||
lean_inc(x_23);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_23);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
lean_ctor_set(x_32, 0, x_45);
|
||||
return x_32;
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_23);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
lean_ctor_set(x_33, 0, x_46);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_46 = lean_ctor_get(x_32, 0);
|
||||
x_47 = lean_ctor_get(x_32, 1);
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_47 = lean_ctor_get(x_33, 0);
|
||||
x_48 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_32);
|
||||
x_48 = lean_io_error_to_string(x_46);
|
||||
x_49 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
x_50 = l_Lean_MessageData_ofFormat(x_49);
|
||||
lean_dec(x_33);
|
||||
x_49 = lean_io_error_to_string(x_47);
|
||||
x_50 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
x_51 = l_Lean_MessageData_ofFormat(x_50);
|
||||
lean_inc(x_23);
|
||||
x_51 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_23);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
lean_ctor_set(x_52, 1, x_47);
|
||||
return x_52;
|
||||
x_52 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_23);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
lean_ctor_set(x_53, 1, x_48);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_53;
|
||||
uint8_t x_54;
|
||||
lean_dec(x_29);
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_53 = !lean_is_exclusive(x_30);
|
||||
if (x_53 == 0)
|
||||
x_54 = !lean_is_exclusive(x_31);
|
||||
if (x_54 == 0)
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58;
|
||||
x_54 = lean_ctor_get(x_30, 0);
|
||||
x_55 = lean_io_error_to_string(x_54);
|
||||
x_56 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_56, 0, x_55);
|
||||
x_57 = l_Lean_MessageData_ofFormat(x_56);
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59;
|
||||
x_55 = lean_ctor_get(x_31, 0);
|
||||
x_56 = lean_io_error_to_string(x_55);
|
||||
x_57 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_57, 0, x_56);
|
||||
x_58 = l_Lean_MessageData_ofFormat(x_57);
|
||||
lean_inc(x_23);
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_23);
|
||||
lean_ctor_set(x_58, 1, x_57);
|
||||
lean_ctor_set(x_30, 0, x_58);
|
||||
return x_30;
|
||||
x_59 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_23);
|
||||
lean_ctor_set(x_59, 1, x_58);
|
||||
lean_ctor_set(x_31, 0, x_59);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
x_59 = lean_ctor_get(x_30, 0);
|
||||
x_60 = lean_ctor_get(x_30, 1);
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
x_60 = lean_ctor_get(x_31, 0);
|
||||
x_61 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_61);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_30);
|
||||
x_61 = lean_io_error_to_string(x_59);
|
||||
x_62 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
x_63 = l_Lean_MessageData_ofFormat(x_62);
|
||||
lean_dec(x_31);
|
||||
x_62 = lean_io_error_to_string(x_60);
|
||||
x_63 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_63, 0, x_62);
|
||||
x_64 = l_Lean_MessageData_ofFormat(x_63);
|
||||
lean_inc(x_23);
|
||||
x_64 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_23);
|
||||
lean_ctor_set(x_64, 1, x_63);
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_60);
|
||||
return x_65;
|
||||
x_65 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_23);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_61);
|
||||
return x_66;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_66;
|
||||
uint8_t x_67;
|
||||
lean_free_object(x_20);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_66 = !lean_is_exclusive(x_26);
|
||||
if (x_66 == 0)
|
||||
x_67 = !lean_is_exclusive(x_26);
|
||||
if (x_67 == 0)
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
|
||||
x_67 = lean_ctor_get(x_26, 0);
|
||||
x_68 = lean_io_error_to_string(x_67);
|
||||
x_69 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
x_70 = l_Lean_MessageData_ofFormat(x_69);
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
x_68 = lean_ctor_get(x_26, 0);
|
||||
x_69 = lean_io_error_to_string(x_68);
|
||||
x_70 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
x_71 = l_Lean_MessageData_ofFormat(x_70);
|
||||
lean_inc(x_23);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_23);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
lean_ctor_set(x_26, 0, x_71);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_23);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
lean_ctor_set(x_26, 0, x_72);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_72 = lean_ctor_get(x_26, 0);
|
||||
x_73 = lean_ctor_get(x_26, 1);
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_73 = lean_ctor_get(x_26, 0);
|
||||
x_74 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_74);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_26);
|
||||
x_74 = lean_io_error_to_string(x_72);
|
||||
x_75 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
x_76 = l_Lean_MessageData_ofFormat(x_75);
|
||||
x_75 = lean_io_error_to_string(x_73);
|
||||
x_76 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_76, 0, x_75);
|
||||
x_77 = l_Lean_MessageData_ofFormat(x_76);
|
||||
lean_inc(x_23);
|
||||
x_77 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_23);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_77);
|
||||
lean_ctor_set(x_78, 1, x_73);
|
||||
return x_78;
|
||||
x_78 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_23);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
x_79 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_79, 0, x_78);
|
||||
lean_ctor_set(x_79, 1, x_74);
|
||||
return x_79;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83;
|
||||
x_79 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_79);
|
||||
lean_object* x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84;
|
||||
x_80 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_80);
|
||||
lean_dec(x_20);
|
||||
x_80 = lean_ctor_get(x_7, 5);
|
||||
x_81 = 7;
|
||||
x_82 = 1;
|
||||
x_83 = l_Lean_Environment_addConstAsync(x_18, x_13, x_81, x_82, x_82, x_17);
|
||||
if (lean_obj_tag(x_83) == 0)
|
||||
x_81 = lean_ctor_get(x_7, 5);
|
||||
x_82 = 7;
|
||||
x_83 = 1;
|
||||
x_84 = l_Lean_Environment_addConstAsync(x_18, x_13, x_82, x_82, x_83, x_83, x_17);
|
||||
if (lean_obj_tag(x_84) == 0)
|
||||
{
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
|
||||
x_84 = lean_ctor_get(x_83, 0);
|
||||
lean_inc(x_84);
|
||||
x_85 = lean_ctor_get(x_83, 1);
|
||||
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
||||
x_85 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_83);
|
||||
x_86 = lean_ctor_get(x_84, 1);
|
||||
lean_inc(x_86);
|
||||
x_87 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_87, 0, x_79);
|
||||
lean_inc(x_86);
|
||||
lean_inc(x_84);
|
||||
x_88 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_84, x_86, x_87, x_85);
|
||||
if (lean_obj_tag(x_88) == 0)
|
||||
{
|
||||
lean_object* x_89; lean_object* x_90;
|
||||
x_89 = lean_ctor_get(x_88, 1);
|
||||
lean_inc(x_89);
|
||||
lean_dec(x_88);
|
||||
lean_inc(x_84);
|
||||
x_90 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_84, x_86, x_89);
|
||||
lean_dec(x_84);
|
||||
x_87 = lean_ctor_get(x_85, 1);
|
||||
lean_inc(x_87);
|
||||
x_88 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_88, 0, x_80);
|
||||
x_89 = lean_box(0);
|
||||
lean_inc(x_87);
|
||||
lean_inc(x_85);
|
||||
x_90 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_85, x_87, x_88, x_89, x_86);
|
||||
if (lean_obj_tag(x_90) == 0)
|
||||
{
|
||||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96;
|
||||
lean_object* x_91; lean_object* x_92;
|
||||
x_91 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_90);
|
||||
x_92 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_92);
|
||||
lean_dec(x_84);
|
||||
x_93 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_91);
|
||||
x_94 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_85);
|
||||
x_92 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_85, x_87, x_91);
|
||||
if (lean_obj_tag(x_92) == 0)
|
||||
{
|
||||
lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98;
|
||||
x_93 = lean_ctor_get(x_92, 1);
|
||||
lean_inc(x_93);
|
||||
lean_dec(x_92);
|
||||
x_94 = lean_ctor_get(x_85, 0);
|
||||
lean_inc(x_94);
|
||||
lean_dec(x_93);
|
||||
x_95 = lean_unsigned_to_nat(1u);
|
||||
x_96 = lean_nat_add(x_2, x_95);
|
||||
lean_dec(x_85);
|
||||
x_95 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_93);
|
||||
x_96 = lean_ctor_get(x_95, 1);
|
||||
lean_inc(x_96);
|
||||
lean_dec(x_95);
|
||||
x_97 = lean_unsigned_to_nat(1u);
|
||||
x_98 = lean_nat_add(x_2, x_97);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_96;
|
||||
x_9 = x_94;
|
||||
x_2 = x_98;
|
||||
x_9 = x_96;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
lean_dec(x_84);
|
||||
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107;
|
||||
lean_dec(x_85);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_98 = lean_ctor_get(x_90, 0);
|
||||
lean_inc(x_98);
|
||||
x_99 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_99);
|
||||
x_100 = lean_ctor_get(x_92, 0);
|
||||
lean_inc(x_100);
|
||||
x_101 = lean_ctor_get(x_92, 1);
|
||||
lean_inc(x_101);
|
||||
if (lean_is_exclusive(x_92)) {
|
||||
lean_ctor_release(x_92, 0);
|
||||
lean_ctor_release(x_92, 1);
|
||||
x_102 = x_92;
|
||||
} else {
|
||||
lean_dec_ref(x_92);
|
||||
x_102 = lean_box(0);
|
||||
}
|
||||
x_103 = lean_io_error_to_string(x_100);
|
||||
x_104 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
x_105 = l_Lean_MessageData_ofFormat(x_104);
|
||||
lean_inc(x_81);
|
||||
x_106 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_81);
|
||||
lean_ctor_set(x_106, 1, x_105);
|
||||
if (lean_is_scalar(x_102)) {
|
||||
x_107 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_107 = x_102;
|
||||
}
|
||||
lean_ctor_set(x_107, 0, x_106);
|
||||
lean_ctor_set(x_107, 1, x_101);
|
||||
return x_107;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115;
|
||||
lean_dec(x_87);
|
||||
lean_dec(x_85);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_108 = lean_ctor_get(x_90, 0);
|
||||
lean_inc(x_108);
|
||||
x_109 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_109);
|
||||
if (lean_is_exclusive(x_90)) {
|
||||
lean_ctor_release(x_90, 0);
|
||||
lean_ctor_release(x_90, 1);
|
||||
x_100 = x_90;
|
||||
x_110 = x_90;
|
||||
} else {
|
||||
lean_dec_ref(x_90);
|
||||
x_100 = lean_box(0);
|
||||
x_110 = lean_box(0);
|
||||
}
|
||||
x_101 = lean_io_error_to_string(x_98);
|
||||
x_102 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_102, 0, x_101);
|
||||
x_103 = l_Lean_MessageData_ofFormat(x_102);
|
||||
lean_inc(x_80);
|
||||
x_104 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_80);
|
||||
lean_ctor_set(x_104, 1, x_103);
|
||||
if (lean_is_scalar(x_100)) {
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
x_111 = lean_io_error_to_string(x_108);
|
||||
x_112 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_112, 0, x_111);
|
||||
x_113 = l_Lean_MessageData_ofFormat(x_112);
|
||||
lean_inc(x_81);
|
||||
x_114 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_114, 0, x_81);
|
||||
lean_ctor_set(x_114, 1, x_113);
|
||||
if (lean_is_scalar(x_110)) {
|
||||
x_115 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_105 = x_100;
|
||||
x_115 = x_110;
|
||||
}
|
||||
lean_ctor_set(x_105, 0, x_104);
|
||||
lean_ctor_set(x_105, 1, x_99);
|
||||
return x_105;
|
||||
lean_ctor_set(x_115, 0, x_114);
|
||||
lean_ctor_set(x_115, 1, x_109);
|
||||
return x_115;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113;
|
||||
lean_dec(x_86);
|
||||
lean_dec(x_84);
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123;
|
||||
lean_dec(x_80);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_106 = lean_ctor_get(x_88, 0);
|
||||
lean_inc(x_106);
|
||||
x_107 = lean_ctor_get(x_88, 1);
|
||||
lean_inc(x_107);
|
||||
if (lean_is_exclusive(x_88)) {
|
||||
lean_ctor_release(x_88, 0);
|
||||
lean_ctor_release(x_88, 1);
|
||||
x_108 = x_88;
|
||||
x_116 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_116);
|
||||
x_117 = lean_ctor_get(x_84, 1);
|
||||
lean_inc(x_117);
|
||||
if (lean_is_exclusive(x_84)) {
|
||||
lean_ctor_release(x_84, 0);
|
||||
lean_ctor_release(x_84, 1);
|
||||
x_118 = x_84;
|
||||
} else {
|
||||
lean_dec_ref(x_88);
|
||||
x_108 = lean_box(0);
|
||||
lean_dec_ref(x_84);
|
||||
x_118 = lean_box(0);
|
||||
}
|
||||
x_109 = lean_io_error_to_string(x_106);
|
||||
x_110 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_110, 0, x_109);
|
||||
x_111 = l_Lean_MessageData_ofFormat(x_110);
|
||||
lean_inc(x_80);
|
||||
x_112 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_112, 0, x_80);
|
||||
lean_ctor_set(x_112, 1, x_111);
|
||||
if (lean_is_scalar(x_108)) {
|
||||
x_113 = lean_alloc_ctor(1, 2, 0);
|
||||
x_119 = lean_io_error_to_string(x_116);
|
||||
x_120 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_120, 0, x_119);
|
||||
x_121 = l_Lean_MessageData_ofFormat(x_120);
|
||||
lean_inc(x_81);
|
||||
x_122 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_81);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
if (lean_is_scalar(x_118)) {
|
||||
x_123 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_113 = x_108;
|
||||
x_123 = x_118;
|
||||
}
|
||||
lean_ctor_set(x_113, 0, x_112);
|
||||
lean_ctor_set(x_113, 1, x_107);
|
||||
return x_113;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121;
|
||||
lean_dec(x_79);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_114 = lean_ctor_get(x_83, 0);
|
||||
lean_inc(x_114);
|
||||
x_115 = lean_ctor_get(x_83, 1);
|
||||
lean_inc(x_115);
|
||||
if (lean_is_exclusive(x_83)) {
|
||||
lean_ctor_release(x_83, 0);
|
||||
lean_ctor_release(x_83, 1);
|
||||
x_116 = x_83;
|
||||
} else {
|
||||
lean_dec_ref(x_83);
|
||||
x_116 = lean_box(0);
|
||||
}
|
||||
x_117 = lean_io_error_to_string(x_114);
|
||||
x_118 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_118, 0, x_117);
|
||||
x_119 = l_Lean_MessageData_ofFormat(x_118);
|
||||
lean_inc(x_80);
|
||||
x_120 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_80);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
if (lean_is_scalar(x_116)) {
|
||||
x_121 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_121 = x_116;
|
||||
}
|
||||
lean_ctor_set(x_121, 0, x_120);
|
||||
lean_ctor_set(x_121, 1, x_115);
|
||||
return x_121;
|
||||
lean_ctor_set(x_123, 0, x_122);
|
||||
lean_ctor_set(x_123, 1, x_117);
|
||||
return x_123;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126;
|
||||
x_122 = lean_ctor_get(x_14, 0);
|
||||
x_123 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_123);
|
||||
lean_inc(x_122);
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
x_124 = lean_ctor_get(x_14, 0);
|
||||
x_125 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_125);
|
||||
lean_inc(x_124);
|
||||
lean_dec(x_14);
|
||||
x_124 = lean_ctor_get(x_122, 0);
|
||||
lean_inc(x_124);
|
||||
lean_dec(x_122);
|
||||
lean_inc(x_124);
|
||||
x_125 = lean_elab_environment_to_kernel_env(x_124);
|
||||
lean_inc(x_13);
|
||||
x_126 = lean_environment_find(x_125, x_13);
|
||||
if (lean_obj_tag(x_126) == 0)
|
||||
{
|
||||
lean_object* x_127;
|
||||
x_126 = lean_ctor_get(x_124, 0);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_124);
|
||||
lean_inc(x_126);
|
||||
x_127 = lean_elab_environment_to_kernel_env(x_126);
|
||||
lean_inc(x_13);
|
||||
x_128 = lean_environment_find(x_127, x_13);
|
||||
if (lean_obj_tag(x_128) == 0)
|
||||
{
|
||||
lean_object* x_129;
|
||||
lean_dec(x_126);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_1);
|
||||
x_127 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_127, 0, x_2);
|
||||
lean_ctor_set(x_127, 1, x_123);
|
||||
return x_127;
|
||||
x_129 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_129, 0, x_2);
|
||||
lean_ctor_set(x_129, 1, x_125);
|
||||
return x_129;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; uint8_t x_132; lean_object* x_133;
|
||||
x_128 = lean_ctor_get(x_126, 0);
|
||||
lean_inc(x_128);
|
||||
if (lean_is_exclusive(x_126)) {
|
||||
lean_ctor_release(x_126, 0);
|
||||
x_129 = x_126;
|
||||
lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; uint8_t x_134; lean_object* x_135;
|
||||
x_130 = lean_ctor_get(x_128, 0);
|
||||
lean_inc(x_130);
|
||||
if (lean_is_exclusive(x_128)) {
|
||||
lean_ctor_release(x_128, 0);
|
||||
x_131 = x_128;
|
||||
} else {
|
||||
lean_dec_ref(x_126);
|
||||
x_129 = lean_box(0);
|
||||
lean_dec_ref(x_128);
|
||||
x_131 = lean_box(0);
|
||||
}
|
||||
x_130 = lean_ctor_get(x_7, 5);
|
||||
x_131 = 7;
|
||||
x_132 = 1;
|
||||
x_133 = l_Lean_Environment_addConstAsync(x_124, x_13, x_131, x_132, x_132, x_123);
|
||||
if (lean_obj_tag(x_133) == 0)
|
||||
x_132 = lean_ctor_get(x_7, 5);
|
||||
x_133 = 7;
|
||||
x_134 = 1;
|
||||
x_135 = l_Lean_Environment_addConstAsync(x_126, x_13, x_133, x_133, x_134, x_134, x_125);
|
||||
if (lean_obj_tag(x_135) == 0)
|
||||
{
|
||||
lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138;
|
||||
x_134 = lean_ctor_get(x_133, 0);
|
||||
lean_inc(x_134);
|
||||
x_135 = lean_ctor_get(x_133, 1);
|
||||
lean_inc(x_135);
|
||||
lean_dec(x_133);
|
||||
x_136 = lean_ctor_get(x_134, 1);
|
||||
lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141;
|
||||
x_136 = lean_ctor_get(x_135, 0);
|
||||
lean_inc(x_136);
|
||||
if (lean_is_scalar(x_129)) {
|
||||
x_137 = lean_alloc_ctor(1, 1, 0);
|
||||
x_137 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_137);
|
||||
lean_dec(x_135);
|
||||
x_138 = lean_ctor_get(x_136, 1);
|
||||
lean_inc(x_138);
|
||||
if (lean_is_scalar(x_131)) {
|
||||
x_139 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_137 = x_129;
|
||||
x_139 = x_131;
|
||||
}
|
||||
lean_ctor_set(x_137, 0, x_128);
|
||||
lean_ctor_set(x_139, 0, x_130);
|
||||
x_140 = lean_box(0);
|
||||
lean_inc(x_138);
|
||||
lean_inc(x_136);
|
||||
lean_inc(x_134);
|
||||
x_138 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_134, x_136, x_137, x_135);
|
||||
if (lean_obj_tag(x_138) == 0)
|
||||
x_141 = l_Lean_Environment_AddConstAsyncResult_commitConst(x_136, x_138, x_139, x_140, x_137);
|
||||
if (lean_obj_tag(x_141) == 0)
|
||||
{
|
||||
lean_object* x_139; lean_object* x_140;
|
||||
x_139 = lean_ctor_get(x_138, 1);
|
||||
lean_inc(x_139);
|
||||
lean_dec(x_138);
|
||||
lean_inc(x_134);
|
||||
x_140 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_134, x_136, x_139);
|
||||
if (lean_obj_tag(x_140) == 0)
|
||||
{
|
||||
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146;
|
||||
x_141 = lean_ctor_get(x_140, 1);
|
||||
lean_inc(x_141);
|
||||
lean_dec(x_140);
|
||||
x_142 = lean_ctor_get(x_134, 0);
|
||||
lean_object* x_142; lean_object* x_143;
|
||||
x_142 = lean_ctor_get(x_141, 1);
|
||||
lean_inc(x_142);
|
||||
lean_dec(x_134);
|
||||
x_143 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_142, x_3, x_4, x_5, x_6, x_7, x_8, x_141);
|
||||
lean_dec(x_141);
|
||||
lean_inc(x_136);
|
||||
x_143 = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(x_136, x_138, x_142);
|
||||
if (lean_obj_tag(x_143) == 0)
|
||||
{
|
||||
lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149;
|
||||
x_144 = lean_ctor_get(x_143, 1);
|
||||
lean_inc(x_144);
|
||||
lean_dec(x_143);
|
||||
x_145 = lean_unsigned_to_nat(1u);
|
||||
x_146 = lean_nat_add(x_2, x_145);
|
||||
x_145 = lean_ctor_get(x_136, 0);
|
||||
lean_inc(x_145);
|
||||
lean_dec(x_136);
|
||||
x_146 = l_Lean_setEnv___at___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_mkInductiveDecl___spec__6(x_145, x_3, x_4, x_5, x_6, x_7, x_8, x_144);
|
||||
x_147 = lean_ctor_get(x_146, 1);
|
||||
lean_inc(x_147);
|
||||
lean_dec(x_146);
|
||||
x_148 = lean_unsigned_to_nat(1u);
|
||||
x_149 = lean_nat_add(x_2, x_148);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_146;
|
||||
x_9 = x_144;
|
||||
x_2 = x_149;
|
||||
x_9 = x_147;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155;
|
||||
lean_dec(x_134);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_148 = lean_ctor_get(x_140, 0);
|
||||
lean_inc(x_148);
|
||||
x_149 = lean_ctor_get(x_140, 1);
|
||||
lean_inc(x_149);
|
||||
if (lean_is_exclusive(x_140)) {
|
||||
lean_ctor_release(x_140, 0);
|
||||
lean_ctor_release(x_140, 1);
|
||||
x_150 = x_140;
|
||||
} else {
|
||||
lean_dec_ref(x_140);
|
||||
x_150 = lean_box(0);
|
||||
}
|
||||
x_151 = lean_io_error_to_string(x_148);
|
||||
x_152 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
x_153 = l_Lean_MessageData_ofFormat(x_152);
|
||||
lean_inc(x_130);
|
||||
x_154 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_154, 0, x_130);
|
||||
lean_ctor_set(x_154, 1, x_153);
|
||||
if (lean_is_scalar(x_150)) {
|
||||
x_155 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_155 = x_150;
|
||||
}
|
||||
lean_ctor_set(x_155, 0, x_154);
|
||||
lean_ctor_set(x_155, 1, x_149);
|
||||
return x_155;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163;
|
||||
lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158;
|
||||
lean_dec(x_136);
|
||||
lean_dec(x_134);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_156 = lean_ctor_get(x_138, 0);
|
||||
lean_inc(x_156);
|
||||
x_157 = lean_ctor_get(x_138, 1);
|
||||
lean_inc(x_157);
|
||||
if (lean_is_exclusive(x_138)) {
|
||||
lean_ctor_release(x_138, 0);
|
||||
lean_ctor_release(x_138, 1);
|
||||
x_158 = x_138;
|
||||
x_151 = lean_ctor_get(x_143, 0);
|
||||
lean_inc(x_151);
|
||||
x_152 = lean_ctor_get(x_143, 1);
|
||||
lean_inc(x_152);
|
||||
if (lean_is_exclusive(x_143)) {
|
||||
lean_ctor_release(x_143, 0);
|
||||
lean_ctor_release(x_143, 1);
|
||||
x_153 = x_143;
|
||||
} else {
|
||||
lean_dec_ref(x_138);
|
||||
x_158 = lean_box(0);
|
||||
lean_dec_ref(x_143);
|
||||
x_153 = lean_box(0);
|
||||
}
|
||||
x_159 = lean_io_error_to_string(x_156);
|
||||
x_160 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_160, 0, x_159);
|
||||
x_161 = l_Lean_MessageData_ofFormat(x_160);
|
||||
lean_inc(x_130);
|
||||
x_162 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_162, 0, x_130);
|
||||
lean_ctor_set(x_162, 1, x_161);
|
||||
if (lean_is_scalar(x_158)) {
|
||||
x_163 = lean_alloc_ctor(1, 2, 0);
|
||||
x_154 = lean_io_error_to_string(x_151);
|
||||
x_155 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_155, 0, x_154);
|
||||
x_156 = l_Lean_MessageData_ofFormat(x_155);
|
||||
lean_inc(x_132);
|
||||
x_157 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_157, 0, x_132);
|
||||
lean_ctor_set(x_157, 1, x_156);
|
||||
if (lean_is_scalar(x_153)) {
|
||||
x_158 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_163 = x_158;
|
||||
x_158 = x_153;
|
||||
}
|
||||
lean_ctor_set(x_163, 0, x_162);
|
||||
lean_ctor_set(x_163, 1, x_157);
|
||||
return x_163;
|
||||
lean_ctor_set(x_158, 0, x_157);
|
||||
lean_ctor_set(x_158, 1, x_152);
|
||||
return x_158;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171;
|
||||
lean_dec(x_129);
|
||||
lean_dec(x_128);
|
||||
lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166;
|
||||
lean_dec(x_138);
|
||||
lean_dec(x_136);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_164 = lean_ctor_get(x_133, 0);
|
||||
lean_inc(x_164);
|
||||
x_165 = lean_ctor_get(x_133, 1);
|
||||
lean_inc(x_165);
|
||||
if (lean_is_exclusive(x_133)) {
|
||||
lean_ctor_release(x_133, 0);
|
||||
lean_ctor_release(x_133, 1);
|
||||
x_166 = x_133;
|
||||
x_159 = lean_ctor_get(x_141, 0);
|
||||
lean_inc(x_159);
|
||||
x_160 = lean_ctor_get(x_141, 1);
|
||||
lean_inc(x_160);
|
||||
if (lean_is_exclusive(x_141)) {
|
||||
lean_ctor_release(x_141, 0);
|
||||
lean_ctor_release(x_141, 1);
|
||||
x_161 = x_141;
|
||||
} else {
|
||||
lean_dec_ref(x_133);
|
||||
x_166 = lean_box(0);
|
||||
lean_dec_ref(x_141);
|
||||
x_161 = lean_box(0);
|
||||
}
|
||||
x_167 = lean_io_error_to_string(x_164);
|
||||
x_168 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_168, 0, x_167);
|
||||
x_169 = l_Lean_MessageData_ofFormat(x_168);
|
||||
lean_inc(x_130);
|
||||
x_170 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_170, 0, x_130);
|
||||
lean_ctor_set(x_170, 1, x_169);
|
||||
if (lean_is_scalar(x_166)) {
|
||||
x_171 = lean_alloc_ctor(1, 2, 0);
|
||||
x_162 = lean_io_error_to_string(x_159);
|
||||
x_163 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_163, 0, x_162);
|
||||
x_164 = l_Lean_MessageData_ofFormat(x_163);
|
||||
lean_inc(x_132);
|
||||
x_165 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_132);
|
||||
lean_ctor_set(x_165, 1, x_164);
|
||||
if (lean_is_scalar(x_161)) {
|
||||
x_166 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_171 = x_166;
|
||||
x_166 = x_161;
|
||||
}
|
||||
lean_ctor_set(x_166, 0, x_165);
|
||||
lean_ctor_set(x_166, 1, x_160);
|
||||
return x_166;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174;
|
||||
lean_dec(x_131);
|
||||
lean_dec(x_130);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_167 = lean_ctor_get(x_135, 0);
|
||||
lean_inc(x_167);
|
||||
x_168 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_168);
|
||||
if (lean_is_exclusive(x_135)) {
|
||||
lean_ctor_release(x_135, 0);
|
||||
lean_ctor_release(x_135, 1);
|
||||
x_169 = x_135;
|
||||
} else {
|
||||
lean_dec_ref(x_135);
|
||||
x_169 = lean_box(0);
|
||||
}
|
||||
x_170 = lean_io_error_to_string(x_167);
|
||||
x_171 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_171, 0, x_170);
|
||||
lean_ctor_set(x_171, 1, x_165);
|
||||
return x_171;
|
||||
x_172 = l_Lean_MessageData_ofFormat(x_171);
|
||||
lean_inc(x_132);
|
||||
x_173 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_173, 0, x_132);
|
||||
lean_ctor_set(x_173, 1, x_172);
|
||||
if (lean_is_scalar(x_169)) {
|
||||
x_174 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_174 = x_169;
|
||||
}
|
||||
lean_ctor_set(x_174, 0, x_173);
|
||||
lean_ctor_set(x_174, 1, x_168);
|
||||
return x_174;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Doc.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Doc.c
generated
|
|
@ -23,7 +23,6 @@ LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Tactic_Doc_elabPrintTac
|
|||
LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_Doc_0__Lean_Elab_Tactic_Doc_showParserName___spec__3___at___private_Lean_Elab_Tactic_Doc_0__Lean_Elab_Tactic_Doc_showParserName___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Tactic_Doc_0__Lean_Elab_Tactic_Doc_showParserName___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Tactic_Doc_0__Lean_Elab_Tactic_Doc_showParserName___lambda__2___closed__2;
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Doc_elabPrintTacTags___rarg___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_Doc_elabTacticExtension___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Doc_elabPrintTacTags_declRange__1___closed__6;
|
||||
|
|
@ -299,6 +298,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Doc_elabRegisterTacticTag__1
|
|||
static lean_object* l_List_mapM_loop___at_Lean_Elab_Tactic_Doc_elabPrintTacTags___spec__9___closed__7;
|
||||
static lean_object* l_Lean_Elab_Tactic_Doc_elabRegisterTacticTag___closed__1;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Doc_elabRegisterTacticTag__1(lean_object*);
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_Doc_elabTacticExtension___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Tactic_Doc_allTagsWithInfo___at_Lean_Elab_Tactic_Doc_elabPrintTacTags___spec__3___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Doc_elabPrintTacTags__1___closed__1;
|
||||
|
|
@ -8606,7 +8606,7 @@ goto block_81;
|
|||
else
|
||||
{
|
||||
lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_86 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(x_84);
|
||||
x_86 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(x_84);
|
||||
x_87 = lean_array_get_size(x_86);
|
||||
x_88 = lean_unsigned_to_nat(1u);
|
||||
x_89 = lean_nat_sub(x_87, x_88);
|
||||
|
|
|
|||
30
stage0/stdlib/Lean/Elab/Tactic/RCases.c
generated
30
stage0/stdlib/Lean/Elab/Tactic/RCases.c
generated
|
|
@ -100,6 +100,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_RCases___aux__Lean__Elab__Tactic__RC
|
|||
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_Tactic_RCases_tryClearMany_x27___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Tactic_RCases_tryClearMany_x27___spec__42(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_RCases_tryClearMany_x27___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_FVarSubst_insert(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l_Lean_AssocList_foldlM___at_Lean_Meta_FVarSubst_append___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -284,6 +285,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_RCases_evalRCases__1___close
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_RCases_rcasesCore___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_RCases_rcasesCore___rarg___lambda__6___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_RCases_termList_u03a0____x40_Lean_Elab_Tactic_RCases___hyg_539____closed__12;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_RCases_evalObtain_declRange__1___closed__6;
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
|
|
@ -292,7 +294,6 @@ uint8_t l_Lean_Expr_isMVar(lean_object*);
|
|||
lean_object* l_Lean_Meta_substCore(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_RCases___aux__Lean__Elab__Tactic__RCases______macroRules__Lean__Elab__Tactic__RCases__termList_u03a3__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_RCases_rcasesCore___spec__7(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Tactic_RCases_tryClearMany_x27___spec__33___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_RCases_RCasesPatt_instToMessageData_fmt___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_RCases_rcasesCore___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -566,7 +567,6 @@ static lean_object* l_Lean_Elab_Tactic_RCases_evalObtain___lambda__2___closed__1
|
|||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_RCases_RCasesPatt_instToMessageData_fmt___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_RCases_rintroCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_RCases_evalObtain___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Tactic_RCases_tryClearMany_x27___spec__41___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
|
|
@ -2115,7 +2115,7 @@ x_4 = lean_ctor_get(x_1, 0);
|
|||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = lean_unsigned_to_nat(1024u);
|
||||
x_7 = lean_nat_dec_le(x_6, x_2);
|
||||
x_8 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_4, x_6);
|
||||
x_8 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_4, x_6);
|
||||
x_9 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__3;
|
||||
lean_ctor_set_tag(x_1, 5);
|
||||
lean_ctor_set(x_1, 1, x_8);
|
||||
|
|
@ -2167,7 +2167,7 @@ lean_inc(x_24);
|
|||
lean_dec(x_1);
|
||||
x_26 = lean_unsigned_to_nat(1024u);
|
||||
x_27 = lean_nat_dec_le(x_26, x_2);
|
||||
x_28 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_24, x_26);
|
||||
x_28 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_24, x_26);
|
||||
x_29 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__3;
|
||||
x_30 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
|
|
@ -2221,7 +2221,7 @@ x_46 = lean_ctor_get(x_1, 0);
|
|||
x_47 = lean_ctor_get(x_1, 1);
|
||||
x_48 = lean_unsigned_to_nat(1024u);
|
||||
x_49 = lean_nat_dec_le(x_48, x_2);
|
||||
x_50 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_46, x_48);
|
||||
x_50 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_46, x_48);
|
||||
x_51 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__8;
|
||||
lean_ctor_set_tag(x_1, 5);
|
||||
lean_ctor_set(x_1, 1, x_50);
|
||||
|
|
@ -2273,7 +2273,7 @@ lean_inc(x_66);
|
|||
lean_dec(x_1);
|
||||
x_68 = lean_unsigned_to_nat(1024u);
|
||||
x_69 = lean_nat_dec_le(x_68, x_2);
|
||||
x_70 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_66, x_68);
|
||||
x_70 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_66, x_68);
|
||||
x_71 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__8;
|
||||
x_72 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
|
|
@ -2324,7 +2324,7 @@ lean_inc(x_87);
|
|||
lean_dec(x_1);
|
||||
x_88 = lean_unsigned_to_nat(1024u);
|
||||
x_89 = lean_nat_dec_le(x_88, x_2);
|
||||
x_90 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_87, x_88);
|
||||
x_90 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_87, x_88);
|
||||
x_91 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__11;
|
||||
x_92 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_91);
|
||||
|
|
@ -2369,7 +2369,7 @@ x_104 = lean_ctor_get(x_1, 0);
|
|||
x_105 = lean_ctor_get(x_1, 1);
|
||||
x_106 = lean_unsigned_to_nat(1024u);
|
||||
x_107 = lean_nat_dec_le(x_106, x_2);
|
||||
x_108 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_104, x_106);
|
||||
x_108 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_104, x_106);
|
||||
x_109 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__14;
|
||||
lean_ctor_set_tag(x_1, 5);
|
||||
lean_ctor_set(x_1, 1, x_108);
|
||||
|
|
@ -2421,7 +2421,7 @@ lean_inc(x_124);
|
|||
lean_dec(x_1);
|
||||
x_126 = lean_unsigned_to_nat(1024u);
|
||||
x_127 = lean_nat_dec_le(x_126, x_2);
|
||||
x_128 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_124, x_126);
|
||||
x_128 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_124, x_126);
|
||||
x_129 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__14;
|
||||
x_130 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_130, 0, x_129);
|
||||
|
|
@ -2476,7 +2476,7 @@ lean_inc(x_147);
|
|||
lean_dec(x_1);
|
||||
x_148 = lean_unsigned_to_nat(1024u);
|
||||
x_149 = lean_nat_dec_le(x_148, x_2);
|
||||
x_150 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_145, x_148);
|
||||
x_150 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_145, x_148);
|
||||
x_151 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__17;
|
||||
x_152 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
|
|
@ -2492,7 +2492,7 @@ lean_ctor_set(x_156, 1, x_155);
|
|||
x_157 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_157, 0, x_156);
|
||||
lean_ctor_set(x_157, 1, x_153);
|
||||
x_158 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2265____rarg(x_147, x_148);
|
||||
x_158 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2266____rarg(x_147, x_148);
|
||||
x_159 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_157);
|
||||
lean_ctor_set(x_159, 1, x_158);
|
||||
|
|
@ -2536,7 +2536,7 @@ x_171 = lean_ctor_get(x_1, 0);
|
|||
x_172 = lean_ctor_get(x_1, 1);
|
||||
x_173 = lean_unsigned_to_nat(1024u);
|
||||
x_174 = lean_nat_dec_le(x_173, x_2);
|
||||
x_175 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_171, x_173);
|
||||
x_175 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_171, x_173);
|
||||
x_176 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__20;
|
||||
lean_ctor_set(x_1, 1, x_175);
|
||||
lean_ctor_set(x_1, 0, x_176);
|
||||
|
|
@ -2587,7 +2587,7 @@ lean_inc(x_191);
|
|||
lean_dec(x_1);
|
||||
x_193 = lean_unsigned_to_nat(1024u);
|
||||
x_194 = lean_nat_dec_le(x_193, x_2);
|
||||
x_195 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_191, x_193);
|
||||
x_195 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_191, x_193);
|
||||
x_196 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__20;
|
||||
x_197 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_197, 0, x_196);
|
||||
|
|
@ -2641,7 +2641,7 @@ x_213 = lean_ctor_get(x_1, 0);
|
|||
x_214 = lean_ctor_get(x_1, 1);
|
||||
x_215 = lean_unsigned_to_nat(1024u);
|
||||
x_216 = lean_nat_dec_le(x_215, x_2);
|
||||
x_217 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_213, x_215);
|
||||
x_217 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_213, x_215);
|
||||
x_218 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__23;
|
||||
lean_ctor_set_tag(x_1, 5);
|
||||
lean_ctor_set(x_1, 1, x_217);
|
||||
|
|
@ -2693,7 +2693,7 @@ lean_inc(x_233);
|
|||
lean_dec(x_1);
|
||||
x_235 = lean_unsigned_to_nat(1024u);
|
||||
x_236 = lean_nat_dec_le(x_235, x_2);
|
||||
x_237 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_233, x_235);
|
||||
x_237 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_233, x_235);
|
||||
x_238 = l___private_Lean_Elab_Tactic_RCases_0__Lean_Elab_Tactic_RCases_reprRCasesPatt____x40_Lean_Elab_Tactic_RCases___hyg_953____closed__23;
|
||||
x_239 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_239, 0, x_238);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
|
|
@ -166,6 +166,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDec
|
|||
uint8_t l_Lean_Meta_SimpTheorems_isLemma(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs_resolveSimpIdTheorem_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_elabSimpArgs___spec__3___closed__1;
|
||||
lean_object* l_Lean_Meta_Simp_getSimprocs___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpOnly___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -270,7 +271,6 @@ static lean_object* l_Lean_Elab_Tactic_mkSimpOnly___lambda__2___closed__1;
|
|||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__20___closed__1;
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__3___closed__2;
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Elab_Tactic_elabSimpArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -18888,7 +18888,7 @@ x_292 = l_Lean_Elab_Tactic_simpOnlyBuiltins___closed__2;
|
|||
x_293 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_293, 0, x_292);
|
||||
lean_ctor_set(x_293, 1, x_291);
|
||||
x_294 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_40, x_293);
|
||||
x_294 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_40, x_293);
|
||||
lean_dec(x_293);
|
||||
if (x_294 == 0)
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Term.c
generated
6
stage0/stdlib/Lean/Elab/Term.c
generated
|
|
@ -506,6 +506,7 @@ static lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___rarg___closed__13;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___boxed(lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isAtom(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Term_mkCoe___spec__3___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__49(lean_object*, lean_object*, size_t, size_t);
|
||||
|
|
@ -829,7 +830,6 @@ LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_isLoc
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicitsInlayHint___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__5___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandDeclId___spec__17(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instToSnapshotTreeTacticParsedSnapshot_go___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_validateDocComment___at_Lean_Elab_Term_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -30619,7 +30619,7 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object* x
|
|||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_2, x_1);
|
||||
x_3 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -82355,7 +82355,7 @@ if (x_12 == 0)
|
|||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_array_uget(x_1, x_2);
|
||||
x_14 = l_Lean_Syntax_getId(x_13);
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_14, x_4);
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_14, x_4);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; size_t x_17; size_t x_18;
|
||||
|
|
|
|||
7768
stage0/stdlib/Lean/Environment.c
generated
7768
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Lean/Level.c
generated
18
stage0/stdlib/Lean/Level.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Level
|
||||
// Imports: Init.Data.Array.QSort Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Hygiene Lean.Data.Name Lean.Data.Format
|
||||
// Imports: Init.Data.Array.QSort Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Hygiene Lean.Data.Name Lean.Data.Format Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -623,7 +623,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l_Lean_Level_mkData___closed__3;
|
||||
x_3 = lean_unsigned_to_nat(46u);
|
||||
x_3 = lean_unsigned_to_nat(47u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Lean_Level_mkData___closed__4;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -2847,7 +2847,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l_Lean_Level_mvarId_x21___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(192u);
|
||||
x_3 = lean_unsigned_to_nat(193u);
|
||||
x_4 = lean_unsigned_to_nat(19u);
|
||||
x_5 = l_Lean_Level_mvarId_x21___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -4487,7 +4487,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l_Lean_Level_normalize___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(385u);
|
||||
x_3 = lean_unsigned_to_nat(386u);
|
||||
x_4 = lean_unsigned_to_nat(11u);
|
||||
x_5 = l_Lean_Level_normalize___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -7085,7 +7085,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(539u);
|
||||
x_3 = lean_unsigned_to_nat(540u);
|
||||
x_4 = lean_unsigned_to_nat(14u);
|
||||
x_5 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -7156,7 +7156,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(550u);
|
||||
x_3 = lean_unsigned_to_nat(551u);
|
||||
x_4 = lean_unsigned_to_nat(19u);
|
||||
x_5 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -7244,7 +7244,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Level_mkData___closed__2;
|
||||
x_2 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(561u);
|
||||
x_3 = lean_unsigned_to_nat(562u);
|
||||
x_4 = lean_unsigned_to_nat(20u);
|
||||
x_5 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -10932,6 +10932,7 @@ lean_object* initialize_Lean_Data_PersistentHashSet(uint8_t builtin, lean_object
|
|||
lean_object* initialize_Lean_Hygiene(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Name(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Format(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Level(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -10955,6 +10956,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Data_Format(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_instInhabitedData = _init_l_Lean_instInhabitedData();
|
||||
l_panic___at_Lean_Level_mkData___spec__1___boxed__const__1 = _init_l_panic___at_Lean_Level_mkData___spec__1___boxed__const__1();
|
||||
lean_mark_persistent(l_panic___at_Lean_Level_mkData___spec__1___boxed__const__1);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/Basic.c
generated
8
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -285,7 +285,6 @@ LEAN_EXPORT lean_object* l_Lean_LMVarId_getLevel(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withZetaDeltaSet___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withConfigWithKey___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11816_(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -478,6 +477,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec
|
|||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__48(lean_object*, lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_recordSynthPendingFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11679_(uint8_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__56;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2;
|
||||
|
|
@ -1607,6 +1607,7 @@ static lean_object* l_Lean_Meta_instInhabitedInfoCacheKey___closed__1;
|
|||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__7;
|
||||
LEAN_EXPORT uint64_t l_Lean_Meta_instHashableExprConfigCacheKey(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__6;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11827_(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getZetaDeltaFVarIds___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__7;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
|
|
@ -1674,7 +1675,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___rarg___lambda__1___boxed(lean
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11668_(uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__12;
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__59;
|
||||
|
|
@ -3068,7 +3068,7 @@ x_10 = lean_ctor_get_uint8(x_1, 7);
|
|||
x_11 = lean_ctor_get_uint8(x_1, 8);
|
||||
x_12 = lean_ctor_get_uint8(x_1, 9);
|
||||
x_13 = lean_unsigned_to_nat(0u);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11668_(x_12, x_13);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11679_(x_12, x_13);
|
||||
x_15 = l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__32;
|
||||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
|
|
@ -3078,7 +3078,7 @@ x_18 = lean_alloc_ctor(6, 1, 1);
|
|||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_17);
|
||||
x_19 = lean_ctor_get_uint8(x_1, 10);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11816_(x_19, x_13);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11827_(x_19, x_13);
|
||||
x_21 = l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__12;
|
||||
x_22 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/Closure.c
generated
6
stage0/stdlib/Lean/Meta/Closure.c
generated
|
|
@ -2653,7 +2653,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Closure_collectLevelAux___closed__1;
|
||||
x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(539u);
|
||||
x_3 = lean_unsigned_to_nat(540u);
|
||||
x_4 = lean_unsigned_to_nat(14u);
|
||||
x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -2682,7 +2682,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Closure_collectLevelAux___closed__1;
|
||||
x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__5;
|
||||
x_3 = lean_unsigned_to_nat(550u);
|
||||
x_3 = lean_unsigned_to_nat(551u);
|
||||
x_4 = lean_unsigned_to_nat(19u);
|
||||
x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__6;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -2711,7 +2711,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Closure_collectLevelAux___closed__1;
|
||||
x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__8;
|
||||
x_3 = lean_unsigned_to_nat(561u);
|
||||
x_3 = lean_unsigned_to_nat(562u);
|
||||
x_4 = lean_unsigned_to_nat(20u);
|
||||
x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__9;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
36
stage0/stdlib/Lean/Meta/Match/Match.c
generated
36
stage0/stdlib/Lean/Meta/Match/Match.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Match.Match
|
||||
// Imports: Lean.Meta.LitValues Lean.Meta.Check Lean.Meta.Closure Lean.Meta.CtorRecognizer Lean.Meta.Tactic.Cases Lean.Meta.Tactic.Contradiction Lean.Meta.GeneralizeTelescope Lean.Meta.Match.Basic Lean.Meta.Match.MatcherApp.Basic
|
||||
// Imports: Lean.Meta.LitValues Lean.Meta.Check Lean.Meta.Closure Lean.Meta.CtorRecognizer Lean.Meta.Tactic.Cases Lean.Meta.Tactic.Contradiction Lean.Meta.GeneralizeTelescope Lean.Meta.Match.Basic Lean.Meta.Match.MatcherApp.Basic Lean.Meta.Match.MVarRenaming
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -4472,7 +4472,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(194u);
|
||||
x_3 = lean_unsigned_to_nat(195u);
|
||||
x_4 = lean_unsigned_to_nat(48u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -4790,7 +4790,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(192u);
|
||||
x_3 = lean_unsigned_to_nat(193u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -10523,7 +10523,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(297u);
|
||||
x_3 = lean_unsigned_to_nat(298u);
|
||||
x_4 = lean_unsigned_to_nat(25u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -10826,7 +10826,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__2___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(341u);
|
||||
x_3 = lean_unsigned_to_nat(342u);
|
||||
x_4 = lean_unsigned_to_nat(12u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -11562,7 +11562,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__2___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(331u);
|
||||
x_3 = lean_unsigned_to_nat(332u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -13696,7 +13696,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(434u);
|
||||
x_3 = lean_unsigned_to_nat(435u);
|
||||
x_4 = lean_unsigned_to_nat(9u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -15126,7 +15126,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(500u);
|
||||
x_3 = lean_unsigned_to_nat(501u);
|
||||
x_4 = lean_unsigned_to_nat(37u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -16106,7 +16106,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(453u);
|
||||
x_3 = lean_unsigned_to_nat(454u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -16993,7 +16993,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(527u);
|
||||
x_3 = lean_unsigned_to_nat(528u);
|
||||
x_4 = lean_unsigned_to_nat(16u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -17580,7 +17580,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(521u);
|
||||
x_3 = lean_unsigned_to_nat(522u);
|
||||
x_4 = lean_unsigned_to_nat(15u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -18567,7 +18567,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(510u);
|
||||
x_3 = lean_unsigned_to_nat(511u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -19143,7 +19143,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__7___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(565u);
|
||||
x_3 = lean_unsigned_to_nat(566u);
|
||||
x_4 = lean_unsigned_to_nat(16u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -20077,7 +20077,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__7___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(543u);
|
||||
x_3 = lean_unsigned_to_nat(544u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -21487,7 +21487,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(622u);
|
||||
x_3 = lean_unsigned_to_nat(623u);
|
||||
x_4 = lean_unsigned_to_nat(16u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -22584,7 +22584,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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__1;
|
||||
x_2 = l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(598u);
|
||||
x_3 = lean_unsigned_to_nat(599u);
|
||||
x_4 = lean_unsigned_to_nat(26u);
|
||||
x_5 = l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -47949,6 +47949,7 @@ lean_object* initialize_Lean_Meta_Tactic_Contradiction(uint8_t builtin, lean_obj
|
|||
lean_object* initialize_Lean_Meta_GeneralizeTelescope(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Match_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Match_MatcherApp_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Match_MVarRenaming(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Match_Match(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -47981,6 +47982,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Match_MatcherApp_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Match_MVarRenaming(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1);
|
||||
l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__2();
|
||||
|
|
|
|||
2255
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
2255
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -128,6 +128,7 @@ static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lambda__3___closed
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___spec__18___at___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isApp(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addGrindEqAttr___closed__2;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collect___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_noConfusion___rarg___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_reprEMatchTheoremKind____x40_Lean_Meta_Tactic_Grind_EMatchTheorem___hyg_1379____closed__56;
|
||||
|
|
@ -775,7 +776,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Met
|
|||
static lean_object* l_Lean_Meta_Grind_NormalizePattern_main___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_Grind_EMatchTheorems_contains___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremCore___closed__4;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_EMatchTheorem___hyg_2570____closed__20;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_forbiddenDeclNames___closed__17;
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
|
|
@ -2239,7 +2239,7 @@ x_42 = lean_box(1);
|
|||
x_43 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_1);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
x_44 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_37, x_38);
|
||||
x_44 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_37, x_38);
|
||||
x_45 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
|
|
@ -2291,7 +2291,7 @@ x_63 = lean_box(1);
|
|||
x_64 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_62);
|
||||
lean_ctor_set(x_64, 1, x_63);
|
||||
x_65 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_57, x_58);
|
||||
x_65 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_57, x_58);
|
||||
x_66 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_64);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_internalizeImpl___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findEntryAtAux___at_Lean_Meta_Grind_addCongrTable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_addMatchEqns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_updateAppMap___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Meta_Grind_EMatchTheorems_isErased(lean_object*, lean_object*);
|
||||
|
|
@ -209,7 +210,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_
|
|||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_internalizeImpl___lambda__4___closed__1;
|
||||
lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_checkAndAddSplitCandidate___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_internalizeImpl___closed__2;
|
||||
lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_EMatchTheorems_insert___spec__9(lean_object*, lean_object*);
|
||||
|
|
@ -4625,7 +4625,7 @@ x_13 = lean_ctor_get(x_12, 0);
|
|||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_14 = l___private_Lean_Meta_Tactic_Grind_Internalize_0__Lean_Meta_Grind_forbiddenSplitTypes;
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_13, x_14);
|
||||
x_15 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_13, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_SimpTheorems_eraseCore___spec__5___closed__1;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_reprOrigin____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_82____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withSimpGlobalConfig(lean_object*);
|
||||
|
|
@ -423,7 +424,6 @@ lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isDeclToUnfold___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_addConst(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SimpTheoremsArray_eraseTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
|
|
@ -1020,7 +1020,7 @@ x_100 = lean_box(1);
|
|||
x_101 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_1);
|
||||
lean_ctor_set(x_101, 1, x_100);
|
||||
x_102 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_95, x_96);
|
||||
x_102 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_95, x_96);
|
||||
x_103 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_103, 0, x_101);
|
||||
lean_ctor_set(x_103, 1, x_102);
|
||||
|
|
@ -1072,7 +1072,7 @@ x_121 = lean_box(1);
|
|||
x_122 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_120);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
x_123 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2025_(x_115, x_116);
|
||||
x_123 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2026_(x_115, x_116);
|
||||
x_124 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_124, 0, x_122);
|
||||
lean_ctor_set(x_124, 1, x_123);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Parser/Tactic/Doc.c
generated
8
stage0/stdlib/Lean/Parser/Tactic/Doc.c
generated
|
|
@ -38,7 +38,6 @@ static lean_object* l_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Do
|
|||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_248____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Doc_isTactic___lambda__2___boxed(lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_2803____spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_810____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_810____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -453,6 +452,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Doc_isTactic___lambda__1(lean_obje
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_248____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Tactic_Doc_initFn____x40_Lean_Parser_Tactic_Doc___hyg_810____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Parser_Tactic_Doc_allTags___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_Tactic_Doc_isTactic___spec__4___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -6009,7 +6009,7 @@ lean_dec(x_1);
|
|||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(x_2);
|
||||
x_5 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(x_2);
|
||||
x_6 = lean_array_get_size(x_5);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_sub(x_6, x_7);
|
||||
|
|
@ -7499,7 +7499,7 @@ if (x_23 == 0)
|
|||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
x_24 = lean_ctor_get(x_22, 0);
|
||||
x_25 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(x_24);
|
||||
x_25 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(x_24);
|
||||
x_26 = lean_array_get_size(x_25);
|
||||
x_27 = lean_unsigned_to_nat(1u);
|
||||
x_28 = lean_nat_sub(x_26, x_27);
|
||||
|
|
@ -7549,7 +7549,7 @@ x_38 = lean_ctor_get(x_22, 1);
|
|||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_22);
|
||||
x_39 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(x_37);
|
||||
x_39 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(x_37);
|
||||
x_40 = lean_array_get_size(x_39);
|
||||
x_41 = lean_unsigned_to_nat(1u);
|
||||
x_42 = lean_nat_sub(x_40, x_41);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Parser/Types.c
generated
6
stage0/stdlib/Lean/Parser/Types.c
generated
|
|
@ -199,6 +199,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxNodeKindSet_insert(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_withResetCache(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2734____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_224_(lean_object*, lean_object*);
|
||||
|
|
@ -230,7 +231,6 @@ static lean_object* l___regBuiltin_Lean_Parser_withCache_docString__1___closed__
|
|||
lean_object* l___private_Init_Data_Array_QSort_0__Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_maxPrec;
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2733____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_back_x21___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__1(lean_object*);
|
||||
|
|
@ -1237,7 +1237,7 @@ return x_12;
|
|||
else
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2733____spec__1(x_5, x_8);
|
||||
x_13 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2734____spec__1(x_5, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_5);
|
||||
return x_13;
|
||||
|
|
@ -1523,7 +1523,7 @@ x_5 = lean_ctor_get(x_1, 2);
|
|||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2733____spec__1(x_5, x_6);
|
||||
x_7 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2734____spec__1(x_5, x_6);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_33;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/PrivateName.c
generated
6
stage0/stdlib/Lean/PrivateName.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.PrivateName
|
||||
// Imports: Init.Notation
|
||||
// Imports: Init.Notation Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -360,6 +360,7 @@ return x_5;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Init_Notation(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_PrivateName(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -368,6 +369,9 @@ _G_initialized = true;
|
|||
res = initialize_Init_Notation(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_privateHeader___closed__1 = _init_l_Lean_privateHeader___closed__1();
|
||||
lean_mark_persistent(l_Lean_privateHeader___closed__1);
|
||||
l_Lean_privateHeader___closed__2 = _init_l_Lean_privateHeader___closed__2();
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/ResolveName.c
generated
16
stage0/stdlib/Lean/ResolveName.c
generated
|
|
@ -108,6 +108,7 @@ static lean_object* l_Lean_addAlias___closed__1;
|
|||
static lean_object* l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at_Lean_resolveLocalName___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getAliasState(lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ResolveName_resolveNamespaceUsingScope_x3f___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_addAliasEntry___spec__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -182,7 +183,6 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_a
|
|||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_isReservedName___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_getRevAliases___spec__3(lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_addAliasEntry___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ResolveName___hyg_392____lambda__1___closed__3;
|
||||
|
|
@ -2314,7 +2314,7 @@ lean_dec(x_4);
|
|||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_2);
|
||||
x_11 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_10, x_9);
|
||||
x_11 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_10, x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
|
|
@ -3114,7 +3114,7 @@ LEAN_EXPORT lean_object* l_Lean_getRevAliases___lambda__1(lean_object* x_1, lean
|
|||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_1, x_4);
|
||||
x_5 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
|
|
@ -3454,7 +3454,7 @@ lean_inc(x_7);
|
|||
x_8 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_5);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_2, x_8);
|
||||
x_9 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_2, x_8);
|
||||
lean_dec(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -3634,7 +3634,7 @@ if (x_4 == 0)
|
|||
lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
x_7 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_5, x_2);
|
||||
x_7 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_5, x_2);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_ctor_set(x_1, 1, x_2);
|
||||
|
|
@ -3662,7 +3662,7 @@ x_11 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_1);
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_10, x_2);
|
||||
x_12 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_10, x_2);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13;
|
||||
|
|
@ -4387,7 +4387,7 @@ goto _start;
|
|||
else
|
||||
{
|
||||
uint8_t x_14;
|
||||
x_14 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_2, x_10);
|
||||
x_14 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_2, x_10);
|
||||
lean_dec(x_10);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -4431,7 +4431,7 @@ goto _start;
|
|||
else
|
||||
{
|
||||
uint8_t x_23;
|
||||
x_23 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_2, x_19);
|
||||
x_23 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_2, x_19);
|
||||
lean_dec(x_19);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Server/CodeActions/Basic.c
generated
4
stage0/stdlib/Lean/Server/CodeActions/Basic.c
generated
|
|
@ -27,7 +27,6 @@ static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___
|
|||
lean_object* l_Lean_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_toJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_59____lambda__1(lean_object*);
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_handleCodeActionResolve___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____lambda__4___closed__2;
|
||||
uint8_t l_Lean_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__5(lean_object*, lean_object*);
|
||||
|
|
@ -324,6 +323,7 @@ lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleHover___spec__1___
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_1538____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_fromJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_125____closed__8;
|
||||
lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1205_(lean_object*);
|
||||
lean_object* l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(lean_object*);
|
||||
lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_toJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_59____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
|
|
@ -2940,7 +2940,7 @@ lean_dec(x_7);
|
|||
x_9 = l_Lean_NameSet_instInhabited;
|
||||
x_10 = l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____lambda__5___closed__1;
|
||||
x_11 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_9, x_10, x_1, x_8);
|
||||
x_12 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__4(x_11);
|
||||
x_12 = l_Lean_RBTree_toArray___at_Lean_mkModuleData___spec__3(x_11);
|
||||
x_13 = lean_array_size(x_12);
|
||||
x_14 = 0;
|
||||
lean_inc(x_12);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
4
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
|
|
@ -54,6 +54,7 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___close
|
|||
static lean_object* l_Lean_CodeAction_findTactic_x3f_go___closed__3;
|
||||
lean_object* l_Lean_Elab_InfoTree_foldInfo___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_CodeAction_cmdCodeActionProvider___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_merge(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__7;
|
||||
|
|
@ -89,7 +90,6 @@ lean_object* l_Lean_Elab_PartialContextInfo_mergeIntoOuter_x3f(lean_object*, lea
|
|||
extern lean_object* l_Lean_CodeAction_cmdCodeActionExt;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_Server_Snapshots_Snapshot_env(lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findInfoTree_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_cmdCodeActionProvider___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -463,7 +463,7 @@ x_8 = lean_ctor_get(x_7, 0);
|
|||
lean_inc(x_8);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__12;
|
||||
x_10 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_8, x_9);
|
||||
x_10 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Completion_completeNamespaces___lambda__3
|
|||
uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getAliasState(lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_idCompletionCore___spec__1___lambda__1___closed__1;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_getCompletionKindForDecl___closed__7;
|
||||
|
|
@ -224,7 +225,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___private_Lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_Completion_forEligibleDeclsM___at___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_forEligibleDeclsWithCancellationM___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_forEligibleDeclsWithCancellationM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_isDotCompletionMethod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Server_Completion_CompletionCollectors_0__Lean_Server_Completion_idCompletionCore___spec__30___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Completion_optionCompletion___closed__6;
|
||||
|
|
@ -12152,7 +12152,7 @@ lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
|||
x_23 = lean_ctor_get(x_7, 1);
|
||||
x_24 = lean_ctor_get(x_22, 0);
|
||||
x_25 = lean_ctor_get(x_22, 1);
|
||||
x_26 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_3, x_25);
|
||||
x_26 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_3, x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
|
|
|
|||
|
|
@ -94,13 +94,13 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Server_Completion_CompletionInfoSelection_0__Lean_Server_Completion_computePrioritizedCompletionPartitions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Completion_findCompletionInfosAt_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2734____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_groupByKey___at___private_Lean_Server_Completion_CompletionInfoSelection_0__Lean_Server_Completion_computePrioritizedCompletionPartitions___spec__1___closed__4;
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
static lean_object* l_Lean_Server_Completion_findCompletionInfosAt_go___lambda__3___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Array_QSort_0__Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2733____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Server_Completion_CompletionInfoSelection_0__Lean_Server_Completion_computePrioritizedCompletionPartitions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -332,7 +332,7 @@ return x_40;
|
|||
else
|
||||
{
|
||||
uint8_t x_41;
|
||||
x_41 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2733____spec__1(x_36, x_38);
|
||||
x_41 = l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2734____spec__1(x_36, x_38);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_36);
|
||||
return x_41;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__25(lean_object*, uint8_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__7(lean_object*, lean_object*, size_t, size_t);
|
||||
uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -62,7 +63,6 @@ lean_object* l_Array_erase___at_Lean_getAllParentStructures___spec__1(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Structure_0__Lean_setStructureResolutionOrder___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__26___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mergeStructureResolutionOrders_selectParent___at_Lean_Server_Completion_getDotCompletionTypeNames_visit___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -197,7 +197,7 @@ lean_inc(x_11);
|
|||
lean_dec(x_8);
|
||||
lean_inc(x_2);
|
||||
x_12 = l_Lean_Server_Completion_minimizeGlobalIdentifierInContext_shortenIn(x_2, x_10);
|
||||
x_13 = l_List_elem___at_Lean_Environment_realizeConst___spec__5(x_12, x_11);
|
||||
x_13 = l_List_elem___at_Lean_Environment_realizeConst___spec__6(x_12, x_11);
|
||||
lean_dec(x_11);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
|||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3___closed__7;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_addCommentAt___spec__2(lean_object*, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_repeatTR_loop___at___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_addCommentAt___spec__1(uint32_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -36,7 +37,6 @@ lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_repeatTR_loop___at___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_addCommentAt___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_Hover_rewriteExamples___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1017,7 +1017,7 @@ x_11 = lean_ctor_get(x_8, 1);
|
|||
lean_inc(x_11);
|
||||
lean_dec(x_8);
|
||||
x_12 = l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines___closed__2;
|
||||
x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3478_(x_9, x_10);
|
||||
x_13 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_3479_(x_9, x_10);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Server/Test/Runner.c
generated
4
stage0/stdlib/Lean/Server/Test/Runner.c
generated
|
|
@ -284,7 +284,6 @@ static lean_object* l___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runn
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_407____at___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_fromJsonHyp____x40_Lean_Server_Test_Runner___hyg_233____spec__2___lambda__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_fromJsonInteractiveGoals____x40_Lean_Server_Test_Runner___hyg_852____closed__8;
|
||||
static lean_object* l_Lean_Server_Test_Runner_main_readFirstResponse___closed__17;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_GetWidgetsResponse_debugJson___spec__1___closed__2;
|
||||
static lean_object* l___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_reprInteractiveGoals____x40_Lean_Server_Test_Runner___hyg_919____closed__7;
|
||||
static lean_object* l_Lean_Server_Test_Runner_main_readFirstResponse___closed__57;
|
||||
|
|
@ -486,6 +485,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Server_Test_Runner_main___spec__32___lambda__6___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Test_Runner_instFromJsonGetWidgetsResponse;
|
||||
static lean_object* l_Lean_Server_Test_Runner_main_readFirstResponse___closed__33;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_fromJsonInteractiveGoals____x40_Lean_Server_Test_Runner___hyg_852____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_reprHyp____x40_Lean_Server_Test_Runner___hyg_417____spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Test_Runner_main___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3346,7 +3346,7 @@ if (x_22 == 0)
|
|||
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
x_33 = lean_array_to_list(x_20);
|
||||
x_34 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_225____at___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_reprHyp____x40_Lean_Server_Test_Runner___hyg_417____spec__1___closed__9;
|
||||
x_35 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_33, x_34);
|
||||
x_35 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_33, x_34);
|
||||
x_36 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_225____at___private_Lean_Server_Test_Runner_0__Lean_Server_Test_Runner_Client_reprHyp____x40_Lean_Server_Test_Runner___hyg_417____spec__1___closed__13;
|
||||
x_37 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Syntax.c
generated
8
stage0/stdlib/Lean/Syntax.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Syntax
|
||||
// Imports: Init.Data.Range Init.Data.Hashable Lean.Data.Name Lean.Data.Format
|
||||
// Imports: Init.Data.Range Init.Data.Hashable Lean.Data.Name Lean.Data.Format Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -4990,7 +4990,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Syntax_identComponents___closed__1;
|
||||
x_2 = l_Lean_Syntax_identComponents___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(316u);
|
||||
x_3 = lean_unsigned_to_nat(317u);
|
||||
x_4 = lean_unsigned_to_nat(9u);
|
||||
x_5 = l_Lean_Syntax_identComponents___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -9807,6 +9807,7 @@ lean_object* initialize_Init_Data_Range(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Data_Hashable(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Name(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Format(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Syntax(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -9824,6 +9825,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Data_Format(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_String_instInhabitedRange___closed__1 = _init_l_String_instInhabitedRange___closed__1();
|
||||
lean_mark_persistent(l_String_instInhabitedRange___closed__1);
|
||||
l_String_instInhabitedRange = _init_l_String_instInhabitedRange();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Util/MonadBacktrack.c
generated
6
stage0/stdlib/Lean/Util/MonadBacktrack.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Util.MonadBacktrack
|
||||
// Imports: Init.Control.Except
|
||||
// Imports: Init.Control.Except Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -795,6 +795,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Init_Control_Except(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Util_MonadBacktrack(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -803,6 +804,9 @@ _G_initialized = true;
|
|||
res = initialize_Init_Control_Except(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_commitWhenSome_x3f___rarg___lambda__1___closed__1 = _init_l_Lean_commitWhenSome_x3f___rarg___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_commitWhenSome_x3f___rarg___lambda__1___closed__1);
|
||||
l_Lean_withoutModifyingState___rarg___lambda__3___closed__1 = _init_l_Lean_withoutModifyingState___rarg___lambda__3___closed__1();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Util/SCC.c
generated
6
stage0/stdlib/Lean/Util/SCC.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Util.SCC
|
||||
// Imports: Std.Data.HashMap.Basic
|
||||
// Imports: Std.Data.HashMap.Basic Init.Data.Option.Coe
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -2750,6 +2750,7 @@ return x_2;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Std_Data_HashMap_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Option_Coe(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Util_SCC(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -2758,6 +2759,9 @@ _G_initialized = true;
|
|||
res = initialize_Std_Data_HashMap_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Coe(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg___closed__1 = _init_l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg___closed__1);
|
||||
l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___rarg___closed__1 = _init_l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___rarg___closed__1();
|
||||
|
|
|
|||
6
stage0/stdlib/Std.c
generated
6
stage0/stdlib/Std.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Std
|
||||
// Imports: Std.Data Std.Sat Std.Sync Std.Time Std.Tactic Std.Internal Std.Net
|
||||
// Imports: Std.Classes Std.Data Std.Sat Std.Sync Std.Time Std.Tactic Std.Internal Std.Net
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* initialize_Std_Classes(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Data(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Sat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Sync(uint8_t builtin, lean_object*);
|
||||
|
|
@ -25,6 +26,9 @@ LEAN_EXPORT lean_object* initialize_Std(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_Std_Classes(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Data(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
107
stage0/stdlib/Std/Sync/Mutex.c
generated
107
stage0/stdlib/Std/Sync/Mutex.c
generated
|
|
@ -23,6 +23,7 @@ LEAN_EXPORT lean_object* l_Std_Mutex_atomically___rarg___lambda__1(lean_object*,
|
|||
lean_object* lean_io_condvar_notify_one(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_new___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Condvar_waitUntil___at_Std_Mutex_atomicallyOnce___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Condvar_wait___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_atomicallyOnce___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Condvar_new___boxed(lean_object*);
|
||||
|
|
@ -41,7 +42,7 @@ LEAN_EXPORT lean_object* l_Std_instCoeOutMutexBaseMutex___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_Mutex_atomically___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Std_Mutex_atomicallyOnce___spec__3(lean_object*, lean_object*);
|
||||
lean_object* lean_io_basemutex_lock(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Condvar_waitUntil___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Std_Mutex_atomicallyOnce___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_BaseMutex_lock___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -58,7 +59,7 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Condvar_waitUntil___spe
|
|||
LEAN_EXPORT lean_object* l_Std_Condvar_notifyAll___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_io_basemutex_try_lock(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_BaseMutex_unlock___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* lean_io_basemutex_unlock(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Mutex_atomicallyOnce___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Condvar_waitUntil___rarg___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -71,7 +72,7 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Condvar_waitUntil___spe
|
|||
lean_object* lean_io_condvar_notify_all(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Mutex_atomicallyOnce___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_atomically___rarg___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_condvar_wait(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Mutex_atomicallyOnce___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_atomicallyOnce___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -621,68 +622,72 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
x_5 = lean_apply_2(x_3, lean_box(0), x_4);
|
||||
return x_5;
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8) {
|
||||
static lean_object* _init_l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
if (x_8 == 0)
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Mutex_tryAtomically___rarg___lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_7);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_9);
|
||||
x_11 = lean_box(0);
|
||||
x_12 = lean_apply_2(x_10, lean_box(0), x_11);
|
||||
return x_12;
|
||||
x_9 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_apply_2(x_9, lean_box(0), x_10);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_13);
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_12 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_apply_1(x_3, x_15);
|
||||
x_17 = lean_alloc_closure((void*)(l_Std_Mutex_tryAtomically___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_17, 0, x_13);
|
||||
x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17);
|
||||
x_17 = l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
lean_inc(x_14);
|
||||
x_18 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_17, x_16);
|
||||
x_19 = lean_alloc_closure((void*)(l_Std_BaseMutex_unlock___boxed), 2, 1);
|
||||
lean_closure_set(x_19, 0, x_5);
|
||||
x_20 = lean_apply_2(x_6, lean_box(0), x_19);
|
||||
lean_closure_set(x_19, 0, x_4);
|
||||
x_20 = lean_apply_2(x_5, lean_box(0), x_19);
|
||||
x_21 = lean_alloc_closure((void*)(l_Std_Mutex_atomically___rarg___lambda__2___boxed), 2, 1);
|
||||
lean_closure_set(x_21, 0, x_20);
|
||||
x_22 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_14);
|
||||
x_24 = l_Std_Mutex_atomically___rarg___closed__1;
|
||||
x_25 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_24, x_22);
|
||||
return x_25;
|
||||
x_22 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = l_Std_Mutex_atomically___rarg___closed__1;
|
||||
x_24 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -699,15 +704,13 @@ x_8 = lean_alloc_closure((void*)(l_Std_BaseMutex_tryLock___boxed), 2, 1);
|
|||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_apply_2(x_2, lean_box(0), x_8);
|
||||
lean_inc(x_6);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed), 8, 7);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed), 7, 6);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
lean_closure_set(x_10, 1, x_4);
|
||||
lean_closure_set(x_10, 2, x_5);
|
||||
lean_closure_set(x_10, 3, x_6);
|
||||
lean_closure_set(x_10, 4, x_7);
|
||||
lean_closure_set(x_10, 5, x_2);
|
||||
lean_closure_set(x_10, 6, x_3);
|
||||
lean_closure_set(x_10, 3, x_7);
|
||||
lean_closure_set(x_10, 4, x_2);
|
||||
lean_closure_set(x_10, 5, x_3);
|
||||
x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
|
|
@ -720,14 +723,14 @@ x_4 = lean_alloc_closure((void*)(l_Std_Mutex_tryAtomically___rarg), 5, 0);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Std_Mutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Std_Mutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9);
|
||||
return x_10;
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Std_Mutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Std_Mutex_atomicallyOnce___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -1052,6 +1055,8 @@ l_Lean_Loop_forIn_loop___at_Std_Condvar_waitUntil___spec__1___rarg___lambda__2__
|
|||
lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Std_Condvar_waitUntil___spec__1___rarg___lambda__2___closed__1);
|
||||
l_Std_Mutex_atomically___rarg___closed__1 = _init_l_Std_Mutex_atomically___rarg___closed__1();
|
||||
lean_mark_persistent(l_Std_Mutex_atomically___rarg___closed__1);
|
||||
l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1 = _init_l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Std_Mutex_tryAtomically___rarg___lambda__2___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
107
stage0/stdlib/Std/Sync/RecursiveMutex.c
generated
107
stage0/stdlib/Std/Sync/RecursiveMutex.c
generated
|
|
@ -15,7 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
LEAN_EXPORT lean_object* l_Std_instCoeOutRecursiveMutexBaseRecursiveMutex(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_BaseRecursiveMutex_unlock___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_io_baserecmutex_try_lock(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_instCoeOutRecursiveMutexBaseRecursiveMutex___rarg___boxed(lean_object*);
|
||||
|
|
@ -30,14 +30,15 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_baserecmutex_lock(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_atomically___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1(lean_object*);
|
||||
lean_object* lean_io_baserecmutex_new(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_BaseRecursiveMutex_lock___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_atomically___rarg___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Sync_RecursiveMutex_0__Std_RecursiveMutexImpl;
|
||||
static lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_instCoeOutRecursiveMutexBaseRecursiveMutex___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_atomically___rarg___lambda__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_atomically___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_new___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_RecursiveMutex_atomically___rarg___closed__1;
|
||||
|
|
@ -318,68 +319,72 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
x_5 = lean_apply_2(x_3, lean_box(0), x_4);
|
||||
return x_5;
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8) {
|
||||
static lean_object* _init_l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
if (x_8 == 0)
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_7);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_9);
|
||||
x_11 = lean_box(0);
|
||||
x_12 = lean_apply_2(x_10, lean_box(0), x_11);
|
||||
return x_12;
|
||||
x_9 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_apply_2(x_9, lean_box(0), x_10);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_13);
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_12 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_apply_1(x_3, x_15);
|
||||
x_17 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_tryAtomically___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_17, 0, x_13);
|
||||
x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17);
|
||||
x_17 = l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
lean_inc(x_14);
|
||||
x_18 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_17, x_16);
|
||||
x_19 = lean_alloc_closure((void*)(l_Std_BaseRecursiveMutex_unlock___boxed), 2, 1);
|
||||
lean_closure_set(x_19, 0, x_5);
|
||||
x_20 = lean_apply_2(x_6, lean_box(0), x_19);
|
||||
lean_closure_set(x_19, 0, x_4);
|
||||
x_20 = lean_apply_2(x_5, lean_box(0), x_19);
|
||||
x_21 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_atomically___rarg___lambda__2___boxed), 2, 1);
|
||||
lean_closure_set(x_21, 0, x_20);
|
||||
x_22 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_14);
|
||||
x_24 = l_Std_RecursiveMutex_atomically___rarg___closed__1;
|
||||
x_25 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_24, x_22);
|
||||
return x_25;
|
||||
x_22 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = l_Std_RecursiveMutex_atomically___rarg___closed__1;
|
||||
x_24 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -396,15 +401,13 @@ x_8 = lean_alloc_closure((void*)(l_Std_BaseRecursiveMutex_tryLock___boxed), 2, 1
|
|||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_apply_2(x_2, lean_box(0), x_8);
|
||||
lean_inc(x_6);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed), 8, 7);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed), 7, 6);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
lean_closure_set(x_10, 1, x_4);
|
||||
lean_closure_set(x_10, 2, x_5);
|
||||
lean_closure_set(x_10, 3, x_6);
|
||||
lean_closure_set(x_10, 4, x_7);
|
||||
lean_closure_set(x_10, 5, x_2);
|
||||
lean_closure_set(x_10, 6, x_3);
|
||||
lean_closure_set(x_10, 3, x_7);
|
||||
lean_closure_set(x_10, 4, x_2);
|
||||
lean_closure_set(x_10, 5, x_3);
|
||||
x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
|
|
@ -417,14 +420,14 @@ x_4 = lean_alloc_closure((void*)(l_Std_RecursiveMutex_tryAtomically___rarg), 5,
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9);
|
||||
return x_10;
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Std_Sync_Basic(uint8_t builtin, lean_object*);
|
||||
|
|
@ -439,6 +442,8 @@ lean_dec_ref(res);
|
|||
l___private_Std_Sync_RecursiveMutex_0__Std_RecursiveMutexImpl = _init_l___private_Std_Sync_RecursiveMutex_0__Std_RecursiveMutexImpl();
|
||||
l_Std_RecursiveMutex_atomically___rarg___closed__1 = _init_l_Std_RecursiveMutex_atomically___rarg___closed__1();
|
||||
lean_mark_persistent(l_Std_RecursiveMutex_atomically___rarg___closed__1);
|
||||
l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1 = _init_l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Std_RecursiveMutex_tryAtomically___rarg___lambda__2___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
133
stage0/stdlib/Std/Sync/SharedMutex.c
generated
133
stage0/stdlib/Std/Sync/SharedMutex.c
generated
|
|
@ -22,7 +22,8 @@ lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Std_instCoeOutSharedMutexBaseSharedMutex___rarg(lean_object*);
|
||||
lean_object* lean_io_basesharedmutex_try_read(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomicallyRead___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -37,7 +38,7 @@ LEAN_EXPORT lean_object* l_Std_BaseSharedMutex_unlockRead___boxed(lean_object*,
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomicallyRead___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_SharedMutex_atomically___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_BaseSharedMutex_write___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomically___rarg___lambda__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomically___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -53,9 +54,9 @@ LEAN_EXPORT lean_object* l_Std_BaseSharedMutex_new___boxed(lean_object*);
|
|||
lean_object* lean_io_basesharedmutex_try_write(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_instCoeOutSharedMutexBaseSharedMutex(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* lean_io_basesharedmutex_read(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomically___rarg___lambda__2(lean_object*, lean_object*);
|
||||
static lean_object* _init_l___private_Std_Sync_SharedMutex_0__Std_SharedMutexImpl() {
|
||||
|
|
@ -361,68 +362,72 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
x_5 = lean_apply_2(x_3, lean_box(0), x_4);
|
||||
return x_5;
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8) {
|
||||
static lean_object* _init_l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
if (x_8 == 0)
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg___lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_7);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_9);
|
||||
x_11 = lean_box(0);
|
||||
x_12 = lean_apply_2(x_10, lean_box(0), x_11);
|
||||
return x_12;
|
||||
x_9 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_apply_2(x_9, lean_box(0), x_10);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_13);
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_12 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_apply_1(x_3, x_15);
|
||||
x_17 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_17, 0, x_13);
|
||||
x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17);
|
||||
x_17 = l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
lean_inc(x_14);
|
||||
x_18 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_17, x_16);
|
||||
x_19 = lean_alloc_closure((void*)(l_Std_BaseSharedMutex_unlockWrite___boxed), 2, 1);
|
||||
lean_closure_set(x_19, 0, x_5);
|
||||
x_20 = lean_apply_2(x_6, lean_box(0), x_19);
|
||||
lean_closure_set(x_19, 0, x_4);
|
||||
x_20 = lean_apply_2(x_5, lean_box(0), x_19);
|
||||
x_21 = lean_alloc_closure((void*)(l_Std_SharedMutex_atomically___rarg___lambda__2___boxed), 2, 1);
|
||||
lean_closure_set(x_21, 0, x_20);
|
||||
x_22 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_14);
|
||||
x_24 = l_Std_SharedMutex_atomically___rarg___closed__1;
|
||||
x_25 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_24, x_22);
|
||||
return x_25;
|
||||
x_22 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_21);
|
||||
x_23 = l_Std_SharedMutex_atomically___rarg___closed__1;
|
||||
x_24 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -439,15 +444,13 @@ x_8 = lean_alloc_closure((void*)(l_Std_BaseSharedMutex_tryWrite___boxed), 2, 1);
|
|||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_apply_2(x_2, lean_box(0), x_8);
|
||||
lean_inc(x_6);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed), 8, 7);
|
||||
x_10 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed), 7, 6);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
lean_closure_set(x_10, 1, x_4);
|
||||
lean_closure_set(x_10, 2, x_5);
|
||||
lean_closure_set(x_10, 3, x_6);
|
||||
lean_closure_set(x_10, 4, x_7);
|
||||
lean_closure_set(x_10, 5, x_2);
|
||||
lean_closure_set(x_10, 6, x_3);
|
||||
lean_closure_set(x_10, 3, x_7);
|
||||
lean_closure_set(x_10, 4, x_2);
|
||||
lean_closure_set(x_10, 5, x_3);
|
||||
x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
|
|
@ -460,14 +463,14 @@ x_4 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg), 5, 0);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomically___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Std_SharedMutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9);
|
||||
return x_10;
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Std_SharedMutex_tryAtomically___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_atomicallyRead___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -544,14 +547,16 @@ lean_dec(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_5 = lean_apply_1(x_1, x_4);
|
||||
x_6 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomically___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_6, 0, x_2);
|
||||
x_7 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_5, x_6);
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_3);
|
||||
x_6 = l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1;
|
||||
x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_5);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -585,6 +590,7 @@ lean_inc(x_13);
|
|||
lean_dec(x_1);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -594,11 +600,10 @@ lean_closure_set(x_16, 1, lean_box(0));
|
|||
lean_closure_set(x_16, 2, x_15);
|
||||
lean_inc(x_3);
|
||||
x_17 = lean_apply_2(x_3, lean_box(0), x_16);
|
||||
lean_inc(x_5);
|
||||
x_18 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1), 4, 3);
|
||||
lean_closure_set(x_18, 0, x_4);
|
||||
lean_closure_set(x_18, 1, x_13);
|
||||
lean_closure_set(x_18, 2, x_5);
|
||||
lean_inc(x_14);
|
||||
x_18 = lean_alloc_closure((void*)(l_Std_SharedMutex_tryAtomicallyRead___rarg___lambda__1), 3, 2);
|
||||
lean_closure_set(x_18, 0, x_14);
|
||||
lean_closure_set(x_18, 1, x_4);
|
||||
x_19 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_17, x_18);
|
||||
x_20 = lean_alloc_closure((void*)(l_Std_BaseSharedMutex_unlockRead___boxed), 2, 1);
|
||||
lean_closure_set(x_20, 0, x_6);
|
||||
|
|
@ -671,6 +676,8 @@ lean_dec_ref(res);
|
|||
l___private_Std_Sync_SharedMutex_0__Std_SharedMutexImpl = _init_l___private_Std_Sync_SharedMutex_0__Std_SharedMutexImpl();
|
||||
l_Std_SharedMutex_atomically___rarg___closed__1 = _init_l_Std_SharedMutex_atomically___rarg___closed__1();
|
||||
lean_mark_persistent(l_Std_SharedMutex_atomically___rarg___closed__1);
|
||||
l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1 = _init_l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Std_SharedMutex_tryAtomically___rarg___lambda__2___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -1,89 +0,0 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations
|
||||
// Imports: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Add Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Append Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Eq Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Extract Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.GetLsbD Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Mul Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Not Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Replicate Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.RotateLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.RotateRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.ShiftLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.ShiftRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Ult Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.ZeroExtend Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Udiv Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Operations.Umod
|
||||
#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* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Add(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Append(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Eq(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Extract(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_GetLsbD(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Mul(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Not(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Replicate(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_RotateLeft(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_RotateRight(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ShiftLeft(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ShiftRight(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Ult(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ZeroExtend(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Udiv(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Umod(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations(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_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Add(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Append(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Eq(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Extract(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_GetLsbD(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Mul(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Not(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Replicate(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_RotateLeft(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_RotateRight(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ShiftLeft(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ShiftRight(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Ult(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_ZeroExtend(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Udiv(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Operations_Umod(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations
|
||||
// Imports: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Add Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Append Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Eq Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Extract Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.GetLsbD Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Mul Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Not Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Replicate Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Ult Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ZeroExtend
|
||||
#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* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Add(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Append(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Eq(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Extract(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_GetLsbD(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Mul(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Not(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Replicate(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_RotateLeft(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_RotateRight(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftLeft(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftRight(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Ult(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ZeroExtend(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations(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_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Add(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Append(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Eq(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Extract(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_GetLsbD(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Mul(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Not(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Replicate(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_RotateLeft(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_RotateRight(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftLeft(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftRight(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Ult(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ZeroExtend(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
65
stage0/stdlib/Std/Tactic/BVDecide/LRAT/Internal.c
generated
65
stage0/stdlib/Std/Tactic/BVDecide/LRAT/Internal.c
generated
|
|
@ -1,65 +0,0 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Tactic.BVDecide.LRAT.Internal
|
||||
// Imports: Std.Tactic.BVDecide.LRAT.Internal.Actions Std.Tactic.BVDecide.LRAT.Internal.Assignment Std.Tactic.BVDecide.LRAT.Internal.CNF Std.Tactic.BVDecide.LRAT.Internal.Formula Std.Tactic.BVDecide.LRAT.Internal.Entails Std.Tactic.BVDecide.LRAT.Internal.Clause Std.Tactic.BVDecide.LRAT.Internal.LRATChecker Std.Tactic.BVDecide.LRAT.Internal.LRATCheckerSound Std.Tactic.BVDecide.LRAT.Internal.PosFin Std.Tactic.BVDecide.LRAT.Internal.Convert
|
||||
#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* initialize_Std_Tactic_BVDecide_LRAT_Internal_Actions(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_Assignment(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_CNF(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_Formula(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_Entails(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_Clause(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_LRATChecker(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_PosFin(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal_Convert(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Tactic_BVDecide_LRAT_Internal(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_Std_Tactic_BVDecide_LRAT_Internal_Actions(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_Assignment(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_CNF(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_Formula(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_Entails(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_Clause(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_LRATChecker(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_LRATCheckerSound(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_PosFin(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_BVDecide_LRAT_Internal_Convert(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
133
stage0/stdlib/Std/Time/Zoned/Database/TZdb.c
generated
133
stage0/stdlib/Std/Time/Zoned/Database/TZdb.c
generated
|
|
@ -30,13 +30,11 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Database_TZdb_default___closed__9;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Database_TZdb_inst___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Database_TZdb_inst;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_Time_Database_TZdb_inst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Database_TZdb_parseTZIfFromDisk___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Database_TZdb_inst___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Database_TZdb_inst___lambda__1___closed__2;
|
||||
static lean_object* l_Std_Time_Database_TZdb_parseTZIfFromDisk___closed__1;
|
||||
static lean_object* l_Std_Time_Database_TZdb_default___closed__4;
|
||||
|
|
@ -80,7 +78,6 @@ lean_object* lean_array_get_size(lean_object*);
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l_Std_Time_Database_TZdb_default___closed__6;
|
||||
lean_object* l_IO_FS_readBinFile(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Database_TZdb_idFromPath___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_Time_Database_TZdb_inst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Database_TZdb_inst___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Database_TZdb_inst___lambda__4(lean_object*, lean_object*);
|
||||
|
|
@ -395,43 +392,6 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = 1;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = 0;
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = 0;
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_string_dec_eq(x_6, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Database_TZdb_idFromPath___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -443,16 +403,6 @@ return x_1;
|
|||
static lean_object* _init_l_Std_Time_Database_TZdb_idFromPath___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Time_Database_TZdb_idFromPath___closed__1;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Database_TZdb_idFromPath___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("/", 1, 1);
|
||||
return x_1;
|
||||
|
|
@ -497,73 +447,58 @@ return x_13;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = lean_array_fget(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
x_16 = l_Std_Time_Database_TZdb_idFromPath___closed__2;
|
||||
x_17 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1(x_15, x_16);
|
||||
lean_dec(x_15);
|
||||
if (x_17 == 0)
|
||||
x_15 = l_Std_Time_Database_TZdb_idFromPath___closed__1;
|
||||
x_16 = lean_string_dec_eq(x_14, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_18 = lean_string_utf8_byte_size(x_14);
|
||||
x_19 = lean_unsigned_to_nat(0u);
|
||||
x_20 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_14, x_18, x_19);
|
||||
x_21 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_14, x_20, x_18);
|
||||
x_22 = lean_string_utf8_extract(x_14, x_20, x_21);
|
||||
lean_dec(x_21);
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_17 = lean_string_utf8_byte_size(x_14);
|
||||
x_18 = lean_unsigned_to_nat(0u);
|
||||
x_19 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_14, x_17, x_18);
|
||||
x_20 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_14, x_19, x_17);
|
||||
x_21 = lean_string_utf8_extract(x_14, x_19, x_20);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_14);
|
||||
x_23 = l_Std_Time_Database_TZdb_idFromPath___closed__3;
|
||||
x_24 = lean_string_append(x_22, x_23);
|
||||
x_25 = lean_string_utf8_byte_size(x_9);
|
||||
x_26 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_9, x_25, x_19);
|
||||
x_27 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_9, x_26, x_25);
|
||||
x_28 = lean_string_utf8_extract(x_9, x_26, x_27);
|
||||
lean_dec(x_27);
|
||||
x_22 = l_Std_Time_Database_TZdb_idFromPath___closed__2;
|
||||
x_23 = lean_string_append(x_21, x_22);
|
||||
x_24 = lean_string_utf8_byte_size(x_9);
|
||||
x_25 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_9, x_24, x_18);
|
||||
x_26 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_9, x_25, x_24);
|
||||
x_27 = lean_string_utf8_extract(x_9, x_25, x_26);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_9);
|
||||
x_29 = lean_string_append(x_24, x_28);
|
||||
lean_dec(x_28);
|
||||
x_30 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
return x_30;
|
||||
x_28 = lean_string_append(x_23, x_27);
|
||||
lean_dec(x_27);
|
||||
x_29 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
lean_dec(x_14);
|
||||
x_31 = lean_string_utf8_byte_size(x_9);
|
||||
x_32 = lean_unsigned_to_nat(0u);
|
||||
x_33 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_9, x_31, x_32);
|
||||
x_34 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_9, x_33, x_31);
|
||||
x_35 = lean_string_utf8_extract(x_9, x_33, x_34);
|
||||
lean_dec(x_34);
|
||||
x_30 = lean_string_utf8_byte_size(x_9);
|
||||
x_31 = lean_unsigned_to_nat(0u);
|
||||
x_32 = l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(x_9, x_30, x_31);
|
||||
x_33 = l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(x_9, x_32, x_30);
|
||||
x_34 = lean_string_utf8_extract(x_9, x_32, x_33);
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_9);
|
||||
x_36 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
return x_36;
|
||||
x_35 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__Option_decEqOption____x40_Init_Data_Option_Basic___hyg_4____at_Std_Time_Database_TZdb_idFromPath___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Database_TZdb_localRules___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1229,8 +1164,6 @@ l_Std_Time_Database_TZdb_idFromPath___closed__1 = _init_l_Std_Time_Database_TZdb
|
|||
lean_mark_persistent(l_Std_Time_Database_TZdb_idFromPath___closed__1);
|
||||
l_Std_Time_Database_TZdb_idFromPath___closed__2 = _init_l_Std_Time_Database_TZdb_idFromPath___closed__2();
|
||||
lean_mark_persistent(l_Std_Time_Database_TZdb_idFromPath___closed__2);
|
||||
l_Std_Time_Database_TZdb_idFromPath___closed__3 = _init_l_Std_Time_Database_TZdb_idFromPath___closed__3();
|
||||
lean_mark_persistent(l_Std_Time_Database_TZdb_idFromPath___closed__3);
|
||||
l_Std_Time_Database_TZdb_localRules___closed__1 = _init_l_Std_Time_Database_TZdb_localRules___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Database_TZdb_localRules___closed__1);
|
||||
l_Std_Time_Database_TZdb_localRules___closed__2 = _init_l_Std_Time_Database_TZdb_localRules___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Std/Time/Zoned/Database/TzIf.c
generated
4
stage0/stdlib/Std/Time/Zoned/Database/TzIf.c
generated
|
|
@ -146,7 +146,6 @@ LEAN_EXPORT lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_Ti
|
|||
lean_object* lean_array_to_list(lean_object*);
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZifV1____x40_Std_Time_Zoned_Database_TzIf___hyg_532____closed__21;
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprHeader____x40_Std_Time_Zoned_Database_TzIf___hyg_76____closed__13;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprHeader____x40_Std_Time_Zoned_Database_TzIf___hyg_76____closed__25;
|
||||
static lean_object* l_Option_repr___at___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZifV2____x40_Std_Time_Zoned_Database_TzIf___hyg_748____spec__1___closed__2;
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprLocalTimeType____x40_Std_Time_Zoned_Database_TzIf___hyg_278____closed__2;
|
||||
|
|
@ -234,6 +233,7 @@ static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZon
|
|||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprHeader____x40_Std_Time_Zoned_Database_TzIf___hyg_76____closed__24;
|
||||
static lean_object* l_Std_Time_TimeZone_TZif_instReprLocalTimeType___closed__1;
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprLocalTimeType____x40_Std_Time_Zoned_Database_TzIf___hyg_278____closed__11;
|
||||
lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_repr___at___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZifV1____x40_Std_Time_Zoned_Database_TzIf___hyg_532____spec__3(lean_object*);
|
||||
static lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZif____x40_Std_Time_Zoned_Database_TzIf___hyg_838____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_manyN(lean_object*);
|
||||
|
|
@ -2614,7 +2614,7 @@ if (x_31 == 0)
|
|||
lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167;
|
||||
x_157 = lean_array_to_list(x_29);
|
||||
x_158 = l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZifV1____x40_Std_Time_Zoned_Database_TzIf___hyg_532____closed__23;
|
||||
x_159 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1911____spec__3(x_157, x_158);
|
||||
x_159 = l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1912____spec__3(x_157, x_158);
|
||||
x_160 = l___private_Std_Time_Zoned_Database_TzIf_0__Std_Time_TimeZone_TZif_reprTZifV1____x40_Std_Time_Zoned_Database_TzIf___hyg_532____closed__27;
|
||||
x_161 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_161, 0, x_160);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue