chore: update stage0
This commit is contained in:
parent
4d8d502754
commit
d869c38e7b
17 changed files with 135389 additions and 73764 deletions
|
|
@ -1,7 +1,5 @@
|
|||
#include "util/options.h"
|
||||
|
||||
// Dear CI, please update stage0
|
||||
|
||||
// Please update stage0
|
||||
namespace lean {
|
||||
options get_default_options() {
|
||||
options opts;
|
||||
|
|
|
|||
6312
stage0/stdlib/Lean/DocString/Add.c
generated
6312
stage0/stdlib/Lean/DocString/Add.c
generated
File diff suppressed because it is too large
Load diff
3981
stage0/stdlib/Lean/DocString/Extension.c
generated
3981
stage0/stdlib/Lean/DocString/Extension.c
generated
File diff suppressed because it is too large
Load diff
644
stage0/stdlib/Lean/DocString/Markdown.c
generated
644
stage0/stdlib/Lean/DocString/Markdown.c
generated
|
|
@ -1991,457 +1991,453 @@ return x_29;
|
|||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; uint8_t x_63;
|
||||
lean_object* x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; uint8_t x_62;
|
||||
x_41 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_41);
|
||||
lean_dec_ref(x_2);
|
||||
x_63 = lean_ctor_get_uint8(x_3, sizeof(void*)*1);
|
||||
if (x_63 == 0)
|
||||
x_62 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
uint8_t x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_64 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1);
|
||||
x_65 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
x_66 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_66);
|
||||
uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_63 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
x_64 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_64);
|
||||
lean_dec_ref(x_3);
|
||||
x_67 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22;
|
||||
x_68 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_67, x_4);
|
||||
x_69 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_69);
|
||||
lean_dec_ref(x_68);
|
||||
x_42 = x_63;
|
||||
x_43 = x_64;
|
||||
x_44 = x_65;
|
||||
x_45 = x_66;
|
||||
x_46 = x_69;
|
||||
goto block_62;
|
||||
x_65 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22;
|
||||
x_66 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_65, x_4);
|
||||
x_67 = lean_ctor_get(x_66, 1);
|
||||
lean_inc(x_67);
|
||||
lean_dec_ref(x_66);
|
||||
x_42 = x_62;
|
||||
x_43 = x_63;
|
||||
x_44 = x_64;
|
||||
x_45 = x_67;
|
||||
goto block_61;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_70; uint8_t x_71; lean_object* x_72;
|
||||
x_70 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1);
|
||||
x_71 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
x_72 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_72);
|
||||
uint8_t x_68; lean_object* x_69;
|
||||
x_68 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
x_69 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_69);
|
||||
lean_dec_ref(x_3);
|
||||
x_42 = x_63;
|
||||
x_43 = x_70;
|
||||
x_44 = x_71;
|
||||
x_45 = x_72;
|
||||
x_46 = x_4;
|
||||
goto block_62;
|
||||
x_42 = x_62;
|
||||
x_43 = x_68;
|
||||
x_44 = x_69;
|
||||
x_45 = x_4;
|
||||
goto block_61;
|
||||
}
|
||||
block_62:
|
||||
block_61:
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_47 = lean_box(0);
|
||||
x_48 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_48, 0, x_1);
|
||||
lean_closure_set(x_48, 1, x_47);
|
||||
x_49 = lean_array_size(x_41);
|
||||
x_50 = 0;
|
||||
x_51 = 1;
|
||||
x_52 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_52, 0, x_45);
|
||||
lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51);
|
||||
lean_ctor_set_uint8(x_52, sizeof(void*)*1 + 1, x_43);
|
||||
lean_ctor_set_uint8(x_52, sizeof(void*)*1 + 2, x_44);
|
||||
x_53 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_41, x_48, x_49, x_50, x_47);
|
||||
x_54 = lean_apply_2(x_53, x_52, x_46);
|
||||
lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_46 = lean_box(0);
|
||||
x_47 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_47, 0, x_1);
|
||||
lean_closure_set(x_47, 1, x_46);
|
||||
x_48 = lean_array_size(x_41);
|
||||
x_49 = 0;
|
||||
x_50 = 1;
|
||||
x_51 = lean_alloc_ctor(0, 1, 3);
|
||||
lean_ctor_set(x_51, 0, x_44);
|
||||
lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_50);
|
||||
lean_ctor_set_uint8(x_51, sizeof(void*)*1 + 1, x_42);
|
||||
lean_ctor_set_uint8(x_51, sizeof(void*)*1 + 2, x_43);
|
||||
x_52 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_41, x_47, x_48, x_49, x_46);
|
||||
x_53 = lean_apply_2(x_52, x_51, x_45);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_55 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec_ref(x_54);
|
||||
x_56 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22;
|
||||
x_57 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_56, x_55);
|
||||
return x_57;
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec_ref(x_53);
|
||||
x_55 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__22;
|
||||
x_56 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_55, x_54);
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_58;
|
||||
x_58 = !lean_is_exclusive(x_54);
|
||||
if (x_58 == 0)
|
||||
uint8_t x_57;
|
||||
x_57 = !lean_is_exclusive(x_53);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
lean_object* x_59;
|
||||
x_59 = lean_ctor_get(x_54, 0);
|
||||
lean_dec(x_59);
|
||||
lean_ctor_set(x_54, 0, x_47);
|
||||
return x_54;
|
||||
lean_object* x_58;
|
||||
x_58 = lean_ctor_get(x_53, 0);
|
||||
lean_dec(x_58);
|
||||
lean_ctor_set(x_53, 0, x_46);
|
||||
return x_53;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61;
|
||||
x_60 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_54);
|
||||
x_61 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_47);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
x_59 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_53);
|
||||
x_60 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_46);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
return x_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_73 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_73);
|
||||
x_70 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_70);
|
||||
lean_dec_ref(x_2);
|
||||
x_74 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_73);
|
||||
x_75 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_74, x_4);
|
||||
lean_dec_ref(x_74);
|
||||
return x_75;
|
||||
x_71 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode(x_70);
|
||||
x_72 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_71, x_4);
|
||||
lean_dec_ref(x_71);
|
||||
return x_72;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
uint8_t x_76;
|
||||
uint8_t x_73;
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_76 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
|
||||
if (x_76 == 0)
|
||||
x_73 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_77 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_77);
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_74 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_74);
|
||||
lean_dec_ref(x_2);
|
||||
x_78 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__23;
|
||||
x_79 = lean_string_append(x_78, x_77);
|
||||
x_75 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__23;
|
||||
x_76 = lean_string_append(x_75, x_74);
|
||||
lean_dec_ref(x_74);
|
||||
x_77 = lean_string_append(x_76, x_75);
|
||||
x_78 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_77, x_4);
|
||||
lean_dec_ref(x_77);
|
||||
x_80 = lean_string_append(x_79, x_78);
|
||||
x_81 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_80, x_4);
|
||||
lean_dec_ref(x_80);
|
||||
return x_81;
|
||||
return x_78;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86;
|
||||
x_82 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_82);
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83;
|
||||
x_79 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_79);
|
||||
lean_dec_ref(x_2);
|
||||
x_83 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__24;
|
||||
x_84 = lean_string_append(x_83, x_82);
|
||||
x_80 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__24;
|
||||
x_81 = lean_string_append(x_80, x_79);
|
||||
lean_dec_ref(x_79);
|
||||
x_82 = lean_string_append(x_81, x_80);
|
||||
x_83 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_82, x_4);
|
||||
lean_dec_ref(x_82);
|
||||
x_85 = lean_string_append(x_84, x_83);
|
||||
x_86 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_85, x_4);
|
||||
lean_dec_ref(x_85);
|
||||
return x_86;
|
||||
return x_83;
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92;
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89;
|
||||
lean_dec_ref(x_1);
|
||||
x_87 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_87);
|
||||
x_84 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_84);
|
||||
lean_dec_ref(x_2);
|
||||
x_88 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_88);
|
||||
x_85 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_85);
|
||||
lean_dec_ref(x_3);
|
||||
x_89 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___closed__3;
|
||||
x_90 = lean_string_append(x_89, x_88);
|
||||
lean_dec_ref(x_88);
|
||||
x_91 = l_String_replace(x_87, x_89, x_90);
|
||||
lean_dec_ref(x_90);
|
||||
x_86 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___closed__3;
|
||||
x_87 = lean_string_append(x_86, x_85);
|
||||
lean_dec_ref(x_85);
|
||||
x_88 = l_String_replace(x_84, x_86, x_87);
|
||||
lean_dec_ref(x_87);
|
||||
x_92 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_91, x_4);
|
||||
lean_dec_ref(x_91);
|
||||
return x_92;
|
||||
lean_dec_ref(x_84);
|
||||
x_89 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_88, x_4);
|
||||
lean_dec_ref(x_88);
|
||||
return x_89;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
uint8_t x_93;
|
||||
x_93 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
if (x_93 == 0)
|
||||
uint8_t x_90;
|
||||
x_90 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
if (x_90 == 0)
|
||||
{
|
||||
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112;
|
||||
x_94 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_94);
|
||||
x_95 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_95);
|
||||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; size_t x_98; size_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
x_91 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_91);
|
||||
x_92 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_92);
|
||||
lean_dec_ref(x_2);
|
||||
x_96 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__25;
|
||||
x_97 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_96, x_4);
|
||||
x_98 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec_ref(x_97);
|
||||
x_99 = lean_box(0);
|
||||
x_100 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_100, 0, x_1);
|
||||
lean_closure_set(x_100, 1, x_99);
|
||||
x_101 = lean_array_size(x_94);
|
||||
x_102 = 0;
|
||||
x_103 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_94, x_100, x_101, x_102, x_99);
|
||||
x_104 = lean_apply_2(x_103, x_3, x_98);
|
||||
x_93 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__25;
|
||||
x_94 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_93, x_4);
|
||||
x_95 = lean_ctor_get(x_94, 1);
|
||||
lean_inc(x_95);
|
||||
lean_dec_ref(x_94);
|
||||
x_96 = lean_box(0);
|
||||
x_97 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_97, 0, x_1);
|
||||
lean_closure_set(x_97, 1, x_96);
|
||||
x_98 = lean_array_size(x_91);
|
||||
x_99 = 0;
|
||||
x_100 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_91, x_97, x_98, x_99, x_96);
|
||||
x_101 = lean_apply_2(x_100, x_3, x_95);
|
||||
x_102 = lean_ctor_get(x_101, 1);
|
||||
lean_inc(x_102);
|
||||
lean_dec_ref(x_101);
|
||||
x_103 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26;
|
||||
x_104 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_103, x_102);
|
||||
x_105 = lean_ctor_get(x_104, 1);
|
||||
lean_inc(x_105);
|
||||
lean_dec_ref(x_104);
|
||||
x_106 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26;
|
||||
x_107 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_106, x_105);
|
||||
x_108 = lean_ctor_get(x_107, 1);
|
||||
lean_inc(x_108);
|
||||
lean_dec_ref(x_107);
|
||||
x_109 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_95, x_108);
|
||||
lean_dec_ref(x_95);
|
||||
x_110 = lean_ctor_get(x_109, 1);
|
||||
lean_inc(x_110);
|
||||
lean_dec_ref(x_109);
|
||||
x_111 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27;
|
||||
x_112 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_111, x_110);
|
||||
return x_112;
|
||||
x_106 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_92, x_105);
|
||||
lean_dec_ref(x_92);
|
||||
x_107 = lean_ctor_get(x_106, 1);
|
||||
lean_inc(x_107);
|
||||
lean_dec_ref(x_106);
|
||||
x_108 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27;
|
||||
x_109 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_108, x_107);
|
||||
return x_109;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_113; lean_object* x_114; lean_object* x_115; size_t x_116; size_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120;
|
||||
x_113 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_113);
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; size_t x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117;
|
||||
x_110 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_110);
|
||||
lean_dec_ref(x_2);
|
||||
x_114 = lean_box(0);
|
||||
x_115 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_115, 0, x_1);
|
||||
lean_closure_set(x_115, 1, x_114);
|
||||
x_116 = lean_array_size(x_113);
|
||||
x_117 = 0;
|
||||
x_118 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_113, x_115, x_116, x_117, x_114);
|
||||
x_119 = lean_apply_2(x_118, x_3, x_4);
|
||||
x_120 = !lean_is_exclusive(x_119);
|
||||
if (x_120 == 0)
|
||||
x_111 = lean_box(0);
|
||||
x_112 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_112, 0, x_1);
|
||||
lean_closure_set(x_112, 1, x_111);
|
||||
x_113 = lean_array_size(x_110);
|
||||
x_114 = 0;
|
||||
x_115 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_110, x_112, x_113, x_114, x_111);
|
||||
x_116 = lean_apply_2(x_115, x_3, x_4);
|
||||
x_117 = !lean_is_exclusive(x_116);
|
||||
if (x_117 == 0)
|
||||
{
|
||||
lean_object* x_121;
|
||||
x_121 = lean_ctor_get(x_119, 0);
|
||||
lean_dec(x_121);
|
||||
lean_ctor_set(x_119, 0, x_114);
|
||||
return x_119;
|
||||
lean_object* x_118;
|
||||
x_118 = lean_ctor_get(x_116, 0);
|
||||
lean_dec(x_118);
|
||||
lean_ctor_set(x_116, 0, x_111);
|
||||
return x_116;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_122; lean_object* x_123;
|
||||
x_122 = lean_ctor_get(x_119, 1);
|
||||
lean_inc(x_122);
|
||||
lean_dec(x_119);
|
||||
x_123 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_123, 0, x_114);
|
||||
lean_ctor_set(x_123, 1, x_122);
|
||||
return x_123;
|
||||
lean_object* x_119; lean_object* x_120;
|
||||
x_119 = lean_ctor_get(x_116, 1);
|
||||
lean_inc(x_119);
|
||||
lean_dec(x_116);
|
||||
x_120 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_111);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
return x_120;
|
||||
}
|
||||
}
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155;
|
||||
lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152;
|
||||
lean_dec_ref(x_3);
|
||||
x_124 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_124);
|
||||
x_125 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_125);
|
||||
x_121 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_121);
|
||||
x_122 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_122);
|
||||
if (lean_is_exclusive(x_2)) {
|
||||
lean_ctor_release(x_2, 0);
|
||||
lean_ctor_release(x_2, 1);
|
||||
x_126 = x_2;
|
||||
x_123 = x_2;
|
||||
} else {
|
||||
lean_dec_ref(x_2);
|
||||
x_126 = lean_box(0);
|
||||
x_123 = lean_box(0);
|
||||
}
|
||||
x_127 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__28;
|
||||
x_128 = lean_string_append(x_127, x_124);
|
||||
x_129 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__29;
|
||||
x_130 = lean_string_append(x_128, x_129);
|
||||
x_131 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_130, x_4);
|
||||
lean_dec_ref(x_130);
|
||||
x_132 = lean_ctor_get(x_131, 1);
|
||||
lean_inc(x_132);
|
||||
if (lean_is_exclusive(x_131)) {
|
||||
lean_ctor_release(x_131, 0);
|
||||
lean_ctor_release(x_131, 1);
|
||||
x_133 = x_131;
|
||||
x_124 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__28;
|
||||
x_125 = lean_string_append(x_124, x_121);
|
||||
x_126 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__29;
|
||||
x_127 = lean_string_append(x_125, x_126);
|
||||
x_128 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_127, x_4);
|
||||
lean_dec_ref(x_127);
|
||||
x_129 = lean_ctor_get(x_128, 1);
|
||||
lean_inc(x_129);
|
||||
if (lean_is_exclusive(x_128)) {
|
||||
lean_ctor_release(x_128, 0);
|
||||
lean_ctor_release(x_128, 1);
|
||||
x_130 = x_128;
|
||||
} else {
|
||||
lean_dec_ref(x_131);
|
||||
x_133 = lean_box(0);
|
||||
lean_dec_ref(x_128);
|
||||
x_130 = lean_box(0);
|
||||
}
|
||||
x_152 = lean_unsigned_to_nat(0u);
|
||||
x_153 = lean_array_get_size(x_125);
|
||||
x_154 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__30;
|
||||
x_155 = lean_nat_dec_lt(x_152, x_153);
|
||||
if (x_155 == 0)
|
||||
x_149 = lean_unsigned_to_nat(0u);
|
||||
x_150 = lean_array_get_size(x_122);
|
||||
x_151 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__30;
|
||||
x_152 = lean_nat_dec_lt(x_149, x_150);
|
||||
if (x_152 == 0)
|
||||
{
|
||||
lean_dec(x_153);
|
||||
lean_dec_ref(x_125);
|
||||
lean_dec(x_150);
|
||||
lean_dec_ref(x_122);
|
||||
lean_dec_ref(x_1);
|
||||
x_134 = x_154;
|
||||
goto block_151;
|
||||
x_131 = x_151;
|
||||
goto block_148;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_156;
|
||||
x_156 = lean_nat_dec_le(x_153, x_153);
|
||||
if (x_156 == 0)
|
||||
uint8_t x_153;
|
||||
x_153 = lean_nat_dec_le(x_150, x_150);
|
||||
if (x_153 == 0)
|
||||
{
|
||||
lean_dec(x_153);
|
||||
lean_dec_ref(x_125);
|
||||
lean_dec(x_150);
|
||||
lean_dec_ref(x_122);
|
||||
lean_dec_ref(x_1);
|
||||
x_134 = x_154;
|
||||
goto block_151;
|
||||
x_131 = x_151;
|
||||
goto block_148;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_157; lean_object* x_158; lean_object* x_159; size_t x_160; size_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164;
|
||||
x_157 = lean_box(0);
|
||||
x_158 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__4), 5, 1);
|
||||
lean_closure_set(x_158, 0, x_1);
|
||||
x_159 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__31;
|
||||
x_160 = 0;
|
||||
x_161 = lean_usize_of_nat(x_153);
|
||||
lean_dec(x_153);
|
||||
x_162 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_5, x_158, x_125, x_160, x_161, x_157);
|
||||
x_163 = lean_apply_2(x_162, x_159, x_154);
|
||||
x_164 = lean_ctor_get(x_163, 1);
|
||||
lean_inc(x_164);
|
||||
lean_dec_ref(x_163);
|
||||
x_134 = x_164;
|
||||
goto block_151;
|
||||
lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161;
|
||||
x_154 = lean_box(0);
|
||||
x_155 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__4), 5, 1);
|
||||
lean_closure_set(x_155, 0, x_1);
|
||||
x_156 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__31;
|
||||
x_157 = 0;
|
||||
x_158 = lean_usize_of_nat(x_150);
|
||||
lean_dec(x_150);
|
||||
x_159 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_5, x_155, x_122, x_157, x_158, x_154);
|
||||
x_160 = lean_apply_2(x_159, x_156, x_151);
|
||||
x_161 = lean_ctor_get(x_160, 1);
|
||||
lean_inc(x_161);
|
||||
lean_dec_ref(x_160);
|
||||
x_131 = x_161;
|
||||
goto block_148;
|
||||
}
|
||||
}
|
||||
block_151:
|
||||
block_148:
|
||||
{
|
||||
uint8_t x_135;
|
||||
x_135 = !lean_is_exclusive(x_132);
|
||||
if (x_135 == 0)
|
||||
uint8_t x_132;
|
||||
x_132 = !lean_is_exclusive(x_129);
|
||||
if (x_132 == 0)
|
||||
{
|
||||
lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141;
|
||||
x_136 = lean_ctor_get(x_132, 2);
|
||||
x_137 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_134);
|
||||
x_138 = lean_box(0);
|
||||
if (lean_is_scalar(x_133)) {
|
||||
x_139 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138;
|
||||
x_133 = lean_ctor_get(x_129, 2);
|
||||
x_134 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_131);
|
||||
x_135 = lean_box(0);
|
||||
if (lean_is_scalar(x_130)) {
|
||||
x_136 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_139 = x_133;
|
||||
x_136 = x_130;
|
||||
}
|
||||
lean_ctor_set(x_139, 0, x_124);
|
||||
lean_ctor_set(x_139, 1, x_137);
|
||||
x_140 = lean_array_push(x_136, x_139);
|
||||
lean_ctor_set(x_132, 2, x_140);
|
||||
if (lean_is_scalar(x_126)) {
|
||||
x_141 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_136, 0, x_121);
|
||||
lean_ctor_set(x_136, 1, x_134);
|
||||
x_137 = lean_array_push(x_133, x_136);
|
||||
lean_ctor_set(x_129, 2, x_137);
|
||||
if (lean_is_scalar(x_123)) {
|
||||
x_138 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_141 = x_126;
|
||||
lean_ctor_set_tag(x_141, 0);
|
||||
x_138 = x_123;
|
||||
lean_ctor_set_tag(x_138, 0);
|
||||
}
|
||||
lean_ctor_set(x_141, 0, x_138);
|
||||
lean_ctor_set(x_141, 1, x_132);
|
||||
return x_141;
|
||||
lean_ctor_set(x_138, 0, x_135);
|
||||
lean_ctor_set(x_138, 1, x_129);
|
||||
return x_138;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150;
|
||||
x_142 = lean_ctor_get(x_132, 0);
|
||||
x_143 = lean_ctor_get(x_132, 1);
|
||||
x_144 = lean_ctor_get(x_132, 2);
|
||||
lean_inc(x_144);
|
||||
lean_inc(x_143);
|
||||
lean_inc(x_142);
|
||||
lean_dec(x_132);
|
||||
x_145 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_134);
|
||||
x_146 = lean_box(0);
|
||||
if (lean_is_scalar(x_133)) {
|
||||
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147;
|
||||
x_139 = lean_ctor_get(x_129, 0);
|
||||
x_140 = lean_ctor_get(x_129, 1);
|
||||
x_141 = lean_ctor_get(x_129, 2);
|
||||
lean_inc(x_141);
|
||||
lean_inc(x_140);
|
||||
lean_inc(x_139);
|
||||
lean_dec(x_129);
|
||||
x_142 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(x_131);
|
||||
x_143 = lean_box(0);
|
||||
if (lean_is_scalar(x_130)) {
|
||||
x_144 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_144 = x_130;
|
||||
}
|
||||
lean_ctor_set(x_144, 0, x_121);
|
||||
lean_ctor_set(x_144, 1, x_142);
|
||||
x_145 = lean_array_push(x_141, x_144);
|
||||
x_146 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_146, 0, x_139);
|
||||
lean_ctor_set(x_146, 1, x_140);
|
||||
lean_ctor_set(x_146, 2, x_145);
|
||||
if (lean_is_scalar(x_123)) {
|
||||
x_147 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_147 = x_133;
|
||||
x_147 = x_123;
|
||||
lean_ctor_set_tag(x_147, 0);
|
||||
}
|
||||
lean_ctor_set(x_147, 0, x_124);
|
||||
lean_ctor_set(x_147, 1, x_145);
|
||||
x_148 = lean_array_push(x_144, x_147);
|
||||
x_149 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_149, 0, x_142);
|
||||
lean_ctor_set(x_149, 1, x_143);
|
||||
lean_ctor_set(x_149, 2, x_148);
|
||||
if (lean_is_scalar(x_126)) {
|
||||
x_150 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_150 = x_126;
|
||||
lean_ctor_set_tag(x_150, 0);
|
||||
}
|
||||
lean_ctor_set(x_150, 0, x_146);
|
||||
lean_ctor_set(x_150, 1, x_149);
|
||||
return x_150;
|
||||
lean_ctor_set(x_147, 0, x_143);
|
||||
lean_ctor_set(x_147, 1, x_146);
|
||||
return x_147;
|
||||
}
|
||||
}
|
||||
}
|
||||
case 8:
|
||||
{
|
||||
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175;
|
||||
lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172;
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_165 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_165);
|
||||
x_166 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_166);
|
||||
x_162 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_162);
|
||||
x_163 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_163);
|
||||
lean_dec_ref(x_2);
|
||||
x_167 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__32;
|
||||
x_168 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_165);
|
||||
x_169 = lean_string_append(x_167, x_168);
|
||||
lean_dec_ref(x_168);
|
||||
x_170 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26;
|
||||
x_164 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__32;
|
||||
x_165 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_162);
|
||||
x_166 = lean_string_append(x_164, x_165);
|
||||
lean_dec_ref(x_165);
|
||||
x_167 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__26;
|
||||
x_168 = lean_string_append(x_166, x_167);
|
||||
x_169 = lean_string_append(x_168, x_163);
|
||||
lean_dec_ref(x_163);
|
||||
x_170 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27;
|
||||
x_171 = lean_string_append(x_169, x_170);
|
||||
x_172 = lean_string_append(x_171, x_166);
|
||||
lean_dec_ref(x_166);
|
||||
x_173 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__27;
|
||||
x_174 = lean_string_append(x_172, x_173);
|
||||
x_175 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_174, x_4);
|
||||
lean_dec_ref(x_174);
|
||||
return x_175;
|
||||
x_172 = l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_push___redArg(x_171, x_4);
|
||||
lean_dec_ref(x_171);
|
||||
return x_172;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
lean_object* x_176; lean_object* x_177; lean_object* x_178; size_t x_179; size_t x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183;
|
||||
x_176 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_176);
|
||||
lean_object* x_173; lean_object* x_174; lean_object* x_175; size_t x_176; size_t x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180;
|
||||
x_173 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_173);
|
||||
lean_dec_ref(x_2);
|
||||
x_177 = lean_box(0);
|
||||
x_178 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_178, 0, x_1);
|
||||
lean_closure_set(x_178, 1, x_177);
|
||||
x_179 = lean_array_size(x_176);
|
||||
x_180 = 0;
|
||||
x_181 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_176, x_178, x_179, x_180, x_177);
|
||||
x_182 = lean_apply_2(x_181, x_3, x_4);
|
||||
x_183 = !lean_is_exclusive(x_182);
|
||||
if (x_183 == 0)
|
||||
x_174 = lean_box(0);
|
||||
x_175 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0), 7, 2);
|
||||
lean_closure_set(x_175, 0, x_1);
|
||||
lean_closure_set(x_175, 1, x_174);
|
||||
x_176 = lean_array_size(x_173);
|
||||
x_177 = 0;
|
||||
x_178 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), x_5, x_173, x_175, x_176, x_177, x_174);
|
||||
x_179 = lean_apply_2(x_178, x_3, x_4);
|
||||
x_180 = !lean_is_exclusive(x_179);
|
||||
if (x_180 == 0)
|
||||
{
|
||||
lean_object* x_184;
|
||||
x_184 = lean_ctor_get(x_182, 0);
|
||||
lean_dec(x_184);
|
||||
lean_ctor_set(x_182, 0, x_177);
|
||||
return x_182;
|
||||
lean_object* x_181;
|
||||
x_181 = lean_ctor_get(x_179, 0);
|
||||
lean_dec(x_181);
|
||||
lean_ctor_set(x_179, 0, x_174);
|
||||
return x_179;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_185; lean_object* x_186;
|
||||
x_185 = lean_ctor_get(x_182, 1);
|
||||
lean_inc(x_185);
|
||||
lean_dec(x_182);
|
||||
x_186 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_186, 0, x_177);
|
||||
lean_ctor_set(x_186, 1, x_185);
|
||||
return x_186;
|
||||
lean_object* x_182; lean_object* x_183;
|
||||
x_182 = lean_ctor_get(x_179, 1);
|
||||
lean_inc(x_182);
|
||||
lean_dec(x_179);
|
||||
x_183 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_183, 0, x_174);
|
||||
lean_ctor_set(x_183, 1, x_182);
|
||||
return x_183;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190;
|
||||
x_187 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_187);
|
||||
x_188 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_188);
|
||||
lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187;
|
||||
x_184 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_184);
|
||||
x_185 = lean_ctor_get(x_2, 1);
|
||||
lean_inc_ref(x_185);
|
||||
lean_dec_ref(x_2);
|
||||
lean_inc_ref(x_1);
|
||||
x_189 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg), 4, 1);
|
||||
lean_closure_set(x_189, 0, x_1);
|
||||
x_190 = lean_apply_5(x_1, x_189, x_187, x_188, x_3, x_4);
|
||||
return x_190;
|
||||
x_186 = lean_alloc_closure((void*)(l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg), 4, 1);
|
||||
lean_closure_set(x_186, 0, x_1);
|
||||
x_187 = lean_apply_5(x_1, x_186, x_184, x_185, x_3, x_4);
|
||||
return x_187;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
213
stage0/stdlib/Lean/DocString/Parser.c
generated
213
stage0/stdlib/Lean/DocString/Parser.c
generated
|
|
@ -45,6 +45,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_code___lam__3(lean_object*, lean_obje
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_blockOpener___lam__0___boxed__const__1;
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_textLine(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instReprUnorderedListType_repr___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkTarget_notRefEnd___lam__0___closed__0;
|
||||
|
|
@ -204,7 +205,7 @@ LEAN_EXPORT lean_object* l_Option_repr___at___Lean_Doc_Parser_instReprBlockCtxt_
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_recoverBlockWith(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instBEqUnorderedListType_beq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_instDecidableEqChar___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock(lean_object*, lean_object*);
|
||||
|
|
@ -315,7 +316,7 @@ lean_object* lean_string_length(lean_object*);
|
|||
static lean_object* l_Lean_Doc_Parser_text___closed__4;
|
||||
static lean_object* l_Lean_Doc_Parser_val___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_codeBlock___lam__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnote(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__10(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_BlockCtxt_ctorIdx(lean_object*);
|
||||
|
|
@ -329,7 +330,6 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_nu
|
|||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_closer___lam__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_document___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_stackSize(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_definitionList___lam__6(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__0___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -386,7 +386,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnote___lam__1(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_descItem_colonFn___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_plus_elim(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__8(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_blocks1___closed__0;
|
||||
lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_takeWhileEscFn___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -401,7 +400,6 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_re
|
|||
static lean_object* l_Lean_Doc_Parser_text___closed__2;
|
||||
static lean_object* l_Lean_Doc_Parser_header___lam__2___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike_opener(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_delimitedInline___lam__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_BlockCtxt_ctorIdx___boxed(lean_object*);
|
||||
|
|
@ -653,7 +651,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_toCtorIdx___boxed(l
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_codeFrom___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_normFn___redArg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_ofNat___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_closeFence___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__4(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_errorFn___redArg(lean_object*, lean_object*);
|
||||
|
|
@ -662,7 +659,7 @@ static lean_object* l_List_repr___at___Lean_Doc_Parser_instReprBlockCtxt_repr_sp
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkAnon___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_header___lam__10___closed__0;
|
||||
static lean_object* l_Lean_Doc_Parser_header___lam__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__0;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_instReprUnorderedListType_repr___closed__1;
|
||||
|
|
@ -859,7 +856,6 @@ static lean_object* l_Lean_Doc_Parser_link___lam__0___closed__1;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_linkRef___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_instReprInList_repr___redArg___closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at_____private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFence_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_descItem(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__2(lean_object*, lean_object*);
|
||||
|
|
@ -922,6 +918,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_li
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instInhabitedInlineCtxt;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine___lam__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_nameAndArgs___lam__2(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_skip;
|
||||
lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*, lean_object*);
|
||||
|
|
@ -941,7 +938,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_directive___lam__1___boxed(lean_objec
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkAnon(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_takeContentsFn___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ctorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_ofNat___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_recoverEol(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -982,6 +979,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_InList_ctorIdx(lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_normFn___redArg___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_role_bracketed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipRestOfLine___lam__1___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_OrderedListType_noConfusion___redArg___lam__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkTarget_url___lam__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -991,6 +989,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_recoverBlock(lean_object*, lean_objec
|
|||
uint8_t l_List_elem___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_para___lam__2___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_directive___lam__6___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_DocString_Parser_0__Lean_Doc_Parser_onlyBlockOpeners_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_metadataBlock___lam__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_UnorderedListType_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -1001,6 +1000,7 @@ LEAN_EXPORT lean_object* l_Sum_repr___at___Lean_Doc_Parser_instReprInList_repr_s
|
|||
static lean_object* l_Lean_Doc_Parser_blockOpener___lam__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_withCurrentStackSize(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock_nonEmptyLine___lam__0(uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_mkIdent___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__4(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_lookaheadUnorderedListIndicator___closed__1;
|
||||
|
|
@ -1154,6 +1154,7 @@ LEAN_EXPORT uint8_t l_Option_instBEq_beq___at_____private_Lean_DocString_Parser_
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_directive___closed__0;
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_pushColumn___closed__1;
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0;
|
||||
static lean_object* l_Lean_Doc_Parser_math___lam__3___closed__1;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1163,6 +1164,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_sk
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bolThen(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_orderedList___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___at___Lean_Doc_Parser_instReprBlockCtxt_repr_spec__1___redArg___closed__4;
|
||||
static lean_object* l_Lean_Doc_Parser_math___lam__3___closed__0;
|
||||
|
|
@ -1224,6 +1226,7 @@ static lean_object* l_Lean_Doc_Parser_linkRef___closed__4;
|
|||
static lean_object* l_Lean_Doc_Parser_directive___lam__3___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instBEqOrderedListType;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_emphLike___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_withParens___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_footnoteRef___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_guardOpenerSize___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5136,6 +5139,45 @@ lean_dec_ref(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Parser_eoiFn(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed), 2, 0);
|
||||
x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine___closed__3;
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2);
|
||||
lean_closure_set(x_6, 0, x_5);
|
||||
lean_closure_set(x_6, 1, x_4);
|
||||
x_7 = 0;
|
||||
x_8 = lean_box(x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_asStringFn___boxed), 5, 3);
|
||||
lean_closure_set(x_9, 0, x_6);
|
||||
lean_closure_set(x_9, 1, x_8);
|
||||
lean_closure_set(x_9, 2, x_3);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Parser_atomicFn), 3, 1);
|
||||
lean_closure_set(x_10, 0, x_9);
|
||||
x_11 = l_Lean_Doc_Parser_ignoreFn(x_10, x_1, x_2);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bullet_go___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -10239,14 +10281,6 @@ x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_pushMissing___redArg(
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Parser_eoiFn(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -10261,7 +10295,7 @@ x_8 = l_Lean_Parser_andthenFn(x_7, x_2, x_3, x_4);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
|
|
@ -10284,7 +10318,7 @@ x_13 = l_Lean_Parser_atomicFn(x_12, x_4, x_5);
|
|||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
|
|
@ -10298,32 +10332,40 @@ lean_dec(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed), 3, 1);
|
||||
x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 3, 1);
|
||||
lean_closure_set(x_5, 0, x_2);
|
||||
x_6 = l_Lean_Parser_andthenFn(x_5, x_1, x_3, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine___lam__2___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__0___boxed), 1, 0);
|
||||
x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__1___boxed), 2, 0);
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 2, 0);
|
||||
x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__4), 4, 2);
|
||||
lean_closure_set(x_7, 0, x_6);
|
||||
lean_closure_set(x_7, 1, x_5);
|
||||
x_8 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unorderedListIndicator___closed__0;
|
||||
x_9 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__6), 5, 3);
|
||||
x_9 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5), 5, 3);
|
||||
lean_closure_set(x_9, 0, x_4);
|
||||
lean_closure_set(x_9, 1, x_8);
|
||||
lean_closure_set(x_9, 2, x_7);
|
||||
x_10 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__5), 4, 1);
|
||||
x_10 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3), 4, 1);
|
||||
lean_closure_set(x_10, 0, x_9);
|
||||
x_11 = l_Lean_Parser_recoverFn(x_1, x_10, x_2, x_3);
|
||||
return x_11;
|
||||
|
|
@ -10349,20 +10391,11 @@ lean_dec_ref(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__3(x_1, x_2, x_3);
|
||||
x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -12377,14 +12410,6 @@ return x_1;
|
|||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___lam__2___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__0;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed), 2, 0);
|
||||
|
|
@ -12394,12 +12419,12 @@ lean_closure_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3() {
|
||||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_opener___closed__0;
|
||||
x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2;
|
||||
x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_bolThen), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
lean_closure_set(x_3, 1, x_1);
|
||||
|
|
@ -12410,14 +12435,14 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_me
|
|||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_3 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___lam__3), 3, 1);
|
||||
lean_closure_set(x_4, 0, x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_eatSpaces___boxed), 2, 0);
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2);
|
||||
lean_closure_set(x_6, 0, x_5);
|
||||
lean_closure_set(x_6, 1, x_4);
|
||||
x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3;
|
||||
x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2;
|
||||
x_8 = l_Lean_Parser_andthenFn(x_7, x_6, x_1, x_2);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -15205,6 +15230,38 @@ lean_dec_ref(x_3);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_endLine), 2, 0);
|
||||
x_4 = l_Lean_Parser_optionalFn(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine), 2, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___lam__0), 2, 0);
|
||||
x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0;
|
||||
x_5 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_orderedListIndicator___lam__2), 4, 2);
|
||||
lean_closure_set(x_5, 0, x_4);
|
||||
lean_closure_set(x_5, 1, x_3);
|
||||
x_6 = l_Lean_Doc_Parser_ignoreFn(x_5, x_1, x_2);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___lam__0(uint32_t x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -15892,7 +15949,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0;
|
||||
x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_closeFence___lam__3), 4, 2);
|
||||
lean_closure_set(x_7, 0, x_5);
|
||||
lean_closure_set(x_7, 1, x_6);
|
||||
|
|
@ -16660,7 +16717,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0;
|
||||
x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_7 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_codeBlock_closeFence___lam__2), 4, 2);
|
||||
lean_closure_set(x_7, 0, x_5);
|
||||
lean_closure_set(x_7, 1, x_6);
|
||||
|
|
@ -17539,7 +17596,7 @@ lean_closure_set(x_10, 2, x_7);
|
|||
x_11 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__0), 3, 1);
|
||||
lean_closure_set(x_11, 0, x_10);
|
||||
x_12 = l_Lean_Doc_Parser_linkRef___closed__2;
|
||||
x_13 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_13 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_14 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0;
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__8), 4, 2);
|
||||
lean_closure_set(x_15, 0, x_14);
|
||||
|
|
@ -18175,7 +18232,7 @@ static lean_object* _init_l_Lean_Doc_Parser_block__command___closed__0() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1;
|
||||
x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0;
|
||||
x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipToNewline___closed__0;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_linkRef___lam__8), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
|
|
@ -18436,26 +18493,6 @@ x_9 = l_Lean_Parser_nodeFn(x_6, x_8, x_2, x_3);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Doc_Parser_blocks1___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blankLine), 2, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_manyFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Doc_Parser_blocks1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Doc_Parser_blocks1___closed__0;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_ignoreFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_blocks1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -18463,7 +18500,7 @@ uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
|||
x_4 = 1;
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_block), 3, 1);
|
||||
lean_closure_set(x_5, 0, x_1);
|
||||
x_6 = l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep), 2, 0);
|
||||
x_7 = l_Lean_Parser_sepBy1Fn(x_4, x_5, x_6, x_2, x_3);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -18766,7 +18803,7 @@ uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
|||
x_4 = 1;
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_block), 3, 1);
|
||||
lean_closure_set(x_5, 0, x_1);
|
||||
x_6 = l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep), 2, 0);
|
||||
x_7 = l_Lean_Parser_sepByFn(x_4, x_5, x_6, x_2, x_3);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -19012,11 +19049,21 @@ x_6 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_directive_withFencePo
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Doc_Parser_directive___lam__6___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_ignoreFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_directive___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
x_4 = l_Lean_Doc_Parser_directive___lam__6___closed__0;
|
||||
x_5 = l_Lean_Parser_andthenFn(x_4, x_1, x_2, x_3);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -19536,7 +19583,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Parser_descItem___lam__1(lean_object* x_1, l
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_7 = l_Lean_Doc_Parser_blocks1___closed__0;
|
||||
x_7 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0;
|
||||
x_8 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__0), 3, 1);
|
||||
lean_closure_set(x_8, 0, x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__3), 6, 4);
|
||||
|
|
@ -19549,7 +19596,7 @@ lean_closure_set(x_10, 0, x_4);
|
|||
lean_closure_set(x_10, 1, x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_descItem___lam__4), 3, 1);
|
||||
lean_closure_set(x_11, 0, x_10);
|
||||
x_12 = l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
x_12 = l_Lean_Doc_Parser_directive___lam__6___closed__0;
|
||||
x_13 = l_Lean_Parser_andthenFn(x_12, x_11, x_5, x_6);
|
||||
return x_13;
|
||||
}
|
||||
|
|
@ -20113,7 +20160,7 @@ _start:
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Doc_Parser_document___lam__0), 3, 1);
|
||||
lean_closure_set(x_4, 0, x_1);
|
||||
x_5 = l_Lean_Doc_Parser_blocks1___closed__1;
|
||||
x_5 = l_Lean_Doc_Parser_directive___lam__6___closed__0;
|
||||
x_6 = l_Lean_Parser_andthenFn(x_5, x_4, x_2, x_3);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -20511,6 +20558,8 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__
|
|||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___lam__3___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_codeContentsFn___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_recoverCode___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__1 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_code_opener___closed__1();
|
||||
|
|
@ -20621,8 +20670,6 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___clos
|
|||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__1);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__2);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_metadataBlock_closer___closed__3);
|
||||
l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0 = _init_l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_metadataBlock___lam__3___closed__0);
|
||||
l_Lean_Doc_Parser_metadataBlock___closed__0 = _init_l_Lean_Doc_Parser_metadataBlock___closed__0();
|
||||
|
|
@ -20769,6 +20816,8 @@ l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___
|
|||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipUntilDedent___lam__6___boxed__const__1);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_blockSep___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0();
|
||||
lean_mark_persistent(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___closed__0);
|
||||
l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_block__command_intro___lam__2___closed__0 = _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_block__command_intro___lam__2___closed__0();
|
||||
|
|
@ -20920,10 +20969,6 @@ l_Lean_Doc_Parser_listItem___closed__0 = _init_l_Lean_Doc_Parser_listItem___clos
|
|||
lean_mark_persistent(l_Lean_Doc_Parser_listItem___closed__0);
|
||||
l_Lean_Doc_Parser_listItem___closed__1 = _init_l_Lean_Doc_Parser_listItem___closed__1();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_listItem___closed__1);
|
||||
l_Lean_Doc_Parser_blocks1___closed__0 = _init_l_Lean_Doc_Parser_blocks1___closed__0();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_blocks1___closed__0);
|
||||
l_Lean_Doc_Parser_blocks1___closed__1 = _init_l_Lean_Doc_Parser_blocks1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_blocks1___closed__1);
|
||||
l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1 = _init_l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_blockquote___lam__3___closed__0___boxed__const__1);
|
||||
l_Lean_Doc_Parser_blockquote___lam__3___closed__0 = _init_l_Lean_Doc_Parser_blockquote___lam__3___closed__0();
|
||||
|
|
@ -20942,6 +20987,8 @@ l_Lean_Doc_Parser_directive___lam__1___boxed__const__1 = _init_l_Lean_Doc_Parser
|
|||
lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__1___boxed__const__1);
|
||||
l_Lean_Doc_Parser_directive___lam__3___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__3___closed__0();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__3___closed__0);
|
||||
l_Lean_Doc_Parser_directive___lam__6___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__6___closed__0();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__6___closed__0);
|
||||
l_Lean_Doc_Parser_directive___lam__7___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__7___closed__0();
|
||||
lean_mark_persistent(l_Lean_Doc_Parser_directive___lam__7___closed__0);
|
||||
l_Lean_Doc_Parser_directive___lam__11___closed__0 = _init_l_Lean_Doc_Parser_directive___lam__11___closed__0();
|
||||
|
|
|
|||
4531
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
4531
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
File diff suppressed because it is too large
Load diff
76285
stage0/stdlib/Lean/Elab/DocString.c
generated
76285
stage0/stdlib/Lean/Elab/DocString.c
generated
File diff suppressed because it is too large
Load diff
73402
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
73402
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
File diff suppressed because it is too large
Load diff
29164
stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c
generated
Normal file
29164
stage0/stdlib/Lean/Elab/DocString/Builtin/Keywords.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2204
stage0/stdlib/Lean/Elab/DocString/Builtin/Parsing.c
generated
Normal file
2204
stage0/stdlib/Lean/Elab/DocString/Builtin/Parsing.c
generated
Normal file
File diff suppressed because it is too large
Load diff
7237
stage0/stdlib/Lean/Elab/DocString/Builtin/Postponed.c
generated
Normal file
7237
stage0/stdlib/Lean/Elab/DocString/Builtin/Postponed.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2605
stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c
generated
Normal file
2605
stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c
generated
Normal file
File diff suppressed because it is too large
Load diff
16
stage0/stdlib/Lean/EnvExtension.c
generated
16
stage0/stdlib/Lean/EnvExtension.c
generated
|
|
@ -145,7 +145,7 @@ lean_object* l_Lean_instInhabitedEnvExtension_default(lean_object*);
|
|||
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__21;
|
||||
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__2;
|
||||
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__25;
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_replayOfFilter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_pure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getEntries(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1410,15 +1410,16 @@ return x_6;
|
|||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_SimplePersistentEnvExtension_setState___redArg___lam__0), 2, 1);
|
||||
lean_closure_set(x_6, 0, x_3);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5, x_7);
|
||||
lean_dec(x_5);
|
||||
return x_7;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -1461,15 +1462,16 @@ return x_9;
|
|||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_SimplePersistentEnvExtension_modifyState___redArg___lam__0), 2, 1);
|
||||
lean_closure_set(x_6, 0, x_3);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_1, x_2, x_6, x_5, x_7);
|
||||
lean_dec(x_5);
|
||||
return x_7;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
|
|||
1341
stage0/stdlib/Lean/Environment.c
generated
1341
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
559
stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c
generated
559
stage0/stdlib/Lean/Meta/Tactic/Simp/Simproc.c
generated
|
|
@ -509,7 +509,7 @@ LEAN_EXPORT lean_object* l_Lean_Option_register___at___Lean_Meta_Simp_initFn____
|
|||
lean_object* l_Array_eraseIdx___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_addSimprocAttr___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at___Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Simproc_4225812397____hygCtx___hyg_2__spec__0(lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_Simproc_0__Lean_Meta_Simp_initFn___closed__25____x40_Lean_Meta_Tactic_Simp_Simproc_1616411946____hygCtx___hyg_2_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___Array_binInsertM___at_____private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___Lean_Meta_DiscrTree_insertCore___at___Lean_Meta_Simp_Simprocs_addCore_spec__0_spec__8_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_Simproc_0__Lean_Meta_Simp_initFn___closed__1____x40_Lean_Meta_Tactic_Simp_Simproc_1616411946____hygCtx___hyg_2_;
|
||||
|
|
@ -4548,7 +4548,7 @@ lean_dec_ref(x_17);
|
|||
x_20 = !lean_is_exclusive(x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
x_21 = lean_ctor_get(x_18, 0);
|
||||
x_22 = lean_ctor_get(x_18, 5);
|
||||
lean_dec(x_22);
|
||||
|
|
@ -4558,46 +4558,48 @@ lean_inc_ref(x_24);
|
|||
x_25 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_24);
|
||||
x_26 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_23, x_21, x_11, x_25);
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_23, x_21, x_11, x_25, x_26);
|
||||
lean_dec(x_25);
|
||||
x_27 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
lean_ctor_set(x_18, 5, x_27);
|
||||
lean_ctor_set(x_18, 0, x_26);
|
||||
x_28 = lean_st_ref_set(x_4, x_18, x_19);
|
||||
x_29 = !lean_is_exclusive(x_28);
|
||||
if (x_29 == 0)
|
||||
x_28 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
lean_ctor_set(x_18, 5, x_28);
|
||||
lean_ctor_set(x_18, 0, x_27);
|
||||
x_29 = lean_st_ref_set(x_4, x_18, x_19);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = lean_ctor_get(x_28, 0);
|
||||
lean_dec(x_30);
|
||||
x_31 = lean_box(0);
|
||||
lean_ctor_set(x_28, 0, x_31);
|
||||
return x_28;
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_31);
|
||||
x_32 = lean_box(0);
|
||||
lean_ctor_set(x_29, 0, x_32);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
x_32 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_28);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
lean_ctor_set(x_34, 1, x_32);
|
||||
return x_34;
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_29);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_35 = lean_ctor_get(x_18, 0);
|
||||
x_36 = lean_ctor_get(x_18, 1);
|
||||
x_37 = lean_ctor_get(x_18, 2);
|
||||
x_38 = lean_ctor_get(x_18, 3);
|
||||
x_39 = lean_ctor_get(x_18, 4);
|
||||
x_40 = lean_ctor_get(x_18, 6);
|
||||
x_41 = lean_ctor_get(x_18, 7);
|
||||
x_42 = lean_ctor_get(x_18, 8);
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55;
|
||||
x_36 = lean_ctor_get(x_18, 0);
|
||||
x_37 = lean_ctor_get(x_18, 1);
|
||||
x_38 = lean_ctor_get(x_18, 2);
|
||||
x_39 = lean_ctor_get(x_18, 3);
|
||||
x_40 = lean_ctor_get(x_18, 4);
|
||||
x_41 = lean_ctor_get(x_18, 6);
|
||||
x_42 = lean_ctor_get(x_18, 7);
|
||||
x_43 = lean_ctor_get(x_18, 8);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_inc(x_41);
|
||||
lean_inc(x_40);
|
||||
|
|
@ -4605,277 +4607,278 @@ lean_inc(x_39);
|
|||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_18);
|
||||
x_43 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0;
|
||||
x_44 = lean_ctor_get(x_43, 0);
|
||||
lean_inc_ref(x_44);
|
||||
x_45 = lean_ctor_get(x_44, 2);
|
||||
lean_inc(x_45);
|
||||
lean_dec_ref(x_44);
|
||||
x_46 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_43, x_35, x_11, x_45);
|
||||
lean_dec(x_45);
|
||||
x_47 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
x_48 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_36);
|
||||
lean_ctor_set(x_48, 2, x_37);
|
||||
lean_ctor_set(x_48, 3, x_38);
|
||||
lean_ctor_set(x_48, 4, x_39);
|
||||
lean_ctor_set(x_48, 5, x_47);
|
||||
lean_ctor_set(x_48, 6, x_40);
|
||||
lean_ctor_set(x_48, 7, x_41);
|
||||
lean_ctor_set(x_48, 8, x_42);
|
||||
x_49 = lean_st_ref_set(x_4, x_48, x_19);
|
||||
x_50 = lean_ctor_get(x_49, 1);
|
||||
lean_inc(x_50);
|
||||
if (lean_is_exclusive(x_49)) {
|
||||
lean_ctor_release(x_49, 0);
|
||||
lean_ctor_release(x_49, 1);
|
||||
x_51 = x_49;
|
||||
} else {
|
||||
lean_dec_ref(x_49);
|
||||
x_51 = lean_box(0);
|
||||
}
|
||||
x_52 = lean_box(0);
|
||||
if (lean_is_scalar(x_51)) {
|
||||
x_53 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_44 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0;
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc_ref(x_45);
|
||||
x_46 = lean_ctor_get(x_45, 2);
|
||||
lean_inc(x_46);
|
||||
lean_dec_ref(x_45);
|
||||
x_47 = lean_box(0);
|
||||
x_48 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_44, x_36, x_11, x_46, x_47);
|
||||
lean_dec(x_46);
|
||||
x_49 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
x_50 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_50, 0, x_48);
|
||||
lean_ctor_set(x_50, 1, x_37);
|
||||
lean_ctor_set(x_50, 2, x_38);
|
||||
lean_ctor_set(x_50, 3, x_39);
|
||||
lean_ctor_set(x_50, 4, x_40);
|
||||
lean_ctor_set(x_50, 5, x_49);
|
||||
lean_ctor_set(x_50, 6, x_41);
|
||||
lean_ctor_set(x_50, 7, x_42);
|
||||
lean_ctor_set(x_50, 8, x_43);
|
||||
x_51 = lean_st_ref_set(x_4, x_50, x_19);
|
||||
x_52 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_52);
|
||||
if (lean_is_exclusive(x_51)) {
|
||||
lean_ctor_release(x_51, 0);
|
||||
lean_ctor_release(x_51, 1);
|
||||
x_53 = x_51;
|
||||
} else {
|
||||
lean_dec_ref(x_51);
|
||||
x_53 = lean_box(0);
|
||||
}
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
lean_ctor_set(x_53, 1, x_50);
|
||||
return x_53;
|
||||
x_54 = lean_box(0);
|
||||
if (lean_is_scalar(x_53)) {
|
||||
x_55 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_55 = x_53;
|
||||
}
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_52);
|
||||
return x_55;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_54;
|
||||
uint8_t x_56;
|
||||
lean_dec_ref(x_11);
|
||||
x_54 = !lean_is_exclusive(x_13);
|
||||
if (x_54 == 0)
|
||||
x_56 = !lean_is_exclusive(x_13);
|
||||
if (x_56 == 0)
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_55 = lean_ctor_get(x_13, 1);
|
||||
x_56 = lean_ctor_get(x_13, 0);
|
||||
lean_dec(x_56);
|
||||
x_57 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_58 = 0;
|
||||
x_59 = l_Lean_MessageData_ofConstName(x_1, x_58);
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_57 = lean_ctor_get(x_13, 1);
|
||||
x_58 = lean_ctor_get(x_13, 0);
|
||||
lean_dec(x_58);
|
||||
x_59 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_60 = 0;
|
||||
x_61 = l_Lean_MessageData_ofConstName(x_1, x_60);
|
||||
lean_ctor_set_tag(x_13, 7);
|
||||
lean_ctor_set(x_13, 1, x_59);
|
||||
lean_ctor_set(x_13, 0, x_57);
|
||||
x_60 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
lean_ctor_set(x_13, 1, x_61);
|
||||
lean_ctor_set(x_13, 0, x_59);
|
||||
x_62 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
lean_ctor_set_tag(x_6, 7);
|
||||
lean_ctor_set(x_6, 1, x_60);
|
||||
lean_ctor_set(x_6, 1, x_62);
|
||||
lean_ctor_set(x_6, 0, x_13);
|
||||
x_61 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_55);
|
||||
return x_61;
|
||||
x_63 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_57);
|
||||
return x_63;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_62 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_62);
|
||||
lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_64 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_13);
|
||||
x_63 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_64 = 0;
|
||||
x_65 = l_Lean_MessageData_ofConstName(x_1, x_64);
|
||||
x_66 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_63);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
x_67 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
x_65 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_66 = 0;
|
||||
x_67 = l_Lean_MessageData_ofConstName(x_1, x_66);
|
||||
x_68 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_65);
|
||||
lean_ctor_set(x_68, 1, x_67);
|
||||
x_69 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
lean_ctor_set_tag(x_6, 7);
|
||||
lean_ctor_set(x_6, 1, x_67);
|
||||
lean_ctor_set(x_6, 0, x_66);
|
||||
x_68 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_62);
|
||||
return x_68;
|
||||
lean_ctor_set(x_6, 1, x_69);
|
||||
lean_ctor_set(x_6, 0, x_68);
|
||||
x_70 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_6, x_3, x_4, x_64);
|
||||
return x_70;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
lean_dec_ref(x_12);
|
||||
lean_dec_ref(x_11);
|
||||
x_69 = 0;
|
||||
x_70 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_71 = l_Lean_MessageData_ofConstName(x_1, x_69);
|
||||
x_71 = 0;
|
||||
x_72 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_73 = l_Lean_MessageData_ofConstName(x_1, x_71);
|
||||
lean_ctor_set_tag(x_6, 7);
|
||||
lean_ctor_set(x_6, 1, x_71);
|
||||
lean_ctor_set(x_6, 0, x_70);
|
||||
x_72 = l_Lean_Meta_Simp_registerSimproc___closed__8;
|
||||
x_73 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_6);
|
||||
lean_ctor_set(x_73, 1, x_72);
|
||||
x_74 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_73, x_3, x_4, x_9);
|
||||
return x_74;
|
||||
lean_ctor_set(x_6, 1, x_73);
|
||||
lean_ctor_set(x_6, 0, x_72);
|
||||
x_74 = l_Lean_Meta_Simp_registerSimproc___closed__8;
|
||||
x_75 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_6);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
x_76 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_75, x_3, x_4, x_9);
|
||||
return x_76;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_75 = lean_ctor_get(x_6, 0);
|
||||
x_76 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_76);
|
||||
lean_inc(x_75);
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_77 = lean_ctor_get(x_6, 0);
|
||||
x_78 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_78);
|
||||
lean_inc(x_77);
|
||||
lean_dec(x_6);
|
||||
x_77 = lean_ctor_get(x_75, 0);
|
||||
lean_inc_ref(x_77);
|
||||
lean_dec(x_75);
|
||||
x_79 = lean_ctor_get(x_77, 0);
|
||||
lean_inc_ref(x_79);
|
||||
lean_dec(x_77);
|
||||
lean_inc(x_1);
|
||||
x_78 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_registerSimproc___lam__0), 3, 2);
|
||||
lean_closure_set(x_78, 0, x_1);
|
||||
lean_closure_set(x_78, 1, x_2);
|
||||
x_79 = l_Lean_Environment_getModuleIdxFor_x3f(x_77, x_1);
|
||||
lean_dec_ref(x_77);
|
||||
if (lean_obj_tag(x_79) == 0)
|
||||
{
|
||||
lean_object* x_80; lean_object* x_81; uint8_t x_82;
|
||||
lean_inc(x_1);
|
||||
x_80 = l_Lean_Meta_Simp_isSimproc___redArg(x_1, x_4, x_76);
|
||||
x_81 = lean_ctor_get(x_80, 0);
|
||||
lean_inc(x_81);
|
||||
x_82 = lean_unbox(x_81);
|
||||
lean_dec(x_81);
|
||||
if (x_82 == 0)
|
||||
{
|
||||
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106;
|
||||
lean_dec(x_1);
|
||||
x_83 = lean_ctor_get(x_80, 1);
|
||||
lean_inc(x_83);
|
||||
lean_dec_ref(x_80);
|
||||
x_84 = lean_st_ref_take(x_4, x_83);
|
||||
x_85 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_ctor_get(x_84, 1);
|
||||
lean_inc(x_86);
|
||||
lean_dec_ref(x_84);
|
||||
x_87 = lean_ctor_get(x_85, 0);
|
||||
lean_inc_ref(x_87);
|
||||
x_88 = lean_ctor_get(x_85, 1);
|
||||
lean_inc(x_88);
|
||||
x_89 = lean_ctor_get(x_85, 2);
|
||||
lean_inc_ref(x_89);
|
||||
x_90 = lean_ctor_get(x_85, 3);
|
||||
lean_inc_ref(x_90);
|
||||
x_91 = lean_ctor_get(x_85, 4);
|
||||
lean_inc_ref(x_91);
|
||||
x_92 = lean_ctor_get(x_85, 6);
|
||||
lean_inc_ref(x_92);
|
||||
x_93 = lean_ctor_get(x_85, 7);
|
||||
lean_inc_ref(x_93);
|
||||
x_94 = lean_ctor_get(x_85, 8);
|
||||
lean_inc_ref(x_94);
|
||||
if (lean_is_exclusive(x_85)) {
|
||||
lean_ctor_release(x_85, 0);
|
||||
lean_ctor_release(x_85, 1);
|
||||
lean_ctor_release(x_85, 2);
|
||||
lean_ctor_release(x_85, 3);
|
||||
lean_ctor_release(x_85, 4);
|
||||
lean_ctor_release(x_85, 5);
|
||||
lean_ctor_release(x_85, 6);
|
||||
lean_ctor_release(x_85, 7);
|
||||
lean_ctor_release(x_85, 8);
|
||||
x_95 = x_85;
|
||||
} else {
|
||||
lean_dec_ref(x_85);
|
||||
x_95 = lean_box(0);
|
||||
}
|
||||
x_96 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0;
|
||||
x_97 = lean_ctor_get(x_96, 0);
|
||||
lean_inc_ref(x_97);
|
||||
x_98 = lean_ctor_get(x_97, 2);
|
||||
lean_inc(x_98);
|
||||
lean_dec_ref(x_97);
|
||||
x_99 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_96, x_87, x_78, x_98);
|
||||
lean_dec(x_98);
|
||||
x_100 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
if (lean_is_scalar(x_95)) {
|
||||
x_101 = lean_alloc_ctor(0, 9, 0);
|
||||
} else {
|
||||
x_101 = x_95;
|
||||
}
|
||||
lean_ctor_set(x_101, 0, x_99);
|
||||
lean_ctor_set(x_101, 1, x_88);
|
||||
lean_ctor_set(x_101, 2, x_89);
|
||||
lean_ctor_set(x_101, 3, x_90);
|
||||
lean_ctor_set(x_101, 4, x_91);
|
||||
lean_ctor_set(x_101, 5, x_100);
|
||||
lean_ctor_set(x_101, 6, x_92);
|
||||
lean_ctor_set(x_101, 7, x_93);
|
||||
lean_ctor_set(x_101, 8, x_94);
|
||||
x_102 = lean_st_ref_set(x_4, x_101, x_86);
|
||||
x_103 = lean_ctor_get(x_102, 1);
|
||||
lean_inc(x_103);
|
||||
if (lean_is_exclusive(x_102)) {
|
||||
lean_ctor_release(x_102, 0);
|
||||
lean_ctor_release(x_102, 1);
|
||||
x_104 = x_102;
|
||||
} else {
|
||||
lean_dec_ref(x_102);
|
||||
x_104 = lean_box(0);
|
||||
}
|
||||
x_105 = lean_box(0);
|
||||
if (lean_is_scalar(x_104)) {
|
||||
x_106 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_106 = x_104;
|
||||
}
|
||||
lean_ctor_set(x_106, 0, x_105);
|
||||
lean_ctor_set(x_106, 1, x_103);
|
||||
return x_106;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115;
|
||||
lean_dec_ref(x_78);
|
||||
x_107 = lean_ctor_get(x_80, 1);
|
||||
lean_inc(x_107);
|
||||
if (lean_is_exclusive(x_80)) {
|
||||
lean_ctor_release(x_80, 0);
|
||||
lean_ctor_release(x_80, 1);
|
||||
x_108 = x_80;
|
||||
} else {
|
||||
lean_dec_ref(x_80);
|
||||
x_108 = lean_box(0);
|
||||
}
|
||||
x_109 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_110 = 0;
|
||||
x_111 = l_Lean_MessageData_ofConstName(x_1, x_110);
|
||||
if (lean_is_scalar(x_108)) {
|
||||
x_112 = lean_alloc_ctor(7, 2, 0);
|
||||
} else {
|
||||
x_112 = x_108;
|
||||
lean_ctor_set_tag(x_112, 7);
|
||||
}
|
||||
lean_ctor_set(x_112, 0, x_109);
|
||||
lean_ctor_set(x_112, 1, x_111);
|
||||
x_113 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
x_114 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_114, 0, x_112);
|
||||
lean_ctor_set(x_114, 1, x_113);
|
||||
x_115 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_114, x_3, x_4, x_107);
|
||||
return x_115;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
x_80 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_registerSimproc___lam__0), 3, 2);
|
||||
lean_closure_set(x_80, 0, x_1);
|
||||
lean_closure_set(x_80, 1, x_2);
|
||||
x_81 = l_Lean_Environment_getModuleIdxFor_x3f(x_79, x_1);
|
||||
lean_dec_ref(x_79);
|
||||
lean_dec_ref(x_78);
|
||||
x_116 = 0;
|
||||
x_117 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_118 = l_Lean_MessageData_ofConstName(x_1, x_116);
|
||||
x_119 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_119, 0, x_117);
|
||||
lean_ctor_set(x_119, 1, x_118);
|
||||
x_120 = l_Lean_Meta_Simp_registerSimproc___closed__8;
|
||||
x_121 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_121, 0, x_119);
|
||||
lean_ctor_set(x_121, 1, x_120);
|
||||
x_122 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_121, x_3, x_4, x_76);
|
||||
return x_122;
|
||||
if (lean_obj_tag(x_81) == 0)
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; uint8_t x_84;
|
||||
lean_inc(x_1);
|
||||
x_82 = l_Lean_Meta_Simp_isSimproc___redArg(x_1, x_4, x_78);
|
||||
x_83 = lean_ctor_get(x_82, 0);
|
||||
lean_inc(x_83);
|
||||
x_84 = lean_unbox(x_83);
|
||||
lean_dec(x_83);
|
||||
if (x_84 == 0)
|
||||
{
|
||||
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
lean_dec(x_1);
|
||||
x_85 = lean_ctor_get(x_82, 1);
|
||||
lean_inc(x_85);
|
||||
lean_dec_ref(x_82);
|
||||
x_86 = lean_st_ref_take(x_4, x_85);
|
||||
x_87 = lean_ctor_get(x_86, 0);
|
||||
lean_inc(x_87);
|
||||
x_88 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_88);
|
||||
lean_dec_ref(x_86);
|
||||
x_89 = lean_ctor_get(x_87, 0);
|
||||
lean_inc_ref(x_89);
|
||||
x_90 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_ctor_get(x_87, 2);
|
||||
lean_inc_ref(x_91);
|
||||
x_92 = lean_ctor_get(x_87, 3);
|
||||
lean_inc_ref(x_92);
|
||||
x_93 = lean_ctor_get(x_87, 4);
|
||||
lean_inc_ref(x_93);
|
||||
x_94 = lean_ctor_get(x_87, 6);
|
||||
lean_inc_ref(x_94);
|
||||
x_95 = lean_ctor_get(x_87, 7);
|
||||
lean_inc_ref(x_95);
|
||||
x_96 = lean_ctor_get(x_87, 8);
|
||||
lean_inc_ref(x_96);
|
||||
if (lean_is_exclusive(x_87)) {
|
||||
lean_ctor_release(x_87, 0);
|
||||
lean_ctor_release(x_87, 1);
|
||||
lean_ctor_release(x_87, 2);
|
||||
lean_ctor_release(x_87, 3);
|
||||
lean_ctor_release(x_87, 4);
|
||||
lean_ctor_release(x_87, 5);
|
||||
lean_ctor_release(x_87, 6);
|
||||
lean_ctor_release(x_87, 7);
|
||||
lean_ctor_release(x_87, 8);
|
||||
x_97 = x_87;
|
||||
} else {
|
||||
lean_dec_ref(x_87);
|
||||
x_97 = lean_box(0);
|
||||
}
|
||||
x_98 = l_Lean_Meta_Simp_getSimprocDeclKeys_x3f___redArg___closed__0;
|
||||
x_99 = lean_ctor_get(x_98, 0);
|
||||
lean_inc_ref(x_99);
|
||||
x_100 = lean_ctor_get(x_99, 2);
|
||||
lean_inc(x_100);
|
||||
lean_dec_ref(x_99);
|
||||
x_101 = lean_box(0);
|
||||
x_102 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_98, x_89, x_80, x_100, x_101);
|
||||
lean_dec(x_100);
|
||||
x_103 = l_Lean_Meta_Simp_registerSimproc___closed__2;
|
||||
if (lean_is_scalar(x_97)) {
|
||||
x_104 = lean_alloc_ctor(0, 9, 0);
|
||||
} else {
|
||||
x_104 = x_97;
|
||||
}
|
||||
lean_ctor_set(x_104, 0, x_102);
|
||||
lean_ctor_set(x_104, 1, x_90);
|
||||
lean_ctor_set(x_104, 2, x_91);
|
||||
lean_ctor_set(x_104, 3, x_92);
|
||||
lean_ctor_set(x_104, 4, x_93);
|
||||
lean_ctor_set(x_104, 5, x_103);
|
||||
lean_ctor_set(x_104, 6, x_94);
|
||||
lean_ctor_set(x_104, 7, x_95);
|
||||
lean_ctor_set(x_104, 8, x_96);
|
||||
x_105 = lean_st_ref_set(x_4, x_104, x_88);
|
||||
x_106 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_106);
|
||||
if (lean_is_exclusive(x_105)) {
|
||||
lean_ctor_release(x_105, 0);
|
||||
lean_ctor_release(x_105, 1);
|
||||
x_107 = x_105;
|
||||
} else {
|
||||
lean_dec_ref(x_105);
|
||||
x_107 = lean_box(0);
|
||||
}
|
||||
x_108 = lean_box(0);
|
||||
if (lean_is_scalar(x_107)) {
|
||||
x_109 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_109 = x_107;
|
||||
}
|
||||
lean_ctor_set(x_109, 0, x_108);
|
||||
lean_ctor_set(x_109, 1, x_106);
|
||||
return x_109;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
lean_dec_ref(x_80);
|
||||
x_110 = lean_ctor_get(x_82, 1);
|
||||
lean_inc(x_110);
|
||||
if (lean_is_exclusive(x_82)) {
|
||||
lean_ctor_release(x_82, 0);
|
||||
lean_ctor_release(x_82, 1);
|
||||
x_111 = x_82;
|
||||
} else {
|
||||
lean_dec_ref(x_82);
|
||||
x_111 = lean_box(0);
|
||||
}
|
||||
x_112 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_113 = 0;
|
||||
x_114 = l_Lean_MessageData_ofConstName(x_1, x_113);
|
||||
if (lean_is_scalar(x_111)) {
|
||||
x_115 = lean_alloc_ctor(7, 2, 0);
|
||||
} else {
|
||||
x_115 = x_111;
|
||||
lean_ctor_set_tag(x_115, 7);
|
||||
}
|
||||
lean_ctor_set(x_115, 0, x_112);
|
||||
lean_ctor_set(x_115, 1, x_114);
|
||||
x_116 = l_Lean_Meta_Simp_registerSimproc___closed__6;
|
||||
x_117 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_115);
|
||||
lean_ctor_set(x_117, 1, x_116);
|
||||
x_118 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_117, x_3, x_4, x_110);
|
||||
return x_118;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125;
|
||||
lean_dec_ref(x_81);
|
||||
lean_dec_ref(x_80);
|
||||
x_119 = 0;
|
||||
x_120 = l_Lean_Meta_Simp_registerSimproc___closed__4;
|
||||
x_121 = l_Lean_MessageData_ofConstName(x_1, x_119);
|
||||
x_122 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_120);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
x_123 = l_Lean_Meta_Simp_registerSimproc___closed__8;
|
||||
x_124 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_124, 0, x_122);
|
||||
lean_ctor_set(x_124, 1, x_123);
|
||||
x_125 = l_Lean_throwError___at___Lean_Meta_Simp_registerSimproc_spec__0___redArg(x_124, x_3, x_4, x_78);
|
||||
return x_125;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18828,8 +18831,8 @@ x_149 = lean_ctor_get(x_146, 1);
|
|||
lean_inc(x_149);
|
||||
lean_dec_ref(x_146);
|
||||
x_24 = x_149;
|
||||
x_25 = x_143;
|
||||
x_26 = x_148;
|
||||
x_25 = x_148;
|
||||
x_26 = x_143;
|
||||
x_27 = x_4;
|
||||
goto block_34;
|
||||
}
|
||||
|
|
@ -18842,8 +18845,8 @@ x_151 = lean_ctor_get(x_146, 1);
|
|||
lean_inc(x_151);
|
||||
lean_dec_ref(x_146);
|
||||
x_24 = x_151;
|
||||
x_25 = x_143;
|
||||
x_26 = x_150;
|
||||
x_25 = x_150;
|
||||
x_26 = x_143;
|
||||
x_27 = x_145;
|
||||
goto block_34;
|
||||
}
|
||||
|
|
@ -18940,9 +18943,9 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean
|
|||
x_28 = lean_box(x_3);
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_26);
|
||||
lean_ctor_set(x_29, 1, x_25);
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_25);
|
||||
lean_ctor_set(x_30, 0, x_26);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
x_31 = lean_box(x_27);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
|
|||
611
stage0/stdlib/Lean/Parser/Command.c
generated
611
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
44
stage0/stdlib/Lean/ScopedEnvExtension.c
generated
44
stage0/stdlib/Lean/ScopedEnvExtension.c
generated
|
|
@ -237,7 +237,7 @@ LEAN_EXPORT lean_object* l_Lean_stateStackModify(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_PersistentArray_forInAux___at___Lean_PersistentArray_forIn___at___Lean_ScopedEnvExtension_activateScoped_spec__0_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_activateScoped___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedEnvExtension_default(lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedScopedEnvExtension_default___redArg___lam__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_ScopedEnvExtension_addImportedFn_spec__1___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at___Lean_SMap_insert___at___Lean_ScopedEnvExtension_ScopedEntries_insert_spec__6_spec__11_spec__12_spec__12(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4793,14 +4793,15 @@ return x_22;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_pushScope___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_pushScope___redArg___lam__0), 1, 0);
|
||||
x_5 = lean_box(1);
|
||||
x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5);
|
||||
return x_6;
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_pushScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -4862,14 +4863,15 @@ return x_8;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_popScope___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_popScope___redArg___lam__0), 1, 0);
|
||||
x_5 = lean_box(1);
|
||||
x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5);
|
||||
return x_6;
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_popScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -5024,14 +5026,15 @@ return x_31;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_setDelimitsLocal___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_setDelimitsLocal___redArg___lam__0), 1, 0);
|
||||
x_5 = lean_box(1);
|
||||
x_6 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5);
|
||||
return x_6;
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_3, x_2, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_setDelimitsLocal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -5297,15 +5300,16 @@ return x_11;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_addLocalEntry___redArg___lam__0), 3, 2);
|
||||
lean_closure_set(x_5, 0, x_1);
|
||||
lean_closure_set(x_5, 1, x_3);
|
||||
x_6 = lean_box(1);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6);
|
||||
return x_7;
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_addLocalEntry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
|
|
@ -6312,15 +6316,16 @@ return x_12;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_activateScoped___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_4);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_activateScoped___redArg___lam__0), 3, 2);
|
||||
lean_closure_set(x_5, 0, x_3);
|
||||
lean_closure_set(x_5, 1, x_1);
|
||||
x_6 = lean_box(1);
|
||||
x_7 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6);
|
||||
return x_7;
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_5, x_6, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_activateScoped(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
|
|
@ -6630,7 +6635,7 @@ return x_36;
|
|||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_modifyState___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
|
|
@ -6639,9 +6644,10 @@ x_6 = lean_ctor_get(x_5, 2);
|
|||
lean_inc(x_6);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_ScopedEnvExtension_modifyState___redArg___lam__0), 2, 1);
|
||||
lean_closure_set(x_7, 0, x_3);
|
||||
x_8 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_7, x_6);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l_Lean_PersistentEnvExtension_modifyState___redArg(x_4, x_2, x_7, x_6, x_8);
|
||||
lean_dec(x_6);
|
||||
return x_8;
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_modifyState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue