chore: update stage0
This commit is contained in:
parent
48a9a99a97
commit
bfb981d465
8 changed files with 10897 additions and 8712 deletions
84
stage0/stdlib/Init/Notation.c
generated
84
stage0/stdlib/Init/Notation.c
generated
|
|
@ -52,6 +52,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___u2218____1__
|
|||
LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__BEq__beq__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term___u2209____1___closed__2;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__5;
|
||||
static lean_object* l_Lean_builtin__command__code__action___closed__1;
|
||||
static lean_object* l_Lean_guardMsgsSpec___closed__3;
|
||||
static lean_object* l_stx___x3c_x7c_x3e_____closed__1;
|
||||
static lean_object* l_Lean_Parser_Syntax_addPrio___closed__6;
|
||||
|
|
@ -158,6 +159,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___clo
|
|||
static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x24_x3e____1___closed__7;
|
||||
static lean_object* l_Lean_guardMsgsSpec___closed__9;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x3d____2___closed__3;
|
||||
static lean_object* l_Lean_builtin__command__code__action___closed__2;
|
||||
static lean_object* l_term___x3e_____closed__5;
|
||||
static lean_object* l_Lean_guardMsgsSpecElt___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_guardMsgsSpec;
|
||||
|
|
@ -344,6 +346,7 @@ static lean_object* l_term___x3c_x2a_x3e_____closed__4;
|
|||
static lean_object* l___aux__Init__Notation______macroRules__term___x2a_x3e____1___closed__1;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term___x2a_x3e____1___closed__5;
|
||||
static lean_object* l_term___x5e_x5e_x5e_____closed__2;
|
||||
static lean_object* l_Lean_builtin__command__code__action___closed__3;
|
||||
static lean_object* l_Lean_command__code__action___closed__6;
|
||||
static lean_object* l_Lean_runMeta___closed__1;
|
||||
static lean_object* l_Lean_guardMsgsCmd___closed__14;
|
||||
|
|
@ -862,6 +865,7 @@ static lean_object* l_term___u2209_____closed__1;
|
|||
static lean_object* l_term___x2b_x2b_____closed__6;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Syntax_addPrec___closed__14;
|
||||
static lean_object* l_Lean_builtin__command__code__action___closed__5;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3e_x3e____1___closed__3;
|
||||
static lean_object* l_prioMid___closed__1;
|
||||
static lean_object* l_term___x7c_x3e_____closed__2;
|
||||
|
|
@ -999,6 +1003,7 @@ LEAN_EXPORT lean_object* l_term___u2228__;
|
|||
LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HOr__hOr__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Tactic_caseArg___closed__2;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__SeqLeft__seqLeft__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_builtin__command__code__action;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Eq__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_term___xd7_____closed__7;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term_x2d____1___closed__2;
|
||||
|
|
@ -1431,6 +1436,7 @@ static lean_object* l_term___u2227_____closed__1;
|
|||
static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__term___x2b_x2b____1___closed__6;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__stx___x2b__1___closed__7;
|
||||
static lean_object* l_Lean_builtin__command__code__action___closed__4;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_term_x21__;
|
||||
static lean_object* l_stx___x2a___closed__1;
|
||||
|
|
@ -26753,6 +26759,72 @@ x_1 = l_Lean_command__code__action___closed__6;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("builtin_command_code_action", 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__1;
|
||||
x_2 = l_Lean_builtin__command__code__action___closed__1;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_builtin__command__code__action___closed__1;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__7;
|
||||
x_2 = l_Lean_builtin__command__code__action___closed__3;
|
||||
x_3 = l_Lean_command__code__action___closed__4;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_builtin__command__code__action___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1022u);
|
||||
x_3 = l_Lean_builtin__command__code__action___closed__4;
|
||||
x_4 = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_builtin__command__code__action() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_builtin__command__code__action___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_includeStr___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -30040,6 +30112,18 @@ l_Lean_command__code__action___closed__6 = _init_l_Lean_command__code__action___
|
|||
lean_mark_persistent(l_Lean_command__code__action___closed__6);
|
||||
l_Lean_command__code__action = _init_l_Lean_command__code__action();
|
||||
lean_mark_persistent(l_Lean_command__code__action);
|
||||
l_Lean_builtin__command__code__action___closed__1 = _init_l_Lean_builtin__command__code__action___closed__1();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action___closed__1);
|
||||
l_Lean_builtin__command__code__action___closed__2 = _init_l_Lean_builtin__command__code__action___closed__2();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action___closed__2);
|
||||
l_Lean_builtin__command__code__action___closed__3 = _init_l_Lean_builtin__command__code__action___closed__3();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action___closed__3);
|
||||
l_Lean_builtin__command__code__action___closed__4 = _init_l_Lean_builtin__command__code__action___closed__4();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action___closed__4);
|
||||
l_Lean_builtin__command__code__action___closed__5 = _init_l_Lean_builtin__command__code__action___closed__5();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action___closed__5);
|
||||
l_Lean_builtin__command__code__action = _init_l_Lean_builtin__command__code__action();
|
||||
lean_mark_persistent(l_Lean_builtin__command__code__action);
|
||||
l_Lean_includeStr___closed__1 = _init_l_Lean_includeStr___closed__1();
|
||||
lean_mark_persistent(l_Lean_includeStr___closed__1);
|
||||
l_Lean_includeStr___closed__2 = _init_l_Lean_includeStr___closed__2();
|
||||
|
|
|
|||
1312
stage0/stdlib/Lean/Data/Json/Basic.c
generated
1312
stage0/stdlib/Lean/Data/Json/Basic.c
generated
File diff suppressed because it is too large
Load diff
1659
stage0/stdlib/Lean/Data/JsonRpc.c
generated
1659
stage0/stdlib/Lean/Data/JsonRpc.c
generated
File diff suppressed because it is too large
Load diff
1850
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
1850
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
File diff suppressed because it is too large
Load diff
92
stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c
generated
92
stage0/stdlib/Lean/Elab/Tactic/Omega/Core.c
generated
|
|
@ -9359,26 +9359,19 @@ lean_inc(x_10);
|
|||
x_11 = l_Lean_Omega_IntList_get(x_10, x_8);
|
||||
lean_dec(x_10);
|
||||
x_12 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at_Lean_Elab_Tactic_Omega_instToExprLinearCombo___spec__1___closed__1;
|
||||
x_13 = lean_int_dec_lt(x_11, x_12);
|
||||
x_13 = lean_int_dec_eq(x_11, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = lean_nat_abs(x_11);
|
||||
x_15 = lean_unsigned_to_nat(0u);
|
||||
x_16 = lean_nat_dec_eq(x_14, x_15);
|
||||
lean_dec(x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_17 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_18 = lean_int_mul(x_17, x_9);
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_14 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_15 = lean_int_mul(x_14, x_9);
|
||||
lean_dec(x_9);
|
||||
x_19 = lean_int_mul(x_18, x_11);
|
||||
x_16 = lean_int_mul(x_15, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_18);
|
||||
x_20 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
x_21 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_19, x_7, x_20, x_5);
|
||||
return x_21;
|
||||
lean_dec(x_15);
|
||||
x_17 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
x_18 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_16, x_7, x_17, x_5);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -9388,20 +9381,6 @@ lean_dec(x_7);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_22 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_23 = lean_int_mul(x_22, x_9);
|
||||
lean_dec(x_9);
|
||||
x_24 = lean_int_mul(x_23, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_23);
|
||||
x_25 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
x_26 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_24, x_7, x_25, x_5);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_Problem_replayEliminations(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -9448,55 +9427,30 @@ lean_inc(x_1);
|
|||
x_9 = l_Lean_Omega_IntList_get(x_6, x_1);
|
||||
lean_dec(x_6);
|
||||
x_10 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at_Lean_Elab_Tactic_Omega_instToExprLinearCombo___spec__1___closed__1;
|
||||
x_11 = lean_int_dec_lt(x_9, x_10);
|
||||
x_11 = lean_int_dec_eq(x_9, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_12 = lean_nat_abs(x_9);
|
||||
x_13 = lean_unsigned_to_nat(0u);
|
||||
x_14 = lean_nat_dec_eq(x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
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;
|
||||
x_15 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_16 = lean_int_mul(x_15, x_2);
|
||||
x_17 = lean_int_mul(x_16, x_9);
|
||||
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_12 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_13 = lean_int_mul(x_12, x_2);
|
||||
x_14 = lean_int_mul(x_13, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_16);
|
||||
x_18 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
lean_dec(x_13);
|
||||
x_15 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
lean_inc(x_3);
|
||||
x_19 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_17, x_3, x_18, x_7);
|
||||
x_20 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_19);
|
||||
x_21 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_20);
|
||||
x_4 = x_21;
|
||||
x_16 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_14, x_3, x_15, x_7);
|
||||
x_17 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_16);
|
||||
x_18 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_17);
|
||||
x_4 = x_18;
|
||||
x_5 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23;
|
||||
lean_object* x_20;
|
||||
lean_dec(x_9);
|
||||
x_23 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_7);
|
||||
x_4 = x_23;
|
||||
x_5 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_25 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__2;
|
||||
x_26 = lean_int_mul(x_25, x_2);
|
||||
x_27 = lean_int_mul(x_26, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_26);
|
||||
x_28 = l_List_foldr___at_Lean_Elab_Tactic_Omega_Problem_replayEliminations___spec__1___closed__1;
|
||||
lean_inc(x_3);
|
||||
x_29 = l_Lean_Elab_Tactic_Omega_Fact_combo(x_27, x_3, x_28, x_7);
|
||||
x_30 = l_Lean_Elab_Tactic_Omega_Fact_tidy(x_29);
|
||||
x_31 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_30);
|
||||
x_4 = x_31;
|
||||
x_20 = l_Lean_Elab_Tactic_Omega_Problem_addConstraint(x_4, x_7);
|
||||
x_4 = x_20;
|
||||
x_5 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
|
|
|
|||
12736
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
12736
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
File diff suppressed because it is too large
Load diff
1759
stage0/stdlib/Lean/Server/CodeActions/Attr.c
generated
1759
stage0/stdlib/Lean/Server/CodeActions/Attr.c
generated
File diff suppressed because it is too large
Load diff
117
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
117
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
|
|
@ -17,6 +17,7 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___close
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_holeCodeActionProvider___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Syntax_0__String_beqRange____x40_Lean_Syntax___hyg_91_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_CodeAction_findInfoTree_x3f___spec__2___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1;
|
||||
lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_findTactic_x3f_go___closed__4;
|
||||
|
|
@ -25,6 +26,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_
|
|||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_visit(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_CodeAction_cmdCodeActionProvider___spec__1___closed__1;
|
||||
|
|
@ -37,6 +39,7 @@ lean_object* lean_array_push(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_holeCodeActionProvider(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_CodeAction_findInfoTree_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t);
|
||||
|
|
@ -54,6 +57,7 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___close
|
|||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_findTactic_x3f_visit___closed__1;
|
||||
static lean_object* l_Lean_CodeAction_cmdCodeActionProvider___closed__1;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_merge___boxed(lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -68,6 +72,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_CodeAction_holeCode
|
|||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findInfoTree_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -92,8 +97,10 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_CodeAction_findTactic_x3f_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2;
|
||||
lean_object* l_Lean_Syntax_getTailInfo(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_addBuiltinCodeActionProvider(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f_go___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -113,12 +120,14 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoT
|
|||
lean_object* l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_CodeAction_findInfoTree_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__2;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_findInfoTree_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_cmdCodeActionProvider___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_CodeAction_cmdCodeActionProvider___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_CodeAction_findInfoTree_x3f___spec__1___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -141,8 +150,10 @@ static lean_object* l_Lean_CodeAction_holeCodeActionProvider___closed__1;
|
|||
static lean_object* l_Lean_CodeAction_findTactic_x3f_go___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findTactic_x3f(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_CodeAction_findInfoTree_x3f___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Info_stx(lean_object*);
|
||||
extern lean_object* l_Lean_CodeAction_instInhabitedCommandCodeActions;
|
||||
|
|
@ -765,6 +776,51 @@ lean_dec(x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("CodeAction", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("holeCodeActionProvider", 22);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__1;
|
||||
x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1;
|
||||
x_3 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_holeCodeActionProvider), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3;
|
||||
x_3 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4;
|
||||
x_4 = l_Lean_Server_addBuiltinCodeActionProvider(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4450,6 +4506,43 @@ lean_dec(x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("cmdCodeActionProvider", 21);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_CodeAction_holeCodeActionProvider___lambda__3___closed__1;
|
||||
x_2 = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1;
|
||||
x_3 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_CodeAction_cmdCodeActionProvider), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2;
|
||||
x_3 = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3;
|
||||
x_4 = l_Lean_Server_addBuiltinCodeActionProvider(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Elab_BuiltinTerm(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Elab_BuiltinNotation(uint8_t builtin, lean_object*);
|
||||
|
|
@ -4505,7 +4598,18 @@ l_Lean_CodeAction_holeCodeActionProvider___closed__2 = _init_l_Lean_CodeAction_h
|
|||
lean_mark_persistent(l_Lean_CodeAction_holeCodeActionProvider___closed__2);
|
||||
l_Lean_CodeAction_holeCodeActionProvider___closed__3 = _init_l_Lean_CodeAction_holeCodeActionProvider___closed__3();
|
||||
lean_mark_persistent(l_Lean_CodeAction_holeCodeActionProvider___closed__3);
|
||||
l_Lean_CodeAction_findTactic_x3f_visit___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1();
|
||||
l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__1);
|
||||
l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__2);
|
||||
l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__3);
|
||||
l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4 = _init_l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_holeCodeActionProvider___closed__4);
|
||||
if (builtin) {res = l___regBuiltin_Lean_CodeAction_holeCodeActionProvider(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_CodeAction_findTactic_x3f_visit___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_visit___closed__1();
|
||||
lean_mark_persistent(l_Lean_CodeAction_findTactic_x3f_visit___closed__1);
|
||||
l_Lean_CodeAction_findTactic_x3f_go___closed__1 = _init_l_Lean_CodeAction_findTactic_x3f_go___closed__1();
|
||||
lean_mark_persistent(l_Lean_CodeAction_findTactic_x3f_go___closed__1);
|
||||
|
|
@ -4537,7 +4641,16 @@ l_Lean_CodeAction_cmdCodeActionProvider___closed__1 = _init_l_Lean_CodeAction_cm
|
|||
lean_mark_persistent(l_Lean_CodeAction_cmdCodeActionProvider___closed__1);
|
||||
l_Lean_CodeAction_cmdCodeActionProvider___closed__2 = _init_l_Lean_CodeAction_cmdCodeActionProvider___closed__2();
|
||||
lean_mark_persistent(l_Lean_CodeAction_cmdCodeActionProvider___closed__2);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__1);
|
||||
l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__2);
|
||||
l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3 = _init_l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider___closed__3);
|
||||
if (builtin) {res = l___regBuiltin_Lean_CodeAction_cmdCodeActionProvider(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue