chore: update stage0
This commit is contained in:
parent
55db56f80d
commit
5f0def2edf
10 changed files with 1703 additions and 952 deletions
2
stage0/src/Lean/Elab/Command.lean
generated
2
stage0/src/Lean/Elab/Command.lean
generated
|
|
@ -26,6 +26,8 @@ structure Scope where
|
|||
varDecls : Array Syntax := #[]
|
||||
/-- Globally unique internal identifiers for the `varDecls` -/
|
||||
varUIds : Array Name := #[]
|
||||
/-- noncomputable sections automatically add the `noncomputable` modifier to any declaration we cannot generate code for. -/
|
||||
isNoncomputable : Bool := false
|
||||
deriving Inhabited
|
||||
|
||||
structure State where
|
||||
|
|
|
|||
1
stage0/src/Lean/Parser/Command.lean
generated
1
stage0/src/Lean/Parser/Command.lean
generated
|
|
@ -93,6 +93,7 @@ def «structure» := leading_parser
|
|||
@[builtinCommandParser] def declaration := leading_parser
|
||||
declModifiers false >> («abbrev» <|> «def» <|> «theorem» <|> «constant» <|> «instance» <|> «axiom» <|> «example» <|> «inductive» <|> classInductive <|> «structure»)
|
||||
@[builtinCommandParser] def «deriving» := leading_parser "deriving " >> "instance " >> derivingClasses >> " for " >> sepBy1 ident ", "
|
||||
@[builtinCommandParser] def noncomputableSection := leading_parser "noncomputable " >> "section " >> optional ident
|
||||
@[builtinCommandParser] def «section» := leading_parser "section " >> optional ident
|
||||
@[builtinCommandParser] def «namespace» := leading_parser "namespace " >> ident
|
||||
@[builtinCommandParser] def «end» := leading_parser "end " >> optional ident
|
||||
|
|
|
|||
12
stage0/src/runtime/process.cpp
generated
12
stage0/src/runtime/process.cpp
generated
|
|
@ -59,8 +59,12 @@ lean_object * wrap_win_handle(HANDLE h) {
|
|||
extern "C" LEAN_EXPORT obj_res lean_io_process_child_wait(b_obj_arg, b_obj_arg child, obj_arg) {
|
||||
HANDLE h = static_cast<HANDLE>(lean_get_external_data(cnstr_get(child, 3)));
|
||||
DWORD exit_code;
|
||||
WaitForSingleObject(h, INFINITE);
|
||||
GetExitCodeProcess(h, &exit_code);
|
||||
if (WaitForSingleObject(h, INFINITE) == WAIT_FAILED) {
|
||||
return io_result_mk_error((sstream() << GetLastError()).str());
|
||||
}
|
||||
if (!GetExitCodeProcess(h, &exit_code)) {
|
||||
return io_result_mk_error((sstream() << GetLastError()).str());
|
||||
}
|
||||
return lean_io_result_mk_ok(box_uint32(exit_code));
|
||||
}
|
||||
|
||||
|
|
@ -221,7 +225,9 @@ extern "C" LEAN_EXPORT obj_res lean_io_process_child_wait(b_obj_arg, b_obj_arg c
|
|||
static_assert(sizeof(pid_t) == sizeof(uint32), "pid_t is expected to be a 32-bit type"); // NOLINT
|
||||
pid_t pid = cnstr_get_uint32(child, 3 * sizeof(object *));
|
||||
int status;
|
||||
waitpid(pid, &status, 0);
|
||||
if (waitpid(pid, &status, 0) == -1) {
|
||||
return io_result_mk_error(decode_io_error(errno, nullptr));
|
||||
}
|
||||
if (WIFEXITED(status)) {
|
||||
return lean_io_result_mk_ok(box_uint32(static_cast<unsigned>(WEXITSTATUS(status))));
|
||||
} else {
|
||||
|
|
|
|||
346
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
346
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
|
|
@ -1570,12 +1570,13 @@ return x_29;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_30 = lean_ctor_get(x_14, 1);
|
||||
x_31 = lean_ctor_get(x_14, 3);
|
||||
x_32 = lean_ctor_get(x_14, 4);
|
||||
x_33 = lean_ctor_get(x_14, 5);
|
||||
x_34 = lean_ctor_get(x_14, 6);
|
||||
x_35 = lean_ctor_get_uint8(x_14, sizeof(void*)*7);
|
||||
lean_inc(x_34);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
|
|
@ -1583,73 +1584,75 @@ lean_inc(x_31);
|
|||
lean_inc(x_30);
|
||||
lean_dec(x_14);
|
||||
lean_inc(x_3);
|
||||
x_35 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_35, 0, x_2);
|
||||
lean_ctor_set(x_35, 1, x_30);
|
||||
lean_ctor_set(x_35, 2, x_3);
|
||||
lean_ctor_set(x_35, 3, x_31);
|
||||
lean_ctor_set(x_35, 4, x_32);
|
||||
lean_ctor_set(x_35, 5, x_33);
|
||||
lean_ctor_set(x_35, 6, x_34);
|
||||
x_36 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
lean_ctor_set(x_36, 1, x_12);
|
||||
lean_ctor_set(x_8, 2, x_36);
|
||||
x_36 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_36, 0, x_2);
|
||||
lean_ctor_set(x_36, 1, x_30);
|
||||
lean_ctor_set(x_36, 2, x_3);
|
||||
lean_ctor_set(x_36, 3, x_31);
|
||||
lean_ctor_set(x_36, 4, x_32);
|
||||
lean_ctor_set(x_36, 5, x_33);
|
||||
lean_ctor_set(x_36, 6, x_34);
|
||||
lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_35);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_12);
|
||||
lean_ctor_set(x_8, 2, x_37);
|
||||
lean_ctor_set(x_8, 0, x_13);
|
||||
x_37 = lean_st_ref_set(x_5, x_8, x_9);
|
||||
x_38 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_37);
|
||||
x_39 = l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1(x_4, x_5, x_38);
|
||||
x_38 = lean_st_ref_set(x_5, x_8, x_9);
|
||||
x_39 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_38);
|
||||
x_40 = l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1(x_4, x_5, x_39);
|
||||
if (x_1 == 0)
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_40 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_40);
|
||||
if (lean_is_exclusive(x_39)) {
|
||||
lean_ctor_release(x_39, 0);
|
||||
lean_ctor_release(x_39, 1);
|
||||
x_41 = x_39;
|
||||
x_41 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_41);
|
||||
if (lean_is_exclusive(x_40)) {
|
||||
lean_ctor_release(x_40, 0);
|
||||
lean_ctor_release(x_40, 1);
|
||||
x_42 = x_40;
|
||||
} else {
|
||||
lean_dec_ref(x_39);
|
||||
x_41 = lean_box(0);
|
||||
lean_dec_ref(x_40);
|
||||
x_42 = lean_box(0);
|
||||
}
|
||||
x_42 = lean_box(0);
|
||||
if (lean_is_scalar(x_41)) {
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
x_43 = lean_box(0);
|
||||
if (lean_is_scalar(x_42)) {
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_43 = x_41;
|
||||
x_44 = x_42;
|
||||
}
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_40);
|
||||
return x_43;
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_41);
|
||||
return x_44;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_39);
|
||||
x_45 = l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3(x_3, x_4, x_5, x_44);
|
||||
lean_object* x_45; lean_object* x_46;
|
||||
x_45 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_40);
|
||||
x_46 = l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3(x_3, x_4, x_5, x_45);
|
||||
lean_dec(x_4);
|
||||
return x_45;
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_46 = lean_ctor_get(x_8, 0);
|
||||
x_47 = lean_ctor_get(x_8, 1);
|
||||
x_48 = lean_ctor_get(x_8, 2);
|
||||
x_49 = lean_ctor_get(x_8, 3);
|
||||
x_50 = lean_ctor_get(x_8, 4);
|
||||
x_51 = lean_ctor_get(x_8, 5);
|
||||
x_52 = lean_ctor_get(x_8, 6);
|
||||
x_53 = lean_ctor_get(x_8, 7);
|
||||
x_54 = lean_ctor_get(x_8, 8);
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_47 = lean_ctor_get(x_8, 0);
|
||||
x_48 = lean_ctor_get(x_8, 1);
|
||||
x_49 = lean_ctor_get(x_8, 2);
|
||||
x_50 = lean_ctor_get(x_8, 3);
|
||||
x_51 = lean_ctor_get(x_8, 4);
|
||||
x_52 = lean_ctor_get(x_8, 5);
|
||||
x_53 = lean_ctor_get(x_8, 6);
|
||||
x_54 = lean_ctor_get(x_8, 7);
|
||||
x_55 = lean_ctor_get(x_8, 8);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
|
|
@ -1658,100 +1661,101 @@ lean_inc(x_50);
|
|||
lean_inc(x_49);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_3);
|
||||
x_55 = l_Lean_Environment_registerNamespace(x_46, x_3);
|
||||
lean_inc(x_48);
|
||||
x_56 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_48);
|
||||
x_57 = lean_ctor_get(x_56, 1);
|
||||
lean_inc(x_57);
|
||||
x_58 = lean_ctor_get(x_56, 3);
|
||||
x_56 = l_Lean_Environment_registerNamespace(x_47, x_3);
|
||||
lean_inc(x_49);
|
||||
x_57 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_49);
|
||||
x_58 = lean_ctor_get(x_57, 1);
|
||||
lean_inc(x_58);
|
||||
x_59 = lean_ctor_get(x_56, 4);
|
||||
x_59 = lean_ctor_get(x_57, 3);
|
||||
lean_inc(x_59);
|
||||
x_60 = lean_ctor_get(x_56, 5);
|
||||
x_60 = lean_ctor_get(x_57, 4);
|
||||
lean_inc(x_60);
|
||||
x_61 = lean_ctor_get(x_56, 6);
|
||||
x_61 = lean_ctor_get(x_57, 5);
|
||||
lean_inc(x_61);
|
||||
if (lean_is_exclusive(x_56)) {
|
||||
lean_ctor_release(x_56, 0);
|
||||
lean_ctor_release(x_56, 1);
|
||||
lean_ctor_release(x_56, 2);
|
||||
lean_ctor_release(x_56, 3);
|
||||
lean_ctor_release(x_56, 4);
|
||||
lean_ctor_release(x_56, 5);
|
||||
lean_ctor_release(x_56, 6);
|
||||
x_62 = x_56;
|
||||
x_62 = lean_ctor_get(x_57, 6);
|
||||
lean_inc(x_62);
|
||||
x_63 = lean_ctor_get_uint8(x_57, sizeof(void*)*7);
|
||||
if (lean_is_exclusive(x_57)) {
|
||||
lean_ctor_release(x_57, 0);
|
||||
lean_ctor_release(x_57, 1);
|
||||
lean_ctor_release(x_57, 2);
|
||||
lean_ctor_release(x_57, 3);
|
||||
lean_ctor_release(x_57, 4);
|
||||
lean_ctor_release(x_57, 5);
|
||||
lean_ctor_release(x_57, 6);
|
||||
x_64 = x_57;
|
||||
} else {
|
||||
lean_dec_ref(x_56);
|
||||
x_62 = lean_box(0);
|
||||
lean_dec_ref(x_57);
|
||||
x_64 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_3);
|
||||
if (lean_is_scalar(x_62)) {
|
||||
x_63 = lean_alloc_ctor(0, 7, 0);
|
||||
if (lean_is_scalar(x_64)) {
|
||||
x_65 = lean_alloc_ctor(0, 7, 1);
|
||||
} else {
|
||||
x_63 = x_62;
|
||||
x_65 = x_64;
|
||||
}
|
||||
lean_ctor_set(x_63, 0, x_2);
|
||||
lean_ctor_set(x_63, 1, x_57);
|
||||
lean_ctor_set(x_63, 2, x_3);
|
||||
lean_ctor_set(x_63, 3, x_58);
|
||||
lean_ctor_set(x_63, 4, x_59);
|
||||
lean_ctor_set(x_63, 5, x_60);
|
||||
lean_ctor_set(x_63, 6, x_61);
|
||||
x_64 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_63);
|
||||
lean_ctor_set(x_64, 1, x_48);
|
||||
x_65 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_65, 0, x_55);
|
||||
lean_ctor_set(x_65, 1, x_47);
|
||||
lean_ctor_set(x_65, 2, x_64);
|
||||
lean_ctor_set(x_65, 3, x_49);
|
||||
lean_ctor_set(x_65, 4, x_50);
|
||||
lean_ctor_set(x_65, 5, x_51);
|
||||
lean_ctor_set(x_65, 6, x_52);
|
||||
lean_ctor_set(x_65, 7, x_53);
|
||||
lean_ctor_set(x_65, 8, x_54);
|
||||
x_66 = lean_st_ref_set(x_5, x_65, x_9);
|
||||
x_67 = lean_ctor_get(x_66, 1);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_66);
|
||||
x_68 = l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1(x_4, x_5, x_67);
|
||||
if (x_1 == 0)
|
||||
{
|
||||
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_65, 0, x_2);
|
||||
lean_ctor_set(x_65, 1, x_58);
|
||||
lean_ctor_set(x_65, 2, x_3);
|
||||
lean_ctor_set(x_65, 3, x_59);
|
||||
lean_ctor_set(x_65, 4, x_60);
|
||||
lean_ctor_set(x_65, 5, x_61);
|
||||
lean_ctor_set(x_65, 6, x_62);
|
||||
lean_ctor_set_uint8(x_65, sizeof(void*)*7, x_63);
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_49);
|
||||
x_67 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_67, 0, x_56);
|
||||
lean_ctor_set(x_67, 1, x_48);
|
||||
lean_ctor_set(x_67, 2, x_66);
|
||||
lean_ctor_set(x_67, 3, x_50);
|
||||
lean_ctor_set(x_67, 4, x_51);
|
||||
lean_ctor_set(x_67, 5, x_52);
|
||||
lean_ctor_set(x_67, 6, x_53);
|
||||
lean_ctor_set(x_67, 7, x_54);
|
||||
lean_ctor_set(x_67, 8, x_55);
|
||||
x_68 = lean_st_ref_set(x_5, x_67, x_9);
|
||||
x_69 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_69);
|
||||
if (lean_is_exclusive(x_68)) {
|
||||
lean_ctor_release(x_68, 0);
|
||||
lean_ctor_release(x_68, 1);
|
||||
x_70 = x_68;
|
||||
} else {
|
||||
lean_dec_ref(x_68);
|
||||
x_70 = lean_box(0);
|
||||
}
|
||||
x_71 = lean_box(0);
|
||||
if (lean_is_scalar(x_70)) {
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
lean_dec(x_68);
|
||||
x_70 = l_Lean_pushScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__1(x_4, x_5, x_69);
|
||||
if (x_1 == 0)
|
||||
{
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_71 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_71);
|
||||
if (lean_is_exclusive(x_70)) {
|
||||
lean_ctor_release(x_70, 0);
|
||||
lean_ctor_release(x_70, 1);
|
||||
x_72 = x_70;
|
||||
} else {
|
||||
lean_dec_ref(x_70);
|
||||
x_72 = lean_box(0);
|
||||
}
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
lean_ctor_set(x_72, 1, x_69);
|
||||
return x_72;
|
||||
x_73 = lean_box(0);
|
||||
if (lean_is_scalar(x_72)) {
|
||||
x_74 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_74 = x_72;
|
||||
}
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_71);
|
||||
return x_74;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74;
|
||||
x_73 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_68);
|
||||
x_74 = l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3(x_3, x_4, x_5, x_73);
|
||||
lean_object* x_75; lean_object* x_76;
|
||||
x_75 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_75);
|
||||
lean_dec(x_70);
|
||||
x_76 = l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3(x_3, x_4, x_5, x_75);
|
||||
lean_dec(x_4);
|
||||
return x_74;
|
||||
return x_76;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8188,13 +8192,14 @@ return x_2;
|
|||
}
|
||||
else
|
||||
{
|
||||
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_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_2, 2);
|
||||
x_8 = lean_ctor_get(x_2, 4);
|
||||
x_9 = lean_ctor_get(x_2, 5);
|
||||
x_10 = lean_ctor_get(x_2, 6);
|
||||
x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -8202,15 +8207,16 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_11 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_11, 0, x_5);
|
||||
lean_ctor_set(x_11, 1, x_6);
|
||||
lean_ctor_set(x_11, 2, x_7);
|
||||
lean_ctor_set(x_11, 3, x_1);
|
||||
lean_ctor_set(x_11, 4, x_8);
|
||||
lean_ctor_set(x_11, 5, x_9);
|
||||
lean_ctor_set(x_11, 6, x_10);
|
||||
return x_11;
|
||||
x_12 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_12, 0, x_5);
|
||||
lean_ctor_set(x_12, 1, x_6);
|
||||
lean_ctor_set(x_12, 2, x_7);
|
||||
lean_ctor_set(x_12, 3, x_1);
|
||||
lean_ctor_set(x_12, 4, x_8);
|
||||
lean_ctor_set(x_12, 5, x_9);
|
||||
lean_ctor_set(x_12, 6, x_10);
|
||||
lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10060,13 +10066,14 @@ return x_2;
|
|||
}
|
||||
else
|
||||
{
|
||||
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_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_2, 2);
|
||||
x_8 = lean_ctor_get(x_2, 3);
|
||||
x_9 = lean_ctor_get(x_2, 4);
|
||||
x_10 = lean_ctor_get(x_2, 6);
|
||||
x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -10074,15 +10081,16 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_11 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_11, 0, x_5);
|
||||
lean_ctor_set(x_11, 1, x_6);
|
||||
lean_ctor_set(x_11, 2, x_7);
|
||||
lean_ctor_set(x_11, 3, x_8);
|
||||
lean_ctor_set(x_11, 4, x_9);
|
||||
lean_ctor_set(x_11, 5, x_1);
|
||||
lean_ctor_set(x_11, 6, x_10);
|
||||
return x_11;
|
||||
x_12 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_12, 0, x_5);
|
||||
lean_ctor_set(x_12, 1, x_6);
|
||||
lean_ctor_set(x_12, 2, x_7);
|
||||
lean_ctor_set(x_12, 3, x_8);
|
||||
lean_ctor_set(x_12, 4, x_9);
|
||||
lean_ctor_set(x_12, 5, x_1);
|
||||
lean_ctor_set(x_12, 6, x_10);
|
||||
lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10541,7 +10549,7 @@ return x_3;
|
|||
}
|
||||
else
|
||||
{
|
||||
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_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; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_9 = lean_ctor_get(x_3, 0);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
x_11 = lean_ctor_get(x_3, 2);
|
||||
|
|
@ -10549,6 +10557,7 @@ x_12 = lean_ctor_get(x_3, 3);
|
|||
x_13 = lean_ctor_get(x_3, 4);
|
||||
x_14 = lean_ctor_get(x_3, 5);
|
||||
x_15 = lean_ctor_get(x_3, 6);
|
||||
x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*7);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
|
|
@ -10557,17 +10566,18 @@ lean_inc(x_11);
|
|||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_3);
|
||||
x_16 = lean_array_push(x_14, x_1);
|
||||
x_17 = l_Array_append___rarg(x_15, x_2);
|
||||
x_18 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_18, 0, x_9);
|
||||
lean_ctor_set(x_18, 1, x_10);
|
||||
lean_ctor_set(x_18, 2, x_11);
|
||||
lean_ctor_set(x_18, 3, x_12);
|
||||
lean_ctor_set(x_18, 4, x_13);
|
||||
lean_ctor_set(x_18, 5, x_16);
|
||||
lean_ctor_set(x_18, 6, x_17);
|
||||
return x_18;
|
||||
x_17 = lean_array_push(x_14, x_1);
|
||||
x_18 = l_Array_append___rarg(x_15, x_2);
|
||||
x_19 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_19, 0, x_9);
|
||||
lean_ctor_set(x_19, 1, x_10);
|
||||
lean_ctor_set(x_19, 2, x_11);
|
||||
lean_ctor_set(x_19, 3, x_12);
|
||||
lean_ctor_set(x_19, 4, x_13);
|
||||
lean_ctor_set(x_19, 5, x_17);
|
||||
lean_ctor_set(x_19, 6, x_18);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*7, x_16);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18367,13 +18377,14 @@ return x_2;
|
|||
}
|
||||
else
|
||||
{
|
||||
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_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = lean_ctor_get(x_2, 3);
|
||||
x_8 = lean_ctor_get(x_2, 4);
|
||||
x_9 = lean_ctor_get(x_2, 5);
|
||||
x_10 = lean_ctor_get(x_2, 6);
|
||||
x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -18381,15 +18392,16 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_11 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_11, 0, x_5);
|
||||
lean_ctor_set(x_11, 1, x_1);
|
||||
lean_ctor_set(x_11, 2, x_6);
|
||||
lean_ctor_set(x_11, 3, x_7);
|
||||
lean_ctor_set(x_11, 4, x_8);
|
||||
lean_ctor_set(x_11, 5, x_9);
|
||||
lean_ctor_set(x_11, 6, x_10);
|
||||
return x_11;
|
||||
x_12 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_12, 0, x_5);
|
||||
lean_ctor_set(x_12, 1, x_1);
|
||||
lean_ctor_set(x_12, 2, x_6);
|
||||
lean_ctor_set(x_12, 3, x_7);
|
||||
lean_ctor_set(x_12, 4, x_8);
|
||||
lean_ctor_set(x_12, 5, x_9);
|
||||
lean_ctor_set(x_12, 6, x_10);
|
||||
lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
214
stage0/stdlib/Lean/Elab/Command.c
generated
214
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -38,7 +38,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDec
|
|||
static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__6;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_elabCommand___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__12;
|
||||
|
|
@ -129,6 +128,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM;
|
|||
static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_cmdPos___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_Command_Scope_isNoncomputable___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_currNamespace___default;
|
||||
static lean_object* l_Lean_Elab_Command_State_messages___default___closed__2;
|
||||
|
|
@ -154,6 +154,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM(lean_o
|
|||
static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -203,7 +204,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getV
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1;
|
||||
|
|
@ -243,6 +243,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
|
|||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2;
|
||||
lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_State_nextMacroScope___default___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1;
|
||||
static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static size_t l_Lean_Elab_Command_instInhabitedState___closed__8;
|
||||
|
|
@ -295,6 +296,7 @@ static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__16;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_varDecls___default;
|
||||
static lean_object* l_Lean_Elab_Command_elabCommand___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_openDecls___default;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_nextInstIdx___default;
|
||||
|
|
@ -332,7 +334,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Comm
|
|||
static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__6;
|
||||
|
|
@ -340,10 +341,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__3(le
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__13;
|
||||
lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_394_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1577_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_404_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1587_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032_(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_ngen___default;
|
||||
extern lean_object* l_Lean_Expr_instHashableExpr;
|
||||
|
|
@ -565,6 +566,7 @@ lean_object* lean_panic_fn(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currMacroScope___default;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -576,7 +578,6 @@ static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4;
|
|||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
||||
extern lean_object* l_Lean_Expr_instBEqExpr;
|
||||
|
|
@ -614,6 +615,7 @@ lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoB
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__8;
|
||||
|
|
@ -626,7 +628,6 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean
|
|||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_nextMacroScope___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*);
|
||||
|
|
@ -636,7 +637,6 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1;
|
||||
LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1;
|
||||
lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*);
|
||||
|
|
@ -649,6 +649,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_infoState___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -761,6 +762,14 @@ x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static uint8_t _init_l_Lean_Elab_Command_Scope_isNoncomputable___default() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1;
|
||||
x_1 = 0;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_instInhabitedScope___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -772,20 +781,22 @@ return x_1;
|
|||
static lean_object* _init_l_Lean_Elab_Command_instInhabitedScope___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1;
|
||||
x_5 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
lean_ctor_set(x_5, 1, x_1);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set(x_5, 3, x_1);
|
||||
lean_ctor_set(x_5, 4, x_1);
|
||||
lean_ctor_set(x_5, 5, x_4);
|
||||
lean_ctor_set(x_5, 6, x_4);
|
||||
return x_5;
|
||||
x_5 = 0;
|
||||
x_6 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
lean_ctor_set(x_6, 1, x_1);
|
||||
lean_ctor_set(x_6, 2, x_3);
|
||||
lean_ctor_set(x_6, 3, x_1);
|
||||
lean_ctor_set(x_6, 4, x_1);
|
||||
lean_ctor_set(x_6, 5, x_4);
|
||||
lean_ctor_set(x_6, 6, x_4);
|
||||
lean_ctor_set_uint8(x_6, sizeof(void*)*7, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_instInhabitedScope() {
|
||||
|
|
@ -1386,45 +1397,47 @@ return x_6;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkState(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; 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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_4 = lean_box(0);
|
||||
x_5 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1;
|
||||
x_8 = 0;
|
||||
lean_inc(x_3);
|
||||
x_8 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_8, 0, x_5);
|
||||
lean_ctor_set(x_8, 1, x_3);
|
||||
lean_ctor_set(x_8, 2, x_6);
|
||||
lean_ctor_set(x_8, 3, x_4);
|
||||
lean_ctor_set(x_8, 4, x_4);
|
||||
lean_ctor_set(x_8, 5, x_7);
|
||||
lean_ctor_set(x_8, 6, x_7);
|
||||
x_9 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
lean_ctor_set(x_9, 1, x_4);
|
||||
x_10 = l_Lean_maxRecDepth;
|
||||
x_11 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_245____spec__1(x_3, x_10);
|
||||
x_9 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_9, 0, x_5);
|
||||
lean_ctor_set(x_9, 1, x_3);
|
||||
lean_ctor_set(x_9, 2, x_6);
|
||||
lean_ctor_set(x_9, 3, x_4);
|
||||
lean_ctor_set(x_9, 4, x_4);
|
||||
lean_ctor_set(x_9, 5, x_7);
|
||||
lean_ctor_set(x_9, 6, x_7);
|
||||
lean_ctor_set_uint8(x_9, sizeof(void*)*7, x_8);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_4);
|
||||
x_11 = l_Lean_maxRecDepth;
|
||||
x_12 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_245____spec__1(x_3, x_11);
|
||||
lean_dec(x_3);
|
||||
x_12 = l_Lean_Elab_Command_State_nextMacroScope___default___closed__1;
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
x_14 = l_Lean_Elab_Command_State_ngen___default___closed__3;
|
||||
x_15 = l_Lean_Elab_Command_State_infoState___default___closed__4;
|
||||
x_16 = l_Lean_Elab_Command_State_traceState___default___closed__1;
|
||||
x_17 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_17, 0, x_1);
|
||||
lean_ctor_set(x_17, 1, x_2);
|
||||
lean_ctor_set(x_17, 2, x_9);
|
||||
lean_ctor_set(x_17, 3, x_12);
|
||||
lean_ctor_set(x_17, 4, x_11);
|
||||
lean_ctor_set(x_17, 5, x_13);
|
||||
lean_ctor_set(x_17, 6, x_14);
|
||||
lean_ctor_set(x_17, 7, x_15);
|
||||
lean_ctor_set(x_17, 8, x_16);
|
||||
return x_17;
|
||||
x_13 = l_Lean_Elab_Command_State_nextMacroScope___default___closed__1;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Elab_Command_State_ngen___default___closed__3;
|
||||
x_16 = l_Lean_Elab_Command_State_infoState___default___closed__4;
|
||||
x_17 = l_Lean_Elab_Command_State_traceState___default___closed__1;
|
||||
x_18 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_18, 0, x_1);
|
||||
lean_ctor_set(x_18, 1, x_2);
|
||||
lean_ctor_set(x_18, 2, x_10);
|
||||
lean_ctor_set(x_18, 3, x_13);
|
||||
lean_ctor_set(x_18, 4, x_12);
|
||||
lean_ctor_set(x_18, 5, x_14);
|
||||
lean_ctor_set(x_18, 6, x_15);
|
||||
lean_ctor_set(x_18, 7, x_16);
|
||||
lean_ctor_set(x_18, 8, x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_394_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_404_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -6196,7 +6209,7 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1577_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1587_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -9170,7 +9183,7 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9178,17 +9191,17 @@ x_1 = lean_mk_string("showPartialSyntaxErrors");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9196,13 +9209,13 @@ x_1 = lean_mk_string("show elaboration errors from partial syntax trees (i.e. af
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 0;
|
||||
x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
|
|
@ -9211,12 +9224,12 @@ lean_ctor_set(x_5, 2, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4;
|
||||
x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -9577,7 +9590,7 @@ return x_86;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -9587,21 +9600,21 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -11714,7 +11727,7 @@ if (x_8 == 0)
|
|||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2;
|
||||
x_9 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2;
|
||||
lean_inc(x_1);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4), 6, 3);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
|
|
@ -12236,7 +12249,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13104,7 +13117,7 @@ static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1;
|
||||
x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -18749,7 +18762,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Elab_Command_modifyScope___closed__1;
|
||||
x_2 = l_Lean_Elab_Command_modifyScope___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(408u);
|
||||
x_3 = lean_unsigned_to_nat(410u);
|
||||
x_4 = lean_unsigned_to_nat(16u);
|
||||
x_5 = l_Lean_Elab_Command_modifyScope___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -19871,7 +19884,7 @@ return x_2;
|
|||
}
|
||||
else
|
||||
{
|
||||
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_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; uint8_t x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
x_8 = lean_ctor_get(x_2, 2);
|
||||
|
|
@ -19879,6 +19892,7 @@ x_9 = lean_ctor_get(x_2, 3);
|
|||
x_10 = lean_ctor_get(x_2, 4);
|
||||
x_11 = lean_ctor_get(x_2, 5);
|
||||
x_12 = lean_ctor_get(x_2, 6);
|
||||
x_13 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
|
|
@ -19887,18 +19901,19 @@ lean_inc(x_8);
|
|||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_2);
|
||||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_1);
|
||||
lean_ctor_set(x_13, 1, x_10);
|
||||
x_14 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_14, 0, x_6);
|
||||
lean_ctor_set(x_14, 1, x_7);
|
||||
lean_ctor_set(x_14, 2, x_8);
|
||||
lean_ctor_set(x_14, 3, x_9);
|
||||
lean_ctor_set(x_14, 4, x_13);
|
||||
lean_ctor_set(x_14, 5, x_11);
|
||||
lean_ctor_set(x_14, 6, x_12);
|
||||
return x_14;
|
||||
x_14 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_1);
|
||||
lean_ctor_set(x_14, 1, x_10);
|
||||
x_15 = lean_alloc_ctor(0, 7, 1);
|
||||
lean_ctor_set(x_15, 0, x_6);
|
||||
lean_ctor_set(x_15, 1, x_7);
|
||||
lean_ctor_set(x_15, 2, x_8);
|
||||
lean_ctor_set(x_15, 3, x_9);
|
||||
lean_ctor_set(x_15, 4, x_14);
|
||||
lean_ctor_set(x_15, 5, x_11);
|
||||
lean_ctor_set(x_15, 6, x_12);
|
||||
lean_ctor_set_uint8(x_15, sizeof(void*)*7, x_13);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -22090,6 +22105,7 @@ l_Lean_Elab_Command_Scope_varDecls___default = _init_l_Lean_Elab_Command_Scope_v
|
|||
lean_mark_persistent(l_Lean_Elab_Command_Scope_varDecls___default);
|
||||
l_Lean_Elab_Command_Scope_varUIds___default = _init_l_Lean_Elab_Command_Scope_varUIds___default();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_Scope_varUIds___default);
|
||||
l_Lean_Elab_Command_Scope_isNoncomputable___default = _init_l_Lean_Elab_Command_Scope_isNoncomputable___default();
|
||||
l_Lean_Elab_Command_instInhabitedScope___closed__1 = _init_l_Lean_Elab_Command_instInhabitedScope___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instInhabitedScope___closed__1);
|
||||
l_Lean_Elab_Command_instInhabitedScope___closed__2 = _init_l_Lean_Elab_Command_instInhabitedScope___closed__2();
|
||||
|
|
@ -22186,7 +22202,7 @@ l_Lean_Elab_Command_instMonadCommandElabM___closed__6 = _init_l_Lean_Elab_Comman
|
|||
lean_mark_persistent(l_Lean_Elab_Command_instMonadCommandElabM___closed__6);
|
||||
l_Lean_Elab_Command_instMonadCommandElabM = _init_l_Lean_Elab_Command_instMonadCommandElabM();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadCommandElabM);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_394_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_404_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_lintersRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_lintersRef);
|
||||
|
|
@ -22361,7 +22377,7 @@ l_Lean_Elab_Command_commandElabAttribute___closed__15 = _init_l_Lean_Elab_Comman
|
|||
lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute___closed__15);
|
||||
l_Lean_Elab_Command_commandElabAttribute___closed__16 = _init_l_Lean_Elab_Command_commandElabAttribute___closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute___closed__16);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1577_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1587_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute);
|
||||
|
|
@ -22394,17 +22410,17 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela
|
|||
lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4);
|
||||
l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022____closed__4);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4);
|
||||
l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1 = _init_l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2022_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors);
|
||||
|
|
@ -22413,11 +22429,11 @@ l_Lean_Elab_Command_withLogging___closed__1 = _init_l_Lean_Elab_Command_withLogg
|
|||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__1);
|
||||
l_Lean_Elab_Command_withLogging___closed__2 = _init_l_Lean_Elab_Command_withLogging___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2136_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2146_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1();
|
||||
|
|
|
|||
1650
stage0/stdlib/Lean/Parser/Command.c
generated
1650
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -236,6 +236,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_i
|
|||
lean_object* l_Lean_Widget_exprToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_decodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_613____spec__4(size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___spec__8___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____closed__2;
|
||||
|
|
@ -337,7 +338,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_Inf
|
|||
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_MessageData_decodeUnsafe____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__4___closed__3;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_854____spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_MsgEmbed_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_439_(lean_object*);
|
||||
lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_MsgEmbed_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_431_(lean_object*);
|
||||
static lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__1___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____closed__5;
|
||||
|
|
@ -420,7 +421,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_i
|
|||
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__8(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__7(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___lambda__4___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_883____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1143____spec__5(lean_object*);
|
||||
|
|
@ -482,7 +482,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Lean_Widget_MsgToInteractive_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_57____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -2230,7 +2230,7 @@ lean_inc(x_22);
|
|||
x_23 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_1);
|
||||
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_MsgEmbed_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_439_(x_22);
|
||||
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_MsgEmbed_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_431_(x_22);
|
||||
x_25 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__16(x_23);
|
||||
x_26 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_246____spec__16___closed__3;
|
||||
x_27 = lean_array_push(x_26, x_24);
|
||||
|
|
|
|||
48
stage0/stdlib/Lean/Widget/InteractiveCode.c
generated
48
stage0/stdlib/Lean/Widget/InteractiveCode.c
generated
|
|
@ -26,6 +26,7 @@ static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_decodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg(lean_object*, lean_object*, size_t);
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
lean_object* l_Lean_PrettyPrinter_formatTerm(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef;
|
||||
lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__17;
|
||||
|
|
@ -47,8 +48,7 @@ lean_object* l_List_join___rarg(lean_object*);
|
|||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__3;
|
||||
lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_traverse_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181_(lean_object*);
|
||||
lean_object* l_Std_RBNode_setBlack___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encode____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_formatExplicitInfos___closed__4;
|
||||
|
|
@ -57,7 +57,9 @@ LEAN_EXPORT lean_object* l_Lean_Widget_formatInfos(lean_object*, lean_object*, l
|
|||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instRpcEncodingCodeTokenRpcEncodingPacket___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__11;
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Widget_traverse_go___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instRpcEncodingCodeTokenRpcEncodingPacket___closed__3;
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___closed__1;
|
||||
|
|
@ -65,10 +67,8 @@ lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*)
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___closed__2;
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_tagExprInfos_go___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__10;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_traverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,6 +84,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_exprToInteractive(lean_object*, lean_obje
|
|||
static uint32_t l_Lean_Widget_instInhabitedInfoWithCtx___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_CodeWithInfos_pretty(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_CodeToken_instRpcEncodingCodeTokenRpcEncodingPacket___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_Data_binderInfo(uint64_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_decode____x40_Lean_Widget_InteractiveCode___hyg_5____rarg(lean_object*, lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instToJsonRpcEncodingPacket;
|
||||
|
|
@ -97,6 +98,7 @@ static lean_object* l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpc
|
|||
static lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encode____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Widget_traverse_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_RBNode_isRed___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encode____x40_Lean_Widget_InteractiveCode___hyg_5_(lean_object*);
|
||||
|
|
@ -105,7 +107,7 @@ extern lean_object* l_Lean_KVMap_empty;
|
|||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__4;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instRpcEncodingCodeTokenRpcEncodingPacket___lambda__4(lean_object*, lean_object*, lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224_(size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216_(size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_RBMap_ofList___at_Lean_Widget_formatExplicitInfos___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Widget_formatExplicitInfos___closed__3;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
|
|
@ -127,7 +129,6 @@ static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__18;
|
|||
static lean_object* l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_CodeToken_instRpcEncodingCodeTokenRpcEncodingPacket___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_formatExplicitInfos___closed__7;
|
||||
|
|
@ -142,7 +143,6 @@ static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t);
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_decode____x40_Lean_Widget_InteractiveCode___hyg_5_(lean_object*);
|
||||
|
|
@ -661,7 +661,7 @@ x_1 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__18;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
|
|
@ -670,7 +670,7 @@ x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Dat
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -678,12 +678,12 @@ x_1 = lean_mk_string("info");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(x_1, x_2);
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -724,21 +724,21 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189_(x_1);
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -747,7 +747,7 @@ static lean_object* _init_l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEnc
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -759,12 +759,12 @@ x_1 = l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket___closed
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224_(size_t x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216_(size_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_883_(x_1);
|
||||
x_3 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1;
|
||||
x_3 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -780,13 +780,13 @@ x_9 = l_Lean_Json_mkObj(x_8);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224_(x_2);
|
||||
x_3 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216_(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -794,7 +794,7 @@ static lean_object* _init_l_Lean_Widget_Lean_Widget_CodeToken_instToJsonRpcEncod
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4793,8 +4793,8 @@ l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef
|
|||
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InfoWithCtx_instRpcEncodingWithRpcRefInfoWithCtxRpcRef);
|
||||
l_Lean_Widget_instInhabitedCodeToken = _init_l_Lean_Widget_instInhabitedCodeToken();
|
||||
lean_mark_persistent(l_Lean_Widget_instInhabitedCodeToken);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189____closed__1);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181____closed__1);
|
||||
l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket___closed__1);
|
||||
l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket = _init_l_Lean_Widget_Lean_Widget_CodeToken_instFromJsonRpcEncodingPacket();
|
||||
|
|
|
|||
366
stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c
generated
366
stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Widget/InteractiveGoal.c
generated
8
stage0/stdlib/Lean/Widget/InteractiveGoal.c
generated
|
|
@ -237,7 +237,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpc
|
|||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__29___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__1___closed__3;
|
||||
lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189_(lean_object*);
|
||||
lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__8(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_goalToInteractive___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__24(lean_object*);
|
||||
|
|
@ -577,7 +577,7 @@ LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_Interac
|
|||
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__12___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodingPacket;
|
||||
lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224_(size_t);
|
||||
lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216_(size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__13___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Widget_goalToInteractive___spec__4___closed__1;
|
||||
|
|
@ -988,7 +988,7 @@ lean_dec(x_6);
|
|||
x_15 = l_Lean_instInhabitedJson;
|
||||
x_16 = lean_unsigned_to_nat(0u);
|
||||
x_17 = lean_array_get(x_15, x_14, x_16);
|
||||
x_18 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_189_(x_17);
|
||||
x_18 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_181_(x_17);
|
||||
lean_dec(x_17);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
|
|
@ -1941,7 +1941,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_1);
|
||||
x_24 = lean_unbox_usize(x_22);
|
||||
lean_dec(x_22);
|
||||
x_25 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_224_(x_24);
|
||||
x_25 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_CodeToken_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_216_(x_24);
|
||||
x_26 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesis_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_217____spec__1(x_23);
|
||||
x_27 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesis_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_217____spec__1___closed__1;
|
||||
x_28 = lean_array_push(x_27, x_25);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue