chore: update stage0
This commit is contained in:
parent
34cf4575f3
commit
1b63e7dfc6
102 changed files with 279535 additions and 257988 deletions
75
stage0/stdlib/Init/Data/Nat/ToString.c
generated
75
stage0/stdlib/Init/Data/Nat/ToString.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Nat.ToString
|
||||
// Imports: public import Init.Data.Repr public import Init.Data.Char.Basic public import Init.Data.ToString.Basic public import Init.Data.String.Basic import Init.NotationExtra import all Init.Data.Repr import Init.Omega import Init.RCases import Init.Data.Nat.Lemmas import Init.Data.Nat.Bitwise import Init.Data.Nat.Simproc import Init.WFTactics import Init.Data.Char.Lemmas
|
||||
// Imports: public import Init.Data.Repr public import Init.Data.Char.Basic public import Init.Data.ToString.Basic public import Init.Data.String.Basic import Init.NotationExtra import all Init.Data.Repr import Init.Omega import Init.RCases import Init.Data.Nat.Lemmas import Init.Data.Nat.Bitwise import Init.Data.Nat.Simproc import Init.WFTactics import Init.Data.Char.Lemmas import Init.Data.Nat.Div.Lemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -13,12 +13,19 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_ToString_0__Nat_toDigitsCore_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_ToString_0__Nat_toDigitsCore_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_ToString_0__Nat_toDigitsCore_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_ToString_0__Nat_toDigitsCore_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Nat_ofDigitChars_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Nat_ofDigitChars_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_ofDigitChars(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_ofDigitChars___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_ToString_0__Nat_toDigitsCore_match__1_splitter___redArg(lean_object* v_x_1_, lean_object* v_x_2_, lean_object* v_x_3_, lean_object* v_h__1_4_, lean_object* v_h__2_5_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -69,6 +76,62 @@ lean_dec(v_x_26_);
|
|||
return v_res_31_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Nat_ofDigitChars_spec__0(lean_object* v_b_32_, lean_object* v_x_33_, lean_object* v_x_34_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_34_) == 0)
|
||||
{
|
||||
return v_x_33_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_head_35_; lean_object* v_tail_36_; lean_object* v___x_37_; uint32_t v___x_38_; lean_object* v___x_39_; lean_object* v___x_40_; lean_object* v___x_41_; lean_object* v___x_42_;
|
||||
v_head_35_ = lean_ctor_get(v_x_34_, 0);
|
||||
v_tail_36_ = lean_ctor_get(v_x_34_, 1);
|
||||
v___x_37_ = lean_nat_mul(v_b_32_, v_x_33_);
|
||||
lean_dec(v_x_33_);
|
||||
v___x_38_ = lean_unbox_uint32(v_head_35_);
|
||||
v___x_39_ = lean_uint32_to_nat(v___x_38_);
|
||||
v___x_40_ = lean_unsigned_to_nat(48u);
|
||||
v___x_41_ = lean_nat_sub(v___x_39_, v___x_40_);
|
||||
lean_dec(v___x_39_);
|
||||
v___x_42_ = lean_nat_add(v___x_37_, v___x_41_);
|
||||
lean_dec(v___x_41_);
|
||||
lean_dec(v___x_37_);
|
||||
v_x_33_ = v___x_42_;
|
||||
v_x_34_ = v_tail_36_;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Nat_ofDigitChars_spec__0___boxed(lean_object* v_b_44_, lean_object* v_x_45_, lean_object* v_x_46_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_47_;
|
||||
v_res_47_ = l_List_foldl___at___00Nat_ofDigitChars_spec__0(v_b_44_, v_x_45_, v_x_46_);
|
||||
lean_dec(v_x_46_);
|
||||
lean_dec(v_b_44_);
|
||||
return v_res_47_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_ofDigitChars(lean_object* v_b_48_, lean_object* v_l_49_, lean_object* v_init_50_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_51_;
|
||||
v___x_51_ = l_List_foldl___at___00Nat_ofDigitChars_spec__0(v_b_48_, v_init_50_, v_l_49_);
|
||||
return v___x_51_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_ofDigitChars___boxed(lean_object* v_b_52_, lean_object* v_l_53_, lean_object* v_init_54_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_55_;
|
||||
v_res_55_ = l_Nat_ofDigitChars(v_b_52_, v_l_53_, v_init_54_);
|
||||
lean_dec(v_l_53_);
|
||||
lean_dec(v_b_52_);
|
||||
return v_res_55_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Data_Repr(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Char_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_ToString_Basic(uint8_t builtin);
|
||||
|
|
@ -82,6 +145,7 @@ lean_object* runtime_initialize_Init_Data_Nat_Bitwise(uint8_t builtin);
|
|||
lean_object* runtime_initialize_Init_Data_Nat_Simproc(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_WFTactics(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Char_Lemmas(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Nat_Div_Lemmas(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_Nat_ToString(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -126,6 +190,9 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Init_Data_Char_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Nat_Div_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -148,6 +215,7 @@ lean_object* initialize_Init_Data_Nat_Bitwise(uint8_t builtin);
|
|||
lean_object* initialize_Init_Data_Nat_Simproc(uint8_t builtin);
|
||||
lean_object* initialize_Init_WFTactics(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Char_Lemmas(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Nat_Div_Lemmas(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Nat_ToString(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -192,6 +260,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Char_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Nat_Div_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Nat_ToString(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
10
stage0/stdlib/Init/Data/String/Basic.c
generated
10
stage0/stdlib/Init/Data/String/Basic.c
generated
|
|
@ -3339,7 +3339,7 @@ _start:
|
|||
lean_object* v___x_1013_; lean_object* v___x_1014_; lean_object* v___x_1015_; lean_object* v___x_1016_; lean_object* v___x_1017_; lean_object* v___x_1018_;
|
||||
v___x_1013_ = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__1));
|
||||
v___x_1014_ = lean_unsigned_to_nat(29u);
|
||||
v___x_1015_ = lean_unsigned_to_nat(1592u);
|
||||
v___x_1015_ = lean_unsigned_to_nat(1594u);
|
||||
v___x_1016_ = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__0));
|
||||
v___x_1017_ = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
|
||||
v___x_1018_ = l_mkPanicMessageWithDecl(v___x_1017_, v___x_1016_, v___x_1015_, v___x_1014_, v___x_1013_);
|
||||
|
|
@ -3637,7 +3637,7 @@ _start:
|
|||
lean_object* v___x_1138_; lean_object* v___x_1139_; lean_object* v___x_1140_; lean_object* v___x_1141_; lean_object* v___x_1142_; lean_object* v___x_1143_;
|
||||
v___x_1138_ = ((lean_object*)(l_String_Slice_pos_x21___closed__1));
|
||||
v___x_1139_ = lean_unsigned_to_nat(4u);
|
||||
v___x_1140_ = lean_unsigned_to_nat(1680u);
|
||||
v___x_1140_ = lean_unsigned_to_nat(1682u);
|
||||
v___x_1141_ = ((lean_object*)(l_String_Slice_pos_x21___closed__0));
|
||||
v___x_1142_ = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
|
||||
v___x_1143_ = l_mkPanicMessageWithDecl(v___x_1142_, v___x_1141_, v___x_1140_, v___x_1139_, v___x_1138_);
|
||||
|
|
@ -4912,7 +4912,7 @@ _start:
|
|||
lean_object* v___x_1622_; lean_object* v___x_1623_; lean_object* v___x_1624_; lean_object* v___x_1625_; lean_object* v___x_1626_; lean_object* v___x_1627_;
|
||||
v___x_1622_ = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__1));
|
||||
v___x_1623_ = lean_unsigned_to_nat(4u);
|
||||
v___x_1624_ = lean_unsigned_to_nat(2609u);
|
||||
v___x_1624_ = lean_unsigned_to_nat(2611u);
|
||||
v___x_1625_ = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__0));
|
||||
v___x_1626_ = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
|
||||
v___x_1627_ = l_mkPanicMessageWithDecl(v___x_1626_, v___x_1625_, v___x_1624_, v___x_1623_, v___x_1622_);
|
||||
|
|
@ -5107,7 +5107,7 @@ _start:
|
|||
lean_object* v___x_1693_; lean_object* v___x_1694_; lean_object* v___x_1695_; lean_object* v___x_1696_; lean_object* v___x_1697_; lean_object* v___x_1698_;
|
||||
v___x_1693_ = ((lean_object*)(l_String_Slice_slice_x21___closed__1));
|
||||
v___x_1694_ = lean_unsigned_to_nat(4u);
|
||||
v___x_1695_ = lean_unsigned_to_nat(2633u);
|
||||
v___x_1695_ = lean_unsigned_to_nat(2635u);
|
||||
v___x_1696_ = ((lean_object*)(l_String_Slice_Pos_ofSlice_x21___redArg___closed__0));
|
||||
v___x_1697_ = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
|
||||
v___x_1698_ = l_mkPanicMessageWithDecl(v___x_1697_, v___x_1696_, v___x_1695_, v___x_1694_, v___x_1693_);
|
||||
|
|
@ -5250,7 +5250,7 @@ _start:
|
|||
lean_object* v___x_1753_; lean_object* v___x_1754_; lean_object* v___x_1755_; lean_object* v___x_1756_; lean_object* v___x_1757_; lean_object* v___x_1758_;
|
||||
v___x_1753_ = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__1));
|
||||
v___x_1754_ = lean_unsigned_to_nat(4u);
|
||||
v___x_1755_ = lean_unsigned_to_nat(2651u);
|
||||
v___x_1755_ = lean_unsigned_to_nat(2653u);
|
||||
v___x_1756_ = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__0));
|
||||
v___x_1757_ = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
|
||||
v___x_1758_ = l_mkPanicMessageWithDecl(v___x_1757_, v___x_1756_, v___x_1755_, v___x_1754_, v___x_1753_);
|
||||
|
|
|
|||
233
stage0/stdlib/Init/Data/String/Iterate.c
generated
233
stage0/stdlib/Init/Data/String/Iterate.c
generated
|
|
@ -153,6 +153,19 @@ LEAN_EXPORT lean_object* l_String_instForInCharOfMonad___redArg___lam__2___boxed
|
|||
LEAN_EXPORT lean_object* l_String_instForInCharOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_instForInCharOfMonad___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_instForInCharOfMonad(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldl(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_string_foldl(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldr(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_instInhabitedPosIterator_default(lean_object* v_a_1_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2073,6 +2086,226 @@ lean_closure_set(v___f_783_, 0, v_inst_782_);
|
|||
return v___f_783_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg___lam__0(lean_object* v___x_784_, lean_object* v_s_785_, lean_object* v_f_786_, lean_object* v_it_787_, lean_object* v_acc_788_, lean_object* v_hP_789_, lean_object* v_recur_790_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_791_;
|
||||
v___x_791_ = lean_nat_dec_eq(v_it_787_, v___x_784_);
|
||||
if (v___x_791_ == 0)
|
||||
{
|
||||
lean_object* v___x_792_; uint32_t v___x_793_; lean_object* v___x_794_; lean_object* v___x_795_; lean_object* v___x_796_;
|
||||
v___x_792_ = lean_string_utf8_next_fast(v_s_785_, v_it_787_);
|
||||
v___x_793_ = lean_string_utf8_get_fast(v_s_785_, v_it_787_);
|
||||
v___x_794_ = lean_box_uint32(v___x_793_);
|
||||
v___x_795_ = lean_apply_2(v_f_786_, v_acc_788_, v___x_794_);
|
||||
v___x_796_ = lean_apply_4(v_recur_790_, v___x_792_, v___x_795_, lean_box(0), lean_box(0));
|
||||
return v___x_796_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_recur_790_);
|
||||
lean_dec(v_f_786_);
|
||||
return v_acc_788_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg___lam__0___boxed(lean_object* v___x_797_, lean_object* v_s_798_, lean_object* v_f_799_, lean_object* v_it_800_, lean_object* v_acc_801_, lean_object* v_hP_802_, lean_object* v_recur_803_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_804_;
|
||||
v_res_804_ = l_String_foldl___redArg___lam__0(v___x_797_, v_s_798_, v_f_799_, v_it_800_, v_acc_801_, v_hP_802_, v_recur_803_);
|
||||
lean_dec(v_it_800_);
|
||||
lean_dec_ref(v_s_798_);
|
||||
lean_dec(v___x_797_);
|
||||
return v_res_804_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldl___redArg(lean_object* v_f_805_, lean_object* v_init_806_, lean_object* v_s_807_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_808_; lean_object* v___f_809_; lean_object* v___x_810_; lean_object* v___x_811_;
|
||||
v___x_808_ = lean_string_utf8_byte_size(v_s_807_);
|
||||
v___f_809_ = lean_alloc_closure((void*)(l_String_foldl___redArg___lam__0___boxed), 7, 3);
|
||||
lean_closure_set(v___f_809_, 0, v___x_808_);
|
||||
lean_closure_set(v___f_809_, 1, v_s_807_);
|
||||
lean_closure_set(v___f_809_, 2, v_f_805_);
|
||||
v___x_810_ = lean_unsigned_to_nat(0u);
|
||||
v___x_811_ = l_WellFounded_opaqueFix_u2083___redArg(v___f_809_, v___x_810_, v_init_806_, lean_box(0));
|
||||
return v___x_811_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldl(lean_object* v_00_u03b1_812_, lean_object* v_f_813_, lean_object* v_init_814_, lean_object* v_s_815_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_816_; lean_object* v___f_817_; lean_object* v___x_818_; lean_object* v___x_819_;
|
||||
v___x_816_ = lean_string_utf8_byte_size(v_s_815_);
|
||||
v___f_817_ = lean_alloc_closure((void*)(l_String_foldl___redArg___lam__0___boxed), 7, 3);
|
||||
lean_closure_set(v___f_817_, 0, v___x_816_);
|
||||
lean_closure_set(v___f_817_, 1, v_s_815_);
|
||||
lean_closure_set(v___f_817_, 2, v_f_813_);
|
||||
v___x_818_ = lean_unsigned_to_nat(0u);
|
||||
v___x_819_ = l_WellFounded_opaqueFix_u2083___redArg(v___f_817_, v___x_818_, v_init_814_, lean_box(0));
|
||||
return v___x_819_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg(lean_object* v_f_820_, lean_object* v___x_821_, lean_object* v_s_822_, lean_object* v_a_823_, lean_object* v_b_824_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_startInclusive_825_; lean_object* v_endExclusive_826_; lean_object* v___x_827_; uint8_t v___x_828_;
|
||||
v_startInclusive_825_ = lean_ctor_get(v___x_821_, 1);
|
||||
v_endExclusive_826_ = lean_ctor_get(v___x_821_, 2);
|
||||
v___x_827_ = lean_nat_sub(v_endExclusive_826_, v_startInclusive_825_);
|
||||
v___x_828_ = lean_nat_dec_eq(v_a_823_, v___x_827_);
|
||||
lean_dec(v___x_827_);
|
||||
if (v___x_828_ == 0)
|
||||
{
|
||||
lean_object* v___x_829_; uint32_t v___x_830_; lean_object* v___x_831_; lean_object* v___x_832_;
|
||||
v___x_829_ = lean_string_utf8_next_fast(v_s_822_, v_a_823_);
|
||||
v___x_830_ = lean_string_utf8_get_fast(v_s_822_, v_a_823_);
|
||||
lean_dec(v_a_823_);
|
||||
v___x_831_ = lean_box_uint32(v___x_830_);
|
||||
lean_inc_ref(v_f_820_);
|
||||
v___x_832_ = lean_apply_2(v_f_820_, v_b_824_, v___x_831_);
|
||||
v_a_823_ = v___x_829_;
|
||||
v_b_824_ = v___x_832_;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_a_823_);
|
||||
lean_dec_ref(v_f_820_);
|
||||
return v_b_824_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg___boxed(lean_object* v_f_834_, lean_object* v___x_835_, lean_object* v_s_836_, lean_object* v_a_837_, lean_object* v_b_838_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_839_;
|
||||
v_res_839_ = l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg(v_f_834_, v___x_835_, v_s_836_, v_a_837_, v_b_838_);
|
||||
lean_dec_ref(v_s_836_);
|
||||
lean_dec_ref(v___x_835_);
|
||||
return v_res_839_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* lean_string_foldl(lean_object* v_f_840_, lean_object* v_init_841_, lean_object* v_s_842_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_843_; lean_object* v___x_844_; lean_object* v___x_845_; lean_object* v___x_846_;
|
||||
v___x_843_ = lean_unsigned_to_nat(0u);
|
||||
v___x_844_ = lean_string_utf8_byte_size(v_s_842_);
|
||||
lean_inc_ref(v_s_842_);
|
||||
v___x_845_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_845_, 0, v_s_842_);
|
||||
lean_ctor_set(v___x_845_, 1, v___x_843_);
|
||||
lean_ctor_set(v___x_845_, 2, v___x_844_);
|
||||
v___x_846_ = l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg(v_f_840_, v___x_845_, v_s_842_, v___x_843_, v_init_841_);
|
||||
lean_dec_ref(v_s_842_);
|
||||
lean_dec_ref(v___x_845_);
|
||||
return v___x_846_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0(lean_object* v_f_847_, lean_object* v___x_848_, lean_object* v_s_849_, lean_object* v_inst_850_, lean_object* v_R_851_, lean_object* v_a_852_, lean_object* v_b_853_, lean_object* v_c_854_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_855_;
|
||||
v___x_855_ = l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___redArg(v_f_847_, v___x_848_, v_s_849_, v_a_852_, v_b_853_);
|
||||
return v___x_855_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0___boxed(lean_object* v_f_856_, lean_object* v___x_857_, lean_object* v_s_858_, lean_object* v_inst_859_, lean_object* v_R_860_, lean_object* v_a_861_, lean_object* v_b_862_, lean_object* v_c_863_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_864_;
|
||||
v_res_864_ = l_WellFounded_opaqueFix_u2083___at___00String_Internal_foldlImpl_spec__0(v_f_856_, v___x_857_, v_s_858_, v_inst_859_, v_R_860_, v_a_861_, v_b_862_, v_c_863_);
|
||||
lean_dec_ref(v_s_858_);
|
||||
lean_dec_ref(v___x_857_);
|
||||
return v_res_864_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg___lam__0(lean_object* v___x_865_, lean_object* v___x_866_, lean_object* v_s_867_, lean_object* v_f_868_, lean_object* v_it_869_, lean_object* v_acc_870_, lean_object* v_hP_871_, lean_object* v_recur_872_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_873_;
|
||||
v___x_873_ = lean_nat_dec_eq(v_it_869_, v___x_865_);
|
||||
if (v___x_873_ == 0)
|
||||
{
|
||||
lean_object* v___x_874_; lean_object* v___x_875_; lean_object* v_prevPos_876_; uint32_t v___x_877_; lean_object* v___x_878_; lean_object* v___x_879_; lean_object* v___x_880_;
|
||||
v___x_874_ = lean_unsigned_to_nat(1u);
|
||||
v___x_875_ = lean_nat_sub(v_it_869_, v___x_874_);
|
||||
v_prevPos_876_ = l_String_Slice_posLE(v___x_866_, v___x_875_);
|
||||
v___x_877_ = lean_string_utf8_get_fast(v_s_867_, v_prevPos_876_);
|
||||
v___x_878_ = lean_box_uint32(v___x_877_);
|
||||
v___x_879_ = lean_apply_2(v_f_868_, v___x_878_, v_acc_870_);
|
||||
v___x_880_ = lean_apply_4(v_recur_872_, v_prevPos_876_, v___x_879_, lean_box(0), lean_box(0));
|
||||
return v___x_880_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_recur_872_);
|
||||
lean_dec(v_f_868_);
|
||||
return v_acc_870_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg___lam__0___boxed(lean_object* v___x_881_, lean_object* v___x_882_, lean_object* v_s_883_, lean_object* v_f_884_, lean_object* v_it_885_, lean_object* v_acc_886_, lean_object* v_hP_887_, lean_object* v_recur_888_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_889_;
|
||||
v_res_889_ = l_String_foldr___redArg___lam__0(v___x_881_, v___x_882_, v_s_883_, v_f_884_, v_it_885_, v_acc_886_, v_hP_887_, v_recur_888_);
|
||||
lean_dec(v_it_885_);
|
||||
lean_dec_ref(v_s_883_);
|
||||
lean_dec_ref(v___x_882_);
|
||||
lean_dec(v___x_881_);
|
||||
return v_res_889_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldr___redArg(lean_object* v_f_890_, lean_object* v_init_891_, lean_object* v_s_892_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_893_; lean_object* v___x_894_; lean_object* v___x_895_; lean_object* v___f_896_; lean_object* v___x_897_; lean_object* v___x_898_;
|
||||
v___x_893_ = lean_unsigned_to_nat(0u);
|
||||
v___x_894_ = lean_string_utf8_byte_size(v_s_892_);
|
||||
lean_inc_ref(v_s_892_);
|
||||
v___x_895_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_895_, 0, v_s_892_);
|
||||
lean_ctor_set(v___x_895_, 1, v___x_893_);
|
||||
lean_ctor_set(v___x_895_, 2, v___x_894_);
|
||||
lean_inc_ref(v___x_895_);
|
||||
v___f_896_ = lean_alloc_closure((void*)(l_String_foldr___redArg___lam__0___boxed), 8, 4);
|
||||
lean_closure_set(v___f_896_, 0, v___x_893_);
|
||||
lean_closure_set(v___f_896_, 1, v___x_895_);
|
||||
lean_closure_set(v___f_896_, 2, v_s_892_);
|
||||
lean_closure_set(v___f_896_, 3, v_f_890_);
|
||||
v___x_897_ = l_String_Slice_revPositions(v___x_895_);
|
||||
lean_dec_ref(v___x_895_);
|
||||
v___x_898_ = l_WellFounded_opaqueFix_u2083___redArg(v___f_896_, v___x_897_, v_init_891_, lean_box(0));
|
||||
return v___x_898_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_foldr(lean_object* v_00_u03b1_899_, lean_object* v_f_900_, lean_object* v_init_901_, lean_object* v_s_902_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_903_; lean_object* v___x_904_; lean_object* v___x_905_; lean_object* v___f_906_; lean_object* v___x_907_; lean_object* v___x_908_;
|
||||
v___x_903_ = lean_unsigned_to_nat(0u);
|
||||
v___x_904_ = lean_string_utf8_byte_size(v_s_902_);
|
||||
lean_inc_ref(v_s_902_);
|
||||
v___x_905_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_905_, 0, v_s_902_);
|
||||
lean_ctor_set(v___x_905_, 1, v___x_903_);
|
||||
lean_ctor_set(v___x_905_, 2, v___x_904_);
|
||||
lean_inc_ref(v___x_905_);
|
||||
v___f_906_ = lean_alloc_closure((void*)(l_String_foldr___redArg___lam__0___boxed), 8, 4);
|
||||
lean_closure_set(v___f_906_, 0, v___x_903_);
|
||||
lean_closure_set(v___f_906_, 1, v___x_905_);
|
||||
lean_closure_set(v___f_906_, 2, v_s_902_);
|
||||
lean_closure_set(v___f_906_, 3, v_f_900_);
|
||||
v___x_907_ = l_String_Slice_revPositions(v___x_905_);
|
||||
lean_dec_ref(v___x_905_);
|
||||
v___x_908_ = l_WellFounded_opaqueFix_u2083___redArg(v___f_906_, v___x_907_, v_init_901_, lean_box(0));
|
||||
return v___x_908_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Data_String_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_FindPos(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Iterators_Combinators_FilterMap(uint8_t builtin);
|
||||
|
|
|
|||
10
stage0/stdlib/Init/Data/String/Lemmas/Pattern.c
generated
10
stage0/stdlib/Init/Data/String/Lemmas/Pattern.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern
|
||||
// Imports: public import Init.Data.String.Lemmas.Pattern.Basic public import Init.Data.String.Lemmas.Pattern.Memcmp public import Init.Data.String.Lemmas.Pattern.Pred public import Init.Data.String.Lemmas.Pattern.Char public import Init.Data.String.Lemmas.Pattern.String public import Init.Data.String.Lemmas.Pattern.Split public import Init.Data.String.Lemmas.Pattern.Find
|
||||
// Imports: public import Init.Data.String.Lemmas.Pattern.Basic public import Init.Data.String.Lemmas.Pattern.Memcmp public import Init.Data.String.Lemmas.Pattern.Pred public import Init.Data.String.Lemmas.Pattern.Char public import Init.Data.String.Lemmas.Pattern.String public import Init.Data.String.Lemmas.Pattern.Split public import Init.Data.String.Lemmas.Pattern.Find public import Init.Data.String.Lemmas.Pattern.TakeDrop
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -20,6 +20,7 @@ lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t bui
|
|||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Split(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Find(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -46,6 +47,9 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_Find(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -62,6 +66,7 @@ lean_object* initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t builtin);
|
|||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Split(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Find(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -88,6 +93,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_String_Lemmas_Pattern_Find(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
32
stage0/stdlib/Init/Data/String/Lemmas/Pattern/Char.c
generated
32
stage0/stdlib/Init/Data/String/Lemmas/Pattern/Char.c
generated
|
|
@ -15,12 +15,12 @@ extern "C" {
|
|||
#endif
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_Char_instForwardPatternModelChar(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_Char_instForwardPatternModelChar___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_Char_instForwardPatternModelChar(uint32_t v_c_1_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -39,7 +39,7 @@ v_res_5_ = l_String_Slice_Pattern_Model_Char_instForwardPatternModelChar(v_c_box
|
|||
return v_res_5_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object* v_x_6_, lean_object* v_h__1_7_, lean_object* v_h__2_8_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object* v_x_6_, lean_object* v_h__1_7_, lean_object* v_h__2_8_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_6_) == 1)
|
||||
|
|
@ -61,7 +61,7 @@ return v___x_11_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter(lean_object* v_s_12_, lean_object* v_curr_13_, lean_object* v_motive_14_, lean_object* v_x_15_, lean_object* v_h__1_16_, lean_object* v_h__2_17_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object* v_s_12_, lean_object* v_pos_13_, lean_object* v_motive_14_, lean_object* v_x_15_, lean_object* v_h__1_16_, lean_object* v_h__2_17_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_15_) == 1)
|
||||
|
|
@ -83,17 +83,17 @@ return v___x_20_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object* v_s_21_, lean_object* v_curr_22_, lean_object* v_motive_23_, lean_object* v_x_24_, lean_object* v_h__1_25_, lean_object* v_h__2_26_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object* v_s_21_, lean_object* v_pos_22_, lean_object* v_motive_23_, lean_object* v_x_24_, lean_object* v_h__1_25_, lean_object* v_h__2_26_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_27_;
|
||||
v_res_27_ = l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropWhile_go_match__1_splitter(v_s_21_, v_curr_22_, v_motive_23_, v_x_24_, v_h__1_25_, v_h__2_26_);
|
||||
lean_dec(v_curr_22_);
|
||||
v_res_27_ = l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_skipWhile_match__1_splitter(v_s_21_, v_pos_22_, v_motive_23_, v_x_24_, v_h__1_25_, v_h__2_26_);
|
||||
lean_dec(v_pos_22_);
|
||||
lean_dec_ref(v_s_21_);
|
||||
return v_res_27_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object* v_x_28_, lean_object* v_h__1_29_, lean_object* v_h__2_30_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object* v_x_28_, lean_object* v_h__1_29_, lean_object* v_h__2_30_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_28_) == 1)
|
||||
|
|
@ -115,7 +115,7 @@ return v___x_33_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object* v_s_34_, lean_object* v_curr_35_, lean_object* v_motive_36_, lean_object* v_x_37_, lean_object* v_h__1_38_, lean_object* v_h__2_39_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object* v_s_34_, lean_object* v_pos_35_, lean_object* v_motive_36_, lean_object* v_x_37_, lean_object* v_h__1_38_, lean_object* v_h__2_39_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_37_) == 1)
|
||||
|
|
@ -137,12 +137,12 @@ return v___x_42_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object* v_s_43_, lean_object* v_curr_44_, lean_object* v_motive_45_, lean_object* v_x_46_, lean_object* v_h__1_47_, lean_object* v_h__2_48_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object* v_s_43_, lean_object* v_pos_44_, lean_object* v_motive_45_, lean_object* v_x_46_, lean_object* v_h__1_47_, lean_object* v_h__2_48_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_49_;
|
||||
v_res_49_ = l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_dropEndWhile_go_match__1_splitter(v_s_43_, v_curr_44_, v_motive_45_, v_x_46_, v_h__1_47_, v_h__2_48_);
|
||||
lean_dec(v_curr_44_);
|
||||
v_res_49_ = l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pos_revSkipWhile_match__1_splitter(v_s_43_, v_pos_44_, v_motive_45_, v_x_46_, v_h__1_47_, v_h__2_48_);
|
||||
lean_dec(v_pos_44_);
|
||||
lean_dec_ref(v_s_43_);
|
||||
return v_res_49_;
|
||||
}
|
||||
|
|
|
|||
32
stage0/stdlib/Init/Data/String/Lemmas/Pattern/Pred.c
generated
32
stage0/stdlib/Init/Data/String/Lemmas/Pattern/Pred.c
generated
|
|
@ -17,12 +17,12 @@ LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_CharPred_instForwardPatter
|
|||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_CharPred_instForwardPatternModelForallCharBool___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_Model_CharPred_instForwardPatternModelForallCharBool(lean_object* v_p_1_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -57,7 +57,7 @@ lean_dec_ref(v_inst_9_);
|
|||
return v_res_10_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object* v_x_11_, lean_object* v_h__1_12_, lean_object* v_h__2_13_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object* v_x_11_, lean_object* v_h__1_12_, lean_object* v_h__2_13_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_11_) == 1)
|
||||
|
|
@ -79,7 +79,7 @@ return v___x_16_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter(lean_object* v_s_17_, lean_object* v_curr_18_, lean_object* v_motive_19_, lean_object* v_x_20_, lean_object* v_h__1_21_, lean_object* v_h__2_22_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object* v_s_17_, lean_object* v_pos_18_, lean_object* v_motive_19_, lean_object* v_x_20_, lean_object* v_h__1_21_, lean_object* v_h__2_22_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_20_) == 1)
|
||||
|
|
@ -101,17 +101,17 @@ return v___x_25_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object* v_s_26_, lean_object* v_curr_27_, lean_object* v_motive_28_, lean_object* v_x_29_, lean_object* v_h__1_30_, lean_object* v_h__2_31_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object* v_s_26_, lean_object* v_pos_27_, lean_object* v_motive_28_, lean_object* v_x_29_, lean_object* v_h__1_30_, lean_object* v_h__2_31_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_32_;
|
||||
v_res_32_ = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropWhile_go_match__1_splitter(v_s_26_, v_curr_27_, v_motive_28_, v_x_29_, v_h__1_30_, v_h__2_31_);
|
||||
lean_dec(v_curr_27_);
|
||||
v_res_32_ = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_skipWhile_match__1_splitter(v_s_26_, v_pos_27_, v_motive_28_, v_x_29_, v_h__1_30_, v_h__2_31_);
|
||||
lean_dec(v_pos_27_);
|
||||
lean_dec_ref(v_s_26_);
|
||||
return v_res_32_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object* v_x_33_, lean_object* v_h__1_34_, lean_object* v_h__2_35_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object* v_x_33_, lean_object* v_h__1_34_, lean_object* v_h__2_35_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_33_) == 1)
|
||||
|
|
@ -133,7 +133,7 @@ return v___x_38_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object* v_s_39_, lean_object* v_curr_40_, lean_object* v_motive_41_, lean_object* v_x_42_, lean_object* v_h__1_43_, lean_object* v_h__2_44_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object* v_s_39_, lean_object* v_pos_40_, lean_object* v_motive_41_, lean_object* v_x_42_, lean_object* v_h__1_43_, lean_object* v_h__2_44_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_42_) == 1)
|
||||
|
|
@ -155,12 +155,12 @@ return v___x_47_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object* v_s_48_, lean_object* v_curr_49_, lean_object* v_motive_50_, lean_object* v_x_51_, lean_object* v_h__1_52_, lean_object* v_h__2_53_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object* v_s_48_, lean_object* v_pos_49_, lean_object* v_motive_50_, lean_object* v_x_51_, lean_object* v_h__1_52_, lean_object* v_h__2_53_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_54_;
|
||||
v_res_54_ = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_dropEndWhile_go_match__1_splitter(v_s_48_, v_curr_49_, v_motive_50_, v_x_51_, v_h__1_52_, v_h__2_53_);
|
||||
lean_dec(v_curr_49_);
|
||||
v_res_54_ = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pos_revSkipWhile_match__1_splitter(v_s_48_, v_pos_49_, v_motive_50_, v_x_51_, v_h__1_52_, v_h__2_53_);
|
||||
lean_dec(v_pos_49_);
|
||||
lean_dec_ref(v_s_48_);
|
||||
return v_res_54_;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,13 +13,13 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter___redArg(lean_object* v_x_1_, lean_object* v_h__1_2_, lean_object* v_h__2_3_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter___redArg(lean_object* v_x_1_, lean_object* v_h__1_2_, lean_object* v_h__2_3_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_1_) == 1)
|
||||
|
|
@ -41,7 +41,7 @@ return v___x_6_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter(lean_object* v_s_7_, lean_object* v_curr_8_, lean_object* v_motive_9_, lean_object* v_x_10_, lean_object* v_h__1_11_, lean_object* v_h__2_12_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter(lean_object* v_s_7_, lean_object* v_pos_8_, lean_object* v_motive_9_, lean_object* v_x_10_, lean_object* v_h__1_11_, lean_object* v_h__2_12_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_10_) == 1)
|
||||
|
|
@ -63,17 +63,17 @@ return v___x_15_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter___boxed(lean_object* v_s_16_, lean_object* v_curr_17_, lean_object* v_motive_18_, lean_object* v_x_19_, lean_object* v_h__1_20_, lean_object* v_h__2_21_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter___boxed(lean_object* v_s_16_, lean_object* v_pos_17_, lean_object* v_motive_18_, lean_object* v_x_19_, lean_object* v_h__1_20_, lean_object* v_h__2_21_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_22_;
|
||||
v_res_22_ = l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropWhile_go_match__1_splitter(v_s_16_, v_curr_17_, v_motive_18_, v_x_19_, v_h__1_20_, v_h__2_21_);
|
||||
lean_dec(v_curr_17_);
|
||||
v_res_22_ = l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_skipWhile_match__1_splitter(v_s_16_, v_pos_17_, v_motive_18_, v_x_19_, v_h__1_20_, v_h__2_21_);
|
||||
lean_dec(v_pos_17_);
|
||||
lean_dec_ref(v_s_16_);
|
||||
return v_res_22_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter___redArg(lean_object* v_x_23_, lean_object* v_h__1_24_, lean_object* v_h__2_25_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter___redArg(lean_object* v_x_23_, lean_object* v_h__1_24_, lean_object* v_h__2_25_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_23_) == 1)
|
||||
|
|
@ -95,7 +95,7 @@ return v___x_28_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter(lean_object* v_s_29_, lean_object* v_curr_30_, lean_object* v_motive_31_, lean_object* v_x_32_, lean_object* v_h__1_33_, lean_object* v_h__2_34_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter(lean_object* v_s_29_, lean_object* v_pos_30_, lean_object* v_motive_31_, lean_object* v_x_32_, lean_object* v_h__1_33_, lean_object* v_h__2_34_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_32_) == 1)
|
||||
|
|
@ -117,12 +117,12 @@ return v___x_37_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter___boxed(lean_object* v_s_38_, lean_object* v_curr_39_, lean_object* v_motive_40_, lean_object* v_x_41_, lean_object* v_h__1_42_, lean_object* v_h__2_43_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter___boxed(lean_object* v_s_38_, lean_object* v_pos_39_, lean_object* v_motive_40_, lean_object* v_x_41_, lean_object* v_h__1_42_, lean_object* v_h__2_43_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_44_;
|
||||
v_res_44_ = l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_dropEndWhile_go_match__1_splitter(v_s_38_, v_curr_39_, v_motive_40_, v_x_41_, v_h__1_42_, v_h__2_43_);
|
||||
lean_dec(v_curr_39_);
|
||||
v_res_44_ = l___private_Init_Data_String_Lemmas_Pattern_String_ForwardPattern_0__String_Slice_Pos_revSkipWhile_match__1_splitter(v_s_38_, v_pos_39_, v_motive_40_, v_x_41_, v_h__1_42_, v_h__2_43_);
|
||||
lean_dec(v_pos_39_);
|
||||
lean_dec_ref(v_s_38_);
|
||||
return v_res_44_;
|
||||
}
|
||||
|
|
|
|||
77
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop.c
generated
Normal file
77
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop.c
generated
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern.TakeDrop
|
||||
// Imports: public import Init.Data.String.Lemmas.Pattern.TakeDrop.Basic public import Init.Data.String.Lemmas.Pattern.TakeDrop.Char public import Init.Data.String.Lemmas.Pattern.TakeDrop.Pred public import Init.Data.String.Lemmas.Pattern.TakeDrop.String
|
||||
#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* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Init_Data_String_Lemmas_Pattern_TakeDrop(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
85
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Basic.c
generated
Normal file
85
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Basic.c
generated
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern.TakeDrop.Basic
|
||||
// Imports: public import Init.Data.String.Slice public import Init.Data.String.TakeDrop public import Init.Data.String.Lemmas.Pattern.Basic import all Init.Data.String.Slice import all Init.Data.String.TakeDrop
|
||||
#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* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
85
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Char.c
generated
Normal file
85
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Char.c
generated
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern.TakeDrop.Char
|
||||
// Imports: public import Init.Data.String.Slice public import Init.Data.String.TakeDrop import Init.Data.String.Lemmas.Pattern.TakeDrop.Basic import Init.Data.String.Lemmas.Pattern.Char import Init.Data.Option.Lemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Char(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
93
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Pred.c
generated
Normal file
93
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/Pred.c
generated
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern.TakeDrop.Pred
|
||||
// Imports: public import Init.Data.String.Slice public import Init.Data.String.TakeDrop import Init.Data.String.Lemmas.Pattern.TakeDrop.Basic import Init.Data.String.Lemmas.Pattern.Pred import Init.Data.Option.Lemmas import Init.ByCases
|
||||
#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* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_Pred(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_ByCases(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_ByCases(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Pred(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
lean_object* initialize_Init_ByCases(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_ByCases(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Pred(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
101
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/String.c
generated
Normal file
101
stage0/stdlib/Init/Data/String/Lemmas/Pattern/TakeDrop/String.c
generated
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.String.Lemmas.Pattern.TakeDrop.String
|
||||
// Imports: public import Init.Data.String.Slice public import Init.Data.String.TakeDrop public import Init.Data.String.Lemmas.Splits import Init.Data.String.Lemmas.Pattern.TakeDrop.Basic import Init.Data.String.Lemmas.Pattern.String import Init.Data.List.Sublist import Init.Data.Option.Lemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Splits(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_List_Sublist(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Splits(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_List_Sublist(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_TakeDrop(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Splits(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Option_Lemmas(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_TakeDrop(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Splits(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Pattern_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_List_Sublist(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Option_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Init_Data_String_Lemmas_Pattern_TakeDrop_String(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
1515
stage0/stdlib/Init/Data/String/Pattern/Basic.c
generated
1515
stage0/stdlib/Init/Data/String/Pattern/Basic.c
generated
File diff suppressed because it is too large
Load diff
36
stage0/stdlib/Init/Data/String/Pattern/String.c
generated
36
stage0/stdlib/Init/Data/String/Pattern/String.c
generated
|
|
@ -13,20 +13,20 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_string_memcmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_Slice_pos_x21(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
uint8_t lean_string_get_byte_fast(lean_object*, lean_object*);
|
||||
uint8_t lean_uint8_dec_eq(uint8_t, uint8_t);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_string_memcmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
lean_object* l_String_Slice_pos_x21(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
|
||||
lean_object* l_String_Slice_posGE___redArg(lean_object*, lean_object*);
|
||||
lean_object* l_WellFounded_opaqueFix_u2083___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -95,8 +95,8 @@ LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instIterato
|
|||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instToForwardSearcher(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_Slice_Pattern_ForwardSliceSearcher_startsWith(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_startsWith___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPattern___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPattern___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPattern(lean_object*);
|
||||
|
|
@ -106,8 +106,8 @@ LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForward
|
|||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPattern__1(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_Slice_Pattern_BackwardSliceSearcher_endsWith(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_endsWith___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_instBackwardPattern___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_instBackwardPattern___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_instBackwardPattern(lean_object*);
|
||||
|
|
@ -1958,7 +1958,7 @@ v_r_609_ = lean_box(v_res_608_);
|
|||
return v_r_609_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f(lean_object* v_pat_610_, lean_object* v_s_611_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f(lean_object* v_pat_610_, lean_object* v_s_611_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_str_612_; lean_object* v_startInclusive_613_; lean_object* v_endExclusive_614_; lean_object* v_str_615_; lean_object* v_startInclusive_616_; lean_object* v_endExclusive_617_; lean_object* v___x_618_; lean_object* v___x_619_; uint8_t v___x_620_;
|
||||
|
|
@ -2002,11 +2002,11 @@ return v___x_625_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f___boxed(lean_object* v_pat_626_, lean_object* v_s_627_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f___boxed(lean_object* v_pat_626_, lean_object* v_s_627_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_628_;
|
||||
v_res_628_ = l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f(v_pat_626_, v_s_627_);
|
||||
v_res_628_ = l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f(v_pat_626_, v_s_627_);
|
||||
lean_dec_ref(v_s_627_);
|
||||
lean_dec_ref(v_pat_626_);
|
||||
return v_res_628_;
|
||||
|
|
@ -2074,7 +2074,7 @@ lean_inc_ref(v_pat_650_);
|
|||
v___f_651_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPattern___lam__0___boxed), 3, 1);
|
||||
lean_closure_set(v___f_651_, 0, v_pat_650_);
|
||||
lean_inc_ref(v_pat_650_);
|
||||
v___x_652_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f___boxed), 2, 1);
|
||||
v___x_652_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f___boxed), 2, 1);
|
||||
lean_closure_set(v___x_652_, 0, v_pat_650_);
|
||||
v___x_653_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_startsWith___boxed), 2, 1);
|
||||
lean_closure_set(v___x_653_, 0, v_pat_650_);
|
||||
|
|
@ -2165,7 +2165,7 @@ lean_ctor_set(v___x_685_, 0, v_pat_681_);
|
|||
lean_ctor_set(v___x_685_, 1, v___x_682_);
|
||||
lean_ctor_set(v___x_685_, 2, v___x_683_);
|
||||
lean_inc_ref(v___x_685_);
|
||||
v___x_686_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_dropPrefix_x3f___boxed), 2, 1);
|
||||
v___x_686_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_skipPrefix_x3f___boxed), 2, 1);
|
||||
lean_closure_set(v___x_686_, 0, v___x_685_);
|
||||
v___x_687_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_ForwardSliceSearcher_startsWith___boxed), 2, 1);
|
||||
lean_closure_set(v___x_687_, 0, v___x_685_);
|
||||
|
|
@ -2220,7 +2220,7 @@ v_r_706_ = lean_box(v_res_705_);
|
|||
return v_r_706_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f(lean_object* v_pat_707_, lean_object* v_s_708_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f(lean_object* v_pat_707_, lean_object* v_s_708_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_str_709_; lean_object* v_startInclusive_710_; lean_object* v_endExclusive_711_; lean_object* v_str_712_; lean_object* v_startInclusive_713_; lean_object* v_endExclusive_714_; lean_object* v___x_715_; lean_object* v___x_716_; uint8_t v___x_717_;
|
||||
|
|
@ -2269,11 +2269,11 @@ return v___x_724_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f___boxed(lean_object* v_pat_725_, lean_object* v_s_726_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f___boxed(lean_object* v_pat_725_, lean_object* v_s_726_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_727_;
|
||||
v_res_727_ = l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f(v_pat_725_, v_s_726_);
|
||||
v_res_727_ = l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f(v_pat_725_, v_s_726_);
|
||||
lean_dec_ref(v_s_726_);
|
||||
lean_dec_ref(v_pat_725_);
|
||||
return v_res_727_;
|
||||
|
|
@ -2346,7 +2346,7 @@ lean_inc_ref(v_pat_751_);
|
|||
v___f_752_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_instBackwardPattern___lam__0___boxed), 3, 1);
|
||||
lean_closure_set(v___f_752_, 0, v_pat_751_);
|
||||
lean_inc_ref(v_pat_751_);
|
||||
v___x_753_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f___boxed), 2, 1);
|
||||
v___x_753_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f___boxed), 2, 1);
|
||||
lean_closure_set(v___x_753_, 0, v_pat_751_);
|
||||
v___x_754_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_endsWith___boxed), 2, 1);
|
||||
lean_closure_set(v___x_754_, 0, v_pat_751_);
|
||||
|
|
@ -2428,7 +2428,7 @@ lean_ctor_set(v___x_783_, 0, v_pat_779_);
|
|||
lean_ctor_set(v___x_783_, 1, v___x_780_);
|
||||
lean_ctor_set(v___x_783_, 2, v___x_781_);
|
||||
lean_inc_ref(v___x_783_);
|
||||
v___x_784_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_dropSuffix_x3f___boxed), 2, 1);
|
||||
v___x_784_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_skipSuffix_x3f___boxed), 2, 1);
|
||||
lean_closure_set(v___x_784_, 0, v___x_783_);
|
||||
v___x_785_ = lean_alloc_closure((void*)(l_String_Slice_Pattern_BackwardSliceSearcher_endsWith___boxed), 2, 1);
|
||||
lean_closure_set(v___x_785_, 0, v___x_783_);
|
||||
|
|
|
|||
2054
stage0/stdlib/Init/Data/String/Search.c
generated
2054
stage0/stdlib/Init/Data/String/Search.c
generated
File diff suppressed because it is too large
Load diff
10461
stage0/stdlib/Init/Data/String/Slice.c
generated
10461
stage0/stdlib/Init/Data/String/Slice.c
generated
File diff suppressed because it is too large
Load diff
4158
stage0/stdlib/Init/Data/String/Substring.c
generated
4158
stage0/stdlib/Init/Data/String/Substring.c
generated
File diff suppressed because it is too large
Load diff
5074
stage0/stdlib/Init/Data/String/TakeDrop.c
generated
5074
stage0/stdlib/Init/Data/String/TakeDrop.c
generated
File diff suppressed because it is too large
Load diff
3060
stage0/stdlib/Init/Data/ToString/Name.c
generated
3060
stage0/stdlib/Init/Data/ToString/Name.c
generated
File diff suppressed because it is too large
Load diff
443
stage0/stdlib/Init/Grind/Interactive.c
generated
443
stage0/stdlib/Init/Grind/Interactive.c
generated
|
|
@ -14,12 +14,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Name_mkStr1(lean_object*);
|
||||
extern lean_object* l_Lean_binderIdent;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Attr_grindMod;
|
||||
extern lean_object* l_Lean_Parser_Tactic_configItem;
|
||||
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_binderIdent;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
|
|
@ -1635,6 +1635,192 @@ static const lean_object* l_Lean_Parser_Tactic_Grind_mbtc___closed__2 = (const l
|
|||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_mbtc___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_mbtc___closed__1_value),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_mbtc___closed__2_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_mbtc___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_mbtc___closed__3_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_mbtc = (const lean_object*)&l_Lean_Parser_Tactic_Grind_mbtc___closed__3_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "symIntro"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__0_value),LEAN_SCALAR_PTR_LITERAL(29, 177, 203, 220, 6, 189, 203, 250)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__1_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "intro"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_grindLemma___closed__8_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_first___closed__20_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__4_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "internalize"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__5_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__6 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__6_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__4_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__6_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__7 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__7_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = " := "};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__8 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__8_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__8_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__9 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__9_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__7_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__9_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__10 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__10_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "true"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__11 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__11_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "token"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__12 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__12_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__13_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__12_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__13_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__11_value),LEAN_SCALAR_PTR_LITERAL(97, 134, 219, 90, 90, 45, 96, 32)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__13 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__13_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__11_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__14 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__14_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__11_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__13_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__14_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__15 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__15_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntro___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "false"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__16 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__16_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__17_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__12_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__17_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__16_value),LEAN_SCALAR_PTR_LITERAL(234, 149, 90, 50, 108, 230, 18, 172)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__17 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__17_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__16_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__18 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__18_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__16_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__17_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__18_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__19 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__19_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_grindParam___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__15_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__19_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__20 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__20_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__10_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__20_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__21 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__21_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__21_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter_quot___closed__10_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__22 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__22_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_grindLemma___closed__5_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__22_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__23 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__23_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntro___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__23_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__24 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__24_value;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_Grind_symIntro___closed__25_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__25;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_Grind_symIntro___closed__26_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__26;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_Grind_symIntro___closed__27_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_Grind_symIntro___closed__27;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind_symIntro;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "symIntroLight"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__0_value),LEAN_SCALAR_PTR_LITERAL(224, 188, 225, 186, 156, 62, 173, 87)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__11_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__2_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "~"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__3_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntroLight___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__2_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__5_value;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind_symIntroLight;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = ":="};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___closed__0_value;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntros___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "symIntros"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__0_value),LEAN_SCALAR_PTR_LITERAL(51, 175, 114, 140, 112, 61, 143, 32)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntros___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "intros"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__23_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntros___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntros___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__5_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symIntros = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__5_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "symIntrosLight"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__0_value),LEAN_SCALAR_PTR_LITERAL(182, 124, 219, 142, 239, 75, 103, 85)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntros___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__11_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__2_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1_value),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__3_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__4_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symIntrosLight = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__4_value;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntrosLight__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntrosLight__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symApply___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "symApply"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__0_value),LEAN_SCALAR_PTR_LITERAL(79, 244, 96, 104, 113, 83, 151, 74)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symApply___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "apply "};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_grindLemma___closed__13_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symApply___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symApply___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__5_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symApply = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symApply___closed__5_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "symInternalize"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__0_value),LEAN_SCALAR_PTR_LITERAL(249, 99, 88, 106, 108, 255, 121, 14)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_grindLemma___closed__8_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filterGen_x3c___00__closed__9_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_grindLemma___closed__5_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__2_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symIntro___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__3_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalize___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__5_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symInternalize = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalize___closed__5_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 18, .m_capacity = 18, .m_length = 17, .m_data = "symInternalizeAll"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__0_value),LEAN_SCALAR_PTR_LITERAL(2, 177, 44, 29, 183, 33, 46, 54)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = "internalize_all"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__1_value),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__3_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__4_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symInternalizeAll = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symInternalizeAll___closed__4_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symByContra___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "symByContra"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symByContra___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_anchor___closed__3_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_Grind_grind__filter___00__closed__0_value),LEAN_SCALAR_PTR_LITERAL(148, 105, 19, 51, 118, 250, 248, 43)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value_aux_3),((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__0_value),LEAN_SCALAR_PTR_LITERAL(250, 214, 28, 119, 209, 102, 217, 193)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symByContra___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_Grind_symByContra___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "by_contra"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symByContra___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symByContra___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_Grind_symByContra___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__1_value),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__3_value)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_Grind_symByContra___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__4_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_Grind_symByContra = (const lean_object*)&l_Lean_Parser_Tactic_Grind_symByContra___closed__4_value;
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grindLemma___closed__9(void){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3062,6 +3248,255 @@ v___x_2103_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_setConfig___closed__8, &
|
|||
return v___x_2103_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__25(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2229_; lean_object* v___x_2230_; lean_object* v___x_2231_;
|
||||
v___x_2229_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_renameI___closed__5, &l_Lean_Parser_Tactic_Grind_renameI___closed__5_once, _init_l_Lean_Parser_Tactic_Grind_renameI___closed__5);
|
||||
v___x_2230_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_finish___closed__4));
|
||||
v___x_2231_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_2231_, 0, v___x_2230_);
|
||||
lean_ctor_set(v___x_2231_, 1, v___x_2229_);
|
||||
return v___x_2231_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__26(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2232_; lean_object* v___x_2233_; lean_object* v___x_2234_; lean_object* v___x_2235_;
|
||||
v___x_2232_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntro___closed__25, &l_Lean_Parser_Tactic_Grind_symIntro___closed__25_once, _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__25);
|
||||
v___x_2233_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__24));
|
||||
v___x_2234_ = ((lean_object*)(l_Lean_Parser_Tactic_anchor___closed__6));
|
||||
v___x_2235_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_2235_, 0, v___x_2234_);
|
||||
lean_ctor_set(v___x_2235_, 1, v___x_2233_);
|
||||
lean_ctor_set(v___x_2235_, 2, v___x_2232_);
|
||||
return v___x_2235_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__27(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2236_; lean_object* v___x_2237_; lean_object* v___x_2238_; lean_object* v___x_2239_;
|
||||
v___x_2236_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntro___closed__26, &l_Lean_Parser_Tactic_Grind_symIntro___closed__26_once, _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__26);
|
||||
v___x_2237_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_2238_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__1));
|
||||
v___x_2239_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_2239_, 0, v___x_2238_);
|
||||
lean_ctor_set(v___x_2239_, 1, v___x_2237_);
|
||||
lean_ctor_set(v___x_2239_, 2, v___x_2236_);
|
||||
return v___x_2239_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntro(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2240_;
|
||||
v___x_2240_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntro___closed__27, &l_Lean_Parser_Tactic_Grind_symIntro___closed__27_once, _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__27);
|
||||
return v___x_2240_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2259_; lean_object* v___x_2260_; lean_object* v___x_2261_; lean_object* v___x_2262_;
|
||||
v___x_2259_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntro___closed__25, &l_Lean_Parser_Tactic_Grind_symIntro___closed__25_once, _init_l_Lean_Parser_Tactic_Grind_symIntro___closed__25);
|
||||
v___x_2260_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntroLight___closed__5));
|
||||
v___x_2261_ = ((lean_object*)(l_Lean_Parser_Tactic_anchor___closed__6));
|
||||
v___x_2262_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_2262_, 0, v___x_2261_);
|
||||
lean_ctor_set(v___x_2262_, 1, v___x_2260_);
|
||||
lean_ctor_set(v___x_2262_, 2, v___x_2259_);
|
||||
return v___x_2262_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2263_; lean_object* v___x_2264_; lean_object* v___x_2265_; lean_object* v___x_2266_;
|
||||
v___x_2263_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6, &l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6_once, _init_l_Lean_Parser_Tactic_Grind_symIntroLight___closed__6);
|
||||
v___x_2264_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_2265_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1));
|
||||
v___x_2266_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_2266_, 0, v___x_2265_);
|
||||
lean_ctor_set(v___x_2266_, 1, v___x_2264_);
|
||||
lean_ctor_set(v___x_2266_, 2, v___x_2263_);
|
||||
return v___x_2266_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_Grind_symIntroLight(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2267_;
|
||||
v___x_2267_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7, &l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7_once, _init_l_Lean_Parser_Tactic_Grind_symIntroLight___closed__7);
|
||||
return v___x_2267_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1(lean_object* v_x_2269_, lean_object* v_a_2270_, lean_object* v_a_2271_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2272_; uint8_t v___x_2273_;
|
||||
v___x_2272_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntroLight___closed__1));
|
||||
lean_inc(v_x_2269_);
|
||||
v___x_2273_ = l_Lean_Syntax_isOfKind(v_x_2269_, v___x_2272_);
|
||||
if (v___x_2273_ == 0)
|
||||
{
|
||||
lean_object* v___x_2274_; lean_object* v___x_2275_;
|
||||
lean_dec(v_x_2269_);
|
||||
v___x_2274_ = lean_box(1);
|
||||
v___x_2275_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_2275_, 0, v___x_2274_);
|
||||
lean_ctor_set(v___x_2275_, 1, v_a_2271_);
|
||||
return v___x_2275_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_ref_2276_; lean_object* v___x_2277_; lean_object* v___x_2278_; lean_object* v_ids_2279_; uint8_t v___x_2280_; lean_object* v___x_2281_; lean_object* v___x_2282_; lean_object* v___x_2283_; lean_object* v___x_2284_; lean_object* v___x_2285_; lean_object* v___x_2286_; lean_object* v___x_2287_; lean_object* v___x_2288_; lean_object* v___x_2289_; lean_object* v___x_2290_; lean_object* v___x_2291_; lean_object* v___x_2292_; lean_object* v___x_2293_; lean_object* v___x_2294_; lean_object* v___x_2295_; lean_object* v___x_2296_; lean_object* v___x_2297_; lean_object* v___x_2298_; lean_object* v___x_2299_; lean_object* v___x_2300_; lean_object* v___x_2301_; lean_object* v___x_2302_; lean_object* v___x_2303_;
|
||||
v_ref_2276_ = lean_ctor_get(v_a_2270_, 5);
|
||||
v___x_2277_ = lean_unsigned_to_nat(2u);
|
||||
v___x_2278_ = l_Lean_Syntax_getArg(v_x_2269_, v___x_2277_);
|
||||
lean_dec(v_x_2269_);
|
||||
v_ids_2279_ = l_Lean_Syntax_getArgs(v___x_2278_);
|
||||
lean_dec(v___x_2278_);
|
||||
v___x_2280_ = 0;
|
||||
v___x_2281_ = l_Lean_SourceInfo_fromRef(v_ref_2276_, v___x_2280_);
|
||||
v___x_2282_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__1));
|
||||
v___x_2283_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__2));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2284_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2284_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2284_, 1, v___x_2283_);
|
||||
v___x_2285_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__use__1___closed__1));
|
||||
v___x_2286_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_grind__filter_x28___x29___closed__2));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2287_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2287_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2287_, 1, v___x_2286_);
|
||||
v___x_2288_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__5));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2289_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2289_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2289_, 1, v___x_2288_);
|
||||
v___x_2290_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___closed__0));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2291_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2291_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2291_, 1, v___x_2290_);
|
||||
v___x_2292_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__16));
|
||||
v___x_2293_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__17));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2294_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2294_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2294_, 1, v___x_2292_);
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2295_ = l_Lean_Syntax_node1(v___x_2281_, v___x_2293_, v___x_2294_);
|
||||
v___x_2296_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_grind__filter_quot___closed__9));
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2297_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2297_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2297_, 1, v___x_2296_);
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2298_ = l_Lean_Syntax_node5(v___x_2281_, v___x_2285_, v___x_2287_, v___x_2289_, v___x_2291_, v___x_2295_, v___x_2297_);
|
||||
v___x_2299_ = lean_obj_once(&l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__use__1___closed__3, &l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__use__1___closed__3_once, _init_l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__use__1___closed__3);
|
||||
v___x_2300_ = l_Array_appendCore___redArg(v___x_2299_, v_ids_2279_);
|
||||
lean_dec_ref(v_ids_2279_);
|
||||
lean_inc(v___x_2281_);
|
||||
v___x_2301_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_2301_, 0, v___x_2281_);
|
||||
lean_ctor_set(v___x_2301_, 1, v___x_2285_);
|
||||
lean_ctor_set(v___x_2301_, 2, v___x_2300_);
|
||||
v___x_2302_ = l_Lean_Syntax_node3(v___x_2281_, v___x_2282_, v___x_2284_, v___x_2298_, v___x_2301_);
|
||||
v___x_2303_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2303_, 0, v___x_2302_);
|
||||
lean_ctor_set(v___x_2303_, 1, v_a_2271_);
|
||||
return v___x_2303_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___boxed(lean_object* v_x_2304_, lean_object* v_a_2305_, lean_object* v_a_2306_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_2307_;
|
||||
v_res_2307_ = l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1(v_x_2304_, v_a_2305_, v_a_2306_);
|
||||
lean_dec_ref(v_a_2305_);
|
||||
return v_res_2307_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntrosLight__1(lean_object* v_x_2348_, lean_object* v_a_2349_, lean_object* v_a_2350_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2351_; uint8_t v___x_2352_;
|
||||
v___x_2351_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntrosLight___closed__1));
|
||||
v___x_2352_ = l_Lean_Syntax_isOfKind(v_x_2348_, v___x_2351_);
|
||||
if (v___x_2352_ == 0)
|
||||
{
|
||||
lean_object* v___x_2353_; lean_object* v___x_2354_;
|
||||
v___x_2353_ = lean_box(1);
|
||||
v___x_2354_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_2354_, 0, v___x_2353_);
|
||||
lean_ctor_set(v___x_2354_, 1, v_a_2350_);
|
||||
return v___x_2354_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_ref_2355_; uint8_t v___x_2356_; lean_object* v___x_2357_; lean_object* v___x_2358_; lean_object* v___x_2359_; lean_object* v___x_2360_; lean_object* v___x_2361_; lean_object* v___x_2362_; lean_object* v___x_2363_; lean_object* v___x_2364_; lean_object* v___x_2365_; lean_object* v___x_2366_; lean_object* v___x_2367_; lean_object* v___x_2368_; lean_object* v___x_2369_; lean_object* v___x_2370_; lean_object* v___x_2371_; lean_object* v___x_2372_; lean_object* v___x_2373_; lean_object* v___x_2374_; lean_object* v___x_2375_; lean_object* v___x_2376_;
|
||||
v_ref_2355_ = lean_ctor_get(v_a_2349_, 5);
|
||||
v___x_2356_ = 0;
|
||||
v___x_2357_ = l_Lean_SourceInfo_fromRef(v_ref_2355_, v___x_2356_);
|
||||
v___x_2358_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntros___closed__1));
|
||||
v___x_2359_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntros___closed__2));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2360_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2360_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2360_, 1, v___x_2359_);
|
||||
v___x_2361_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__use__1___closed__1));
|
||||
v___x_2362_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_grind__filter_x28___x29___closed__2));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2363_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2363_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2363_, 1, v___x_2362_);
|
||||
v___x_2364_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__5));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2365_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2365_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2365_, 1, v___x_2364_);
|
||||
v___x_2366_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntroLight__1___closed__0));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2367_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2367_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2367_, 1, v___x_2366_);
|
||||
v___x_2368_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__16));
|
||||
v___x_2369_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_symIntro___closed__17));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2370_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2370_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2370_, 1, v___x_2368_);
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2371_ = l_Lean_Syntax_node1(v___x_2357_, v___x_2369_, v___x_2370_);
|
||||
v___x_2372_ = ((lean_object*)(l_Lean_Parser_Tactic_Grind_grind__filter_quot___closed__9));
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2373_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_2373_, 0, v___x_2357_);
|
||||
lean_ctor_set(v___x_2373_, 1, v___x_2372_);
|
||||
lean_inc(v___x_2357_);
|
||||
v___x_2374_ = l_Lean_Syntax_node5(v___x_2357_, v___x_2361_, v___x_2363_, v___x_2365_, v___x_2367_, v___x_2371_, v___x_2373_);
|
||||
v___x_2375_ = l_Lean_Syntax_node2(v___x_2357_, v___x_2358_, v___x_2360_, v___x_2374_);
|
||||
v___x_2376_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2376_, 0, v___x_2375_);
|
||||
lean_ctor_set(v___x_2376_, 1, v_a_2350_);
|
||||
return v___x_2376_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntrosLight__1___boxed(lean_object* v_x_2377_, lean_object* v_a_2378_, lean_object* v_a_2379_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_2380_;
|
||||
v_res_2380_ = l_Lean_Parser_Tactic_Grind___aux__Init__Grind__Interactive______macroRules__Lean__Parser__Tactic__Grind__symIntrosLight__1(v_x_2377_, v_a_2378_, v_a_2379_);
|
||||
lean_dec_ref(v_a_2378_);
|
||||
return v_res_2380_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Grind_Attr(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Init_Grind_Interactive(uint8_t builtin) {
|
||||
|
|
@ -3106,6 +3541,10 @@ l_Lean_Parser_Tactic_Grind_renameI = _init_l_Lean_Parser_Tactic_Grind_renameI();
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_Grind_renameI);
|
||||
l_Lean_Parser_Tactic_Grind_setConfig = _init_l_Lean_Parser_Tactic_Grind_setConfig();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_Grind_setConfig);
|
||||
l_Lean_Parser_Tactic_Grind_symIntro = _init_l_Lean_Parser_Tactic_Grind_symIntro();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_Grind_symIntro);
|
||||
l_Lean_Parser_Tactic_Grind_symIntroLight = _init_l_Lean_Parser_Tactic_Grind_symIntroLight();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_Grind_symIntroLight);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Grind_Attr(uint8_t builtin);
|
||||
|
|
|
|||
310
stage0/stdlib/Init/Grind/Tactics.c
generated
310
stage0/stdlib/Init/Grind/Tactics.c
generated
|
|
@ -13,10 +13,10 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern lean_object* l_Lean_Parser_Tactic_optConfig;
|
||||
lean_object* l_Lean_Name_mkStr1(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_grindParam;
|
||||
extern lean_object* l_Lean_Parser_Tactic_Grind_grindSeq;
|
||||
extern lean_object* l_Lean_Parser_Tactic_grindParam;
|
||||
lean_object* l_Lean_Name_mkStr1(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_optConfig;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l_Lean_Parser_Tactic_grind___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_grind___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_grind___closed__0_value;
|
||||
|
|
@ -114,6 +114,28 @@ static lean_object* l_Lean_Parser_Tactic_grindTrace___closed__6;
|
|||
static lean_once_cell_t l_Lean_Parser_Tactic_grindTrace___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_grindTrace___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_grindTrace;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_sym___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 3, .m_data = "sym"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_sym___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_sym___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_sym___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_grind___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_sym___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_sym___closed__1_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_grind___closed__1_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_sym___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_sym___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_grind___closed__2_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_sym___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_sym___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_sym___closed__0_value),LEAN_SCALAR_PTR_LITERAL(207, 55, 232, 82, 57, 183, 116, 37)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_sym___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_sym___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_sym___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_sym___closed__0_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Parser_Tactic_sym___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_sym___closed__2_value;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__3;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__4;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__5_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__5;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__6;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__7;
|
||||
static lean_once_cell_t l_Lean_Parser_Tactic_sym___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Parser_Tactic_sym___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_sym;
|
||||
static const lean_string_object l_Lean_Parser_Tactic_cutsat___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "cutsat"};
|
||||
static const lean_object* l_Lean_Parser_Tactic_cutsat___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_cutsat___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Parser_Tactic_cutsat___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_grind___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
|
|
@ -420,12 +442,12 @@ v___x_115_ = lean_obj_once(&l_Lean_Parser_Tactic_grindTrace___closed__7, &l_Lean
|
|||
return v___x_115_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_cutsat___closed__3(void){
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_125_; lean_object* v___x_126_; lean_object* v___x_127_; lean_object* v___x_128_;
|
||||
v___x_125_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_126_ = ((lean_object*)(l_Lean_Parser_Tactic_cutsat___closed__2));
|
||||
v___x_126_ = ((lean_object*)(l_Lean_Parser_Tactic_sym___closed__2));
|
||||
v___x_127_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_128_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_128_, 0, v___x_127_);
|
||||
|
|
@ -434,170 +456,262 @@ lean_ctor_set(v___x_128_, 2, v___x_125_);
|
|||
return v___x_128_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_cutsat___closed__4(void){
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_129_; lean_object* v___x_130_; lean_object* v___x_131_; lean_object* v___x_132_;
|
||||
v___x_129_ = lean_obj_once(&l_Lean_Parser_Tactic_cutsat___closed__3, &l_Lean_Parser_Tactic_cutsat___closed__3_once, _init_l_Lean_Parser_Tactic_cutsat___closed__3);
|
||||
v___x_130_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_131_ = ((lean_object*)(l_Lean_Parser_Tactic_cutsat___closed__1));
|
||||
v___x_132_ = lean_alloc_ctor(3, 3, 0);
|
||||
v___x_129_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__13));
|
||||
v___x_130_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__3, &l_Lean_Parser_Tactic_sym___closed__3_once, _init_l_Lean_Parser_Tactic_sym___closed__3);
|
||||
v___x_131_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_132_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_132_, 0, v___x_131_);
|
||||
lean_ctor_set(v___x_132_, 1, v___x_130_);
|
||||
lean_ctor_set(v___x_132_, 2, v___x_129_);
|
||||
return v___x_132_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__5(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_133_; lean_object* v___x_134_; lean_object* v___x_135_; lean_object* v___x_136_;
|
||||
v___x_133_ = lean_obj_once(&l_Lean_Parser_Tactic_grind___closed__28, &l_Lean_Parser_Tactic_grind___closed__28_once, _init_l_Lean_Parser_Tactic_grind___closed__28);
|
||||
v___x_134_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__4, &l_Lean_Parser_Tactic_sym___closed__4_once, _init_l_Lean_Parser_Tactic_sym___closed__4);
|
||||
v___x_135_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_136_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_136_, 0, v___x_135_);
|
||||
lean_ctor_set(v___x_136_, 1, v___x_134_);
|
||||
lean_ctor_set(v___x_136_, 2, v___x_133_);
|
||||
return v___x_136_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__6(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_137_; lean_object* v___x_138_; lean_object* v___x_139_; lean_object* v___x_140_;
|
||||
v___x_137_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__31));
|
||||
v___x_138_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__5, &l_Lean_Parser_Tactic_sym___closed__5_once, _init_l_Lean_Parser_Tactic_sym___closed__5);
|
||||
v___x_139_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_140_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_140_, 0, v___x_139_);
|
||||
lean_ctor_set(v___x_140_, 1, v___x_138_);
|
||||
lean_ctor_set(v___x_140_, 2, v___x_137_);
|
||||
return v___x_140_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__7(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_141_; lean_object* v___x_142_; lean_object* v___x_143_; lean_object* v___x_144_;
|
||||
v___x_141_ = l_Lean_Parser_Tactic_Grind_grindSeq;
|
||||
v___x_142_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__6, &l_Lean_Parser_Tactic_sym___closed__6_once, _init_l_Lean_Parser_Tactic_sym___closed__6);
|
||||
v___x_143_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_144_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_144_, 0, v___x_143_);
|
||||
lean_ctor_set(v___x_144_, 1, v___x_142_);
|
||||
lean_ctor_set(v___x_144_, 2, v___x_141_);
|
||||
return v___x_144_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym___closed__8(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_145_; lean_object* v___x_146_; lean_object* v___x_147_; lean_object* v___x_148_;
|
||||
v___x_145_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__7, &l_Lean_Parser_Tactic_sym___closed__7_once, _init_l_Lean_Parser_Tactic_sym___closed__7);
|
||||
v___x_146_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_147_ = ((lean_object*)(l_Lean_Parser_Tactic_sym___closed__1));
|
||||
v___x_148_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_148_, 0, v___x_147_);
|
||||
lean_ctor_set(v___x_148_, 1, v___x_146_);
|
||||
lean_ctor_set(v___x_148_, 2, v___x_145_);
|
||||
return v___x_148_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_sym(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_149_;
|
||||
v___x_149_ = lean_obj_once(&l_Lean_Parser_Tactic_sym___closed__8, &l_Lean_Parser_Tactic_sym___closed__8_once, _init_l_Lean_Parser_Tactic_sym___closed__8);
|
||||
return v___x_149_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_cutsat___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_; lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_159_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_160_ = ((lean_object*)(l_Lean_Parser_Tactic_cutsat___closed__2));
|
||||
v___x_161_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_162_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_162_, 0, v___x_161_);
|
||||
lean_ctor_set(v___x_162_, 1, v___x_160_);
|
||||
lean_ctor_set(v___x_162_, 2, v___x_159_);
|
||||
return v___x_162_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_cutsat___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_; lean_object* v___x_166_;
|
||||
v___x_163_ = lean_obj_once(&l_Lean_Parser_Tactic_cutsat___closed__3, &l_Lean_Parser_Tactic_cutsat___closed__3_once, _init_l_Lean_Parser_Tactic_cutsat___closed__3);
|
||||
v___x_164_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_165_ = ((lean_object*)(l_Lean_Parser_Tactic_cutsat___closed__1));
|
||||
v___x_166_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_166_, 0, v___x_165_);
|
||||
lean_ctor_set(v___x_166_, 1, v___x_164_);
|
||||
lean_ctor_set(v___x_166_, 2, v___x_163_);
|
||||
return v___x_166_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_cutsat(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_133_;
|
||||
v___x_133_ = lean_obj_once(&l_Lean_Parser_Tactic_cutsat___closed__4, &l_Lean_Parser_Tactic_cutsat___closed__4_once, _init_l_Lean_Parser_Tactic_cutsat___closed__4);
|
||||
return v___x_133_;
|
||||
lean_object* v___x_167_;
|
||||
v___x_167_ = lean_obj_once(&l_Lean_Parser_Tactic_cutsat___closed__4, &l_Lean_Parser_Tactic_cutsat___closed__4_once, _init_l_Lean_Parser_Tactic_cutsat___closed__4);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_lia___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_143_; lean_object* v___x_144_; lean_object* v___x_145_; lean_object* v___x_146_;
|
||||
v___x_143_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_144_ = ((lean_object*)(l_Lean_Parser_Tactic_lia___closed__2));
|
||||
v___x_145_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_146_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_146_, 0, v___x_145_);
|
||||
lean_ctor_set(v___x_146_, 1, v___x_144_);
|
||||
lean_ctor_set(v___x_146_, 2, v___x_143_);
|
||||
return v___x_146_;
|
||||
lean_object* v___x_177_; lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v___x_180_;
|
||||
v___x_177_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_178_ = ((lean_object*)(l_Lean_Parser_Tactic_lia___closed__2));
|
||||
v___x_179_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_180_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_180_, 0, v___x_179_);
|
||||
lean_ctor_set(v___x_180_, 1, v___x_178_);
|
||||
lean_ctor_set(v___x_180_, 2, v___x_177_);
|
||||
return v___x_180_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_lia___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_147_; lean_object* v___x_148_; lean_object* v___x_149_; lean_object* v___x_150_;
|
||||
v___x_147_ = lean_obj_once(&l_Lean_Parser_Tactic_lia___closed__3, &l_Lean_Parser_Tactic_lia___closed__3_once, _init_l_Lean_Parser_Tactic_lia___closed__3);
|
||||
v___x_148_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_149_ = ((lean_object*)(l_Lean_Parser_Tactic_lia___closed__1));
|
||||
v___x_150_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_150_, 0, v___x_149_);
|
||||
lean_ctor_set(v___x_150_, 1, v___x_148_);
|
||||
lean_ctor_set(v___x_150_, 2, v___x_147_);
|
||||
return v___x_150_;
|
||||
lean_object* v___x_181_; lean_object* v___x_182_; lean_object* v___x_183_; lean_object* v___x_184_;
|
||||
v___x_181_ = lean_obj_once(&l_Lean_Parser_Tactic_lia___closed__3, &l_Lean_Parser_Tactic_lia___closed__3_once, _init_l_Lean_Parser_Tactic_lia___closed__3);
|
||||
v___x_182_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_183_ = ((lean_object*)(l_Lean_Parser_Tactic_lia___closed__1));
|
||||
v___x_184_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_184_, 0, v___x_183_);
|
||||
lean_ctor_set(v___x_184_, 1, v___x_182_);
|
||||
lean_ctor_set(v___x_184_, 2, v___x_181_);
|
||||
return v___x_184_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_lia(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_151_;
|
||||
v___x_151_ = lean_obj_once(&l_Lean_Parser_Tactic_lia___closed__4, &l_Lean_Parser_Tactic_lia___closed__4_once, _init_l_Lean_Parser_Tactic_lia___closed__4);
|
||||
return v___x_151_;
|
||||
lean_object* v___x_185_;
|
||||
v___x_185_ = lean_obj_once(&l_Lean_Parser_Tactic_lia___closed__4, &l_Lean_Parser_Tactic_lia___closed__4_once, _init_l_Lean_Parser_Tactic_lia___closed__4);
|
||||
return v___x_185_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__order___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_; lean_object* v___x_163_; lean_object* v___x_164_;
|
||||
v___x_161_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_162_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__order___closed__2));
|
||||
v___x_163_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_164_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_164_, 0, v___x_163_);
|
||||
lean_ctor_set(v___x_164_, 1, v___x_162_);
|
||||
lean_ctor_set(v___x_164_, 2, v___x_161_);
|
||||
return v___x_164_;
|
||||
lean_object* v___x_195_; lean_object* v___x_196_; lean_object* v___x_197_; lean_object* v___x_198_;
|
||||
v___x_195_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_196_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__order___closed__2));
|
||||
v___x_197_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_198_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_198_, 0, v___x_197_);
|
||||
lean_ctor_set(v___x_198_, 1, v___x_196_);
|
||||
lean_ctor_set(v___x_198_, 2, v___x_195_);
|
||||
return v___x_198_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__order___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_165_; lean_object* v___x_166_; lean_object* v___x_167_; lean_object* v___x_168_;
|
||||
v___x_165_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__order___closed__3, &l_Lean_Parser_Tactic_grind__order___closed__3_once, _init_l_Lean_Parser_Tactic_grind__order___closed__3);
|
||||
v___x_166_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_167_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__order___closed__1));
|
||||
v___x_168_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_168_, 0, v___x_167_);
|
||||
lean_ctor_set(v___x_168_, 1, v___x_166_);
|
||||
lean_ctor_set(v___x_168_, 2, v___x_165_);
|
||||
return v___x_168_;
|
||||
lean_object* v___x_199_; lean_object* v___x_200_; lean_object* v___x_201_; lean_object* v___x_202_;
|
||||
v___x_199_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__order___closed__3, &l_Lean_Parser_Tactic_grind__order___closed__3_once, _init_l_Lean_Parser_Tactic_grind__order___closed__3);
|
||||
v___x_200_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_201_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__order___closed__1));
|
||||
v___x_202_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_202_, 0, v___x_201_);
|
||||
lean_ctor_set(v___x_202_, 1, v___x_200_);
|
||||
lean_ctor_set(v___x_202_, 2, v___x_199_);
|
||||
return v___x_202_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__order(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_169_;
|
||||
v___x_169_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__order___closed__4, &l_Lean_Parser_Tactic_grind__order___closed__4_once, _init_l_Lean_Parser_Tactic_grind__order___closed__4);
|
||||
return v___x_169_;
|
||||
lean_object* v___x_203_;
|
||||
v___x_203_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__order___closed__4, &l_Lean_Parser_Tactic_grind__order___closed__4_once, _init_l_Lean_Parser_Tactic_grind__order___closed__4);
|
||||
return v___x_203_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__linarith___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_179_; lean_object* v___x_180_; lean_object* v___x_181_; lean_object* v___x_182_;
|
||||
v___x_179_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_180_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__linarith___closed__2));
|
||||
v___x_181_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_182_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_182_, 0, v___x_181_);
|
||||
lean_ctor_set(v___x_182_, 1, v___x_180_);
|
||||
lean_ctor_set(v___x_182_, 2, v___x_179_);
|
||||
return v___x_182_;
|
||||
lean_object* v___x_213_; lean_object* v___x_214_; lean_object* v___x_215_; lean_object* v___x_216_;
|
||||
v___x_213_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_214_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__linarith___closed__2));
|
||||
v___x_215_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_216_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_216_, 0, v___x_215_);
|
||||
lean_ctor_set(v___x_216_, 1, v___x_214_);
|
||||
lean_ctor_set(v___x_216_, 2, v___x_213_);
|
||||
return v___x_216_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__linarith___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_183_; lean_object* v___x_184_; lean_object* v___x_185_; lean_object* v___x_186_;
|
||||
v___x_183_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__linarith___closed__3, &l_Lean_Parser_Tactic_grind__linarith___closed__3_once, _init_l_Lean_Parser_Tactic_grind__linarith___closed__3);
|
||||
v___x_184_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_185_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__linarith___closed__1));
|
||||
v___x_186_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_186_, 0, v___x_185_);
|
||||
lean_ctor_set(v___x_186_, 1, v___x_184_);
|
||||
lean_ctor_set(v___x_186_, 2, v___x_183_);
|
||||
return v___x_186_;
|
||||
lean_object* v___x_217_; lean_object* v___x_218_; lean_object* v___x_219_; lean_object* v___x_220_;
|
||||
v___x_217_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__linarith___closed__3, &l_Lean_Parser_Tactic_grind__linarith___closed__3_once, _init_l_Lean_Parser_Tactic_grind__linarith___closed__3);
|
||||
v___x_218_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_219_ = ((lean_object*)(l_Lean_Parser_Tactic_grind__linarith___closed__1));
|
||||
v___x_220_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_220_, 0, v___x_219_);
|
||||
lean_ctor_set(v___x_220_, 1, v___x_218_);
|
||||
lean_ctor_set(v___x_220_, 2, v___x_217_);
|
||||
return v___x_220_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grind__linarith(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_187_;
|
||||
v___x_187_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__linarith___closed__4, &l_Lean_Parser_Tactic_grind__linarith___closed__4_once, _init_l_Lean_Parser_Tactic_grind__linarith___closed__4);
|
||||
return v___x_187_;
|
||||
lean_object* v___x_221_;
|
||||
v___x_221_ = lean_obj_once(&l_Lean_Parser_Tactic_grind__linarith___closed__4, &l_Lean_Parser_Tactic_grind__linarith___closed__4_once, _init_l_Lean_Parser_Tactic_grind__linarith___closed__4);
|
||||
return v___x_221_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grobner___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_197_; lean_object* v___x_198_; lean_object* v___x_199_; lean_object* v___x_200_;
|
||||
v___x_197_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_198_ = ((lean_object*)(l_Lean_Parser_Tactic_grobner___closed__2));
|
||||
v___x_199_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_200_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_200_, 0, v___x_199_);
|
||||
lean_ctor_set(v___x_200_, 1, v___x_198_);
|
||||
lean_ctor_set(v___x_200_, 2, v___x_197_);
|
||||
return v___x_200_;
|
||||
lean_object* v___x_231_; lean_object* v___x_232_; lean_object* v___x_233_; lean_object* v___x_234_;
|
||||
v___x_231_ = l_Lean_Parser_Tactic_optConfig;
|
||||
v___x_232_ = ((lean_object*)(l_Lean_Parser_Tactic_grobner___closed__2));
|
||||
v___x_233_ = ((lean_object*)(l_Lean_Parser_Tactic_grind___closed__6));
|
||||
v___x_234_ = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(v___x_234_, 0, v___x_233_);
|
||||
lean_ctor_set(v___x_234_, 1, v___x_232_);
|
||||
lean_ctor_set(v___x_234_, 2, v___x_231_);
|
||||
return v___x_234_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grobner___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_201_; lean_object* v___x_202_; lean_object* v___x_203_; lean_object* v___x_204_;
|
||||
v___x_201_ = lean_obj_once(&l_Lean_Parser_Tactic_grobner___closed__3, &l_Lean_Parser_Tactic_grobner___closed__3_once, _init_l_Lean_Parser_Tactic_grobner___closed__3);
|
||||
v___x_202_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_203_ = ((lean_object*)(l_Lean_Parser_Tactic_grobner___closed__1));
|
||||
v___x_204_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_204_, 0, v___x_203_);
|
||||
lean_ctor_set(v___x_204_, 1, v___x_202_);
|
||||
lean_ctor_set(v___x_204_, 2, v___x_201_);
|
||||
return v___x_204_;
|
||||
lean_object* v___x_235_; lean_object* v___x_236_; lean_object* v___x_237_; lean_object* v___x_238_;
|
||||
v___x_235_ = lean_obj_once(&l_Lean_Parser_Tactic_grobner___closed__3, &l_Lean_Parser_Tactic_grobner___closed__3_once, _init_l_Lean_Parser_Tactic_grobner___closed__3);
|
||||
v___x_236_ = lean_unsigned_to_nat(1022u);
|
||||
v___x_237_ = ((lean_object*)(l_Lean_Parser_Tactic_grobner___closed__1));
|
||||
v___x_238_ = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(v___x_238_, 0, v___x_237_);
|
||||
lean_ctor_set(v___x_238_, 1, v___x_236_);
|
||||
lean_ctor_set(v___x_238_, 2, v___x_235_);
|
||||
return v___x_238_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_grobner(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_205_;
|
||||
v___x_205_ = lean_obj_once(&l_Lean_Parser_Tactic_grobner___closed__4, &l_Lean_Parser_Tactic_grobner___closed__4_once, _init_l_Lean_Parser_Tactic_grobner___closed__4);
|
||||
return v___x_205_;
|
||||
lean_object* v___x_239_;
|
||||
v___x_239_ = lean_obj_once(&l_Lean_Parser_Tactic_grobner___closed__4, &l_Lean_Parser_Tactic_grobner___closed__4_once, _init_l_Lean_Parser_Tactic_grobner___closed__4);
|
||||
return v___x_239_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Core(uint8_t builtin);
|
||||
|
|
@ -624,6 +738,8 @@ l_Lean_Parser_Tactic_grind = _init_l_Lean_Parser_Tactic_grind();
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_grind);
|
||||
l_Lean_Parser_Tactic_grindTrace = _init_l_Lean_Parser_Tactic_grindTrace();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_grindTrace);
|
||||
l_Lean_Parser_Tactic_sym = _init_l_Lean_Parser_Tactic_sym();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_sym);
|
||||
l_Lean_Parser_Tactic_cutsat = _init_l_Lean_Parser_Tactic_cutsat();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_cutsat);
|
||||
l_Lean_Parser_Tactic_lia = _init_l_Lean_Parser_Tactic_lia();
|
||||
|
|
|
|||
607
stage0/stdlib/Init/System/Uri.c
generated
607
stage0/stdlib/Init/System/Uri.c
generated
|
|
@ -13,22 +13,24 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_le(uint32_t, uint32_t);
|
||||
uint32_t lean_uint32_add(uint32_t, uint32_t);
|
||||
lean_object* lean_string_utf8_set(lean_object*, lean_object*, uint32_t);
|
||||
lean_object* l_Char_utf8Size(uint32_t);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_string_memcmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_to_utf8(lean_object*);
|
||||
lean_object* lean_byte_array_size(lean_object*);
|
||||
extern lean_object* l_ByteArray_empty;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
uint8_t lean_byte_array_fget(lean_object*, lean_object*);
|
||||
lean_object* lean_byte_array_push(lean_object*, uint8_t);
|
||||
uint8_t lean_uint8_dec_eq(uint8_t, uint8_t);
|
||||
|
|
@ -41,8 +43,6 @@ lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*,
|
|||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_String_Slice_Pos_nextn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
|
||||
extern uint8_t l_System_Platform_isWindows;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
lean_object* l_String_Pos_Raw_modify(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -177,8 +177,8 @@ static const lean_object* l_System_Uri_pathToUri___closed__3 = (const lean_objec
|
|||
LEAN_EXPORT lean_object* l_System_Uri_pathToUri(lean_object*);
|
||||
LEAN_EXPORT uint32_t l_System_Uri_fileUriToPath_x3f___lam__0(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f___lam__0___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_mapAux___at___00System_Uri_fileUriToPath_x3f_spec__0(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_System_Uri_fileUriToPath_x3f___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_System_Uri_fileUriToPath_x3f___closed__0;
|
||||
|
|
@ -1659,66 +1659,57 @@ return v___x_452_;
|
|||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f___lam__0___boxed(lean_object* v___y_453_){
|
||||
_start:
|
||||
{
|
||||
uint32_t v___y_1743__boxed_454_; uint32_t v_res_455_; lean_object* v_r_456_;
|
||||
v___y_1743__boxed_454_ = lean_unbox_uint32(v___y_453_);
|
||||
uint32_t v___y_1754__boxed_454_; uint32_t v_res_455_; lean_object* v_r_456_;
|
||||
v___y_1754__boxed_454_ = lean_unbox_uint32(v___y_453_);
|
||||
lean_dec(v___y_453_);
|
||||
v_res_455_ = l_System_Uri_fileUriToPath_x3f___lam__0(v___y_1743__boxed_454_);
|
||||
v_res_455_ = l_System_Uri_fileUriToPath_x3f___lam__0(v___y_1754__boxed_454_);
|
||||
v_r_456_ = lean_box_uint32(v_res_455_);
|
||||
return v_r_456_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1(uint8_t v___x_457_, lean_object* v_s_458_, lean_object* v_curr_459_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1(uint8_t v___x_457_, lean_object* v_s_458_, lean_object* v_pos_459_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_str_460_; lean_object* v_startInclusive_461_; lean_object* v_endExclusive_462_; lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_; lean_object* v___x_466_; uint8_t v___x_467_;
|
||||
lean_object* v_str_460_; lean_object* v_startInclusive_461_; lean_object* v_endExclusive_462_; lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_; uint8_t v___x_466_;
|
||||
v_str_460_ = lean_ctor_get(v_s_458_, 0);
|
||||
v_startInclusive_461_ = lean_ctor_get(v_s_458_, 1);
|
||||
v_endExclusive_462_ = lean_ctor_get(v_s_458_, 2);
|
||||
v___x_463_ = lean_nat_add(v_startInclusive_461_, v_curr_459_);
|
||||
lean_inc(v_endExclusive_462_);
|
||||
lean_inc(v___x_463_);
|
||||
lean_inc_ref(v_str_460_);
|
||||
v___x_464_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_464_, 0, v_str_460_);
|
||||
lean_ctor_set(v___x_464_, 1, v___x_463_);
|
||||
lean_ctor_set(v___x_464_, 2, v_endExclusive_462_);
|
||||
v___x_465_ = lean_unsigned_to_nat(0u);
|
||||
v___x_466_ = lean_nat_sub(v_endExclusive_462_, v___x_463_);
|
||||
v___x_467_ = lean_nat_dec_eq(v___x_465_, v___x_466_);
|
||||
lean_dec(v___x_466_);
|
||||
if (v___x_467_ == 0)
|
||||
v___x_463_ = lean_nat_add(v_startInclusive_461_, v_pos_459_);
|
||||
v___x_464_ = lean_unsigned_to_nat(0u);
|
||||
v___x_465_ = lean_nat_sub(v_endExclusive_462_, v___x_463_);
|
||||
v___x_466_ = lean_nat_dec_eq(v___x_464_, v___x_465_);
|
||||
lean_dec(v___x_465_);
|
||||
if (v___x_466_ == 0)
|
||||
{
|
||||
uint32_t v___x_468_; uint32_t v___x_469_; uint8_t v___x_470_;
|
||||
v___x_468_ = lean_string_utf8_get_fast(v_str_460_, v___x_463_);
|
||||
v___x_469_ = 47;
|
||||
v___x_470_ = lean_uint32_dec_eq(v___x_468_, v___x_469_);
|
||||
if (v___x_470_ == 0)
|
||||
uint32_t v___x_467_; uint32_t v___x_468_; uint8_t v___x_469_;
|
||||
v___x_467_ = lean_string_utf8_get_fast(v_str_460_, v___x_463_);
|
||||
v___x_468_ = 47;
|
||||
v___x_469_ = lean_uint32_dec_eq(v___x_467_, v___x_468_);
|
||||
if (v___x_469_ == 0)
|
||||
{
|
||||
if (v___x_457_ == 0)
|
||||
{
|
||||
lean_dec(v___x_463_);
|
||||
lean_dec(v_curr_459_);
|
||||
return v___x_464_;
|
||||
return v_pos_459_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_471_; lean_object* v___x_472_; lean_object* v___x_473_; uint8_t v___x_474_;
|
||||
v___x_471_ = lean_string_utf8_next_fast(v_str_460_, v___x_463_);
|
||||
v___x_472_ = lean_nat_sub(v___x_471_, v___x_463_);
|
||||
lean_object* v___x_470_; lean_object* v___x_471_; lean_object* v___x_472_; uint8_t v___x_473_;
|
||||
v___x_470_ = lean_string_utf8_next_fast(v_str_460_, v___x_463_);
|
||||
v___x_471_ = lean_nat_sub(v___x_470_, v___x_463_);
|
||||
lean_dec(v___x_463_);
|
||||
v___x_473_ = lean_nat_add(v_curr_459_, v___x_472_);
|
||||
lean_dec(v___x_472_);
|
||||
v___x_474_ = lean_nat_dec_lt(v_curr_459_, v___x_473_);
|
||||
lean_dec(v_curr_459_);
|
||||
if (v___x_474_ == 0)
|
||||
v___x_472_ = lean_nat_add(v_pos_459_, v___x_471_);
|
||||
lean_dec(v___x_471_);
|
||||
v___x_473_ = lean_nat_dec_lt(v_pos_459_, v___x_472_);
|
||||
if (v___x_473_ == 0)
|
||||
{
|
||||
lean_dec(v___x_473_);
|
||||
return v___x_464_;
|
||||
lean_dec(v___x_472_);
|
||||
return v_pos_459_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v___x_464_);
|
||||
v_curr_459_ = v___x_473_;
|
||||
lean_dec(v_pos_459_);
|
||||
v_pos_459_ = v___x_472_;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -1726,69 +1717,67 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_dec(v___x_463_);
|
||||
lean_dec(v_curr_459_);
|
||||
return v___x_464_;
|
||||
return v_pos_459_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v___x_463_);
|
||||
lean_dec(v_curr_459_);
|
||||
return v___x_464_;
|
||||
return v_pos_459_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1___boxed(lean_object* v___x_476_, lean_object* v_s_477_, lean_object* v_curr_478_){
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1___boxed(lean_object* v___x_475_, lean_object* v_s_476_, lean_object* v_pos_477_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_1758__boxed_479_; lean_object* v_res_480_;
|
||||
v___x_1758__boxed_479_ = lean_unbox(v___x_476_);
|
||||
v_res_480_ = l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1(v___x_1758__boxed_479_, v_s_477_, v_curr_478_);
|
||||
lean_dec_ref(v_s_477_);
|
||||
return v_res_480_;
|
||||
uint8_t v___x_1769__boxed_478_; lean_object* v_res_479_;
|
||||
v___x_1769__boxed_478_ = lean_unbox(v___x_475_);
|
||||
v_res_479_ = l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1(v___x_1769__boxed_478_, v_s_476_, v_pos_477_);
|
||||
lean_dec_ref(v_s_476_);
|
||||
return v_res_479_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_mapAux___at___00System_Uri_fileUriToPath_x3f_spec__0(lean_object* v_s_481_, lean_object* v_p_482_){
|
||||
LEAN_EXPORT lean_object* l_String_mapAux___at___00System_Uri_fileUriToPath_x3f_spec__0(lean_object* v_s_480_, lean_object* v_p_481_){
|
||||
_start:
|
||||
{
|
||||
uint32_t v___y_484_; lean_object* v___x_489_; uint8_t v___x_490_;
|
||||
v___x_489_ = lean_string_utf8_byte_size(v_s_481_);
|
||||
v___x_490_ = lean_nat_dec_eq(v_p_482_, v___x_489_);
|
||||
if (v___x_490_ == 0)
|
||||
uint32_t v___y_483_; lean_object* v___x_488_; uint8_t v___x_489_;
|
||||
v___x_488_ = lean_string_utf8_byte_size(v_s_480_);
|
||||
v___x_489_ = lean_nat_dec_eq(v_p_481_, v___x_488_);
|
||||
if (v___x_489_ == 0)
|
||||
{
|
||||
uint32_t v___x_491_; uint32_t v___x_492_; uint8_t v___x_493_;
|
||||
v___x_491_ = lean_string_utf8_get_fast(v_s_481_, v_p_482_);
|
||||
v___x_492_ = 47;
|
||||
v___x_493_ = lean_uint32_dec_eq(v___x_491_, v___x_492_);
|
||||
if (v___x_493_ == 0)
|
||||
uint32_t v___x_490_; uint32_t v___x_491_; uint8_t v___x_492_;
|
||||
v___x_490_ = lean_string_utf8_get_fast(v_s_480_, v_p_481_);
|
||||
v___x_491_ = 47;
|
||||
v___x_492_ = lean_uint32_dec_eq(v___x_490_, v___x_491_);
|
||||
if (v___x_492_ == 0)
|
||||
{
|
||||
v___y_484_ = v___x_491_;
|
||||
goto v___jp_483_;
|
||||
v___y_483_ = v___x_490_;
|
||||
goto v___jp_482_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_494_;
|
||||
v___x_494_ = 92;
|
||||
v___y_484_ = v___x_494_;
|
||||
goto v___jp_483_;
|
||||
uint32_t v___x_493_;
|
||||
v___x_493_ = 92;
|
||||
v___y_483_ = v___x_493_;
|
||||
goto v___jp_482_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_p_482_);
|
||||
return v_s_481_;
|
||||
lean_dec(v_p_481_);
|
||||
return v_s_480_;
|
||||
}
|
||||
v___jp_483_:
|
||||
v___jp_482_:
|
||||
{
|
||||
lean_object* v___x_485_; lean_object* v___x_486_; lean_object* v___x_487_;
|
||||
lean_inc(v_p_482_);
|
||||
v___x_485_ = lean_string_utf8_set(v_s_481_, v_p_482_, v___y_484_);
|
||||
v___x_486_ = l_Char_utf8Size(v___y_484_);
|
||||
v___x_487_ = lean_nat_add(v_p_482_, v___x_486_);
|
||||
lean_dec(v___x_486_);
|
||||
lean_dec(v_p_482_);
|
||||
v_s_481_ = v___x_485_;
|
||||
v_p_482_ = v___x_487_;
|
||||
lean_object* v___x_484_; lean_object* v___x_485_; lean_object* v___x_486_;
|
||||
lean_inc(v_p_481_);
|
||||
v___x_484_ = lean_string_utf8_set(v_s_480_, v_p_481_, v___y_483_);
|
||||
v___x_485_ = l_Char_utf8Size(v___y_483_);
|
||||
v___x_486_ = lean_nat_add(v_p_481_, v___x_485_);
|
||||
lean_dec(v___x_485_);
|
||||
lean_dec(v_p_481_);
|
||||
v_s_480_ = v___x_484_;
|
||||
v_p_481_ = v___x_486_;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -1796,288 +1785,242 @@ goto _start;
|
|||
static lean_object* _init_l_System_Uri_fileUriToPath_x3f___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_495_; lean_object* v___x_496_;
|
||||
v___x_495_ = ((lean_object*)(l_System_Uri_pathToUri___closed__3));
|
||||
v___x_496_ = lean_string_utf8_byte_size(v___x_495_);
|
||||
return v___x_496_;
|
||||
lean_object* v___x_494_; lean_object* v___x_495_;
|
||||
v___x_494_ = ((lean_object*)(l_System_Uri_pathToUri___closed__3));
|
||||
v___x_495_ = lean_string_utf8_byte_size(v___x_494_);
|
||||
return v___x_495_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f(lean_object* v_uri_498_){
|
||||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f(lean_object* v_uri_497_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_p_500_; lean_object* v___x_504_; lean_object* v___x_505_; lean_object* v___x_506_; uint8_t v___x_507_;
|
||||
v___x_504_ = ((lean_object*)(l_System_Uri_pathToUri___closed__3));
|
||||
v___x_505_ = lean_string_utf8_byte_size(v_uri_498_);
|
||||
v___x_506_ = lean_obj_once(&l_System_Uri_fileUriToPath_x3f___closed__0, &l_System_Uri_fileUriToPath_x3f___closed__0_once, _init_l_System_Uri_fileUriToPath_x3f___closed__0);
|
||||
v___x_507_ = lean_nat_dec_le(v___x_506_, v___x_505_);
|
||||
if (v___x_507_ == 0)
|
||||
lean_object* v_p_499_; lean_object* v___x_503_; lean_object* v___x_504_; lean_object* v___x_505_; uint8_t v___x_506_;
|
||||
v___x_503_ = ((lean_object*)(l_System_Uri_pathToUri___closed__3));
|
||||
v___x_504_ = lean_string_utf8_byte_size(v_uri_497_);
|
||||
v___x_505_ = lean_obj_once(&l_System_Uri_fileUriToPath_x3f___closed__0, &l_System_Uri_fileUriToPath_x3f___closed__0_once, _init_l_System_Uri_fileUriToPath_x3f___closed__0);
|
||||
v___x_506_ = lean_nat_dec_le(v___x_505_, v___x_504_);
|
||||
if (v___x_506_ == 0)
|
||||
{
|
||||
lean_object* v___x_508_;
|
||||
v___x_508_ = lean_box(0);
|
||||
return v___x_508_;
|
||||
lean_object* v___x_507_;
|
||||
v___x_507_ = lean_box(0);
|
||||
return v___x_507_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_509_; uint8_t v___x_510_;
|
||||
v___x_509_ = lean_unsigned_to_nat(0u);
|
||||
v___x_510_ = lean_string_memcmp(v_uri_498_, v___x_504_, v___x_509_, v___x_509_, v___x_506_);
|
||||
if (v___x_510_ == 0)
|
||||
lean_object* v___x_508_; uint8_t v___x_509_;
|
||||
v___x_508_ = lean_unsigned_to_nat(0u);
|
||||
v___x_509_ = lean_string_memcmp(v_uri_497_, v___x_503_, v___x_508_, v___x_508_, v___x_505_);
|
||||
if (v___x_509_ == 0)
|
||||
{
|
||||
lean_object* v___x_511_;
|
||||
v___x_511_ = lean_box(0);
|
||||
return v___x_511_;
|
||||
lean_object* v___x_510_;
|
||||
v___x_510_ = lean_box(0);
|
||||
return v___x_510_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_512_; lean_object* v___x_513_; lean_object* v___x_514_; lean_object* v___x_515_; lean_object* v___x_516_; lean_object* v_p_517_; lean_object* v___x_518_; lean_object* v___x_519_; lean_object* v___x_520_; lean_object* v_str_521_; lean_object* v_startInclusive_522_; lean_object* v_endExclusive_523_; lean_object* v___x_525_; uint8_t v_isShared_526_; uint8_t v_isSharedCheck_573_;
|
||||
v___x_512_ = l_System_Uri_UriEscape_decodeUri(v_uri_498_);
|
||||
v___x_513_ = lean_unsigned_to_nat(7u);
|
||||
v___x_514_ = lean_string_utf8_byte_size(v___x_512_);
|
||||
lean_inc_ref(v___x_512_);
|
||||
v___x_515_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_515_, 0, v___x_512_);
|
||||
lean_ctor_set(v___x_515_, 1, v___x_509_);
|
||||
lean_ctor_set(v___x_515_, 2, v___x_514_);
|
||||
v___x_516_ = l_String_Slice_Pos_nextn(v___x_515_, v___x_509_, v___x_513_);
|
||||
lean_dec_ref(v___x_515_);
|
||||
v_p_517_ = lean_string_utf8_extract(v___x_512_, v___x_516_, v___x_514_);
|
||||
lean_dec(v___x_516_);
|
||||
lean_dec_ref(v___x_512_);
|
||||
v___x_518_ = lean_string_utf8_byte_size(v_p_517_);
|
||||
v___x_519_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_519_, 0, v_p_517_);
|
||||
lean_ctor_set(v___x_519_, 1, v___x_509_);
|
||||
lean_ctor_set(v___x_519_, 2, v___x_518_);
|
||||
v___x_520_ = l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00System_Uri_fileUriToPath_x3f_spec__1(v___x_510_, v___x_519_, v___x_509_);
|
||||
lean_dec_ref(v___x_519_);
|
||||
v_str_521_ = lean_ctor_get(v___x_520_, 0);
|
||||
v_startInclusive_522_ = lean_ctor_get(v___x_520_, 1);
|
||||
v_endExclusive_523_ = lean_ctor_get(v___x_520_, 2);
|
||||
v_isSharedCheck_573_ = !lean_is_exclusive(v___x_520_);
|
||||
if (v_isSharedCheck_573_ == 0)
|
||||
lean_object* v___x_511_; lean_object* v___x_512_; lean_object* v___x_513_; lean_object* v___x_514_; lean_object* v___x_515_; lean_object* v_p_516_; lean_object* v___x_517_; lean_object* v___x_518_; lean_object* v___x_519_; lean_object* v_p_520_; uint8_t v___x_521_;
|
||||
v___x_511_ = l_System_Uri_UriEscape_decodeUri(v_uri_497_);
|
||||
v___x_512_ = lean_unsigned_to_nat(7u);
|
||||
v___x_513_ = lean_string_utf8_byte_size(v___x_511_);
|
||||
lean_inc_ref(v___x_511_);
|
||||
v___x_514_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_514_, 0, v___x_511_);
|
||||
lean_ctor_set(v___x_514_, 1, v___x_508_);
|
||||
lean_ctor_set(v___x_514_, 2, v___x_513_);
|
||||
v___x_515_ = l_String_Slice_Pos_nextn(v___x_514_, v___x_508_, v___x_512_);
|
||||
lean_dec_ref(v___x_514_);
|
||||
v_p_516_ = lean_string_utf8_extract(v___x_511_, v___x_515_, v___x_513_);
|
||||
lean_dec(v___x_515_);
|
||||
lean_dec_ref(v___x_511_);
|
||||
v___x_517_ = lean_string_utf8_byte_size(v_p_516_);
|
||||
lean_inc_ref(v_p_516_);
|
||||
v___x_518_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_518_, 0, v_p_516_);
|
||||
lean_ctor_set(v___x_518_, 1, v___x_508_);
|
||||
lean_ctor_set(v___x_518_, 2, v___x_517_);
|
||||
v___x_519_ = l_String_Slice_Pos_skipWhile___at___00System_Uri_fileUriToPath_x3f_spec__1(v___x_509_, v___x_518_, v___x_508_);
|
||||
lean_dec_ref(v___x_518_);
|
||||
v_p_520_ = lean_string_utf8_extract(v_p_516_, v___x_519_, v___x_517_);
|
||||
lean_dec(v___x_519_);
|
||||
lean_dec_ref(v_p_516_);
|
||||
v___x_521_ = l_System_Platform_isWindows;
|
||||
if (v___x_521_ == 0)
|
||||
{
|
||||
v___x_525_ = v___x_520_;
|
||||
v_isShared_526_ = v_isSharedCheck_573_;
|
||||
goto v_resetjp_524_;
|
||||
lean_object* v___x_522_;
|
||||
v___x_522_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_522_, 0, v_p_520_);
|
||||
return v___x_522_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_endExclusive_523_);
|
||||
lean_inc(v_startInclusive_522_);
|
||||
lean_inc(v_str_521_);
|
||||
lean_dec(v___x_520_);
|
||||
v___x_525_ = lean_box(0);
|
||||
v_isShared_526_ = v_isSharedCheck_573_;
|
||||
goto v_resetjp_524_;
|
||||
}
|
||||
v_resetjp_524_:
|
||||
{
|
||||
lean_object* v_p_527_; uint8_t v___x_528_;
|
||||
v_p_527_ = lean_string_utf8_extract(v_str_521_, v_startInclusive_522_, v_endExclusive_523_);
|
||||
lean_dec(v_endExclusive_523_);
|
||||
lean_dec(v_startInclusive_522_);
|
||||
lean_dec_ref(v_str_521_);
|
||||
v___x_528_ = l_System_Platform_isWindows;
|
||||
if (v___x_528_ == 0)
|
||||
{
|
||||
lean_object* v___x_529_;
|
||||
lean_del_object(v___x_525_);
|
||||
v___x_529_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_529_, 0, v_p_527_);
|
||||
return v___x_529_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___f_530_; uint8_t v___y_545_; uint32_t v___y_547_; uint8_t v___y_553_; uint32_t v___y_561_; lean_object* v___x_564_; lean_object* v___x_565_; uint8_t v___x_566_;
|
||||
v___f_530_ = ((lean_object*)(l_System_Uri_fileUriToPath_x3f___closed__1));
|
||||
v___x_564_ = lean_unsigned_to_nat(2u);
|
||||
v___x_565_ = lean_string_length(v_p_527_);
|
||||
v___x_566_ = lean_nat_dec_le(v___x_564_, v___x_565_);
|
||||
if (v___x_566_ == 0)
|
||||
{
|
||||
v___y_553_ = v___x_566_;
|
||||
goto v___jp_552_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_567_; lean_object* v___x_568_; lean_object* v___x_569_;
|
||||
v___x_567_ = lean_string_utf8_byte_size(v_p_527_);
|
||||
lean_inc_ref(v_p_527_);
|
||||
v___x_568_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_568_, 0, v_p_527_);
|
||||
lean_ctor_set(v___x_568_, 1, v___x_509_);
|
||||
lean_ctor_set(v___x_568_, 2, v___x_567_);
|
||||
v___x_569_ = l_String_Slice_Pos_get_x3f(v___x_568_, v___x_509_);
|
||||
lean_dec_ref(v___x_568_);
|
||||
if (lean_obj_tag(v___x_569_) == 0)
|
||||
{
|
||||
uint32_t v___x_570_;
|
||||
v___x_570_ = 65;
|
||||
v___y_561_ = v___x_570_;
|
||||
goto v___jp_560_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_571_; uint32_t v___x_572_;
|
||||
v_val_571_ = lean_ctor_get(v___x_569_, 0);
|
||||
lean_inc(v_val_571_);
|
||||
lean_dec_ref(v___x_569_);
|
||||
v___x_572_ = lean_unbox_uint32(v_val_571_);
|
||||
lean_dec(v_val_571_);
|
||||
v___y_561_ = v___x_572_;
|
||||
goto v___jp_560_;
|
||||
}
|
||||
}
|
||||
v___jp_531_:
|
||||
{
|
||||
lean_object* v___x_532_; uint32_t v___x_533_; uint32_t v___x_534_; uint8_t v___x_535_;
|
||||
v___x_532_ = lean_unsigned_to_nat(2u);
|
||||
v___x_533_ = lean_string_utf8_get(v_p_527_, v___x_532_);
|
||||
v___x_534_ = 58;
|
||||
v___x_535_ = lean_uint32_dec_eq(v___x_533_, v___x_534_);
|
||||
if (v___x_535_ == 0)
|
||||
{
|
||||
lean_del_object(v___x_525_);
|
||||
v_p_500_ = v_p_527_;
|
||||
goto v___jp_499_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_536_; lean_object* v___x_537_; lean_object* v___x_539_;
|
||||
v___x_536_ = lean_unsigned_to_nat(1u);
|
||||
v___x_537_ = lean_string_utf8_byte_size(v_p_527_);
|
||||
lean_inc_ref(v_p_527_);
|
||||
if (v_isShared_526_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_525_, 2, v___x_537_);
|
||||
lean_ctor_set(v___x_525_, 1, v___x_509_);
|
||||
lean_ctor_set(v___x_525_, 0, v_p_527_);
|
||||
v___x_539_ = v___x_525_;
|
||||
goto v_reusejp_538_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_543_;
|
||||
v_reuseFailAlloc_543_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_543_, 0, v_p_527_);
|
||||
lean_ctor_set(v_reuseFailAlloc_543_, 1, v___x_509_);
|
||||
lean_ctor_set(v_reuseFailAlloc_543_, 2, v___x_537_);
|
||||
v___x_539_ = v_reuseFailAlloc_543_;
|
||||
goto v_reusejp_538_;
|
||||
}
|
||||
v_reusejp_538_:
|
||||
{
|
||||
lean_object* v___x_540_; lean_object* v___x_541_; lean_object* v_p_542_;
|
||||
v___x_540_ = l_String_Slice_Pos_nextn(v___x_539_, v___x_509_, v___x_536_);
|
||||
lean_dec_ref(v___x_539_);
|
||||
v___x_541_ = lean_string_utf8_extract(v_p_527_, v___x_540_, v___x_537_);
|
||||
lean_dec(v___x_540_);
|
||||
lean_dec_ref(v_p_527_);
|
||||
v_p_542_ = l_String_Pos_Raw_modify(v___x_541_, v___x_509_, v___f_530_);
|
||||
v_p_500_ = v_p_542_;
|
||||
goto v___jp_499_;
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_544_:
|
||||
{
|
||||
if (v___y_545_ == 0)
|
||||
{
|
||||
lean_del_object(v___x_525_);
|
||||
v_p_500_ = v_p_527_;
|
||||
goto v___jp_499_;
|
||||
}
|
||||
else
|
||||
{
|
||||
goto v___jp_531_;
|
||||
}
|
||||
}
|
||||
v___jp_546_:
|
||||
{
|
||||
uint32_t v___x_548_; uint8_t v___x_549_;
|
||||
v___x_548_ = 97;
|
||||
v___x_549_ = lean_uint32_dec_le(v___x_548_, v___y_547_);
|
||||
if (v___x_549_ == 0)
|
||||
{
|
||||
v___y_545_ = v___x_549_;
|
||||
goto v___jp_544_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_550_; uint8_t v___x_551_;
|
||||
v___x_550_ = 122;
|
||||
v___x_551_ = lean_uint32_dec_le(v___y_547_, v___x_550_);
|
||||
v___y_545_ = v___x_551_;
|
||||
goto v___jp_544_;
|
||||
}
|
||||
}
|
||||
v___jp_552_:
|
||||
{
|
||||
if (v___y_553_ == 0)
|
||||
{
|
||||
lean_del_object(v___x_525_);
|
||||
v_p_500_ = v_p_527_;
|
||||
goto v___jp_499_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_554_; uint32_t v___x_555_; uint32_t v___x_556_; uint8_t v___x_557_;
|
||||
v___x_554_ = lean_unsigned_to_nat(1u);
|
||||
v___x_555_ = lean_string_utf8_get(v_p_527_, v___x_554_);
|
||||
v___x_556_ = 65;
|
||||
v___x_557_ = lean_uint32_dec_le(v___x_556_, v___x_555_);
|
||||
lean_object* v___f_523_; uint8_t v___y_536_; uint32_t v___y_538_; uint8_t v___y_544_; uint32_t v___y_552_; lean_object* v___x_555_; lean_object* v___x_556_; uint8_t v___x_557_;
|
||||
v___f_523_ = ((lean_object*)(l_System_Uri_fileUriToPath_x3f___closed__1));
|
||||
v___x_555_ = lean_unsigned_to_nat(2u);
|
||||
v___x_556_ = lean_string_length(v_p_520_);
|
||||
v___x_557_ = lean_nat_dec_le(v___x_555_, v___x_556_);
|
||||
if (v___x_557_ == 0)
|
||||
{
|
||||
v___y_547_ = v___x_555_;
|
||||
goto v___jp_546_;
|
||||
v___y_544_ = v___x_557_;
|
||||
goto v___jp_543_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_558_; uint8_t v___x_559_;
|
||||
v___x_558_ = 90;
|
||||
v___x_559_ = lean_uint32_dec_le(v___x_555_, v___x_558_);
|
||||
if (v___x_559_ == 0)
|
||||
lean_object* v___x_558_; lean_object* v___x_559_; lean_object* v___x_560_;
|
||||
v___x_558_ = lean_string_utf8_byte_size(v_p_520_);
|
||||
lean_inc_ref(v_p_520_);
|
||||
v___x_559_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_559_, 0, v_p_520_);
|
||||
lean_ctor_set(v___x_559_, 1, v___x_508_);
|
||||
lean_ctor_set(v___x_559_, 2, v___x_558_);
|
||||
v___x_560_ = l_String_Slice_Pos_get_x3f(v___x_559_, v___x_508_);
|
||||
lean_dec_ref(v___x_559_);
|
||||
if (lean_obj_tag(v___x_560_) == 0)
|
||||
{
|
||||
v___y_547_ = v___x_555_;
|
||||
goto v___jp_546_;
|
||||
uint32_t v___x_561_;
|
||||
v___x_561_ = 65;
|
||||
v___y_552_ = v___x_561_;
|
||||
goto v___jp_551_;
|
||||
}
|
||||
else
|
||||
{
|
||||
goto v___jp_531_;
|
||||
lean_object* v_val_562_; uint32_t v___x_563_;
|
||||
v_val_562_ = lean_ctor_get(v___x_560_, 0);
|
||||
lean_inc(v_val_562_);
|
||||
lean_dec_ref(v___x_560_);
|
||||
v___x_563_ = lean_unbox_uint32(v_val_562_);
|
||||
lean_dec(v_val_562_);
|
||||
v___y_552_ = v___x_563_;
|
||||
goto v___jp_551_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_560_:
|
||||
v___jp_524_:
|
||||
{
|
||||
uint32_t v___x_562_; uint8_t v___x_563_;
|
||||
v___x_562_ = 47;
|
||||
v___x_563_ = lean_uint32_dec_eq(v___y_561_, v___x_562_);
|
||||
v___y_553_ = v___x_563_;
|
||||
goto v___jp_552_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_499_:
|
||||
lean_object* v___x_525_; uint32_t v___x_526_; uint32_t v___x_527_; uint8_t v___x_528_;
|
||||
v___x_525_ = lean_unsigned_to_nat(2u);
|
||||
v___x_526_ = lean_string_utf8_get(v_p_520_, v___x_525_);
|
||||
v___x_527_ = 58;
|
||||
v___x_528_ = lean_uint32_dec_eq(v___x_526_, v___x_527_);
|
||||
if (v___x_528_ == 0)
|
||||
{
|
||||
lean_object* v___x_501_; lean_object* v_p_502_; lean_object* v___x_503_;
|
||||
v___x_501_ = lean_unsigned_to_nat(0u);
|
||||
v_p_502_ = l_String_mapAux___at___00System_Uri_fileUriToPath_x3f_spec__0(v_p_500_, v___x_501_);
|
||||
v___x_503_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_503_, 0, v_p_502_);
|
||||
return v___x_503_;
|
||||
v_p_499_ = v_p_520_;
|
||||
goto v___jp_498_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_529_; lean_object* v___x_530_; lean_object* v___x_531_; lean_object* v___x_532_; lean_object* v___x_533_; lean_object* v_p_534_;
|
||||
v___x_529_ = lean_unsigned_to_nat(1u);
|
||||
v___x_530_ = lean_string_utf8_byte_size(v_p_520_);
|
||||
lean_inc_ref(v_p_520_);
|
||||
v___x_531_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_531_, 0, v_p_520_);
|
||||
lean_ctor_set(v___x_531_, 1, v___x_508_);
|
||||
lean_ctor_set(v___x_531_, 2, v___x_530_);
|
||||
v___x_532_ = l_String_Slice_Pos_nextn(v___x_531_, v___x_508_, v___x_529_);
|
||||
lean_dec_ref(v___x_531_);
|
||||
v___x_533_ = lean_string_utf8_extract(v_p_520_, v___x_532_, v___x_530_);
|
||||
lean_dec(v___x_532_);
|
||||
lean_dec_ref(v_p_520_);
|
||||
v_p_534_ = l_String_Pos_Raw_modify(v___x_533_, v___x_508_, v___f_523_);
|
||||
v_p_499_ = v_p_534_;
|
||||
goto v___jp_498_;
|
||||
}
|
||||
}
|
||||
v___jp_535_:
|
||||
{
|
||||
if (v___y_536_ == 0)
|
||||
{
|
||||
v_p_499_ = v_p_520_;
|
||||
goto v___jp_498_;
|
||||
}
|
||||
else
|
||||
{
|
||||
goto v___jp_524_;
|
||||
}
|
||||
}
|
||||
v___jp_537_:
|
||||
{
|
||||
uint32_t v___x_539_; uint8_t v___x_540_;
|
||||
v___x_539_ = 97;
|
||||
v___x_540_ = lean_uint32_dec_le(v___x_539_, v___y_538_);
|
||||
if (v___x_540_ == 0)
|
||||
{
|
||||
v___y_536_ = v___x_540_;
|
||||
goto v___jp_535_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_541_; uint8_t v___x_542_;
|
||||
v___x_541_ = 122;
|
||||
v___x_542_ = lean_uint32_dec_le(v___y_538_, v___x_541_);
|
||||
v___y_536_ = v___x_542_;
|
||||
goto v___jp_535_;
|
||||
}
|
||||
}
|
||||
v___jp_543_:
|
||||
{
|
||||
if (v___y_544_ == 0)
|
||||
{
|
||||
v_p_499_ = v_p_520_;
|
||||
goto v___jp_498_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_545_; uint32_t v___x_546_; uint32_t v___x_547_; uint8_t v___x_548_;
|
||||
v___x_545_ = lean_unsigned_to_nat(1u);
|
||||
v___x_546_ = lean_string_utf8_get(v_p_520_, v___x_545_);
|
||||
v___x_547_ = 65;
|
||||
v___x_548_ = lean_uint32_dec_le(v___x_547_, v___x_546_);
|
||||
if (v___x_548_ == 0)
|
||||
{
|
||||
v___y_538_ = v___x_546_;
|
||||
goto v___jp_537_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_549_; uint8_t v___x_550_;
|
||||
v___x_549_ = 90;
|
||||
v___x_550_ = lean_uint32_dec_le(v___x_546_, v___x_549_);
|
||||
if (v___x_550_ == 0)
|
||||
{
|
||||
v___y_538_ = v___x_546_;
|
||||
goto v___jp_537_;
|
||||
}
|
||||
else
|
||||
{
|
||||
goto v___jp_524_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f___boxed(lean_object* v_uri_574_){
|
||||
}
|
||||
v___jp_551_:
|
||||
{
|
||||
uint32_t v___x_553_; uint8_t v___x_554_;
|
||||
v___x_553_ = 47;
|
||||
v___x_554_ = lean_uint32_dec_eq(v___y_552_, v___x_553_);
|
||||
v___y_544_ = v___x_554_;
|
||||
goto v___jp_543_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_498_:
|
||||
{
|
||||
lean_object* v___x_500_; lean_object* v_p_501_; lean_object* v___x_502_;
|
||||
v___x_500_ = lean_unsigned_to_nat(0u);
|
||||
v_p_501_ = l_String_mapAux___at___00System_Uri_fileUriToPath_x3f_spec__0(v_p_499_, v___x_500_);
|
||||
v___x_502_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_502_, 0, v_p_501_);
|
||||
return v___x_502_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_System_Uri_fileUriToPath_x3f___boxed(lean_object* v_uri_564_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_575_;
|
||||
v_res_575_ = l_System_Uri_fileUriToPath_x3f(v_uri_574_);
|
||||
lean_dec_ref(v_uri_574_);
|
||||
return v_res_575_;
|
||||
lean_object* v_res_565_;
|
||||
v_res_565_ = l_System_Uri_fileUriToPath_x3f(v_uri_564_);
|
||||
lean_dec_ref(v_uri_564_);
|
||||
return v_res_565_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_System_FilePath(uint8_t builtin);
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Build/Actions.c
generated
1
stage0/stdlib/Lake/Build/Actions.c
generated
|
|
@ -274,7 +274,6 @@ lean_ctor_set(v___x_33_, 0, v_stderr_10_);
|
|||
lean_ctor_set(v___x_33_, 1, v___x_30_);
|
||||
lean_ctor_set(v___x_33_, 2, v___x_29_);
|
||||
v___x_34_ = l_String_Slice_trimAscii(v___x_33_);
|
||||
lean_dec_ref(v___x_33_);
|
||||
v___x_35_ = l_String_Slice_toString(v___x_34_);
|
||||
lean_dec_ref(v___x_34_);
|
||||
v___x_36_ = lean_string_append(v___x_32_, v___x_35_);
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Job/Monad.c
generated
4
stage0/stdlib/Lake/Build/Job/Monad.c
generated
|
|
@ -3835,7 +3835,6 @@ lean_ctor_set(v___x_1454_, 0, v___y_1447_);
|
|||
lean_ctor_set(v___x_1454_, 1, v___x_1426_);
|
||||
lean_ctor_set(v___x_1454_, 2, v___x_1448_);
|
||||
v___x_1455_ = l_String_Slice_trimAscii(v___x_1454_);
|
||||
lean_dec_ref(v___x_1454_);
|
||||
v___x_1456_ = l_String_Slice_toString(v___x_1455_);
|
||||
lean_dec_ref(v___x_1455_);
|
||||
v___x_1457_ = lean_string_append(v___x_1453_, v___x_1456_);
|
||||
|
|
@ -4111,7 +4110,6 @@ lean_ctor_set(v___x_1565_, 0, v___y_1558_);
|
|||
lean_ctor_set(v___x_1565_, 1, v___x_1520_);
|
||||
lean_ctor_set(v___x_1565_, 2, v___x_1559_);
|
||||
v___x_1566_ = l_String_Slice_trimAscii(v___x_1565_);
|
||||
lean_dec_ref(v___x_1565_);
|
||||
v___x_1567_ = l_String_Slice_toString(v___x_1566_);
|
||||
lean_dec_ref(v___x_1566_);
|
||||
v___x_1568_ = lean_string_append(v___x_1564_, v___x_1567_);
|
||||
|
|
@ -4937,7 +4935,6 @@ lean_ctor_set(v___x_1874_, 0, v___y_1867_);
|
|||
lean_ctor_set(v___x_1874_, 1, v___x_1829_);
|
||||
lean_ctor_set(v___x_1874_, 2, v___x_1868_);
|
||||
v___x_1875_ = l_String_Slice_trimAscii(v___x_1874_);
|
||||
lean_dec_ref(v___x_1874_);
|
||||
v___x_1876_ = l_String_Slice_toString(v___x_1875_);
|
||||
lean_dec_ref(v___x_1875_);
|
||||
v___x_1877_ = lean_string_append(v___x_1873_, v___x_1876_);
|
||||
|
|
@ -5580,7 +5577,6 @@ lean_ctor_set(v___x_2143_, 0, v___y_2136_);
|
|||
lean_ctor_set(v___x_2143_, 1, v___x_2105_);
|
||||
lean_ctor_set(v___x_2143_, 2, v___x_2137_);
|
||||
v___x_2144_ = l_String_Slice_trimAscii(v___x_2143_);
|
||||
lean_dec_ref(v___x_2143_);
|
||||
v___x_2145_ = l_String_Slice_toString(v___x_2144_);
|
||||
lean_dec_ref(v___x_2144_);
|
||||
v___x_2146_ = lean_string_append(v___x_2142_, v___x_2145_);
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Build/Job/Register.c
generated
1
stage0/stdlib/Lake/Build/Job/Register.c
generated
|
|
@ -935,7 +935,6 @@ lean_ctor_set(v___x_335_, 0, v___y_331_);
|
|||
lean_ctor_set(v___x_335_, 1, v___x_270_);
|
||||
lean_ctor_set(v___x_335_, 2, v___x_332_);
|
||||
v___x_336_ = l_String_Slice_trimAscii(v___x_335_);
|
||||
lean_dec_ref(v___x_335_);
|
||||
v___x_337_ = l_String_Slice_toString(v___x_336_);
|
||||
lean_dec_ref(v___x_336_);
|
||||
v___x_338_ = lean_string_append(v___x_334_, v___x_337_);
|
||||
|
|
|
|||
5290
stage0/stdlib/Lake/CLI/Init.c
generated
5290
stage0/stdlib/Lake/CLI/Init.c
generated
File diff suppressed because it is too large
Load diff
64310
stage0/stdlib/Lake/CLI/Main.c
generated
64310
stage0/stdlib/Lake/CLI/Main.c
generated
File diff suppressed because it is too large
Load diff
22916
stage0/stdlib/Lake/CLI/Shake.c
generated
22916
stage0/stdlib/Lake/CLI/Shake.c
generated
File diff suppressed because one or more lines are too long
1
stage0/stdlib/Lake/CLI/Translate.c
generated
1
stage0/stdlib/Lake/CLI/Translate.c
generated
|
|
@ -670,7 +670,6 @@ lean_ctor_set(v___x_213_, 0, v___x_211_);
|
|||
lean_ctor_set(v___x_213_, 1, v___x_163_);
|
||||
lean_ctor_set(v___x_213_, 2, v___x_212_);
|
||||
v___x_214_ = l_String_Slice_trimAscii(v___x_213_);
|
||||
lean_dec_ref(v___x_213_);
|
||||
v_str_215_ = lean_ctor_get(v___x_214_, 0);
|
||||
lean_inc_ref(v_str_215_);
|
||||
v_startInclusive_216_ = lean_ctor_get(v___x_214_, 1);
|
||||
|
|
|
|||
31199
stage0/stdlib/Lake/CLI/Translate/Lean.c
generated
31199
stage0/stdlib/Lake/CLI/Translate/Lean.c
generated
File diff suppressed because it is too large
Load diff
13373
stage0/stdlib/Lake/Config/Cache.c
generated
13373
stage0/stdlib/Lake/Config/Cache.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lake/Config/Env.c
generated
2
stage0/stdlib/Lake/Config/Env.c
generated
|
|
@ -2267,7 +2267,6 @@ lean_ctor_set(v___x_572_, 0, v_val_566_);
|
|||
lean_ctor_set(v___x_572_, 1, v___x_570_);
|
||||
lean_ctor_set(v___x_572_, 2, v___x_571_);
|
||||
v___x_573_ = l_String_Slice_trimAscii(v___x_572_);
|
||||
lean_dec_ref(v___x_572_);
|
||||
v_str_574_ = lean_ctor_get(v___x_573_, 0);
|
||||
lean_inc_ref(v_str_574_);
|
||||
v_startInclusive_575_ = lean_ctor_get(v___x_573_, 1);
|
||||
|
|
@ -2543,7 +2542,6 @@ lean_ctor_set(v___x_663_, 0, v_val_657_);
|
|||
lean_ctor_set(v___x_663_, 1, v___x_661_);
|
||||
lean_ctor_set(v___x_663_, 2, v___x_662_);
|
||||
v___x_664_ = l_String_Slice_trimAscii(v___x_663_);
|
||||
lean_dec_ref(v___x_663_);
|
||||
v_str_665_ = lean_ctor_get(v___x_664_, 0);
|
||||
lean_inc_ref(v_str_665_);
|
||||
v_startInclusive_666_ = lean_ctor_get(v___x_664_, 1);
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Config/InstallPath.c
generated
4
stage0/stdlib/Lake/Config/InstallPath.c
generated
|
|
@ -2609,7 +2609,6 @@ lean_ctor_set(v___x_946_, 0, v___y_943_);
|
|||
lean_ctor_set(v___x_946_, 1, v___x_944_);
|
||||
lean_ctor_set(v___x_946_, 2, v___x_945_);
|
||||
v___x_947_ = l_String_Slice_trimAscii(v___x_946_);
|
||||
lean_dec_ref(v___x_946_);
|
||||
v_startInclusive_948_ = lean_ctor_get(v___x_947_, 1);
|
||||
lean_inc(v_startInclusive_948_);
|
||||
v_endExclusive_949_ = lean_ctor_get(v___x_947_, 2);
|
||||
|
|
@ -2745,7 +2744,6 @@ lean_ctor_set(v___x_996_, 0, v_stdout_992_);
|
|||
lean_ctor_set(v___x_996_, 1, v___x_981_);
|
||||
lean_ctor_set(v___x_996_, 2, v___x_995_);
|
||||
v___x_997_ = l_String_Slice_trimAscii(v___x_996_);
|
||||
lean_dec_ref(v___x_996_);
|
||||
v_str_998_ = lean_ctor_get(v___x_997_, 0);
|
||||
lean_inc_ref(v_str_998_);
|
||||
v_startInclusive_999_ = lean_ctor_get(v___x_997_, 1);
|
||||
|
|
@ -2830,7 +2828,6 @@ lean_ctor_set(v___x_1029_, 0, v_stdout_1027_);
|
|||
lean_ctor_set(v___x_1029_, 1, v___x_1020_);
|
||||
lean_ctor_set(v___x_1029_, 2, v___x_1028_);
|
||||
v___x_1030_ = l_String_Slice_trimAscii(v___x_1029_);
|
||||
lean_dec_ref(v___x_1029_);
|
||||
v_str_1031_ = lean_ctor_get(v___x_1030_, 0);
|
||||
lean_inc_ref(v_str_1031_);
|
||||
v_startInclusive_1032_ = lean_ctor_get(v___x_1030_, 1);
|
||||
|
|
@ -3897,7 +3894,6 @@ lean_ctor_set(v___x_1362_, 0, v_val_1359_);
|
|||
lean_ctor_set(v___x_1362_, 1, v___x_1360_);
|
||||
lean_ctor_set(v___x_1362_, 2, v___x_1361_);
|
||||
v___x_1363_ = l_String_Slice_trimAscii(v___x_1362_);
|
||||
lean_dec_ref(v___x_1362_);
|
||||
v_startInclusive_1364_ = lean_ctor_get(v___x_1363_, 1);
|
||||
lean_inc(v_startInclusive_1364_);
|
||||
v_endExclusive_1365_ = lean_ctor_get(v___x_1363_, 2);
|
||||
|
|
|
|||
6252
stage0/stdlib/Lake/DSL/Targets.c
generated
6252
stage0/stdlib/Lake/DSL/Targets.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lake/Reservoir.c
generated
4
stage0/stdlib/Lake/Reservoir.c
generated
|
|
@ -3699,7 +3699,6 @@ lean_ctor_set(v___x_888_, 0, v_a_867_);
|
|||
lean_ctor_set(v___x_888_, 1, v___x_886_);
|
||||
lean_ctor_set(v___x_888_, 2, v___x_887_);
|
||||
v___x_889_ = l_String_Slice_trimAscii(v___x_888_);
|
||||
lean_dec_ref(v___x_888_);
|
||||
v___x_890_ = l_String_Slice_toString(v___x_889_);
|
||||
lean_dec_ref(v___x_889_);
|
||||
v___x_891_ = lean_string_append(v___x_885_, v___x_890_);
|
||||
|
|
@ -3768,7 +3767,6 @@ lean_ctor_set(v___x_915_, 0, v_a_867_);
|
|||
lean_ctor_set(v___x_915_, 1, v___x_913_);
|
||||
lean_ctor_set(v___x_915_, 2, v___x_914_);
|
||||
v___x_916_ = l_String_Slice_trimAscii(v___x_915_);
|
||||
lean_dec_ref(v___x_915_);
|
||||
v___x_917_ = l_String_Slice_toString(v___x_916_);
|
||||
lean_dec_ref(v___x_916_);
|
||||
v___x_918_ = lean_string_append(v___x_912_, v___x_917_);
|
||||
|
|
@ -5119,7 +5117,6 @@ lean_ctor_set(v___x_1269_, 0, v_a_1248_);
|
|||
lean_ctor_set(v___x_1269_, 1, v___x_1267_);
|
||||
lean_ctor_set(v___x_1269_, 2, v___x_1268_);
|
||||
v___x_1270_ = l_String_Slice_trimAscii(v___x_1269_);
|
||||
lean_dec_ref(v___x_1269_);
|
||||
v___x_1271_ = l_String_Slice_toString(v___x_1270_);
|
||||
lean_dec_ref(v___x_1270_);
|
||||
v___x_1272_ = lean_string_append(v___x_1266_, v___x_1271_);
|
||||
|
|
@ -5188,7 +5185,6 @@ lean_ctor_set(v___x_1296_, 0, v_a_1248_);
|
|||
lean_ctor_set(v___x_1296_, 1, v___x_1294_);
|
||||
lean_ctor_set(v___x_1296_, 2, v___x_1295_);
|
||||
v___x_1297_ = l_String_Slice_trimAscii(v___x_1296_);
|
||||
lean_dec_ref(v___x_1296_);
|
||||
v___x_1298_ = l_String_Slice_toString(v___x_1297_);
|
||||
lean_dec_ref(v___x_1297_);
|
||||
v___x_1299_ = lean_string_append(v___x_1293_, v___x_1298_);
|
||||
|
|
|
|||
1922
stage0/stdlib/Lake/Toml/Data/Value.c
generated
1922
stage0/stdlib/Lake/Toml/Data/Value.c
generated
File diff suppressed because it is too large
Load diff
1
stage0/stdlib/Lake/Toml/ParserUtil.c
generated
1
stage0/stdlib/Lake/Toml/ParserUtil.c
generated
|
|
@ -2221,7 +2221,6 @@ lean_ctor_set(v___x_741_, 0, v_s_736_);
|
|||
lean_ctor_set(v___x_741_, 1, v___x_739_);
|
||||
lean_ctor_set(v___x_741_, 2, v___x_740_);
|
||||
v___x_742_ = l_String_Slice_trimAscii(v___x_741_);
|
||||
lean_dec_ref(v___x_741_);
|
||||
v_str_743_ = lean_ctor_get(v___x_742_, 0);
|
||||
lean_inc_ref(v_str_743_);
|
||||
v_startInclusive_744_ = lean_ctor_get(v___x_742_, 1);
|
||||
|
|
|
|||
4895
stage0/stdlib/Lake/Util/Cli.c
generated
4895
stage0/stdlib/Lake/Util/Cli.c
generated
File diff suppressed because it is too large
Load diff
2516
stage0/stdlib/Lake/Util/Git.c
generated
2516
stage0/stdlib/Lake/Util/Git.c
generated
File diff suppressed because it is too large
Load diff
508
stage0/stdlib/Lake/Util/JsonObject.c
generated
508
stage0/stdlib/Lake/Util/JsonObject.c
generated
|
|
@ -94,12 +94,20 @@ LEAN_EXPORT lean_object* l_Lake_JsonObject_get___redArg(lean_object*, lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_ctor_object l_Lake_JsonObject_get_x3f___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1))}};
|
||||
static const lean_object* l_Lake_JsonObject_get_x3f___redArg___closed__0 = (const lean_object*)&l_Lake_JsonObject_get_x3f___redArg___closed__0_value;
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_mk(lean_object* v_val_1_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -5699,26 +5707,29 @@ lean_dec(v_obj_1268_);
|
|||
return v_res_1270_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg(lean_object* v_inst_1273_, lean_object* v_obj_1274_, lean_object* v_prop_1275_){
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___redArg(lean_object* v_inst_1271_, lean_object* v_obj_1272_, lean_object* v_prop_1273_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1276_;
|
||||
v___x_1276_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1274_, v_prop_1275_);
|
||||
if (lean_obj_tag(v___x_1276_) == 0)
|
||||
lean_object* v___x_1274_;
|
||||
v___x_1274_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1272_, v_prop_1273_);
|
||||
if (lean_obj_tag(v___x_1274_) == 0)
|
||||
{
|
||||
lean_object* v___x_1277_;
|
||||
lean_dec_ref(v_prop_1275_);
|
||||
lean_dec_ref(v_inst_1273_);
|
||||
v___x_1277_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
lean_object* v___x_1275_; lean_object* v___x_1276_; lean_object* v___x_1277_;
|
||||
lean_dec_ref(v_inst_1271_);
|
||||
v___x_1275_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__0));
|
||||
v___x_1276_ = lean_string_append(v___x_1275_, v_prop_1273_);
|
||||
lean_dec_ref(v_prop_1273_);
|
||||
v___x_1277_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v___x_1277_, 0, v___x_1276_);
|
||||
return v___x_1277_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1278_; lean_object* v___x_1279_;
|
||||
v_val_1278_ = lean_ctor_get(v___x_1276_, 0);
|
||||
v_val_1278_ = lean_ctor_get(v___x_1274_, 0);
|
||||
lean_inc(v_val_1278_);
|
||||
lean_dec_ref(v___x_1276_);
|
||||
v___x_1279_ = l_Option_fromJson_x3f___redArg(v_inst_1273_, v_val_1278_);
|
||||
lean_dec_ref(v___x_1274_);
|
||||
v___x_1279_ = lean_apply_1(v_inst_1271_, v_val_1278_);
|
||||
if (lean_obj_tag(v___x_1279_) == 0)
|
||||
{
|
||||
lean_object* v_a_1280_; lean_object* v___x_1282_; uint8_t v_isShared_1283_; uint8_t v_isSharedCheck_1290_;
|
||||
|
|
@ -5742,7 +5753,7 @@ v_resetjp_1281_:
|
|||
{
|
||||
lean_object* v___x_1284_; lean_object* v___x_1285_; lean_object* v___x_1286_; lean_object* v___x_1288_;
|
||||
v___x_1284_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1285_ = lean_string_append(v_prop_1275_, v___x_1284_);
|
||||
v___x_1285_ = lean_string_append(v_prop_1273_, v___x_1284_);
|
||||
v___x_1286_ = lean_string_append(v___x_1285_, v_a_1280_);
|
||||
lean_dec(v_a_1280_);
|
||||
if (v_isShared_1283_ == 0)
|
||||
|
|
@ -5767,102 +5778,437 @@ return v___x_1288_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1275_);
|
||||
lean_dec_ref(v_prop_1273_);
|
||||
return v___x_1279_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg___boxed(lean_object* v_inst_1291_, lean_object* v_obj_1292_, lean_object* v_prop_1293_){
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___redArg___boxed(lean_object* v_inst_1291_, lean_object* v_obj_1292_, lean_object* v_prop_1293_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1294_;
|
||||
v_res_1294_ = l_Lake_JsonObject_get_x3f___redArg(v_inst_1291_, v_obj_1292_, v_prop_1293_);
|
||||
v_res_1294_ = l_Lake_JsonObject_getAs___redArg(v_inst_1291_, v_obj_1292_, v_prop_1293_);
|
||||
lean_dec(v_obj_1292_);
|
||||
return v_res_1294_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f(lean_object* v_00_u03b1_1295_, lean_object* v_inst_1296_, lean_object* v_obj_1297_, lean_object* v_prop_1298_){
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs(lean_object* v_00_u03b1_1295_, lean_object* v_inst_1296_, lean_object* v_obj_1297_, lean_object* v_prop_1298_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1299_;
|
||||
v___x_1299_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1297_, v_prop_1298_);
|
||||
if (lean_obj_tag(v___x_1299_) == 0)
|
||||
{
|
||||
lean_object* v___x_1300_;
|
||||
lean_dec_ref(v_prop_1298_);
|
||||
lean_object* v___x_1300_; lean_object* v___x_1301_; lean_object* v___x_1302_;
|
||||
lean_dec_ref(v_inst_1296_);
|
||||
v___x_1300_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
return v___x_1300_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1301_; lean_object* v___x_1302_;
|
||||
v_val_1301_ = lean_ctor_get(v___x_1299_, 0);
|
||||
lean_inc(v_val_1301_);
|
||||
lean_dec_ref(v___x_1299_);
|
||||
v___x_1302_ = l_Option_fromJson_x3f___redArg(v_inst_1296_, v_val_1301_);
|
||||
if (lean_obj_tag(v___x_1302_) == 0)
|
||||
{
|
||||
lean_object* v_a_1303_; lean_object* v___x_1305_; uint8_t v_isShared_1306_; uint8_t v_isSharedCheck_1313_;
|
||||
v_a_1303_ = lean_ctor_get(v___x_1302_, 0);
|
||||
v_isSharedCheck_1313_ = !lean_is_exclusive(v___x_1302_);
|
||||
if (v_isSharedCheck_1313_ == 0)
|
||||
{
|
||||
v___x_1305_ = v___x_1302_;
|
||||
v_isShared_1306_ = v_isSharedCheck_1313_;
|
||||
goto v_resetjp_1304_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1303_);
|
||||
lean_dec(v___x_1302_);
|
||||
v___x_1305_ = lean_box(0);
|
||||
v_isShared_1306_ = v_isSharedCheck_1313_;
|
||||
goto v_resetjp_1304_;
|
||||
}
|
||||
v_resetjp_1304_:
|
||||
{
|
||||
lean_object* v___x_1307_; lean_object* v___x_1308_; lean_object* v___x_1309_; lean_object* v___x_1311_;
|
||||
v___x_1307_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1308_ = lean_string_append(v_prop_1298_, v___x_1307_);
|
||||
v___x_1309_ = lean_string_append(v___x_1308_, v_a_1303_);
|
||||
lean_dec(v_a_1303_);
|
||||
if (v_isShared_1306_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1305_, 0, v___x_1309_);
|
||||
v___x_1311_ = v___x_1305_;
|
||||
goto v_reusejp_1310_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1312_;
|
||||
v_reuseFailAlloc_1312_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1312_, 0, v___x_1309_);
|
||||
v___x_1311_ = v_reuseFailAlloc_1312_;
|
||||
goto v_reusejp_1310_;
|
||||
}
|
||||
v_reusejp_1310_:
|
||||
{
|
||||
return v___x_1311_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
v___x_1300_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__0));
|
||||
v___x_1301_ = lean_string_append(v___x_1300_, v_prop_1298_);
|
||||
lean_dec_ref(v_prop_1298_);
|
||||
v___x_1302_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v___x_1302_, 0, v___x_1301_);
|
||||
return v___x_1302_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1303_; lean_object* v___x_1304_;
|
||||
v_val_1303_ = lean_ctor_get(v___x_1299_, 0);
|
||||
lean_inc(v_val_1303_);
|
||||
lean_dec_ref(v___x_1299_);
|
||||
v___x_1304_ = lean_apply_1(v_inst_1296_, v_val_1303_);
|
||||
if (lean_obj_tag(v___x_1304_) == 0)
|
||||
{
|
||||
lean_object* v_a_1305_; lean_object* v___x_1307_; uint8_t v_isShared_1308_; uint8_t v_isSharedCheck_1315_;
|
||||
v_a_1305_ = lean_ctor_get(v___x_1304_, 0);
|
||||
v_isSharedCheck_1315_ = !lean_is_exclusive(v___x_1304_);
|
||||
if (v_isSharedCheck_1315_ == 0)
|
||||
{
|
||||
v___x_1307_ = v___x_1304_;
|
||||
v_isShared_1308_ = v_isSharedCheck_1315_;
|
||||
goto v_resetjp_1306_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1305_);
|
||||
lean_dec(v___x_1304_);
|
||||
v___x_1307_ = lean_box(0);
|
||||
v_isShared_1308_ = v_isSharedCheck_1315_;
|
||||
goto v_resetjp_1306_;
|
||||
}
|
||||
v_resetjp_1306_:
|
||||
{
|
||||
lean_object* v___x_1309_; lean_object* v___x_1310_; lean_object* v___x_1311_; lean_object* v___x_1313_;
|
||||
v___x_1309_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1310_ = lean_string_append(v_prop_1298_, v___x_1309_);
|
||||
v___x_1311_ = lean_string_append(v___x_1310_, v_a_1305_);
|
||||
lean_dec(v_a_1305_);
|
||||
if (v_isShared_1308_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1307_, 0, v___x_1311_);
|
||||
v___x_1313_ = v___x_1307_;
|
||||
goto v_reusejp_1312_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1314_;
|
||||
v_reuseFailAlloc_1314_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1314_, 0, v___x_1311_);
|
||||
v___x_1313_ = v_reuseFailAlloc_1314_;
|
||||
goto v_reusejp_1312_;
|
||||
}
|
||||
v_reusejp_1312_:
|
||||
{
|
||||
return v___x_1313_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___boxed(lean_object* v_00_u03b1_1314_, lean_object* v_inst_1315_, lean_object* v_obj_1316_, lean_object* v_prop_1317_){
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1298_);
|
||||
return v___x_1304_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs___boxed(lean_object* v_00_u03b1_1316_, lean_object* v_inst_1317_, lean_object* v_obj_1318_, lean_object* v_prop_1319_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1318_;
|
||||
v_res_1318_ = l_Lake_JsonObject_get_x3f(v_00_u03b1_1314_, v_inst_1315_, v_obj_1316_, v_prop_1317_);
|
||||
lean_dec(v_obj_1316_);
|
||||
return v_res_1318_;
|
||||
lean_object* v_res_1320_;
|
||||
v_res_1320_ = l_Lake_JsonObject_getAs(v_00_u03b1_1316_, v_inst_1317_, v_obj_1318_, v_prop_1319_);
|
||||
lean_dec(v_obj_1318_);
|
||||
return v_res_1320_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg(lean_object* v_inst_1323_, lean_object* v_obj_1324_, lean_object* v_prop_1325_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1326_;
|
||||
v___x_1326_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1324_, v_prop_1325_);
|
||||
if (lean_obj_tag(v___x_1326_) == 0)
|
||||
{
|
||||
lean_object* v___x_1327_;
|
||||
lean_dec_ref(v_prop_1325_);
|
||||
lean_dec_ref(v_inst_1323_);
|
||||
v___x_1327_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
return v___x_1327_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1328_; lean_object* v___x_1329_;
|
||||
v_val_1328_ = lean_ctor_get(v___x_1326_, 0);
|
||||
lean_inc(v_val_1328_);
|
||||
lean_dec_ref(v___x_1326_);
|
||||
v___x_1329_ = l_Option_fromJson_x3f___redArg(v_inst_1323_, v_val_1328_);
|
||||
if (lean_obj_tag(v___x_1329_) == 0)
|
||||
{
|
||||
lean_object* v_a_1330_; lean_object* v___x_1332_; uint8_t v_isShared_1333_; uint8_t v_isSharedCheck_1340_;
|
||||
v_a_1330_ = lean_ctor_get(v___x_1329_, 0);
|
||||
v_isSharedCheck_1340_ = !lean_is_exclusive(v___x_1329_);
|
||||
if (v_isSharedCheck_1340_ == 0)
|
||||
{
|
||||
v___x_1332_ = v___x_1329_;
|
||||
v_isShared_1333_ = v_isSharedCheck_1340_;
|
||||
goto v_resetjp_1331_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1330_);
|
||||
lean_dec(v___x_1329_);
|
||||
v___x_1332_ = lean_box(0);
|
||||
v_isShared_1333_ = v_isSharedCheck_1340_;
|
||||
goto v_resetjp_1331_;
|
||||
}
|
||||
v_resetjp_1331_:
|
||||
{
|
||||
lean_object* v___x_1334_; lean_object* v___x_1335_; lean_object* v___x_1336_; lean_object* v___x_1338_;
|
||||
v___x_1334_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1335_ = lean_string_append(v_prop_1325_, v___x_1334_);
|
||||
v___x_1336_ = lean_string_append(v___x_1335_, v_a_1330_);
|
||||
lean_dec(v_a_1330_);
|
||||
if (v_isShared_1333_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1332_, 0, v___x_1336_);
|
||||
v___x_1338_ = v___x_1332_;
|
||||
goto v_reusejp_1337_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1339_;
|
||||
v_reuseFailAlloc_1339_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1339_, 0, v___x_1336_);
|
||||
v___x_1338_ = v_reuseFailAlloc_1339_;
|
||||
goto v_reusejp_1337_;
|
||||
}
|
||||
v_reusejp_1337_:
|
||||
{
|
||||
return v___x_1338_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1325_);
|
||||
return v___x_1329_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___redArg___boxed(lean_object* v_inst_1341_, lean_object* v_obj_1342_, lean_object* v_prop_1343_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1344_;
|
||||
v_res_1344_ = l_Lake_JsonObject_get_x3f___redArg(v_inst_1341_, v_obj_1342_, v_prop_1343_);
|
||||
lean_dec(v_obj_1342_);
|
||||
return v_res_1344_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f(lean_object* v_00_u03b1_1345_, lean_object* v_inst_1346_, lean_object* v_obj_1347_, lean_object* v_prop_1348_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1349_;
|
||||
v___x_1349_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1347_, v_prop_1348_);
|
||||
if (lean_obj_tag(v___x_1349_) == 0)
|
||||
{
|
||||
lean_object* v___x_1350_;
|
||||
lean_dec_ref(v_prop_1348_);
|
||||
lean_dec_ref(v_inst_1346_);
|
||||
v___x_1350_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
return v___x_1350_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1351_; lean_object* v___x_1352_;
|
||||
v_val_1351_ = lean_ctor_get(v___x_1349_, 0);
|
||||
lean_inc(v_val_1351_);
|
||||
lean_dec_ref(v___x_1349_);
|
||||
v___x_1352_ = l_Option_fromJson_x3f___redArg(v_inst_1346_, v_val_1351_);
|
||||
if (lean_obj_tag(v___x_1352_) == 0)
|
||||
{
|
||||
lean_object* v_a_1353_; lean_object* v___x_1355_; uint8_t v_isShared_1356_; uint8_t v_isSharedCheck_1363_;
|
||||
v_a_1353_ = lean_ctor_get(v___x_1352_, 0);
|
||||
v_isSharedCheck_1363_ = !lean_is_exclusive(v___x_1352_);
|
||||
if (v_isSharedCheck_1363_ == 0)
|
||||
{
|
||||
v___x_1355_ = v___x_1352_;
|
||||
v_isShared_1356_ = v_isSharedCheck_1363_;
|
||||
goto v_resetjp_1354_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1353_);
|
||||
lean_dec(v___x_1352_);
|
||||
v___x_1355_ = lean_box(0);
|
||||
v_isShared_1356_ = v_isSharedCheck_1363_;
|
||||
goto v_resetjp_1354_;
|
||||
}
|
||||
v_resetjp_1354_:
|
||||
{
|
||||
lean_object* v___x_1357_; lean_object* v___x_1358_; lean_object* v___x_1359_; lean_object* v___x_1361_;
|
||||
v___x_1357_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1358_ = lean_string_append(v_prop_1348_, v___x_1357_);
|
||||
v___x_1359_ = lean_string_append(v___x_1358_, v_a_1353_);
|
||||
lean_dec(v_a_1353_);
|
||||
if (v_isShared_1356_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1355_, 0, v___x_1359_);
|
||||
v___x_1361_ = v___x_1355_;
|
||||
goto v_reusejp_1360_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1362_;
|
||||
v_reuseFailAlloc_1362_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1362_, 0, v___x_1359_);
|
||||
v___x_1361_ = v_reuseFailAlloc_1362_;
|
||||
goto v_reusejp_1360_;
|
||||
}
|
||||
v_reusejp_1360_:
|
||||
{
|
||||
return v___x_1361_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1348_);
|
||||
return v___x_1352_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_get_x3f___boxed(lean_object* v_00_u03b1_1364_, lean_object* v_inst_1365_, lean_object* v_obj_1366_, lean_object* v_prop_1367_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1368_;
|
||||
v_res_1368_ = l_Lake_JsonObject_get_x3f(v_00_u03b1_1364_, v_inst_1365_, v_obj_1366_, v_prop_1367_);
|
||||
lean_dec(v_obj_1366_);
|
||||
return v_res_1368_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___redArg(lean_object* v_inst_1369_, lean_object* v_obj_1370_, lean_object* v_prop_1371_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1372_;
|
||||
v___x_1372_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1370_, v_prop_1371_);
|
||||
if (lean_obj_tag(v___x_1372_) == 0)
|
||||
{
|
||||
lean_object* v___x_1373_;
|
||||
lean_dec_ref(v_prop_1371_);
|
||||
lean_dec_ref(v_inst_1369_);
|
||||
v___x_1373_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
return v___x_1373_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1374_; lean_object* v___x_1375_;
|
||||
v_val_1374_ = lean_ctor_get(v___x_1372_, 0);
|
||||
lean_inc(v_val_1374_);
|
||||
lean_dec_ref(v___x_1372_);
|
||||
v___x_1375_ = l_Option_fromJson_x3f___redArg(v_inst_1369_, v_val_1374_);
|
||||
if (lean_obj_tag(v___x_1375_) == 0)
|
||||
{
|
||||
lean_object* v_a_1376_; lean_object* v___x_1378_; uint8_t v_isShared_1379_; uint8_t v_isSharedCheck_1386_;
|
||||
v_a_1376_ = lean_ctor_get(v___x_1375_, 0);
|
||||
v_isSharedCheck_1386_ = !lean_is_exclusive(v___x_1375_);
|
||||
if (v_isSharedCheck_1386_ == 0)
|
||||
{
|
||||
v___x_1378_ = v___x_1375_;
|
||||
v_isShared_1379_ = v_isSharedCheck_1386_;
|
||||
goto v_resetjp_1377_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1376_);
|
||||
lean_dec(v___x_1375_);
|
||||
v___x_1378_ = lean_box(0);
|
||||
v_isShared_1379_ = v_isSharedCheck_1386_;
|
||||
goto v_resetjp_1377_;
|
||||
}
|
||||
v_resetjp_1377_:
|
||||
{
|
||||
lean_object* v___x_1380_; lean_object* v___x_1381_; lean_object* v___x_1382_; lean_object* v___x_1384_;
|
||||
v___x_1380_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1381_ = lean_string_append(v_prop_1371_, v___x_1380_);
|
||||
v___x_1382_ = lean_string_append(v___x_1381_, v_a_1376_);
|
||||
lean_dec(v_a_1376_);
|
||||
if (v_isShared_1379_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1378_, 0, v___x_1382_);
|
||||
v___x_1384_ = v___x_1378_;
|
||||
goto v_reusejp_1383_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1385_;
|
||||
v_reuseFailAlloc_1385_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1385_, 0, v___x_1382_);
|
||||
v___x_1384_ = v_reuseFailAlloc_1385_;
|
||||
goto v_reusejp_1383_;
|
||||
}
|
||||
v_reusejp_1383_:
|
||||
{
|
||||
return v___x_1384_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1371_);
|
||||
return v___x_1375_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___redArg___boxed(lean_object* v_inst_1387_, lean_object* v_obj_1388_, lean_object* v_prop_1389_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1390_;
|
||||
v_res_1390_ = l_Lake_JsonObject_getAs_x3f___redArg(v_inst_1387_, v_obj_1388_, v_prop_1389_);
|
||||
lean_dec(v_obj_1388_);
|
||||
return v_res_1390_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f(lean_object* v_00_u03b1_1391_, lean_object* v_inst_1392_, lean_object* v_obj_1393_, lean_object* v_prop_1394_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1395_;
|
||||
v___x_1395_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lake_JsonObject_getJson_x3f_spec__0___redArg(v_obj_1393_, v_prop_1394_);
|
||||
if (lean_obj_tag(v___x_1395_) == 0)
|
||||
{
|
||||
lean_object* v___x_1396_;
|
||||
lean_dec_ref(v_prop_1394_);
|
||||
lean_dec_ref(v_inst_1392_);
|
||||
v___x_1396_ = ((lean_object*)(l_Lake_JsonObject_get_x3f___redArg___closed__0));
|
||||
return v___x_1396_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1397_; lean_object* v___x_1398_;
|
||||
v_val_1397_ = lean_ctor_get(v___x_1395_, 0);
|
||||
lean_inc(v_val_1397_);
|
||||
lean_dec_ref(v___x_1395_);
|
||||
v___x_1398_ = l_Option_fromJson_x3f___redArg(v_inst_1392_, v_val_1397_);
|
||||
if (lean_obj_tag(v___x_1398_) == 0)
|
||||
{
|
||||
lean_object* v_a_1399_; lean_object* v___x_1401_; uint8_t v_isShared_1402_; uint8_t v_isSharedCheck_1409_;
|
||||
v_a_1399_ = lean_ctor_get(v___x_1398_, 0);
|
||||
v_isSharedCheck_1409_ = !lean_is_exclusive(v___x_1398_);
|
||||
if (v_isSharedCheck_1409_ == 0)
|
||||
{
|
||||
v___x_1401_ = v___x_1398_;
|
||||
v_isShared_1402_ = v_isSharedCheck_1409_;
|
||||
goto v_resetjp_1400_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1399_);
|
||||
lean_dec(v___x_1398_);
|
||||
v___x_1401_ = lean_box(0);
|
||||
v_isShared_1402_ = v_isSharedCheck_1409_;
|
||||
goto v_resetjp_1400_;
|
||||
}
|
||||
v_resetjp_1400_:
|
||||
{
|
||||
lean_object* v___x_1403_; lean_object* v___x_1404_; lean_object* v___x_1405_; lean_object* v___x_1407_;
|
||||
v___x_1403_ = ((lean_object*)(l_Lake_JsonObject_get___redArg___closed__1));
|
||||
v___x_1404_ = lean_string_append(v_prop_1394_, v___x_1403_);
|
||||
v___x_1405_ = lean_string_append(v___x_1404_, v_a_1399_);
|
||||
lean_dec(v_a_1399_);
|
||||
if (v_isShared_1402_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1401_, 0, v___x_1405_);
|
||||
v___x_1407_ = v___x_1401_;
|
||||
goto v_reusejp_1406_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1408_;
|
||||
v_reuseFailAlloc_1408_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1408_, 0, v___x_1405_);
|
||||
v___x_1407_ = v_reuseFailAlloc_1408_;
|
||||
goto v_reusejp_1406_;
|
||||
}
|
||||
v_reusejp_1406_:
|
||||
{
|
||||
return v___x_1407_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_prop_1394_);
|
||||
return v___x_1398_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_JsonObject_getAs_x3f___boxed(lean_object* v_00_u03b1_1410_, lean_object* v_inst_1411_, lean_object* v_obj_1412_, lean_object* v_prop_1413_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1414_;
|
||||
v_res_1414_ = l_Lake_JsonObject_getAs_x3f(v_00_u03b1_1410_, v_inst_1411_, v_obj_1412_, v_prop_1413_);
|
||||
lean_dec(v_obj_1412_);
|
||||
return v_res_1414_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Data_Json(uint8_t builtin);
|
||||
|
|
|
|||
7
stage0/stdlib/Lake/Util/Log.c
generated
7
stage0/stdlib/Lake/Util/Log.c
generated
|
|
@ -3575,7 +3575,6 @@ lean_ctor_set(v___x_969_, 0, v_caption_959_);
|
|||
lean_ctor_set(v___x_969_, 1, v___x_967_);
|
||||
lean_ctor_set(v___x_969_, 2, v___x_968_);
|
||||
v___x_970_ = l_String_Slice_trimAscii(v___x_969_);
|
||||
lean_dec_ref(v___x_969_);
|
||||
v_startInclusive_971_ = lean_ctor_get(v___x_970_, 1);
|
||||
lean_inc(v_startInclusive_971_);
|
||||
v_endExclusive_972_ = lean_ctor_get(v___x_970_, 2);
|
||||
|
|
@ -3638,7 +3637,6 @@ v_reusejp_982_:
|
|||
{
|
||||
lean_object* v___x_984_; lean_object* v___x_985_; lean_object* v___x_986_;
|
||||
v___x_984_ = l_String_Slice_trimAscii(v___x_983_);
|
||||
lean_dec_ref(v___x_983_);
|
||||
v___x_985_ = l_String_Slice_toString(v___x_984_);
|
||||
lean_dec_ref(v___x_984_);
|
||||
v___x_986_ = lean_string_append(v___x_980_, v___x_985_);
|
||||
|
|
@ -3698,7 +3696,6 @@ v_reusejp_996_:
|
|||
{
|
||||
lean_object* v___x_998_; lean_object* v_str_999_; lean_object* v_startInclusive_1000_; lean_object* v_endExclusive_1001_; lean_object* v___x_1002_;
|
||||
v___x_998_ = l_String_Slice_trimAscii(v___x_997_);
|
||||
lean_dec_ref(v___x_997_);
|
||||
v_str_999_ = lean_ctor_get(v___x_998_, 0);
|
||||
lean_inc_ref(v_str_999_);
|
||||
v_startInclusive_1000_ = lean_ctor_get(v___x_998_, 1);
|
||||
|
|
@ -3751,7 +3748,6 @@ lean_ctor_set(v___x_1024_, 0, v_caption_1013_);
|
|||
lean_ctor_set(v___x_1024_, 1, v___x_1022_);
|
||||
lean_ctor_set(v___x_1024_, 2, v___x_1023_);
|
||||
v___x_1025_ = l_String_Slice_trimAscii(v___x_1024_);
|
||||
lean_dec_ref(v___x_1024_);
|
||||
v_startInclusive_1026_ = lean_ctor_get(v___x_1025_, 1);
|
||||
lean_inc(v_startInclusive_1026_);
|
||||
v_endExclusive_1027_ = lean_ctor_get(v___x_1025_, 2);
|
||||
|
|
@ -3814,7 +3810,6 @@ v_reusejp_1037_:
|
|||
{
|
||||
lean_object* v___x_1039_; lean_object* v___x_1040_; lean_object* v___x_1041_;
|
||||
v___x_1039_ = l_String_Slice_trimAscii(v___x_1038_);
|
||||
lean_dec_ref(v___x_1038_);
|
||||
v___x_1040_ = l_String_Slice_toString(v___x_1039_);
|
||||
lean_dec_ref(v___x_1039_);
|
||||
v___x_1041_ = lean_string_append(v___x_1035_, v___x_1040_);
|
||||
|
|
@ -3874,7 +3869,6 @@ v_reusejp_1051_:
|
|||
{
|
||||
lean_object* v___x_1053_; lean_object* v_str_1054_; lean_object* v_startInclusive_1055_; lean_object* v_endExclusive_1056_; lean_object* v___x_1057_;
|
||||
v___x_1053_ = l_String_Slice_trimAscii(v___x_1052_);
|
||||
lean_dec_ref(v___x_1052_);
|
||||
v_str_1054_ = lean_ctor_get(v___x_1053_, 0);
|
||||
lean_inc_ref(v_str_1054_);
|
||||
v_startInclusive_1055_ = lean_ctor_get(v___x_1053_, 1);
|
||||
|
|
@ -6757,7 +6751,6 @@ lean_ctor_set(v___x_2320_, 0, v___y_2316_);
|
|||
lean_ctor_set(v___x_2320_, 1, v___x_2308_);
|
||||
lean_ctor_set(v___x_2320_, 2, v___x_2317_);
|
||||
v___x_2321_ = l_String_Slice_trimAscii(v___x_2320_);
|
||||
lean_dec_ref(v___x_2320_);
|
||||
v___x_2322_ = l_String_Slice_toString(v___x_2321_);
|
||||
lean_dec_ref(v___x_2321_);
|
||||
v___x_2323_ = lean_string_append(v___x_2319_, v___x_2322_);
|
||||
|
|
|
|||
9
stage0/stdlib/Lake/Util/Proc.c
generated
9
stage0/stdlib/Lake/Util/Proc.c
generated
|
|
@ -298,7 +298,6 @@ lean_ctor_set(v___x_77_, 0, v_stderr_69_);
|
|||
lean_ctor_set(v___x_77_, 1, v___x_74_);
|
||||
lean_ctor_set(v___x_77_, 2, v___x_73_);
|
||||
v___x_78_ = l_String_Slice_trimAscii(v___x_77_);
|
||||
lean_dec_ref(v___x_77_);
|
||||
v___x_79_ = l_String_Slice_toString(v___x_78_);
|
||||
lean_dec_ref(v___x_78_);
|
||||
v___x_80_ = lean_string_append(v___x_76_, v___x_79_);
|
||||
|
|
@ -365,7 +364,6 @@ lean_ctor_set(v___x_102_, 0, v_stdout_93_);
|
|||
lean_ctor_set(v___x_102_, 1, v___x_97_);
|
||||
lean_ctor_set(v___x_102_, 2, v___x_96_);
|
||||
v___x_103_ = l_String_Slice_trimAscii(v___x_102_);
|
||||
lean_dec_ref(v___x_102_);
|
||||
v___x_104_ = l_String_Slice_toString(v___x_103_);
|
||||
lean_dec_ref(v___x_103_);
|
||||
v___x_105_ = lean_string_append(v___x_101_, v___x_104_);
|
||||
|
|
@ -419,7 +417,6 @@ lean_ctor_set(v___x_123_, 0, v_stdout_114_);
|
|||
lean_ctor_set(v___x_123_, 1, v___x_118_);
|
||||
lean_ctor_set(v___x_123_, 2, v___x_117_);
|
||||
v___x_124_ = l_String_Slice_trimAscii(v___x_123_);
|
||||
lean_dec_ref(v___x_123_);
|
||||
v___x_125_ = l_String_Slice_toString(v___x_124_);
|
||||
lean_dec_ref(v___x_124_);
|
||||
v___x_126_ = lean_string_append(v___x_122_, v___x_125_);
|
||||
|
|
@ -646,7 +643,6 @@ lean_ctor_set(v___x_220_, 0, v_stderr_211_);
|
|||
lean_ctor_set(v___x_220_, 1, v___x_217_);
|
||||
lean_ctor_set(v___x_220_, 2, v___x_216_);
|
||||
v___x_221_ = l_String_Slice_trimAscii(v___x_220_);
|
||||
lean_dec_ref(v___x_220_);
|
||||
v___x_222_ = l_String_Slice_toString(v___x_221_);
|
||||
lean_dec_ref(v___x_221_);
|
||||
v___x_223_ = lean_string_append(v___x_219_, v___x_222_);
|
||||
|
|
@ -719,7 +715,6 @@ lean_ctor_set(v___x_286_, 0, v_stdout_251_);
|
|||
lean_ctor_set(v___x_286_, 1, v___x_283_);
|
||||
lean_ctor_set(v___x_286_, 2, v___x_282_);
|
||||
v___x_287_ = l_String_Slice_trimAscii(v___x_286_);
|
||||
lean_dec_ref(v___x_286_);
|
||||
v___x_288_ = l_String_Slice_toString(v___x_287_);
|
||||
lean_dec_ref(v___x_287_);
|
||||
v___x_289_ = lean_string_append(v___x_285_, v___x_288_);
|
||||
|
|
@ -895,7 +890,6 @@ lean_ctor_set(v___x_321_, 0, v_stderr_313_);
|
|||
lean_ctor_set(v___x_321_, 1, v___x_318_);
|
||||
lean_ctor_set(v___x_321_, 2, v___x_317_);
|
||||
v___x_322_ = l_String_Slice_trimAscii(v___x_321_);
|
||||
lean_dec_ref(v___x_321_);
|
||||
v___x_323_ = l_String_Slice_toString(v___x_322_);
|
||||
lean_dec_ref(v___x_322_);
|
||||
v___x_324_ = lean_string_append(v___x_320_, v___x_323_);
|
||||
|
|
@ -975,7 +969,6 @@ lean_ctor_set(v___x_375_, 0, v_stdout_344_);
|
|||
lean_ctor_set(v___x_375_, 1, v___x_372_);
|
||||
lean_ctor_set(v___x_375_, 2, v___x_371_);
|
||||
v___x_376_ = l_String_Slice_trimAscii(v___x_375_);
|
||||
lean_dec_ref(v___x_375_);
|
||||
v___x_377_ = l_String_Slice_toString(v___x_376_);
|
||||
lean_dec_ref(v___x_376_);
|
||||
v___x_378_ = lean_string_append(v___x_374_, v___x_377_);
|
||||
|
|
@ -1134,7 +1127,6 @@ lean_ctor_set(v___x_416_, 0, v_stdout_413_);
|
|||
lean_ctor_set(v___x_416_, 1, v___x_414_);
|
||||
lean_ctor_set(v___x_416_, 2, v___x_415_);
|
||||
v___x_417_ = l_String_Slice_trimAscii(v___x_416_);
|
||||
lean_dec_ref(v___x_416_);
|
||||
v_str_418_ = lean_ctor_get(v___x_417_, 0);
|
||||
lean_inc_ref(v_str_418_);
|
||||
v_startInclusive_419_ = lean_ctor_get(v___x_417_, 1);
|
||||
|
|
@ -1271,7 +1263,6 @@ lean_ctor_set(v___x_453_, 0, v_stdout_448_);
|
|||
lean_ctor_set(v___x_453_, 1, v___x_451_);
|
||||
lean_ctor_set(v___x_453_, 2, v___x_452_);
|
||||
v___x_454_ = l_String_Slice_trimAscii(v___x_453_);
|
||||
lean_dec_ref(v___x_453_);
|
||||
v_str_455_ = lean_ctor_get(v___x_454_, 0);
|
||||
lean_inc_ref(v_str_455_);
|
||||
v_startInclusive_456_ = lean_ctor_get(v___x_454_, 1);
|
||||
|
|
|
|||
2
stage0/stdlib/Lake/Util/Url.c
generated
2
stage0/stdlib/Lake/Util/Url.c
generated
|
|
@ -1446,7 +1446,6 @@ lean_ctor_set(v___x_613_, 0, v_stdout_611_);
|
|||
lean_ctor_set(v___x_613_, 1, v___y_589_);
|
||||
lean_ctor_set(v___x_613_, 2, v___x_612_);
|
||||
v___x_614_ = l_String_Slice_trimAscii(v___x_613_);
|
||||
lean_dec_ref(v___x_613_);
|
||||
v_str_615_ = lean_ctor_get(v___x_614_, 0);
|
||||
lean_inc_ref(v_str_615_);
|
||||
v_startInclusive_616_ = lean_ctor_get(v___x_614_, 1);
|
||||
|
|
@ -1800,7 +1799,6 @@ lean_ctor_set(v___x_716_, 0, v_stdout_714_);
|
|||
lean_ctor_set(v___x_716_, 1, v___x_703_);
|
||||
lean_ctor_set(v___x_716_, 2, v___x_715_);
|
||||
v___x_717_ = l_String_Slice_trimAscii(v___x_716_);
|
||||
lean_dec_ref(v___x_716_);
|
||||
v_str_718_ = lean_ctor_get(v___x_717_, 0);
|
||||
lean_inc_ref(v_str_718_);
|
||||
v_startInclusive_719_ = lean_ctor_get(v___x_717_, 1);
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Util/Version.c
generated
1
stage0/stdlib/Lake/Util/Version.c
generated
|
|
@ -4835,7 +4835,6 @@ lean_ctor_set(v___x_1367_, 0, v_a_1361_);
|
|||
lean_ctor_set(v___x_1367_, 1, v___x_1365_);
|
||||
lean_ctor_set(v___x_1367_, 2, v___x_1366_);
|
||||
v___x_1368_ = l_String_Slice_trimAscii(v___x_1367_);
|
||||
lean_dec_ref(v___x_1367_);
|
||||
v_str_1369_ = lean_ctor_get(v___x_1368_, 0);
|
||||
lean_inc_ref(v_str_1369_);
|
||||
v_startInclusive_1370_ = lean_ctor_get(v___x_1368_, 1);
|
||||
|
|
|
|||
1041
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
1041
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
File diff suppressed because it is too large
Load diff
7990
stage0/stdlib/Lean/Compiler/NameDemangling.c
generated
7990
stage0/stdlib/Lean/Compiler/NameDemangling.c
generated
File diff suppressed because it is too large
Load diff
776
stage0/stdlib/Lean/Data/Name.c
generated
776
stage0/stdlib/Lean/Data/Name.c
generated
File diff suppressed because it is too large
Load diff
5738
stage0/stdlib/Lean/DocString/Markdown.c
generated
5738
stage0/stdlib/Lean/DocString/Markdown.c
generated
File diff suppressed because it is too large
Load diff
7382
stage0/stdlib/Lean/DocString/Parser.c
generated
7382
stage0/stdlib/Lean/DocString/Parser.c
generated
File diff suppressed because it is too large
Load diff
811
stage0/stdlib/Lean/Elab/AutoBound.c
generated
811
stage0/stdlib/Lean/Elab/AutoBound.c
generated
File diff suppressed because it is too large
Load diff
1
stage0/stdlib/Lean/Elab/Command.c
generated
1
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -33193,7 +33193,6 @@ v_reusejp_10527_:
|
|||
{
|
||||
lean_object* v___x_10529_; lean_object* v_str_10530_; lean_object* v_startInclusive_10531_; lean_object* v_endExclusive_10532_; lean_object* v___x_10533_; uint64_t v___x_10534_; lean_object* v___x_10535_; lean_object* v___x_10537_;
|
||||
v___x_10529_ = l_String_Slice_trimAscii(v___x_10528_);
|
||||
lean_dec_ref(v___x_10528_);
|
||||
v_str_10530_ = lean_ctor_get(v___x_10529_, 0);
|
||||
lean_inc_ref(v_str_10530_);
|
||||
v_startInclusive_10531_ = lean_ctor_get(v___x_10529_, 1);
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
1
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
|
|
@ -17114,7 +17114,6 @@ lean_ctor_set(v___x_5295_, 0, v___x_5293_);
|
|||
lean_ctor_set(v___x_5295_, 1, v___x_5276_);
|
||||
lean_ctor_set(v___x_5295_, 2, v___x_5294_);
|
||||
v___x_5296_ = l_String_Slice_trimAscii(v___x_5295_);
|
||||
lean_dec_ref(v___x_5295_);
|
||||
v_str_5297_ = lean_ctor_get(v___x_5296_, 0);
|
||||
lean_inc_ref(v_str_5297_);
|
||||
v_startInclusive_5298_ = lean_ctor_get(v___x_5296_, 1);
|
||||
|
|
|
|||
18370
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
18370
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
4
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
|
|
@ -16824,6 +16824,7 @@ v___x_5559_ = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(v___x_5559_, 0, v___x_5230_);
|
||||
lean_ctor_set(v___x_5559_, 1, v___x_5557_);
|
||||
lean_ctor_set(v___x_5559_, 2, v___x_5558_);
|
||||
lean_inc_ref(v___x_5559_);
|
||||
v___x_5560_ = l_String_Slice_trimAscii(v___x_5559_);
|
||||
v___x_5561_ = l_String_Slice_beq(v___x_5559_, v___x_5560_);
|
||||
lean_dec_ref(v___x_5559_);
|
||||
|
|
@ -45251,7 +45252,6 @@ lean_ctor_set(v___x_14880_, 0, v_fst_14867_);
|
|||
lean_ctor_set(v___x_14880_, 1, v___x_14878_);
|
||||
lean_ctor_set(v___x_14880_, 2, v___x_14879_);
|
||||
v___x_14881_ = l_String_Slice_trimAscii(v___x_14880_);
|
||||
lean_dec_ref(v___x_14880_);
|
||||
v_startInclusive_14882_ = lean_ctor_get(v___x_14881_, 1);
|
||||
lean_inc(v_startInclusive_14882_);
|
||||
v_endExclusive_14883_ = lean_ctor_get(v___x_14881_, 2);
|
||||
|
|
@ -57635,7 +57635,6 @@ lean_ctor_set(v___x_19178_, 0, v_snd_19164_);
|
|||
lean_ctor_set(v___x_19178_, 1, v___x_19176_);
|
||||
lean_ctor_set(v___x_19178_, 2, v___x_19177_);
|
||||
v___x_19179_ = l_String_Slice_trimAscii(v___x_19178_);
|
||||
lean_dec_ref(v___x_19178_);
|
||||
v___x_19180_ = lean_string_utf8_byte_size(v___x_19144_);
|
||||
lean_inc_ref(v___x_19144_);
|
||||
v___x_19181_ = lean_alloc_ctor(0, 3, 0);
|
||||
|
|
@ -57643,7 +57642,6 @@ lean_ctor_set(v___x_19181_, 0, v___x_19144_);
|
|||
lean_ctor_set(v___x_19181_, 1, v___x_19176_);
|
||||
lean_ctor_set(v___x_19181_, 2, v___x_19180_);
|
||||
v___x_19182_ = l_String_Slice_trimAscii(v___x_19181_);
|
||||
lean_dec_ref(v___x_19181_);
|
||||
v___x_19183_ = l_String_Slice_beq(v___x_19179_, v___x_19182_);
|
||||
lean_dec_ref(v___x_19182_);
|
||||
lean_dec_ref(v___x_19179_);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c
generated
12
stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c
generated
|
|
@ -2303,7 +2303,6 @@ lean_ctor_set(v___x_135_, 0, v_tk_132_);
|
|||
lean_ctor_set(v___x_135_, 1, v___x_133_);
|
||||
lean_ctor_set(v___x_135_, 2, v___x_134_);
|
||||
v___x_136_ = l_String_Slice_trimAscii(v___x_135_);
|
||||
lean_dec_ref(v___x_135_);
|
||||
v___x_137_ = lean_string_utf8_byte_size(v_atom_104_);
|
||||
v___x_138_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_138_, 0, v_atom_104_);
|
||||
|
|
@ -2327,7 +2326,6 @@ lean_ctor_set(v___x_146_, 0, v_tk_143_);
|
|||
lean_ctor_set(v___x_146_, 1, v___x_144_);
|
||||
lean_ctor_set(v___x_146_, 2, v___x_145_);
|
||||
v___x_147_ = l_String_Slice_trimAscii(v___x_146_);
|
||||
lean_dec_ref(v___x_146_);
|
||||
v___x_148_ = lean_string_utf8_byte_size(v_atom_104_);
|
||||
v___x_149_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_149_, 0, v_atom_104_);
|
||||
|
|
@ -3573,7 +3571,6 @@ lean_ctor_set(v___x_384_, 0, v_tk_381_);
|
|||
lean_ctor_set(v___x_384_, 1, v___x_382_);
|
||||
lean_ctor_set(v___x_384_, 2, v___x_383_);
|
||||
v___x_385_ = l_String_Slice_trimAscii(v___x_384_);
|
||||
lean_dec_ref(v___x_384_);
|
||||
v___x_386_ = lean_string_utf8_byte_size(v_atom_353_);
|
||||
v___x_387_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_387_, 0, v_atom_353_);
|
||||
|
|
@ -3609,7 +3606,6 @@ lean_ctor_set(v___x_397_, 0, v_tk_394_);
|
|||
lean_ctor_set(v___x_397_, 1, v___x_395_);
|
||||
lean_ctor_set(v___x_397_, 2, v___x_396_);
|
||||
v___x_398_ = l_String_Slice_trimAscii(v___x_397_);
|
||||
lean_dec_ref(v___x_397_);
|
||||
v___x_399_ = lean_string_utf8_byte_size(v_atom_353_);
|
||||
v___x_400_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_400_, 0, v_atom_353_);
|
||||
|
|
@ -5995,7 +5991,6 @@ lean_ctor_set(v___x_835_, 0, v_tk_832_);
|
|||
lean_ctor_set(v___x_835_, 1, v___x_833_);
|
||||
lean_ctor_set(v___x_835_, 2, v___x_834_);
|
||||
v___x_836_ = l_String_Slice_trimAscii(v___x_835_);
|
||||
lean_dec_ref(v___x_835_);
|
||||
v___x_837_ = lean_string_utf8_byte_size(v_atom_804_);
|
||||
v___x_838_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_838_, 0, v_atom_804_);
|
||||
|
|
@ -6031,7 +6026,6 @@ lean_ctor_set(v___x_848_, 0, v_tk_845_);
|
|||
lean_ctor_set(v___x_848_, 1, v___x_846_);
|
||||
lean_ctor_set(v___x_848_, 2, v___x_847_);
|
||||
v___x_849_ = l_String_Slice_trimAscii(v___x_848_);
|
||||
lean_dec_ref(v___x_848_);
|
||||
v___x_850_ = lean_string_utf8_byte_size(v_atom_804_);
|
||||
v___x_851_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_851_, 0, v_atom_804_);
|
||||
|
|
@ -8263,14 +8257,12 @@ lean_ctor_set(v___x_2026_, 0, v_head_2017_);
|
|||
lean_ctor_set(v___x_2026_, 1, v___x_2024_);
|
||||
lean_ctor_set(v___x_2026_, 2, v___x_2025_);
|
||||
v___x_2027_ = l_String_Slice_trimAscii(v___x_2026_);
|
||||
lean_dec_ref(v___x_2026_);
|
||||
v___x_2028_ = lean_string_utf8_byte_size(v_val_2020_);
|
||||
v___x_2029_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2029_, 0, v_val_2020_);
|
||||
lean_ctor_set(v___x_2029_, 1, v___x_2024_);
|
||||
lean_ctor_set(v___x_2029_, 2, v___x_2028_);
|
||||
v___x_2030_ = l_String_Slice_trimAscii(v___x_2029_);
|
||||
lean_dec_ref(v___x_2029_);
|
||||
v___x_2031_ = l_String_Slice_beq(v___x_2027_, v___x_2030_);
|
||||
lean_dec_ref(v___x_2030_);
|
||||
lean_dec_ref(v___x_2027_);
|
||||
|
|
@ -9707,7 +9699,6 @@ lean_ctor_set(v___x_2590_, 0, v_val_2587_);
|
|||
lean_ctor_set(v___x_2590_, 1, v___x_2588_);
|
||||
lean_ctor_set(v___x_2590_, 2, v___x_2589_);
|
||||
v___x_2591_ = l_String_Slice_trimAscii(v___x_2590_);
|
||||
lean_dec_ref(v___x_2590_);
|
||||
v___x_2592_ = lean_string_utf8_byte_size(v_atom_2575_);
|
||||
v___x_2593_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2593_, 0, v_atom_2575_);
|
||||
|
|
@ -9746,7 +9737,6 @@ lean_ctor_set(v___x_2602_, 0, v_val_2599_);
|
|||
lean_ctor_set(v___x_2602_, 1, v___x_2600_);
|
||||
lean_ctor_set(v___x_2602_, 2, v___x_2601_);
|
||||
v___x_2603_ = l_String_Slice_trimAscii(v___x_2602_);
|
||||
lean_dec_ref(v___x_2602_);
|
||||
v___x_2604_ = lean_string_utf8_byte_size(v_atom_2575_);
|
||||
v___x_2605_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2605_, 0, v_atom_2575_);
|
||||
|
|
@ -10272,7 +10262,6 @@ lean_ctor_set(v___x_2721_, 0, v_val_2718_);
|
|||
lean_ctor_set(v___x_2721_, 1, v___x_2719_);
|
||||
lean_ctor_set(v___x_2721_, 2, v___x_2720_);
|
||||
v___x_2722_ = l_String_Slice_trimAscii(v___x_2721_);
|
||||
lean_dec_ref(v___x_2721_);
|
||||
v___x_2723_ = lean_string_utf8_byte_size(v_atom_2706_);
|
||||
v___x_2724_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2724_, 0, v_atom_2706_);
|
||||
|
|
@ -10311,7 +10300,6 @@ lean_ctor_set(v___x_2733_, 0, v_val_2730_);
|
|||
lean_ctor_set(v___x_2733_, 1, v___x_2731_);
|
||||
lean_ctor_set(v___x_2733_, 2, v___x_2732_);
|
||||
v___x_2734_ = l_String_Slice_trimAscii(v___x_2733_);
|
||||
lean_dec_ref(v___x_2733_);
|
||||
v___x_2735_ = lean_string_utf8_byte_size(v_atom_2706_);
|
||||
v___x_2736_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2736_, 0, v_atom_2706_);
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
2
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
|
|
@ -12350,7 +12350,6 @@ lean_ctor_set(v___x_3643_, 0, v___x_3641_);
|
|||
lean_ctor_set(v___x_3643_, 1, v___y_3632_);
|
||||
lean_ctor_set(v___x_3643_, 2, v___x_3642_);
|
||||
v___x_3644_ = l_String_Slice_trimAscii(v___x_3643_);
|
||||
lean_dec_ref(v___x_3643_);
|
||||
v_str_3645_ = lean_ctor_get(v___x_3644_, 0);
|
||||
v_startInclusive_3646_ = lean_ctor_get(v___x_3644_, 1);
|
||||
v_endExclusive_3647_ = lean_ctor_get(v___x_3644_, 2);
|
||||
|
|
@ -12485,7 +12484,6 @@ lean_ctor_set(v___x_3685_, 0, v___y_3669_);
|
|||
lean_ctor_set(v___x_3685_, 1, v___x_3683_);
|
||||
lean_ctor_set(v___x_3685_, 2, v___x_3684_);
|
||||
v___x_3686_ = l_String_Slice_trimAscii(v___x_3685_);
|
||||
lean_dec_ref(v___x_3685_);
|
||||
v_str_3687_ = lean_ctor_get(v___x_3686_, 0);
|
||||
lean_inc_ref(v_str_3687_);
|
||||
v_startInclusive_3688_ = lean_ctor_get(v___x_3686_, 1);
|
||||
|
|
|
|||
24823
stage0/stdlib/Lean/Elab/Print.c
generated
24823
stage0/stdlib/Lean/Elab/Print.c
generated
File diff suppressed because it is too large
Load diff
1548
stage0/stdlib/Lean/Elab/StructInstHint.c
generated
1548
stage0/stdlib/Lean/Elab/StructInstHint.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/Elab/Syntax.c
generated
2
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -8881,7 +8881,6 @@ lean_ctor_set(v___x_2840_, 0, v_s_2837_);
|
|||
lean_ctor_set(v___x_2840_, 1, v___x_2838_);
|
||||
lean_ctor_set(v___x_2840_, 2, v___x_2839_);
|
||||
v___x_2841_ = l_String_Slice_trimAscii(v___x_2840_);
|
||||
lean_dec_ref(v___x_2840_);
|
||||
v_str_2842_ = lean_ctor_get(v___x_2841_, 0);
|
||||
v_startInclusive_2843_ = lean_ctor_get(v___x_2841_, 1);
|
||||
v_endExclusive_2844_ = lean_ctor_get(v___x_2841_, 2);
|
||||
|
|
@ -17201,7 +17200,6 @@ lean_ctor_set(v___x_6221_, 0, v_val_6218_);
|
|||
lean_ctor_set(v___x_6221_, 1, v___x_6219_);
|
||||
lean_ctor_set(v___x_6221_, 2, v___x_6220_);
|
||||
v___x_6222_ = l_String_Slice_trimAscii(v___x_6221_);
|
||||
lean_dec_ref(v___x_6221_);
|
||||
v_str_6223_ = lean_ctor_get(v___x_6222_, 0);
|
||||
lean_inc_ref(v_str_6223_);
|
||||
v_startInclusive_6224_ = lean_ctor_get(v___x_6222_, 1);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Cbv.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Cbv.c
generated
|
|
@ -78,7 +78,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_E
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_Cbv_evalCbv_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00Lean_Elab_Tactic_Cbv_evalCbv_spec__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_logWarningAt___at___00Lean_Elab_Tactic_Cbv_evalCbv_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*);
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 100, .m_capacity = 100, .m_length = 99, .m_data = "The `cbv` tactic is experimental and still under development. Avoid using it in production projects"};
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 97, .m_capacity = 97, .m_length = 96, .m_data = "The `cbv` usage warning option is enabled. Disable it by setting `set_option cbv.warning false`."};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__0 = (const lean_object*)&l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__0_value)}};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__1 = (const lean_object*)&l_Lean_Elab_Tactic_Cbv_evalCbv___lam__1___closed__1_value;
|
||||
|
|
@ -133,7 +133,7 @@ static const lean_ctor_object l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__1___cl
|
|||
static const lean_object* l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__1___closed__1 = (const lean_object*)&l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__1___closed__1_value;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 107, .m_capacity = 107, .m_length = 106, .m_data = "The `decide_cbv` tactic is experimental and still under development. Avoid using it in production projects"};
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 104, .m_capacity = 104, .m_length = 103, .m_data = "The `decide_cbv` usage warning option is enabled. Disable it by setting `set_option cbv.warning false`."};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__0 = (const lean_object*)&l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__0_value)}};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__1 = (const lean_object*)&l_Lean_Elab_Tactic_Cbv_evalDecideCbv___lam__2___closed__1_value;
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/Tactic/Conv/Cbv.c
generated
2
stage0/stdlib/Lean/Elab/Tactic/Conv/Cbv.c
generated
|
|
@ -65,7 +65,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_E
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_Conv_evalCbv_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00Lean_Elab_Tactic_Conv_evalCbv_spec__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_logWarningAt___at___00Lean_Elab_Tactic_Conv_evalCbv_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*);
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 100, .m_capacity = 100, .m_length = 99, .m_data = "The `cbv` tactic is experimental and still under development. Avoid using it in production projects"};
|
||||
static const lean_string_object l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 97, .m_capacity = 97, .m_length = 96, .m_data = "The `cbv` usage warning option is enabled. Disable it by setting `set_option cbv.warning false`."};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__0 = (const lean_object*)&l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__0_value)}};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__1 = (const lean_object*)&l_Lean_Elab_Tactic_Conv_evalCbv___lam__0___closed__1_value;
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Tactic/Grind.c
generated
10
stage0/stdlib/Lean/Elab/Tactic/Grind.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.Tactic.Grind
|
||||
// Imports: public import Lean.Elab.Tactic.Grind.Main public import Lean.Elab.Tactic.Grind.Basic public import Lean.Elab.Tactic.Grind.BuiltinTactic public import Lean.Elab.Tactic.Grind.ShowState public import Lean.Elab.Tactic.Grind.Have public import Lean.Elab.Tactic.Grind.Trace public import Lean.Elab.Tactic.Grind.Config public import Lean.Elab.Tactic.Grind.Lint public import Lean.Elab.Tactic.Grind.LintExceptions public import Lean.Elab.Tactic.Grind.Annotated
|
||||
// Imports: public import Lean.Elab.Tactic.Grind.Main public import Lean.Elab.Tactic.Grind.Basic public import Lean.Elab.Tactic.Grind.BuiltinTactic public import Lean.Elab.Tactic.Grind.ShowState public import Lean.Elab.Tactic.Grind.Have public import Lean.Elab.Tactic.Grind.Trace public import Lean.Elab.Tactic.Grind.Config public import Lean.Elab.Tactic.Grind.Lint public import Lean.Elab.Tactic.Grind.LintExceptions public import Lean.Elab.Tactic.Grind.Annotated public import Lean.Elab.Tactic.Grind.Sym
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -23,6 +23,7 @@ lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_Config(uint8_t builtin);
|
|||
lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_Lint(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_LintExceptions(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_Annotated(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_Sym(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_Tactic_Grind(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -58,6 +59,9 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Elab_Tactic_Grind_Annotated(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_Grind_Sym(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -77,6 +81,7 @@ lean_object* initialize_Lean_Elab_Tactic_Grind_Config(uint8_t builtin);
|
|||
lean_object* initialize_Lean_Elab_Tactic_Grind_Lint(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Grind_LintExceptions(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Grind_Annotated(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Grind_Sym(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Grind(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -112,6 +117,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Elab_Tactic_Grind_Annotated(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Tactic_Grind_Sym(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_Grind(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
31665
stage0/stdlib/Lean/Elab/Tactic/Grind/Basic.c
generated
31665
stage0/stdlib/Lean/Elab/Tactic/Grind/Basic.c
generated
File diff suppressed because it is too large
Load diff
31163
stage0/stdlib/Lean/Elab/Tactic/Grind/BuiltinTactic.c
generated
31163
stage0/stdlib/Lean/Elab/Tactic/Grind/BuiltinTactic.c
generated
File diff suppressed because it is too large
Load diff
272
stage0/stdlib/Lean/Elab/Tactic/Grind/Config.c
generated
272
stage0/stdlib/Lean/Elab/Tactic/Grind/Config.c
generated
|
|
@ -18288,18 +18288,19 @@ v___x_5236_ = lean_unsigned_to_nat(0u);
|
|||
v___x_5237_ = lean_nat_dec_eq(v___x_5235_, v___x_5236_);
|
||||
if (v___x_5237_ == 0)
|
||||
{
|
||||
lean_object* v_ctx_5238_; lean_object* v_toContext_5239_; lean_object* v_sctx_5240_; lean_object* v_methods_5241_; lean_object* v_params_5242_; lean_object* v___x_5244_; uint8_t v_isShared_5245_; uint8_t v_isSharedCheck_5277_;
|
||||
lean_object* v_ctx_5238_; lean_object* v_toContext_5239_; lean_object* v_sctx_5240_; lean_object* v_methods_5241_; lean_object* v_params_5242_; uint8_t v_sym_5243_; lean_object* v___x_5245_; uint8_t v_isShared_5246_; uint8_t v_isSharedCheck_5278_;
|
||||
v_ctx_5238_ = lean_ctor_get(v_a_5226_, 1);
|
||||
v_toContext_5239_ = lean_ctor_get(v_a_5226_, 0);
|
||||
v_sctx_5240_ = lean_ctor_get(v_a_5226_, 2);
|
||||
v_methods_5241_ = lean_ctor_get(v_a_5226_, 3);
|
||||
v_params_5242_ = lean_ctor_get(v_a_5226_, 4);
|
||||
v_isSharedCheck_5277_ = !lean_is_exclusive(v_a_5226_);
|
||||
if (v_isSharedCheck_5277_ == 0)
|
||||
v_sym_5243_ = lean_ctor_get_uint8(v_a_5226_, sizeof(void*)*5);
|
||||
v_isSharedCheck_5278_ = !lean_is_exclusive(v_a_5226_);
|
||||
if (v_isSharedCheck_5278_ == 0)
|
||||
{
|
||||
v___x_5244_ = v_a_5226_;
|
||||
v_isShared_5245_ = v_isSharedCheck_5277_;
|
||||
goto v_resetjp_5243_;
|
||||
v___x_5245_ = v_a_5226_;
|
||||
v_isShared_5246_ = v_isSharedCheck_5278_;
|
||||
goto v_resetjp_5244_;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -18309,123 +18310,124 @@ lean_inc(v_sctx_5240_);
|
|||
lean_inc(v_ctx_5238_);
|
||||
lean_inc(v_toContext_5239_);
|
||||
lean_dec(v_a_5226_);
|
||||
v___x_5244_ = lean_box(0);
|
||||
v_isShared_5245_ = v_isSharedCheck_5277_;
|
||||
goto v_resetjp_5243_;
|
||||
v___x_5245_ = lean_box(0);
|
||||
v_isShared_5246_ = v_isSharedCheck_5278_;
|
||||
goto v_resetjp_5244_;
|
||||
}
|
||||
v_resetjp_5243_:
|
||||
v_resetjp_5244_:
|
||||
{
|
||||
lean_object* v_simp_5246_; lean_object* v_simpMethods_5247_; lean_object* v_config_5248_; lean_object* v_anchorRefs_x3f_5249_; uint8_t v_cheapCases_5250_; uint8_t v_reportMVarIssue_5251_; lean_object* v_splitSource_5252_; lean_object* v_symPrios_5253_; lean_object* v_extensions_5254_; uint8_t v_debug_5255_; lean_object* v___x_5257_; uint8_t v_isShared_5258_; uint8_t v_isSharedCheck_5276_;
|
||||
v_simp_5246_ = lean_ctor_get(v_ctx_5238_, 0);
|
||||
v_simpMethods_5247_ = lean_ctor_get(v_ctx_5238_, 1);
|
||||
v_config_5248_ = lean_ctor_get(v_ctx_5238_, 2);
|
||||
v_anchorRefs_x3f_5249_ = lean_ctor_get(v_ctx_5238_, 3);
|
||||
v_cheapCases_5250_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7);
|
||||
v_reportMVarIssue_5251_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7 + 1);
|
||||
v_splitSource_5252_ = lean_ctor_get(v_ctx_5238_, 4);
|
||||
v_symPrios_5253_ = lean_ctor_get(v_ctx_5238_, 5);
|
||||
v_extensions_5254_ = lean_ctor_get(v_ctx_5238_, 6);
|
||||
v_debug_5255_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7 + 2);
|
||||
v_isSharedCheck_5276_ = !lean_is_exclusive(v_ctx_5238_);
|
||||
if (v_isSharedCheck_5276_ == 0)
|
||||
lean_object* v_simp_5247_; lean_object* v_simpMethods_5248_; lean_object* v_config_5249_; lean_object* v_anchorRefs_x3f_5250_; uint8_t v_cheapCases_5251_; uint8_t v_reportMVarIssue_5252_; lean_object* v_splitSource_5253_; lean_object* v_symPrios_5254_; lean_object* v_extensions_5255_; uint8_t v_debug_5256_; lean_object* v___x_5258_; uint8_t v_isShared_5259_; uint8_t v_isSharedCheck_5277_;
|
||||
v_simp_5247_ = lean_ctor_get(v_ctx_5238_, 0);
|
||||
v_simpMethods_5248_ = lean_ctor_get(v_ctx_5238_, 1);
|
||||
v_config_5249_ = lean_ctor_get(v_ctx_5238_, 2);
|
||||
v_anchorRefs_x3f_5250_ = lean_ctor_get(v_ctx_5238_, 3);
|
||||
v_cheapCases_5251_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7);
|
||||
v_reportMVarIssue_5252_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7 + 1);
|
||||
v_splitSource_5253_ = lean_ctor_get(v_ctx_5238_, 4);
|
||||
v_symPrios_5254_ = lean_ctor_get(v_ctx_5238_, 5);
|
||||
v_extensions_5255_ = lean_ctor_get(v_ctx_5238_, 6);
|
||||
v_debug_5256_ = lean_ctor_get_uint8(v_ctx_5238_, sizeof(void*)*7 + 2);
|
||||
v_isSharedCheck_5277_ = !lean_is_exclusive(v_ctx_5238_);
|
||||
if (v_isSharedCheck_5277_ == 0)
|
||||
{
|
||||
v___x_5257_ = v_ctx_5238_;
|
||||
v_isShared_5258_ = v_isSharedCheck_5276_;
|
||||
goto v_resetjp_5256_;
|
||||
v___x_5258_ = v_ctx_5238_;
|
||||
v_isShared_5259_ = v_isSharedCheck_5277_;
|
||||
goto v_resetjp_5257_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_extensions_5254_);
|
||||
lean_inc(v_symPrios_5253_);
|
||||
lean_inc(v_splitSource_5252_);
|
||||
lean_inc(v_anchorRefs_x3f_5249_);
|
||||
lean_inc(v_config_5248_);
|
||||
lean_inc(v_simpMethods_5247_);
|
||||
lean_inc(v_simp_5246_);
|
||||
lean_inc(v_extensions_5255_);
|
||||
lean_inc(v_symPrios_5254_);
|
||||
lean_inc(v_splitSource_5253_);
|
||||
lean_inc(v_anchorRefs_x3f_5250_);
|
||||
lean_inc(v_config_5249_);
|
||||
lean_inc(v_simpMethods_5248_);
|
||||
lean_inc(v_simp_5247_);
|
||||
lean_dec(v_ctx_5238_);
|
||||
v___x_5257_ = lean_box(0);
|
||||
v_isShared_5258_ = v_isSharedCheck_5276_;
|
||||
goto v_resetjp_5256_;
|
||||
v___x_5258_ = lean_box(0);
|
||||
v_isShared_5259_ = v_isSharedCheck_5277_;
|
||||
goto v_resetjp_5257_;
|
||||
}
|
||||
v_resetjp_5256_:
|
||||
v_resetjp_5257_:
|
||||
{
|
||||
lean_object* v___x_5259_;
|
||||
lean_object* v___x_5260_;
|
||||
lean_inc(v_a_5233_);
|
||||
lean_inc_ref(v_a_5232_);
|
||||
lean_inc(v_a_5231_);
|
||||
lean_inc_ref(v_a_5230_);
|
||||
lean_inc(v_a_5229_);
|
||||
lean_inc_ref(v_a_5228_);
|
||||
v___x_5259_ = l_Lean_Elab_Tactic_Grind_elabConfigItems(v_config_5248_, v_items_5224_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_);
|
||||
if (lean_obj_tag(v___x_5259_) == 0)
|
||||
v___x_5260_ = l_Lean_Elab_Tactic_Grind_elabConfigItems(v_config_5249_, v_items_5224_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_);
|
||||
if (lean_obj_tag(v___x_5260_) == 0)
|
||||
{
|
||||
lean_object* v_a_5260_; lean_object* v___x_5262_;
|
||||
v_a_5260_ = lean_ctor_get(v___x_5259_, 0);
|
||||
lean_inc(v_a_5260_);
|
||||
lean_dec_ref(v___x_5259_);
|
||||
if (v_isShared_5258_ == 0)
|
||||
lean_object* v_a_5261_; lean_object* v___x_5263_;
|
||||
v_a_5261_ = lean_ctor_get(v___x_5260_, 0);
|
||||
lean_inc(v_a_5261_);
|
||||
lean_dec_ref(v___x_5260_);
|
||||
if (v_isShared_5259_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_5257_, 2, v_a_5260_);
|
||||
v___x_5262_ = v___x_5257_;
|
||||
goto v_reusejp_5261_;
|
||||
lean_ctor_set(v___x_5258_, 2, v_a_5261_);
|
||||
v___x_5263_ = v___x_5258_;
|
||||
goto v_reusejp_5262_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_5268_;
|
||||
v_reuseFailAlloc_5268_ = lean_alloc_ctor(0, 7, 3);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 0, v_simp_5247_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 1, v_simpMethods_5248_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 2, v_a_5261_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 3, v_anchorRefs_x3f_5250_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 4, v_splitSource_5253_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 5, v_symPrios_5254_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5268_, 6, v_extensions_5255_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5268_, sizeof(void*)*7, v_cheapCases_5251_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5268_, sizeof(void*)*7 + 1, v_reportMVarIssue_5252_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5268_, sizeof(void*)*7 + 2, v_debug_5256_);
|
||||
v___x_5263_ = v_reuseFailAlloc_5268_;
|
||||
goto v_reusejp_5262_;
|
||||
}
|
||||
v_reusejp_5262_:
|
||||
{
|
||||
lean_object* v___x_5265_;
|
||||
if (v_isShared_5246_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_5245_, 1, v___x_5263_);
|
||||
v___x_5265_ = v___x_5245_;
|
||||
goto v_reusejp_5264_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_5267_;
|
||||
v_reuseFailAlloc_5267_ = lean_alloc_ctor(0, 7, 3);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 0, v_simp_5246_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 1, v_simpMethods_5247_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 2, v_a_5260_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 3, v_anchorRefs_x3f_5249_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 4, v_splitSource_5252_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 5, v_symPrios_5253_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 6, v_extensions_5254_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5267_, sizeof(void*)*7, v_cheapCases_5250_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5267_, sizeof(void*)*7 + 1, v_reportMVarIssue_5251_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5267_, sizeof(void*)*7 + 2, v_debug_5255_);
|
||||
v___x_5262_ = v_reuseFailAlloc_5267_;
|
||||
goto v_reusejp_5261_;
|
||||
v_reuseFailAlloc_5267_ = lean_alloc_ctor(0, 5, 1);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 0, v_toContext_5239_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 1, v___x_5263_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 2, v_sctx_5240_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 3, v_methods_5241_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5267_, 4, v_params_5242_);
|
||||
lean_ctor_set_uint8(v_reuseFailAlloc_5267_, sizeof(void*)*5, v_sym_5243_);
|
||||
v___x_5265_ = v_reuseFailAlloc_5267_;
|
||||
goto v_reusejp_5264_;
|
||||
}
|
||||
v_reusejp_5261_:
|
||||
v_reusejp_5264_:
|
||||
{
|
||||
lean_object* v___x_5264_;
|
||||
if (v_isShared_5245_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_5244_, 1, v___x_5262_);
|
||||
v___x_5264_ = v___x_5244_;
|
||||
goto v_reusejp_5263_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_5266_;
|
||||
v_reuseFailAlloc_5266_ = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_5266_, 0, v_toContext_5239_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5266_, 1, v___x_5262_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5266_, 2, v_sctx_5240_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5266_, 3, v_methods_5241_);
|
||||
lean_ctor_set(v_reuseFailAlloc_5266_, 4, v_params_5242_);
|
||||
v___x_5264_ = v_reuseFailAlloc_5266_;
|
||||
goto v_reusejp_5263_;
|
||||
}
|
||||
v_reusejp_5263_:
|
||||
{
|
||||
lean_object* v___x_5265_;
|
||||
v___x_5265_ = lean_apply_9(v_k_5225_, v___x_5264_, v_a_5227_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_, lean_box(0));
|
||||
return v___x_5265_;
|
||||
lean_object* v___x_5266_;
|
||||
v___x_5266_ = lean_apply_9(v_k_5225_, v___x_5265_, v_a_5227_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_, lean_box(0));
|
||||
return v___x_5266_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_5268_; lean_object* v___x_5270_; uint8_t v_isShared_5271_; uint8_t v_isSharedCheck_5275_;
|
||||
lean_del_object(v___x_5257_);
|
||||
lean_dec_ref(v_extensions_5254_);
|
||||
lean_dec_ref(v_symPrios_5253_);
|
||||
lean_dec(v_splitSource_5252_);
|
||||
lean_dec(v_anchorRefs_x3f_5249_);
|
||||
lean_dec_ref(v_simpMethods_5247_);
|
||||
lean_dec_ref(v_simp_5246_);
|
||||
lean_del_object(v___x_5244_);
|
||||
lean_object* v_a_5269_; lean_object* v___x_5271_; uint8_t v_isShared_5272_; uint8_t v_isSharedCheck_5276_;
|
||||
lean_del_object(v___x_5258_);
|
||||
lean_dec_ref(v_extensions_5255_);
|
||||
lean_dec_ref(v_symPrios_5254_);
|
||||
lean_dec(v_splitSource_5253_);
|
||||
lean_dec(v_anchorRefs_x3f_5250_);
|
||||
lean_dec_ref(v_simpMethods_5248_);
|
||||
lean_dec_ref(v_simp_5247_);
|
||||
lean_del_object(v___x_5245_);
|
||||
lean_dec_ref(v_params_5242_);
|
||||
lean_dec_ref(v_methods_5241_);
|
||||
lean_dec_ref(v_sctx_5240_);
|
||||
|
|
@ -18438,41 +18440,41 @@ lean_dec(v_a_5229_);
|
|||
lean_dec_ref(v_a_5228_);
|
||||
lean_dec(v_a_5227_);
|
||||
lean_dec_ref(v_k_5225_);
|
||||
v_a_5268_ = lean_ctor_get(v___x_5259_, 0);
|
||||
v_isSharedCheck_5275_ = !lean_is_exclusive(v___x_5259_);
|
||||
if (v_isSharedCheck_5275_ == 0)
|
||||
v_a_5269_ = lean_ctor_get(v___x_5260_, 0);
|
||||
v_isSharedCheck_5276_ = !lean_is_exclusive(v___x_5260_);
|
||||
if (v_isSharedCheck_5276_ == 0)
|
||||
{
|
||||
v___x_5270_ = v___x_5259_;
|
||||
v_isShared_5271_ = v_isSharedCheck_5275_;
|
||||
goto v_resetjp_5269_;
|
||||
v___x_5271_ = v___x_5260_;
|
||||
v_isShared_5272_ = v_isSharedCheck_5276_;
|
||||
goto v_resetjp_5270_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_5268_);
|
||||
lean_dec(v___x_5259_);
|
||||
v___x_5270_ = lean_box(0);
|
||||
v_isShared_5271_ = v_isSharedCheck_5275_;
|
||||
goto v_resetjp_5269_;
|
||||
lean_inc(v_a_5269_);
|
||||
lean_dec(v___x_5260_);
|
||||
v___x_5271_ = lean_box(0);
|
||||
v_isShared_5272_ = v_isSharedCheck_5276_;
|
||||
goto v_resetjp_5270_;
|
||||
}
|
||||
v_resetjp_5269_:
|
||||
v_resetjp_5270_:
|
||||
{
|
||||
lean_object* v___x_5273_;
|
||||
if (v_isShared_5271_ == 0)
|
||||
lean_object* v___x_5274_;
|
||||
if (v_isShared_5272_ == 0)
|
||||
{
|
||||
v___x_5273_ = v___x_5270_;
|
||||
goto v_reusejp_5272_;
|
||||
v___x_5274_ = v___x_5271_;
|
||||
goto v_reusejp_5273_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_5274_;
|
||||
v_reuseFailAlloc_5274_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_5274_, 0, v_a_5268_);
|
||||
v___x_5273_ = v_reuseFailAlloc_5274_;
|
||||
goto v_reusejp_5272_;
|
||||
lean_object* v_reuseFailAlloc_5275_;
|
||||
v_reuseFailAlloc_5275_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_5275_, 0, v_a_5269_);
|
||||
v___x_5274_ = v_reuseFailAlloc_5275_;
|
||||
goto v_reusejp_5273_;
|
||||
}
|
||||
v_reusejp_5272_:
|
||||
v_reusejp_5273_:
|
||||
{
|
||||
return v___x_5273_;
|
||||
return v___x_5274_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18481,36 +18483,36 @@ return v___x_5273_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_5278_;
|
||||
v___x_5278_ = lean_apply_9(v_k_5225_, v_a_5226_, v_a_5227_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_, lean_box(0));
|
||||
return v___x_5278_;
|
||||
lean_object* v___x_5279_;
|
||||
v___x_5279_ = lean_apply_9(v_k_5225_, v_a_5226_, v_a_5227_, v_a_5228_, v_a_5229_, v_a_5230_, v_a_5231_, v_a_5232_, v_a_5233_, lean_box(0));
|
||||
return v___x_5279_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems___redArg___boxed(lean_object* v_items_5279_, lean_object* v_k_5280_, lean_object* v_a_5281_, lean_object* v_a_5282_, lean_object* v_a_5283_, lean_object* v_a_5284_, lean_object* v_a_5285_, lean_object* v_a_5286_, lean_object* v_a_5287_, lean_object* v_a_5288_, lean_object* v_a_5289_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems___redArg___boxed(lean_object* v_items_5280_, lean_object* v_k_5281_, lean_object* v_a_5282_, lean_object* v_a_5283_, lean_object* v_a_5284_, lean_object* v_a_5285_, lean_object* v_a_5286_, lean_object* v_a_5287_, lean_object* v_a_5288_, lean_object* v_a_5289_, lean_object* v_a_5290_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_5290_;
|
||||
v_res_5290_ = l_Lean_Elab_Tactic_Grind_withConfigItems___redArg(v_items_5279_, v_k_5280_, v_a_5281_, v_a_5282_, v_a_5283_, v_a_5284_, v_a_5285_, v_a_5286_, v_a_5287_, v_a_5288_);
|
||||
lean_dec_ref(v_items_5279_);
|
||||
return v_res_5290_;
|
||||
lean_object* v_res_5291_;
|
||||
v_res_5291_ = l_Lean_Elab_Tactic_Grind_withConfigItems___redArg(v_items_5280_, v_k_5281_, v_a_5282_, v_a_5283_, v_a_5284_, v_a_5285_, v_a_5286_, v_a_5287_, v_a_5288_, v_a_5289_);
|
||||
lean_dec_ref(v_items_5280_);
|
||||
return v_res_5291_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems(lean_object* v_00_u03b1_5291_, lean_object* v_items_5292_, lean_object* v_k_5293_, lean_object* v_a_5294_, lean_object* v_a_5295_, lean_object* v_a_5296_, lean_object* v_a_5297_, lean_object* v_a_5298_, lean_object* v_a_5299_, lean_object* v_a_5300_, lean_object* v_a_5301_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems(lean_object* v_00_u03b1_5292_, lean_object* v_items_5293_, lean_object* v_k_5294_, lean_object* v_a_5295_, lean_object* v_a_5296_, lean_object* v_a_5297_, lean_object* v_a_5298_, lean_object* v_a_5299_, lean_object* v_a_5300_, lean_object* v_a_5301_, lean_object* v_a_5302_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_5303_;
|
||||
v___x_5303_ = l_Lean_Elab_Tactic_Grind_withConfigItems___redArg(v_items_5292_, v_k_5293_, v_a_5294_, v_a_5295_, v_a_5296_, v_a_5297_, v_a_5298_, v_a_5299_, v_a_5300_, v_a_5301_);
|
||||
return v___x_5303_;
|
||||
lean_object* v___x_5304_;
|
||||
v___x_5304_ = l_Lean_Elab_Tactic_Grind_withConfigItems___redArg(v_items_5293_, v_k_5294_, v_a_5295_, v_a_5296_, v_a_5297_, v_a_5298_, v_a_5299_, v_a_5300_, v_a_5301_, v_a_5302_);
|
||||
return v___x_5304_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems___boxed(lean_object* v_00_u03b1_5304_, lean_object* v_items_5305_, lean_object* v_k_5306_, lean_object* v_a_5307_, lean_object* v_a_5308_, lean_object* v_a_5309_, lean_object* v_a_5310_, lean_object* v_a_5311_, lean_object* v_a_5312_, lean_object* v_a_5313_, lean_object* v_a_5314_, lean_object* v_a_5315_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_withConfigItems___boxed(lean_object* v_00_u03b1_5305_, lean_object* v_items_5306_, lean_object* v_k_5307_, lean_object* v_a_5308_, lean_object* v_a_5309_, lean_object* v_a_5310_, lean_object* v_a_5311_, lean_object* v_a_5312_, lean_object* v_a_5313_, lean_object* v_a_5314_, lean_object* v_a_5315_, lean_object* v_a_5316_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_5316_;
|
||||
v_res_5316_ = l_Lean_Elab_Tactic_Grind_withConfigItems(v_00_u03b1_5304_, v_items_5305_, v_k_5306_, v_a_5307_, v_a_5308_, v_a_5309_, v_a_5310_, v_a_5311_, v_a_5312_, v_a_5313_, v_a_5314_);
|
||||
lean_dec_ref(v_items_5305_);
|
||||
return v_res_5316_;
|
||||
lean_object* v_res_5317_;
|
||||
v_res_5317_ = l_Lean_Elab_Tactic_Grind_withConfigItems(v_00_u03b1_5305_, v_items_5306_, v_k_5307_, v_a_5308_, v_a_5309_, v_a_5310_, v_a_5311_, v_a_5312_, v_a_5313_, v_a_5314_, v_a_5315_);
|
||||
lean_dec_ref(v_items_5306_);
|
||||
return v_res_5317_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Grind_Basic(uint8_t builtin);
|
||||
|
|
|
|||
17396
stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c
generated
17396
stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c
generated
File diff suppressed because it is too large
Load diff
838
stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c
generated
838
stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c
generated
File diff suppressed because it is too large
Load diff
6391
stage0/stdlib/Lean/Elab/Tactic/Grind/Sym.c
generated
Normal file
6391
stage0/stdlib/Lean/Elab/Tactic/Grind/Sym.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2998
stage0/stdlib/Lean/Elab/Tactic/Grind/Trace.c
generated
2998
stage0/stdlib/Lean/Elab/Tactic/Grind/Trace.c
generated
File diff suppressed because it is too large
Load diff
8071
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
8071
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
File diff suppressed because it is too large
Load diff
7120
stage0/stdlib/Lean/Meta/Basic.c
generated
7120
stage0/stdlib/Lean/Meta/Basic.c
generated
File diff suppressed because it is too large
Load diff
5129
stage0/stdlib/Lean/Meta/CongrTheorems.c
generated
5129
stage0/stdlib/Lean/Meta/CongrTheorems.c
generated
File diff suppressed because it is too large
Load diff
15613
stage0/stdlib/Lean/Meta/Eqns.c
generated
15613
stage0/stdlib/Lean/Meta/Eqns.c
generated
File diff suppressed because it is too large
Load diff
569
stage0/stdlib/Lean/Meta/Match/Basic.c
generated
569
stage0/stdlib/Lean/Meta/Match/Basic.c
generated
|
|
@ -388,14 +388,16 @@ LEAN_EXPORT const lean_object* l_Lean_Meta_Match_congrEqnThmSuffixBasePrefix = (
|
|||
static const lean_string_object l_Lean_Meta_Match_congrEqn1ThmSuffix___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "congr_eq_1"};
|
||||
static const lean_object* l_Lean_Meta_Match_congrEqn1ThmSuffix___closed__0 = (const lean_object*)&l_Lean_Meta_Match_congrEqn1ThmSuffix___closed__0_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_Meta_Match_congrEqn1ThmSuffix = (const lean_object*)&l_Lean_Meta_Match_congrEqn1ThmSuffix___closed__0_value;
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0;
|
||||
static const lean_ctor_object l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))}};
|
||||
static const lean_object* l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__1 = (const lean_object*)&l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__1_value;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___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_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_Pattern_ctorIdx(lean_object* v_x_1_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -8686,461 +8688,284 @@ lean_dec_ref(v___y_2428_);
|
|||
return v_res_2433_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(lean_object* v___x_2440_, uint8_t v___x_2441_, lean_object* v___x_2442_, lean_object* v___x_2443_, lean_object* v_s_2444_, lean_object* v_a_2445_, lean_object* v_b_2446_){
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(lean_object* v___x_2440_, lean_object* v___x_2441_, lean_object* v_s_2442_, lean_object* v_a_2443_, lean_object* v_b_2444_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_startInclusive_2447_; lean_object* v_endExclusive_2448_; lean_object* v___x_2449_; uint8_t v___x_2450_;
|
||||
v_startInclusive_2447_ = lean_ctor_get(v___x_2442_, 1);
|
||||
v_endExclusive_2448_ = lean_ctor_get(v___x_2442_, 2);
|
||||
v___x_2449_ = lean_nat_sub(v_endExclusive_2448_, v_startInclusive_2447_);
|
||||
v___x_2450_ = lean_nat_dec_eq(v_a_2445_, v___x_2449_);
|
||||
lean_dec(v___x_2449_);
|
||||
if (v___x_2450_ == 0)
|
||||
lean_object* v_startInclusive_2445_; lean_object* v_endExclusive_2446_; lean_object* v___x_2447_; uint8_t v_lastWasDigit_2448_;
|
||||
v_startInclusive_2445_ = lean_ctor_get(v___x_2440_, 1);
|
||||
v_endExclusive_2446_ = lean_ctor_get(v___x_2440_, 2);
|
||||
v___x_2447_ = lean_nat_sub(v_endExclusive_2446_, v_startInclusive_2445_);
|
||||
v_lastWasDigit_2448_ = lean_nat_dec_eq(v_a_2443_, v___x_2447_);
|
||||
lean_dec(v___x_2447_);
|
||||
if (v_lastWasDigit_2448_ == 0)
|
||||
{
|
||||
lean_object* v_snd_2451_; lean_object* v_snd_2452_; lean_object* v_fst_2453_; lean_object* v___x_2455_; uint8_t v_isShared_2456_; uint8_t v_isSharedCheck_2516_;
|
||||
v_snd_2451_ = lean_ctor_get(v_b_2446_, 1);
|
||||
lean_inc(v_snd_2451_);
|
||||
v_snd_2452_ = lean_ctor_get(v_snd_2451_, 1);
|
||||
lean_inc(v_snd_2452_);
|
||||
v_fst_2453_ = lean_ctor_get(v_b_2446_, 0);
|
||||
v_isSharedCheck_2516_ = !lean_is_exclusive(v_b_2446_);
|
||||
if (v_isSharedCheck_2516_ == 0)
|
||||
lean_object* v_snd_2449_; lean_object* v___x_2451_; uint8_t v_isShared_2452_; uint8_t v_isSharedCheck_2483_;
|
||||
v_snd_2449_ = lean_ctor_get(v_b_2444_, 1);
|
||||
v_isSharedCheck_2483_ = !lean_is_exclusive(v_b_2444_);
|
||||
if (v_isSharedCheck_2483_ == 0)
|
||||
{
|
||||
lean_object* v_unused_2517_;
|
||||
v_unused_2517_ = lean_ctor_get(v_b_2446_, 1);
|
||||
lean_dec(v_unused_2517_);
|
||||
v___x_2455_ = v_b_2446_;
|
||||
v_isShared_2456_ = v_isSharedCheck_2516_;
|
||||
goto v_resetjp_2454_;
|
||||
lean_object* v_unused_2484_;
|
||||
v_unused_2484_ = lean_ctor_get(v_b_2444_, 0);
|
||||
lean_dec(v_unused_2484_);
|
||||
v___x_2451_ = v_b_2444_;
|
||||
v_isShared_2452_ = v_isSharedCheck_2483_;
|
||||
goto v_resetjp_2450_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_fst_2453_);
|
||||
lean_dec(v_b_2446_);
|
||||
v___x_2455_ = lean_box(0);
|
||||
v_isShared_2456_ = v_isSharedCheck_2516_;
|
||||
goto v_resetjp_2454_;
|
||||
lean_inc(v_snd_2449_);
|
||||
lean_dec(v_b_2444_);
|
||||
v___x_2451_ = lean_box(0);
|
||||
v_isShared_2452_ = v_isSharedCheck_2483_;
|
||||
goto v_resetjp_2450_;
|
||||
}
|
||||
v_resetjp_2454_:
|
||||
v_resetjp_2450_:
|
||||
{
|
||||
lean_object* v_fst_2457_; lean_object* v___x_2459_; uint8_t v_isShared_2460_; uint8_t v_isSharedCheck_2514_;
|
||||
v_fst_2457_ = lean_ctor_get(v_snd_2451_, 0);
|
||||
v_isSharedCheck_2514_ = !lean_is_exclusive(v_snd_2451_);
|
||||
if (v_isSharedCheck_2514_ == 0)
|
||||
lean_object* v___x_2453_; lean_object* v___x_2454_; lean_object* v___x_2455_; lean_object* v___x_2456_; uint8_t v___y_2458_; uint32_t v___x_2469_; uint32_t v___x_2470_; uint8_t v___x_2471_;
|
||||
v___x_2453_ = lean_box(0);
|
||||
v___x_2454_ = lean_nat_add(v___x_2441_, v_a_2443_);
|
||||
lean_dec(v_a_2443_);
|
||||
v___x_2455_ = lean_string_utf8_next_fast(v_s_2442_, v___x_2454_);
|
||||
v___x_2456_ = lean_nat_sub(v___x_2455_, v___x_2441_);
|
||||
v___x_2469_ = lean_string_utf8_get_fast(v_s_2442_, v___x_2454_);
|
||||
lean_dec(v___x_2454_);
|
||||
v___x_2470_ = 95;
|
||||
v___x_2471_ = lean_uint32_dec_eq(v___x_2469_, v___x_2470_);
|
||||
if (v___x_2471_ == 0)
|
||||
{
|
||||
lean_object* v_unused_2515_;
|
||||
v_unused_2515_ = lean_ctor_get(v_snd_2451_, 1);
|
||||
lean_dec(v_unused_2515_);
|
||||
v___x_2459_ = v_snd_2451_;
|
||||
v_isShared_2460_ = v_isSharedCheck_2514_;
|
||||
goto v_resetjp_2458_;
|
||||
uint32_t v___x_2472_; uint8_t v___x_2473_;
|
||||
v___x_2472_ = 48;
|
||||
v___x_2473_ = lean_uint32_dec_le(v___x_2472_, v___x_2469_);
|
||||
if (v___x_2473_ == 0)
|
||||
{
|
||||
v___y_2458_ = v___x_2473_;
|
||||
goto v___jp_2457_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_fst_2457_);
|
||||
lean_dec(v_snd_2451_);
|
||||
v___x_2459_ = lean_box(0);
|
||||
v_isShared_2460_ = v_isSharedCheck_2514_;
|
||||
goto v_resetjp_2458_;
|
||||
uint32_t v___x_2474_; uint8_t v___x_2475_;
|
||||
v___x_2474_ = 57;
|
||||
v___x_2475_ = lean_uint32_dec_le(v___x_2469_, v___x_2474_);
|
||||
v___y_2458_ = v___x_2475_;
|
||||
goto v___jp_2457_;
|
||||
}
|
||||
v_resetjp_2458_:
|
||||
{
|
||||
lean_object* v_snd_2461_; lean_object* v___x_2463_; uint8_t v_isShared_2464_; uint8_t v_isSharedCheck_2512_;
|
||||
v_snd_2461_ = lean_ctor_get(v_snd_2452_, 1);
|
||||
v_isSharedCheck_2512_ = !lean_is_exclusive(v_snd_2452_);
|
||||
if (v_isSharedCheck_2512_ == 0)
|
||||
{
|
||||
lean_object* v_unused_2513_;
|
||||
v_unused_2513_ = lean_ctor_get(v_snd_2452_, 0);
|
||||
lean_dec(v_unused_2513_);
|
||||
v___x_2463_ = v_snd_2452_;
|
||||
v_isShared_2464_ = v_isSharedCheck_2512_;
|
||||
goto v_resetjp_2462_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_snd_2461_);
|
||||
lean_dec(v_snd_2452_);
|
||||
v___x_2463_ = lean_box(0);
|
||||
v_isShared_2464_ = v_isSharedCheck_2512_;
|
||||
goto v_resetjp_2462_;
|
||||
}
|
||||
v_resetjp_2462_:
|
||||
uint8_t v___x_2476_;
|
||||
lean_del_object(v___x_2451_);
|
||||
v___x_2476_ = lean_unbox(v_snd_2449_);
|
||||
if (v___x_2476_ == 0)
|
||||
{
|
||||
lean_object* v___x_2465_; uint8_t v___x_2466_; lean_object* v___x_2467_; lean_object* v___x_2468_; lean_object* v___x_2469_; uint32_t v___x_2470_; uint8_t v___y_2472_; uint8_t v___y_2473_; uint8_t v___y_2491_; uint8_t v___y_2492_; uint8_t v___y_2497_; uint8_t v___y_2498_; uint8_t v___y_2503_; uint32_t v___x_2508_; uint8_t v___x_2509_;
|
||||
v___x_2465_ = lean_unsigned_to_nat(0u);
|
||||
v___x_2466_ = lean_nat_dec_eq(v___x_2440_, v___x_2465_);
|
||||
v___x_2467_ = lean_nat_add(v___x_2443_, v_a_2445_);
|
||||
lean_dec(v_a_2445_);
|
||||
v___x_2468_ = lean_string_utf8_next_fast(v_s_2444_, v___x_2467_);
|
||||
v___x_2469_ = lean_nat_sub(v___x_2468_, v___x_2443_);
|
||||
v___x_2470_ = lean_string_utf8_get_fast(v_s_2444_, v___x_2467_);
|
||||
lean_dec(v___x_2467_);
|
||||
v___x_2508_ = 48;
|
||||
v___x_2509_ = lean_uint32_dec_le(v___x_2508_, v___x_2470_);
|
||||
if (v___x_2509_ == 0)
|
||||
{
|
||||
v___y_2503_ = v___x_2509_;
|
||||
goto v___jp_2502_;
|
||||
lean_object* v___x_2477_; lean_object* v___x_2478_; lean_object* v___x_2479_;
|
||||
lean_dec(v___x_2456_);
|
||||
v___x_2477_ = lean_box(v_lastWasDigit_2448_);
|
||||
v___x_2478_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_2478_, 0, v___x_2477_);
|
||||
v___x_2479_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2479_, 0, v___x_2478_);
|
||||
lean_ctor_set(v___x_2479_, 1, v_snd_2449_);
|
||||
return v___x_2479_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_2510_; uint8_t v___x_2511_;
|
||||
v___x_2510_ = 57;
|
||||
v___x_2511_ = lean_uint32_dec_le(v___x_2470_, v___x_2510_);
|
||||
v___y_2503_ = v___x_2511_;
|
||||
goto v___jp_2502_;
|
||||
lean_object* v___x_2480_; lean_object* v___x_2481_;
|
||||
lean_dec(v_snd_2449_);
|
||||
v___x_2480_ = lean_box(v_lastWasDigit_2448_);
|
||||
v___x_2481_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2481_, 0, v___x_2453_);
|
||||
lean_ctor_set(v___x_2481_, 1, v___x_2480_);
|
||||
v_a_2443_ = v___x_2456_;
|
||||
v_b_2444_ = v___x_2481_;
|
||||
goto _start;
|
||||
}
|
||||
v___jp_2471_:
|
||||
}
|
||||
v___jp_2457_:
|
||||
{
|
||||
uint32_t v___x_2474_; uint8_t v___x_2475_; lean_object* v___x_2476_; lean_object* v___x_2477_; lean_object* v___x_2479_;
|
||||
v___x_2474_ = 95;
|
||||
v___x_2475_ = lean_uint32_dec_eq(v___x_2470_, v___x_2474_);
|
||||
v___x_2476_ = lean_box(v___y_2472_);
|
||||
v___x_2477_ = lean_box(v___y_2473_);
|
||||
if (v_isShared_2464_ == 0)
|
||||
if (v___y_2458_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_2463_, 1, v___x_2477_);
|
||||
lean_ctor_set(v___x_2463_, 0, v___x_2476_);
|
||||
v___x_2479_ = v___x_2463_;
|
||||
goto v_reusejp_2478_;
|
||||
lean_object* v___x_2459_; lean_object* v___x_2460_; lean_object* v___x_2462_;
|
||||
lean_dec(v___x_2456_);
|
||||
v___x_2459_ = lean_box(v_lastWasDigit_2448_);
|
||||
v___x_2460_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_2460_, 0, v___x_2459_);
|
||||
if (v_isShared_2452_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_2451_, 0, v___x_2460_);
|
||||
v___x_2462_ = v___x_2451_;
|
||||
goto v_reusejp_2461_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2489_;
|
||||
v_reuseFailAlloc_2489_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2489_, 0, v___x_2476_);
|
||||
lean_ctor_set(v_reuseFailAlloc_2489_, 1, v___x_2477_);
|
||||
v___x_2479_ = v_reuseFailAlloc_2489_;
|
||||
goto v_reusejp_2478_;
|
||||
lean_object* v_reuseFailAlloc_2463_;
|
||||
v_reuseFailAlloc_2463_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2463_, 0, v___x_2460_);
|
||||
lean_ctor_set(v_reuseFailAlloc_2463_, 1, v_snd_2449_);
|
||||
v___x_2462_ = v_reuseFailAlloc_2463_;
|
||||
goto v_reusejp_2461_;
|
||||
}
|
||||
v_reusejp_2478_:
|
||||
v_reusejp_2461_:
|
||||
{
|
||||
lean_object* v___x_2480_; lean_object* v___x_2482_;
|
||||
v___x_2480_ = lean_box(v___x_2475_);
|
||||
if (v_isShared_2460_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_2459_, 1, v___x_2479_);
|
||||
lean_ctor_set(v___x_2459_, 0, v___x_2480_);
|
||||
v___x_2482_ = v___x_2459_;
|
||||
goto v_reusejp_2481_;
|
||||
return v___x_2462_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2488_;
|
||||
v_reuseFailAlloc_2488_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2488_, 0, v___x_2480_);
|
||||
lean_ctor_set(v_reuseFailAlloc_2488_, 1, v___x_2479_);
|
||||
v___x_2482_ = v_reuseFailAlloc_2488_;
|
||||
goto v_reusejp_2481_;
|
||||
}
|
||||
v_reusejp_2481_:
|
||||
lean_object* v___x_2464_; lean_object* v___x_2466_;
|
||||
lean_dec(v_snd_2449_);
|
||||
v___x_2464_ = lean_box(v___y_2458_);
|
||||
if (v_isShared_2452_ == 0)
|
||||
{
|
||||
lean_object* v___x_2483_; lean_object* v___x_2485_;
|
||||
v___x_2483_ = lean_box(v___x_2466_);
|
||||
if (v_isShared_2456_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_2455_, 1, v___x_2482_);
|
||||
lean_ctor_set(v___x_2455_, 0, v___x_2483_);
|
||||
v___x_2485_ = v___x_2455_;
|
||||
goto v_reusejp_2484_;
|
||||
lean_ctor_set(v___x_2451_, 1, v___x_2464_);
|
||||
lean_ctor_set(v___x_2451_, 0, v___x_2453_);
|
||||
v___x_2466_ = v___x_2451_;
|
||||
goto v_reusejp_2465_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2487_;
|
||||
v_reuseFailAlloc_2487_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2487_, 0, v___x_2483_);
|
||||
lean_ctor_set(v_reuseFailAlloc_2487_, 1, v___x_2482_);
|
||||
v___x_2485_ = v_reuseFailAlloc_2487_;
|
||||
goto v_reusejp_2484_;
|
||||
lean_object* v_reuseFailAlloc_2468_;
|
||||
v_reuseFailAlloc_2468_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2468_, 0, v___x_2453_);
|
||||
lean_ctor_set(v_reuseFailAlloc_2468_, 1, v___x_2464_);
|
||||
v___x_2466_ = v_reuseFailAlloc_2468_;
|
||||
goto v_reusejp_2465_;
|
||||
}
|
||||
v_reusejp_2484_:
|
||||
v_reusejp_2465_:
|
||||
{
|
||||
v_a_2445_ = v___x_2469_;
|
||||
v_b_2446_ = v___x_2485_;
|
||||
v_a_2443_ = v___x_2456_;
|
||||
v_b_2444_ = v___x_2466_;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_2490_:
|
||||
{
|
||||
uint8_t v___x_2493_;
|
||||
v___x_2493_ = lean_unbox(v_fst_2457_);
|
||||
lean_dec(v_fst_2457_);
|
||||
if (v___x_2493_ == 0)
|
||||
{
|
||||
v___y_2472_ = v___y_2491_;
|
||||
v___y_2473_ = v___y_2492_;
|
||||
goto v___jp_2471_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_2494_; uint8_t v___x_2495_;
|
||||
v___x_2494_ = 95;
|
||||
v___x_2495_ = lean_uint32_dec_eq(v___x_2470_, v___x_2494_);
|
||||
if (v___x_2495_ == 0)
|
||||
{
|
||||
v___y_2472_ = v___y_2491_;
|
||||
v___y_2473_ = v___y_2492_;
|
||||
goto v___jp_2471_;
|
||||
}
|
||||
else
|
||||
{
|
||||
v___y_2472_ = v___y_2491_;
|
||||
v___y_2473_ = v___x_2466_;
|
||||
goto v___jp_2471_;
|
||||
lean_dec(v_a_2443_);
|
||||
return v_b_2444_;
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_2496_:
|
||||
{
|
||||
uint8_t v___x_2499_;
|
||||
v___x_2499_ = lean_unbox(v_fst_2453_);
|
||||
lean_dec(v_fst_2453_);
|
||||
if (v___x_2499_ == 0)
|
||||
{
|
||||
v___y_2491_ = v___y_2497_;
|
||||
v___y_2492_ = v___y_2498_;
|
||||
goto v___jp_2490_;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32_t v___x_2500_; uint8_t v___x_2501_;
|
||||
v___x_2500_ = 95;
|
||||
v___x_2501_ = lean_uint32_dec_eq(v___x_2470_, v___x_2500_);
|
||||
if (v___x_2501_ == 0)
|
||||
{
|
||||
v___y_2491_ = v___y_2497_;
|
||||
v___y_2492_ = v___y_2498_;
|
||||
goto v___jp_2490_;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (v___x_2466_ == 0)
|
||||
{
|
||||
lean_dec(v_fst_2457_);
|
||||
v___y_2472_ = v___y_2497_;
|
||||
v___y_2473_ = v___x_2466_;
|
||||
goto v___jp_2471_;
|
||||
}
|
||||
else
|
||||
{
|
||||
v___y_2491_ = v___y_2497_;
|
||||
v___y_2492_ = v___x_2466_;
|
||||
goto v___jp_2490_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_2502_:
|
||||
{
|
||||
uint8_t v___x_2504_;
|
||||
v___x_2504_ = lean_unbox(v_snd_2461_);
|
||||
if (v___x_2504_ == 0)
|
||||
{
|
||||
uint8_t v___x_2505_;
|
||||
lean_dec(v_fst_2457_);
|
||||
lean_dec(v_fst_2453_);
|
||||
v___x_2505_ = lean_unbox(v_snd_2461_);
|
||||
lean_dec(v_snd_2461_);
|
||||
v___y_2472_ = v___y_2503_;
|
||||
v___y_2473_ = v___x_2505_;
|
||||
goto v___jp_2471_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_snd_2461_);
|
||||
if (v___y_2503_ == 0)
|
||||
{
|
||||
uint32_t v___x_2506_; uint8_t v___x_2507_;
|
||||
v___x_2506_ = 95;
|
||||
v___x_2507_ = lean_uint32_dec_eq(v___x_2470_, v___x_2506_);
|
||||
if (v___x_2507_ == 0)
|
||||
{
|
||||
lean_dec(v_fst_2457_);
|
||||
lean_dec(v_fst_2453_);
|
||||
v___y_2472_ = v___y_2503_;
|
||||
v___y_2473_ = v___x_2507_;
|
||||
goto v___jp_2471_;
|
||||
}
|
||||
else
|
||||
{
|
||||
v___y_2497_ = v___y_2503_;
|
||||
v___y_2498_ = v___x_2507_;
|
||||
goto v___jp_2496_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
v___y_2497_ = v___y_2503_;
|
||||
v___y_2498_ = v___x_2441_;
|
||||
goto v___jp_2496_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_a_2445_);
|
||||
return v_b_2446_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg___boxed(lean_object* v___x_2518_, lean_object* v___x_2519_, lean_object* v___x_2520_, lean_object* v___x_2521_, lean_object* v_s_2522_, lean_object* v_a_2523_, lean_object* v_b_2524_){
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg___boxed(lean_object* v___x_2485_, lean_object* v___x_2486_, lean_object* v_s_2487_, lean_object* v_a_2488_, lean_object* v_b_2489_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_613__boxed_2525_; lean_object* v_res_2526_;
|
||||
v___x_613__boxed_2525_ = lean_unbox(v___x_2519_);
|
||||
v_res_2526_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2518_, v___x_613__boxed_2525_, v___x_2520_, v___x_2521_, v_s_2522_, v_a_2523_, v_b_2524_);
|
||||
lean_dec_ref(v_s_2522_);
|
||||
lean_dec(v___x_2521_);
|
||||
lean_dec_ref(v___x_2520_);
|
||||
lean_dec(v___x_2518_);
|
||||
return v_res_2526_;
|
||||
lean_object* v_res_2490_;
|
||||
v_res_2490_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2485_, v___x_2486_, v_s_2487_, v_a_2488_, v_b_2489_);
|
||||
lean_dec_ref(v_s_2487_);
|
||||
lean_dec(v___x_2486_);
|
||||
lean_dec_ref(v___x_2485_);
|
||||
return v_res_2490_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2527_; lean_object* v___x_2528_;
|
||||
v___x_2527_ = ((lean_object*)(l_Lean_Meta_Match_congrEqnThmSuffixBasePrefix___closed__0));
|
||||
v___x_2528_ = lean_string_utf8_byte_size(v___x_2527_);
|
||||
return v___x_2528_;
|
||||
lean_object* v___x_2491_; lean_object* v___x_2492_;
|
||||
v___x_2491_ = ((lean_object*)(l_Lean_Meta_Match_congrEqnThmSuffixBasePrefix___closed__0));
|
||||
v___x_2492_ = lean_string_utf8_byte_size(v___x_2491_);
|
||||
return v___x_2492_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(lean_object* v_s_2529_){
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(lean_object* v_s_2497_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2530_; lean_object* v___x_2531_; lean_object* v___x_2532_; uint8_t v___x_2533_;
|
||||
v___x_2530_ = ((lean_object*)(l_Lean_Meta_Match_congrEqnThmSuffixBasePrefix___closed__0));
|
||||
v___x_2531_ = lean_string_utf8_byte_size(v_s_2529_);
|
||||
v___x_2532_ = lean_obj_once(&l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0, &l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0_once, _init_l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0);
|
||||
v___x_2533_ = lean_nat_dec_le(v___x_2532_, v___x_2531_);
|
||||
if (v___x_2533_ == 0)
|
||||
lean_object* v___x_2498_; lean_object* v___x_2499_; lean_object* v___x_2500_; uint8_t v___x_2501_;
|
||||
v___x_2498_ = ((lean_object*)(l_Lean_Meta_Match_congrEqnThmSuffixBasePrefix___closed__0));
|
||||
v___x_2499_ = lean_string_utf8_byte_size(v_s_2497_);
|
||||
v___x_2500_ = lean_obj_once(&l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0, &l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0_once, _init_l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__0);
|
||||
v___x_2501_ = lean_nat_dec_le(v___x_2500_, v___x_2499_);
|
||||
if (v___x_2501_ == 0)
|
||||
{
|
||||
lean_dec_ref(v_s_2529_);
|
||||
return v___x_2533_;
|
||||
lean_dec_ref(v_s_2497_);
|
||||
return v___x_2501_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_2534_; uint8_t v___x_2535_;
|
||||
v___x_2534_ = lean_unsigned_to_nat(0u);
|
||||
v___x_2535_ = lean_string_memcmp(v_s_2529_, v___x_2530_, v___x_2534_, v___x_2534_, v___x_2532_);
|
||||
if (v___x_2535_ == 0)
|
||||
lean_object* v___x_2502_; uint8_t v___x_2503_;
|
||||
v___x_2502_ = lean_unsigned_to_nat(0u);
|
||||
v___x_2503_ = lean_string_memcmp(v_s_2497_, v___x_2498_, v___x_2502_, v___x_2502_, v___x_2500_);
|
||||
if (v___x_2503_ == 0)
|
||||
{
|
||||
lean_dec_ref(v_s_2529_);
|
||||
return v___x_2535_;
|
||||
lean_dec_ref(v_s_2497_);
|
||||
return v___x_2503_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_2536_; lean_object* v___x_2537_; lean_object* v___x_2538_; lean_object* v___x_2539_; uint8_t v___x_2540_;
|
||||
v___x_2536_ = lean_unsigned_to_nat(9u);
|
||||
lean_inc_ref(v_s_2529_);
|
||||
v___x_2537_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2537_, 0, v_s_2529_);
|
||||
lean_ctor_set(v___x_2537_, 1, v___x_2534_);
|
||||
lean_ctor_set(v___x_2537_, 2, v___x_2531_);
|
||||
v___x_2538_ = l_String_Slice_Pos_nextn(v___x_2537_, v___x_2534_, v___x_2536_);
|
||||
lean_dec_ref(v___x_2537_);
|
||||
v___x_2539_ = lean_nat_sub(v___x_2531_, v___x_2538_);
|
||||
v___x_2540_ = lean_nat_dec_eq(v___x_2539_, v___x_2534_);
|
||||
if (v___x_2540_ == 0)
|
||||
lean_object* v___x_2504_; lean_object* v___x_2505_; lean_object* v___x_2506_; lean_object* v___x_2507_; lean_object* v___x_2508_; lean_object* v___x_2509_; lean_object* v___x_2510_; lean_object* v_fst_2511_;
|
||||
v___x_2504_ = lean_unsigned_to_nat(9u);
|
||||
lean_inc_ref(v_s_2497_);
|
||||
v___x_2505_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2505_, 0, v_s_2497_);
|
||||
lean_ctor_set(v___x_2505_, 1, v___x_2502_);
|
||||
lean_ctor_set(v___x_2505_, 2, v___x_2499_);
|
||||
v___x_2506_ = l_String_Slice_Pos_nextn(v___x_2505_, v___x_2502_, v___x_2504_);
|
||||
lean_dec_ref(v___x_2505_);
|
||||
lean_inc(v___x_2506_);
|
||||
lean_inc_ref(v_s_2497_);
|
||||
v___x_2507_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2507_, 0, v_s_2497_);
|
||||
lean_ctor_set(v___x_2507_, 1, v___x_2506_);
|
||||
lean_ctor_set(v___x_2507_, 2, v___x_2499_);
|
||||
v___x_2508_ = ((lean_object*)(l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___closed__1));
|
||||
v___x_2509_ = l_String_Slice_positions(v___x_2507_);
|
||||
v___x_2510_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2507_, v___x_2506_, v_s_2497_, v___x_2509_, v___x_2508_);
|
||||
lean_dec_ref(v_s_2497_);
|
||||
lean_dec(v___x_2506_);
|
||||
lean_dec_ref(v___x_2507_);
|
||||
v_fst_2511_ = lean_ctor_get(v___x_2510_, 0);
|
||||
lean_inc(v_fst_2511_);
|
||||
if (lean_obj_tag(v_fst_2511_) == 0)
|
||||
{
|
||||
lean_object* v___x_2541_; lean_object* v___x_2542_; lean_object* v___x_2543_; lean_object* v___x_2544_; lean_object* v___x_2545_; lean_object* v___x_2546_; lean_object* v___x_2547_; lean_object* v___x_2548_; lean_object* v___x_2549_; lean_object* v_result_2550_; lean_object* v_snd_2551_; lean_object* v_snd_2552_; lean_object* v_snd_2553_; uint8_t v___x_2554_;
|
||||
lean_inc(v___x_2538_);
|
||||
lean_inc_ref(v_s_2529_);
|
||||
v___x_2541_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_2541_, 0, v_s_2529_);
|
||||
lean_ctor_set(v___x_2541_, 1, v___x_2538_);
|
||||
lean_ctor_set(v___x_2541_, 2, v___x_2531_);
|
||||
v___x_2542_ = lean_box(v___x_2540_);
|
||||
v___x_2543_ = lean_box(v___x_2535_);
|
||||
v___x_2544_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2544_, 0, v___x_2542_);
|
||||
lean_ctor_set(v___x_2544_, 1, v___x_2543_);
|
||||
v___x_2545_ = lean_box(v___x_2540_);
|
||||
v___x_2546_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2546_, 0, v___x_2545_);
|
||||
lean_ctor_set(v___x_2546_, 1, v___x_2544_);
|
||||
v___x_2547_ = lean_box(v___x_2535_);
|
||||
v___x_2548_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_2548_, 0, v___x_2547_);
|
||||
lean_ctor_set(v___x_2548_, 1, v___x_2546_);
|
||||
v___x_2549_ = l_String_Slice_positions(v___x_2541_);
|
||||
v_result_2550_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2539_, v___x_2535_, v___x_2541_, v___x_2538_, v_s_2529_, v___x_2549_, v___x_2548_);
|
||||
lean_dec_ref(v_s_2529_);
|
||||
lean_dec(v___x_2538_);
|
||||
lean_dec_ref(v___x_2541_);
|
||||
lean_dec(v___x_2539_);
|
||||
v_snd_2551_ = lean_ctor_get(v_result_2550_, 1);
|
||||
lean_inc(v_snd_2551_);
|
||||
lean_dec_ref(v_result_2550_);
|
||||
v_snd_2552_ = lean_ctor_get(v_snd_2551_, 1);
|
||||
lean_inc(v_snd_2552_);
|
||||
lean_dec(v_snd_2551_);
|
||||
v_snd_2553_ = lean_ctor_get(v_snd_2552_, 1);
|
||||
v___x_2554_ = lean_unbox(v_snd_2553_);
|
||||
if (v___x_2554_ == 0)
|
||||
{
|
||||
lean_dec(v_snd_2552_);
|
||||
return v___x_2540_;
|
||||
lean_object* v_snd_2512_; uint8_t v___x_2513_;
|
||||
v_snd_2512_ = lean_ctor_get(v___x_2510_, 1);
|
||||
lean_inc(v_snd_2512_);
|
||||
lean_dec_ref(v___x_2510_);
|
||||
v___x_2513_ = lean_unbox(v_snd_2512_);
|
||||
lean_dec(v_snd_2512_);
|
||||
return v___x_2513_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_fst_2555_; uint8_t v___x_2556_;
|
||||
v_fst_2555_ = lean_ctor_get(v_snd_2552_, 0);
|
||||
lean_inc(v_fst_2555_);
|
||||
lean_dec(v_snd_2552_);
|
||||
v___x_2556_ = lean_unbox(v_fst_2555_);
|
||||
lean_dec(v_fst_2555_);
|
||||
return v___x_2556_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t v___x_2557_;
|
||||
lean_dec(v___x_2539_);
|
||||
lean_dec(v___x_2538_);
|
||||
lean_dec_ref(v_s_2529_);
|
||||
v___x_2557_ = 0;
|
||||
return v___x_2557_;
|
||||
lean_object* v_val_2514_; uint8_t v___x_2515_;
|
||||
lean_dec_ref(v___x_2510_);
|
||||
v_val_2514_ = lean_ctor_get(v_fst_2511_, 0);
|
||||
lean_inc(v_val_2514_);
|
||||
lean_dec_ref(v_fst_2511_);
|
||||
v___x_2515_ = lean_unbox(v_val_2514_);
|
||||
lean_dec(v_val_2514_);
|
||||
return v___x_2515_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___boxed(lean_object* v_s_2558_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCongrEqnReservedNameSuffix___boxed(lean_object* v_s_2516_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_2559_; lean_object* v_r_2560_;
|
||||
v_res_2559_ = l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(v_s_2558_);
|
||||
v_r_2560_ = lean_box(v_res_2559_);
|
||||
return v_r_2560_;
|
||||
uint8_t v_res_2517_; lean_object* v_r_2518_;
|
||||
v_res_2517_ = l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(v_s_2516_);
|
||||
v_r_2518_ = lean_box(v_res_2517_);
|
||||
return v_r_2518_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(lean_object* v___x_2561_, uint8_t v___x_2562_, lean_object* v___x_2563_, lean_object* v___x_2564_, lean_object* v_s_2565_, lean_object* v_inst_2566_, lean_object* v_R_2567_, lean_object* v_a_2568_, lean_object* v_b_2569_, lean_object* v_c_2570_){
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(lean_object* v___x_2519_, lean_object* v___x_2520_, lean_object* v_s_2521_, lean_object* v_inst_2522_, lean_object* v_R_2523_, lean_object* v_a_2524_, lean_object* v_b_2525_, lean_object* v_c_2526_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2571_;
|
||||
v___x_2571_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2561_, v___x_2562_, v___x_2563_, v___x_2564_, v_s_2565_, v_a_2568_, v_b_2569_);
|
||||
return v___x_2571_;
|
||||
lean_object* v___x_2527_;
|
||||
v___x_2527_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___redArg(v___x_2519_, v___x_2520_, v_s_2521_, v_a_2524_, v_b_2525_);
|
||||
return v___x_2527_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___boxed(lean_object* v___x_2572_, lean_object* v___x_2573_, lean_object* v___x_2574_, lean_object* v___x_2575_, lean_object* v_s_2576_, lean_object* v_inst_2577_, lean_object* v_R_2578_, lean_object* v_a_2579_, lean_object* v_b_2580_, lean_object* v_c_2581_){
|
||||
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0___boxed(lean_object* v___x_2528_, lean_object* v___x_2529_, lean_object* v_s_2530_, lean_object* v_inst_2531_, lean_object* v_R_2532_, lean_object* v_a_2533_, lean_object* v_b_2534_, lean_object* v_c_2535_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_817__boxed_2582_; lean_object* v_res_2583_;
|
||||
v___x_817__boxed_2582_ = lean_unbox(v___x_2573_);
|
||||
v_res_2583_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(v___x_2572_, v___x_817__boxed_2582_, v___x_2574_, v___x_2575_, v_s_2576_, v_inst_2577_, v_R_2578_, v_a_2579_, v_b_2580_, v_c_2581_);
|
||||
lean_dec_ref(v_s_2576_);
|
||||
lean_dec(v___x_2575_);
|
||||
lean_dec_ref(v___x_2574_);
|
||||
lean_dec(v___x_2572_);
|
||||
return v_res_2583_;
|
||||
lean_object* v_res_2536_;
|
||||
v_res_2536_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_isCongrEqnReservedNameSuffix_spec__0(v___x_2528_, v___x_2529_, v_s_2530_, v_inst_2531_, v_R_2532_, v_a_2533_, v_b_2534_, v_c_2535_);
|
||||
lean_dec_ref(v_s_2530_);
|
||||
lean_dec(v___x_2529_);
|
||||
lean_dec_ref(v___x_2528_);
|
||||
return v_res_2536_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Meta_Tactic_FVarSubst(uint8_t builtin);
|
||||
|
|
|
|||
7217
stage0/stdlib/Lean/Meta/MethodSpecs.c
generated
7217
stage0/stdlib/Lean/Meta/MethodSpecs.c
generated
File diff suppressed because it is too large
Load diff
46615
stage0/stdlib/Lean/Meta/Tactic/Cbv/Main.c
generated
46615
stage0/stdlib/Lean/Meta/Tactic/Cbv/Main.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/Meta/Tactic/Grind/Beta.c
generated
2
stage0/stdlib/Lean/Meta/Tactic/Grind/Beta.c
generated
|
|
@ -697,7 +697,7 @@ _start:
|
|||
lean_object* v___x_176_; lean_object* v___x_177_; lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v___x_180_; lean_object* v___x_181_;
|
||||
v___x_176_ = ((lean_object*)(l_Lean_Meta_Grind_getEqcLambdas___closed__3));
|
||||
v___x_177_ = lean_unsigned_to_nat(2u);
|
||||
v___x_178_ = lean_unsigned_to_nat(1532u);
|
||||
v___x_178_ = lean_unsigned_to_nat(1535u);
|
||||
v___x_179_ = ((lean_object*)(l_Lean_Meta_Grind_getEqcLambdas___closed__2));
|
||||
v___x_180_ = ((lean_object*)(l_Lean_Meta_Grind_getEqcLambdas___closed__1));
|
||||
v___x_181_ = l_mkPanicMessageWithDecl(v___x_180_, v___x_179_, v___x_178_, v___x_177_, v___x_176_);
|
||||
|
|
|
|||
20434
stage0/stdlib/Lean/Meta/Tactic/Grind/Intro.c
generated
20434
stage0/stdlib/Lean/Meta/Tactic/Grind/Intro.c
generated
File diff suppressed because it is too large
Load diff
56286
stage0/stdlib/Lean/Meta/Tactic/Grind/Types.c
generated
56286
stage0/stdlib/Lean/Meta/Tactic/Grind/Types.c
generated
File diff suppressed because it is too large
Load diff
5
stage0/stdlib/Lean/Parser/Basic.c
generated
5
stage0/stdlib/Lean/Parser/Basic.c
generated
|
|
@ -10005,7 +10005,6 @@ lean_ctor_set(v___x_3021_, 0, v_sym_3018_);
|
|||
lean_ctor_set(v___x_3021_, 1, v___x_3019_);
|
||||
lean_ctor_set(v___x_3021_, 2, v___x_3020_);
|
||||
v___x_3022_ = l_String_Slice_trimAscii(v___x_3021_);
|
||||
lean_dec_ref(v___x_3021_);
|
||||
v_str_3023_ = lean_ctor_get(v___x_3022_, 0);
|
||||
lean_inc_ref(v_str_3023_);
|
||||
v_startInclusive_3024_ = lean_ctor_get(v___x_3022_, 1);
|
||||
|
|
@ -10241,7 +10240,6 @@ lean_ctor_set(v___x_3098_, 0, v_sym_3094_);
|
|||
lean_ctor_set(v___x_3098_, 1, v___x_3096_);
|
||||
lean_ctor_set(v___x_3098_, 2, v___x_3097_);
|
||||
v___x_3099_ = l_String_Slice_trimAscii(v___x_3098_);
|
||||
lean_dec_ref(v___x_3098_);
|
||||
v_str_3100_ = lean_ctor_get(v___x_3099_, 0);
|
||||
lean_inc_ref(v_str_3100_);
|
||||
v_startInclusive_3101_ = lean_ctor_get(v___x_3099_, 1);
|
||||
|
|
@ -11052,7 +11050,6 @@ lean_ctor_set(v___x_3408_, 0, v_sym_3404_);
|
|||
lean_ctor_set(v___x_3408_, 1, v___x_3406_);
|
||||
lean_ctor_set(v___x_3408_, 2, v___x_3407_);
|
||||
v___x_3409_ = l_String_Slice_trimAscii(v___x_3408_);
|
||||
lean_dec_ref(v___x_3408_);
|
||||
v_str_3410_ = lean_ctor_get(v___x_3409_, 0);
|
||||
v_startInclusive_3411_ = lean_ctor_get(v___x_3409_, 1);
|
||||
v_endExclusive_3412_ = lean_ctor_get(v___x_3409_, 2);
|
||||
|
|
@ -11099,7 +11096,6 @@ v_reusejp_3417_:
|
|||
{
|
||||
lean_object* v___x_3419_; lean_object* v_str_3420_; lean_object* v_startInclusive_3421_; lean_object* v_endExclusive_3422_; lean_object* v_sym_3423_; lean_object* v_asciiSym_3424_; lean_object* v___x_3425_; lean_object* v___x_3426_; lean_object* v___x_3427_;
|
||||
v___x_3419_ = l_String_Slice_trimAscii(v___x_3418_);
|
||||
lean_dec_ref(v___x_3418_);
|
||||
v_str_3420_ = lean_ctor_get(v___x_3419_, 0);
|
||||
lean_inc_ref(v_str_3420_);
|
||||
v_startInclusive_3421_ = lean_ctor_get(v___x_3419_, 1);
|
||||
|
|
@ -17379,7 +17375,6 @@ lean_ctor_set(v___x_5441_, 0, v_sep_5438_);
|
|||
lean_ctor_set(v___x_5441_, 1, v___x_5439_);
|
||||
lean_ctor_set(v___x_5441_, 2, v___x_5440_);
|
||||
v___x_5442_ = l_String_Slice_trimAscii(v___x_5441_);
|
||||
lean_dec_ref(v___x_5441_);
|
||||
v_str_5443_ = lean_ctor_get(v___x_5442_, 0);
|
||||
lean_inc_ref(v_str_5443_);
|
||||
v_startInclusive_5444_ = lean_ctor_get(v___x_5442_, 1);
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Parser/Extra.c
generated
2
stage0/stdlib/Lean/Parser/Extra.c
generated
|
|
@ -2717,7 +2717,6 @@ lean_ctor_set(v___x_1022_, 0, v_sep_1014_);
|
|||
lean_ctor_set(v___x_1022_, 1, v___x_1020_);
|
||||
lean_ctor_set(v___x_1022_, 2, v___x_1021_);
|
||||
v___x_1023_ = l_String_Slice_trimAscii(v___x_1022_);
|
||||
lean_dec_ref(v___x_1022_);
|
||||
v_str_1024_ = lean_ctor_get(v___x_1023_, 0);
|
||||
lean_inc_ref(v_str_1024_);
|
||||
v_startInclusive_1025_ = lean_ctor_get(v___x_1023_, 1);
|
||||
|
|
@ -2884,7 +2883,6 @@ lean_ctor_set(v___x_1163_, 0, v_sep_1155_);
|
|||
lean_ctor_set(v___x_1163_, 1, v___x_1161_);
|
||||
lean_ctor_set(v___x_1163_, 2, v___x_1162_);
|
||||
v___x_1164_ = l_String_Slice_trimAscii(v___x_1163_);
|
||||
lean_dec_ref(v___x_1163_);
|
||||
v_str_1165_ = lean_ctor_get(v___x_1164_, 0);
|
||||
lean_inc_ref(v_str_1165_);
|
||||
v_startInclusive_1166_ = lean_ctor_get(v___x_1164_, 1);
|
||||
|
|
|
|||
3615
stage0/stdlib/Lean/Parser/Tactic/Doc.c
generated
3615
stage0/stdlib/Lean/Parser/Tactic/Doc.c
generated
File diff suppressed because it is too large
Load diff
1221
stage0/stdlib/Lean/Parser/Term/Doc.c
generated
1221
stage0/stdlib/Lean/Parser/Term/Doc.c
generated
File diff suppressed because it is too large
Load diff
11678
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
11678
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
File diff suppressed because it is too large
Load diff
5780
stage0/stdlib/Lean/Replay.c
generated
5780
stage0/stdlib/Lean/Replay.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2392,7 +2392,6 @@ v_reusejp_714_:
|
|||
{
|
||||
lean_object* v___x_716_; lean_object* v_str_717_; lean_object* v_startInclusive_718_; lean_object* v_endExclusive_719_; lean_object* v___x_720_; lean_object* v___x_728_;
|
||||
v___x_716_ = l_String_Slice_trimAscii(v___x_715_);
|
||||
lean_dec_ref(v___x_715_);
|
||||
v_str_717_ = lean_ctor_get(v___x_716_, 0);
|
||||
lean_inc_ref(v_str_717_);
|
||||
v_startInclusive_718_ = lean_ctor_get(v___x_716_, 1);
|
||||
|
|
|
|||
2123
stage0/stdlib/Lean/Server/FileWorker/ExampleHover.c
generated
2123
stage0/stdlib/Lean/Server/FileWorker/ExampleHover.c
generated
File diff suppressed because it is too large
Load diff
1
stage0/stdlib/Lean/Server/FileWorker/SetupFile.c
generated
1
stage0/stdlib/Lean/Server/FileWorker/SetupFile.c
generated
|
|
@ -551,7 +551,6 @@ v_reusejp_137_:
|
|||
{
|
||||
lean_object* v___x_139_; lean_object* v_str_140_; lean_object* v_startInclusive_141_; lean_object* v_endExclusive_142_; lean_object* v___x_143_; lean_object* v___x_144_; uint32_t v___x_145_; lean_object* v___x_147_;
|
||||
v___x_139_ = l_String_Slice_trimAscii(v___x_138_);
|
||||
lean_dec_ref(v___x_138_);
|
||||
v_str_140_ = lean_ctor_get(v___x_139_, 0);
|
||||
lean_inc_ref(v_str_140_);
|
||||
v_startInclusive_141_ = lean_ctor_get(v___x_139_, 1);
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Server/Test/Runner.c
generated
2
stage0/stdlib/Lean/Server/Test/Runner.c
generated
|
|
@ -62932,7 +62932,6 @@ lean_ctor_set(v___x_16806_, 0, v_directive_16711_);
|
|||
lean_ctor_set(v___x_16806_, 1, v___x_16802_);
|
||||
lean_ctor_set(v___x_16806_, 2, v___x_16805_);
|
||||
v___x_16807_ = l_String_Slice_trimAscii(v___x_16806_);
|
||||
lean_dec_ref(v___x_16806_);
|
||||
v_str_16808_ = lean_ctor_get(v___x_16807_, 0);
|
||||
v_startInclusive_16809_ = lean_ctor_get(v___x_16807_, 1);
|
||||
v_endExclusive_16810_ = lean_ctor_get(v___x_16807_, 2);
|
||||
|
|
@ -63001,7 +63000,6 @@ v_reusejp_16824_:
|
|||
{
|
||||
lean_object* v___x_16826_; lean_object* v_str_16827_; lean_object* v_startInclusive_16828_; lean_object* v_endExclusive_16829_; lean_object* v___x_16830_;
|
||||
v___x_16826_ = l_String_Slice_trimAscii(v___x_16825_);
|
||||
lean_dec_ref(v___x_16825_);
|
||||
v_str_16827_ = lean_ctor_get(v___x_16826_, 0);
|
||||
lean_inc_ref(v_str_16827_);
|
||||
v_startInclusive_16828_ = lean_ctor_get(v___x_16826_, 1);
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Shell.c
generated
1
stage0/stdlib/Lean/Shell.c
generated
|
|
@ -9970,7 +9970,6 @@ lean_ctor_set(v___x_2963_, 0, v_str_2956_);
|
|||
lean_ctor_set(v___x_2963_, 1, v_startInclusive_2957_);
|
||||
lean_ctor_set(v___x_2963_, 2, v___x_2962_);
|
||||
v___x_2964_ = l_String_Slice_trimAscii(v___x_2963_);
|
||||
lean_dec_ref(v___x_2963_);
|
||||
v___x_2965_ = lean_obj_once(&l___private_Lean_Shell_0__Lean_shellMain___closed__22, &l___private_Lean_Shell_0__Lean_shellMain___closed__22_once, _init_l___private_Lean_Shell_0__Lean_shellMain___closed__22);
|
||||
v___x_2966_ = l_String_Slice_beq(v___x_2964_, v___x_2965_);
|
||||
if (v___x_2966_ == 0)
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Util/Path.c
generated
1
stage0/stdlib/Lean/Util/Path.c
generated
|
|
@ -2709,7 +2709,6 @@ lean_ctor_set(v___x_834_, 0, v_a_829_);
|
|||
lean_ctor_set(v___x_834_, 1, v___x_823_);
|
||||
lean_ctor_set(v___x_834_, 2, v___x_833_);
|
||||
v___x_835_ = l_String_Slice_trimAscii(v___x_834_);
|
||||
lean_dec_ref(v___x_834_);
|
||||
v_str_836_ = lean_ctor_get(v___x_835_, 0);
|
||||
lean_inc_ref(v_str_836_);
|
||||
v_startInclusive_837_ = lean_ctor_get(v___x_835_, 1);
|
||||
|
|
|
|||
12
stage0/stdlib/LeanChecker.c
generated
12
stage0/stdlib/LeanChecker.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: LeanChecker
|
||||
// Imports: public import Init public import Lean.CoreM public import Lean.Replay public import LeanChecker.Replay public import Lake.Load.Manifest
|
||||
// Imports: public import Init public import Lean.CoreM public import Lean.Replay public import Lake.Load.Manifest
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -49,7 +49,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_replay_x27(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_replay(lean_object*, lean_object*);
|
||||
lean_object* lean_environment_free_regions(lean_object*);
|
||||
lean_object* lean_read_module_data_parts(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -546,7 +546,7 @@ lean_dec_ref(v___x_105_);
|
|||
v_fst_107_ = lean_ctor_get(v_a_106_, 0);
|
||||
lean_inc(v_fst_107_);
|
||||
lean_dec(v_a_106_);
|
||||
v___x_108_ = l_Lean_Environment_replay_x27(v_fst_107_, v_a_87_);
|
||||
v___x_108_ = l_Lean_Environment_replay(v_fst_107_, v_a_87_);
|
||||
if (lean_obj_tag(v___x_108_) == 0)
|
||||
{
|
||||
lean_object* v_a_109_; lean_object* v___x_110_;
|
||||
|
|
@ -902,7 +902,7 @@ v___x_207_ = l_Lean_Environment_constants(v_env_202_);
|
|||
v_map_u2081_208_ = lean_ctor_get(v___x_207_, 0);
|
||||
lean_inc_ref(v_map_u2081_208_);
|
||||
lean_dec_ref(v___x_207_);
|
||||
v___x_209_ = l_Lean_Environment_replay_x27(v_map_u2081_208_, v_a_206_);
|
||||
v___x_209_ = l_Lean_Environment_replay(v_map_u2081_208_, v_a_206_);
|
||||
if (lean_obj_tag(v___x_209_) == 0)
|
||||
{
|
||||
lean_object* v___x_211_; uint8_t v_isShared_212_; uint8_t v_isSharedCheck_217_;
|
||||
|
|
@ -3029,7 +3029,6 @@ return v_res_787_;
|
|||
lean_object* initialize_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_CoreM(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Replay(uint8_t builtin);
|
||||
lean_object* initialize_LeanChecker_Replay(uint8_t builtin);
|
||||
lean_object* initialize_Lake_Load_Manifest(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_LeanChecker(uint8_t builtin) {
|
||||
|
|
@ -3045,9 +3044,6 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Replay(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_LeanChecker_Replay(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lake_Load_Manifest(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
3523
stage0/stdlib/LeanChecker/Replay.c
generated
3523
stage0/stdlib/LeanChecker/Replay.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Std/Data.c
generated
10
stage0/stdlib/Std/Data.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Data
|
||||
// Imports: public import Std.Data.DHashMap public import Std.Data.HashMap public import Std.Data.HashSet public import Std.Data.DTreeMap public import Std.Data.TreeMap public import Std.Data.TreeSet public import Std.Data.ExtDHashMap public import Std.Data.ExtHashMap public import Std.Data.ExtHashSet public import Std.Data.ExtDTreeMap public import Std.Data.ExtTreeMap public import Std.Data.ExtTreeSet public import Std.Data.DHashMap.RawLemmas public import Std.Data.DHashMap.RawDecidableEquiv public import Std.Data.HashMap.RawLemmas public import Std.Data.HashMap.RawDecidableEquiv public import Std.Data.HashSet.RawLemmas public import Std.Data.HashSet.RawDecidableEquiv public import Std.Data.DTreeMap.Raw public import Std.Data.TreeMap.Raw public import Std.Data.TreeSet.Raw public import Std.Data.Iterators public import Std.Data.ByteSlice
|
||||
// Imports: public import Std.Data.DHashMap public import Std.Data.HashMap public import Std.Data.HashSet public import Std.Data.DTreeMap public import Std.Data.TreeMap public import Std.Data.TreeSet public import Std.Data.ExtDHashMap public import Std.Data.ExtHashMap public import Std.Data.ExtHashSet public import Std.Data.ExtDTreeMap public import Std.Data.ExtTreeMap public import Std.Data.ExtTreeSet public import Std.Data.DHashMap.RawLemmas public import Std.Data.DHashMap.RawDecidableEquiv public import Std.Data.HashMap.RawLemmas public import Std.Data.HashMap.RawDecidableEquiv public import Std.Data.HashSet.RawLemmas public import Std.Data.HashSet.RawDecidableEquiv public import Std.Data.DTreeMap.Raw public import Std.Data.TreeMap.Raw public import Std.Data.TreeSet.Raw public import Std.Data.Iterators public import Std.Data.ByteSlice public import Std.Data.String
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -36,6 +36,7 @@ lean_object* runtime_initialize_Std_Data_TreeMap_Raw(uint8_t builtin);
|
|||
lean_object* runtime_initialize_Std_Data_TreeSet_Raw(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Std_Data_Iterators(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Std_Data_ByteSlice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Std_Data_String(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Std_Data(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -110,6 +111,9 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Std_Data_ByteSlice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Std_Data_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -142,6 +146,7 @@ lean_object* initialize_Std_Data_TreeMap_Raw(uint8_t builtin);
|
|||
lean_object* initialize_Std_Data_TreeSet_Raw(uint8_t builtin);
|
||||
lean_object* initialize_Std_Data_Iterators(uint8_t builtin);
|
||||
lean_object* initialize_Std_Data_ByteSlice(uint8_t builtin);
|
||||
lean_object* initialize_Std_Data_String(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Data(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -216,6 +221,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Std_Data_ByteSlice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Data_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Std_Data(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
53
stage0/stdlib/Std/Data/String.c
generated
Normal file
53
stage0/stdlib/Std/Data/String.c
generated
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Data.String
|
||||
// Imports: public import Std.Data.String.ToNat
|
||||
#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* runtime_initialize_Std_Data_String_ToNat(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Std_Data_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Std_Data_String_ToNat(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Std_Data_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Std_Data_String_ToNat(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Data_String(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Data_String_ToNat(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Std_Data_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Std_Data_String(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Std_Data_String(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
142
stage0/stdlib/Std/Data/String/ToNat.c
generated
Normal file
142
stage0/stdlib/Std/Data/String/ToNat.c
generated
Normal file
|
|
@ -0,0 +1,142 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Data.String.ToNat
|
||||
// Imports: public import Init.Data.String.Slice public import Init.Data.String.Search public import Init.Data.Nat.ToString import all Init.Data.String.Slice import all Init.Data.String.Search import Init.Data.String.Lemmas.Iterate import Std.Tactic.Do import Init.Data.List.Sublist
|
||||
#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___private_Std_Data_String_ToNat_0__Break_runK_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_String_ToNat_0__Break_runK_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_String_ToNat_0__Break_runK_match__1_splitter___redArg(lean_object* v_x_1_, lean_object* v_h__1_2_, lean_object* v_h__2_3_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_1_) == 0)
|
||||
{
|
||||
lean_object* v___x_4_; lean_object* v___x_5_;
|
||||
lean_dec(v_h__1_2_);
|
||||
v___x_4_ = lean_box(0);
|
||||
v___x_5_ = lean_apply_1(v_h__2_3_, v___x_4_);
|
||||
return v___x_5_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_6_; lean_object* v___x_7_;
|
||||
lean_dec(v_h__2_3_);
|
||||
v_val_6_ = lean_ctor_get(v_x_1_, 0);
|
||||
lean_inc(v_val_6_);
|
||||
lean_dec_ref(v_x_1_);
|
||||
v___x_7_ = lean_apply_1(v_h__1_2_, v_val_6_);
|
||||
return v___x_7_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_String_ToNat_0__Break_runK_match__1_splitter(lean_object* v_00_u03b1_8_, lean_object* v_motive_9_, lean_object* v_x_10_, lean_object* v_h__1_11_, lean_object* v_h__2_12_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_13_;
|
||||
v___x_13_ = l___private_Std_Data_String_ToNat_0__Break_runK_match__1_splitter___redArg(v_x_10_, v_h__1_11_, v_h__2_12_);
|
||||
return v___x_13_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Search(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Nat_ToString(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Search(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_String_Lemmas_Iterate(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Std_Tactic_Do(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_List_Sublist(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Std_Data_String_ToNat(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Search(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Nat_ToString(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Search(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_String_Lemmas_Iterate(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Std_Tactic_Do(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_List_Sublist(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Std_Data_String_ToNat(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Search(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Nat_ToString(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Slice(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Search(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Lemmas_Iterate(uint8_t builtin);
|
||||
lean_object* initialize_Std_Tactic_Do(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Data_String_ToNat(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Search(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Nat_ToString(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Slice(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Search(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_String_Lemmas_Iterate(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic_Do(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_List_Sublist(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Std_Data_String_ToNat(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Std_Data_String_ToNat(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Std_Data_String_ToNat(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
@ -645,7 +645,6 @@ lean_ctor_set(v___x_106_, 0, v___x_97_);
|
|||
lean_ctor_set(v___x_106_, 1, v_startInclusive_104_);
|
||||
lean_ctor_set(v___x_106_, 2, v_endExclusive_105_);
|
||||
v___x_107_ = l_String_Slice_trimAscii(v___x_106_);
|
||||
lean_dec_ref(v___x_106_);
|
||||
v___x_108_ = lean_array_push(v_b_101_, v___x_107_);
|
||||
v_a_100_ = v_it_103_;
|
||||
v_b_101_ = v___x_108_;
|
||||
|
|
@ -802,7 +801,6 @@ lean_ctor_set(v___x_156_, 0, v___x_147_);
|
|||
lean_ctor_set(v___x_156_, 1, v_startInclusive_154_);
|
||||
lean_ctor_set(v___x_156_, 2, v_endExclusive_155_);
|
||||
v___x_157_ = l_String_Slice_trimAscii(v___x_156_);
|
||||
lean_dec_ref(v___x_156_);
|
||||
v___x_158_ = lean_array_push(v_b_151_, v___x_157_);
|
||||
v___x_159_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Std_Internal_Http_Data_Headers_Basic_0__Std_Http_Header_parseTokenList_spec__3_spec__4___redArg(v___x_147_, v___x_148_, v___x_149_, v_it_153_, v___x_158_);
|
||||
return v___x_159_;
|
||||
|
|
@ -949,7 +947,6 @@ lean_ctor_set(v___x_215_, 0, v___x_197_);
|
|||
lean_ctor_set(v___x_215_, 1, v_startInclusive_213_);
|
||||
lean_ctor_set(v___x_215_, 2, v_endExclusive_214_);
|
||||
v___x_216_ = l_String_Slice_trimAscii(v___x_215_);
|
||||
lean_dec_ref(v___x_215_);
|
||||
v_startInclusive_217_ = lean_ctor_get(v___x_216_, 1);
|
||||
lean_inc(v_startInclusive_217_);
|
||||
v_endExclusive_218_ = lean_ctor_get(v___x_216_, 2);
|
||||
|
|
@ -1130,7 +1127,6 @@ lean_ctor_set(v___x_273_, 0, v___x_255_);
|
|||
lean_ctor_set(v___x_273_, 1, v_startInclusive_271_);
|
||||
lean_ctor_set(v___x_273_, 2, v_endExclusive_272_);
|
||||
v___x_274_ = l_String_Slice_trimAscii(v___x_273_);
|
||||
lean_dec_ref(v___x_273_);
|
||||
v_startInclusive_275_ = lean_ctor_get(v___x_274_, 1);
|
||||
lean_inc(v_startInclusive_275_);
|
||||
v_endExclusive_276_ = lean_ctor_get(v___x_274_, 2);
|
||||
|
|
@ -2425,7 +2421,6 @@ lean_ctor_set(v___x_832_, 0, v_token_827_);
|
|||
lean_ctor_set(v___x_832_, 1, v___x_828_);
|
||||
lean_ctor_set(v___x_832_, 2, v___x_831_);
|
||||
v___x_833_ = l_String_Slice_trimAscii(v___x_832_);
|
||||
lean_dec_ref(v___x_832_);
|
||||
v___x_834_ = l_String_Slice_toString(v___x_833_);
|
||||
lean_dec_ref(v___x_833_);
|
||||
v_token_835_ = l_String_mapAux___at___00__private_Std_Internal_Http_Data_Headers_Basic_0__Std_Http_Header_parseTokenList_spec__0(v___x_834_, v___x_828_);
|
||||
|
|
|
|||
|
|
@ -615,7 +615,6 @@ lean_ctor_set(v___x_196_, 0, v_s_193_);
|
|||
lean_ctor_set(v___x_196_, 1, v___x_194_);
|
||||
lean_ctor_set(v___x_196_, 2, v___x_195_);
|
||||
v___x_197_ = l_String_Slice_trimAscii(v___x_196_);
|
||||
lean_dec_ref(v___x_196_);
|
||||
v___x_198_ = l_String_Slice_toString(v___x_197_);
|
||||
lean_dec_ref(v___x_197_);
|
||||
v_val_199_ = l_String_mapAux___at___00Std_Http_Header_Name_ofString_x3f_spec__0(v___x_198_, v___x_194_);
|
||||
|
|
|
|||
|
|
@ -591,7 +591,6 @@ lean_ctor_set(v___x_200_, 0, v_s_196_);
|
|||
lean_ctor_set(v___x_200_, 1, v___x_198_);
|
||||
lean_ctor_set(v___x_200_, 2, v___x_199_);
|
||||
v___x_201_ = l_String_Slice_trimAscii(v___x_200_);
|
||||
lean_dec_ref(v___x_200_);
|
||||
v_val_202_ = l_String_Slice_toString(v___x_201_);
|
||||
lean_dec_ref(v___x_201_);
|
||||
lean_inc_ref(v_val_202_);
|
||||
|
|
|
|||
1138
stage0/stdlib/Std/Internal/Http/Internal/String.c
generated
1138
stage0/stdlib/Std/Internal/Http/Internal/String.c
generated
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue