chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2025-09-17 14:32:29 +00:00
parent e532ce95ce
commit e6dfde1ad6
17 changed files with 25449 additions and 11155 deletions

View file

@ -92,7 +92,7 @@ inline optional<expr> inductive_reduce_rec(environment const & env, expr const &
if (is_nat_lit(major))
major = nat_lit_to_constructor(major);
else if (is_string_lit(major))
major = string_lit_to_constructor(major);
major = whnf(string_lit_to_constructor(major));
else
major = to_cnstr_when_structure(env, rec_val.get_major_induct(), major, whnf, infer_type);
optional<recursor_rule> rule = get_rec_rule_for(rec_val, major);

View file

@ -391,7 +391,7 @@ expr type_checker::whnf_fvar(expr const & e, bool cheap_rec, bool cheap_proj) {
/* Auxiliary method for `reduce_proj` */
optional<expr> type_checker::reduce_proj_core(expr c, unsigned idx) {
if (is_string_lit(c))
c = string_lit_to_constructor(c);
c = whnf(string_lit_to_constructor(c));
buffer<expr> args;
expr const & mk = get_app_args(c, args);
if (!is_constant(mk))
@ -1053,7 +1053,7 @@ static expr * g_string_mk = nullptr;
lbool type_checker::try_string_lit_expansion_core(expr const & t, expr const & s) {
if (is_string_lit(t) && is_app(s) && app_fn(s) == *g_string_mk) {
return to_lbool(is_def_eq_core(string_lit_to_constructor(t), s));
return to_lbool(is_def_eq_core(whnf(string_lit_to_constructor(t)), s));
}
return l_undef;
}

View file

@ -1,7 +1,5 @@
#include "util/options.h"
// please update stage0
namespace lean {
options get_default_options() {
options opts;

File diff suppressed because it is too large Load diff

View file

@ -33,6 +33,7 @@ static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(lean_object*, lean_object*);
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4_spec__4(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities;
@ -130,6 +131,7 @@ static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17;
lean_object* l_Lean_Lsp_instFromJsonCompletionOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49;
@ -218,6 +220,7 @@ static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed_
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3;
static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson(lean_object*);
@ -277,6 +280,7 @@ static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at_
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9;
lean_object* l_Lean_Lsp_instToJsonSemanticTokensOptions_toJson(lean_object*);
@ -307,6 +311,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJso
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4;
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0;
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9;
@ -335,11 +340,14 @@ lean_object* l_Lean_Lsp_instFromJsonCodeActionClientCapabilities_fromJson(lean_o
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3;
@ -353,6 +361,7 @@ static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed_
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanClientCapabilities_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6;
@ -406,6 +415,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonCompletionCli
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanServerCapabilities_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4(lean_object*);
lean_object* l_Lean_Lsp_instToJsonCompletionOptions_toJson(lean_object*);
lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
@ -421,6 +431,7 @@ static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson
LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceClientCapabilities_ctorIdx(lean_object*);
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6;
@ -537,6 +548,8 @@ static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___cl
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2___boxed(lean_object*, lean_object*);
@ -5928,7 +5941,7 @@ _start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_LeanServerCapabilities_ctorIdx(x_1);
lean_dec(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
@ -6013,6 +6026,86 @@ lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2;
x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0;
return x_2;
}
else
{
lean_object* x_3;
x_3 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4;
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7;
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9;
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4;
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0() {
_start:
{
@ -6107,15 +6200,72 @@ x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("rpcProvider", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("rpcProvider\?", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3;
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12;
x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4;
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
@ -6146,6 +6296,7 @@ else
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12;
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
@ -6165,22 +6316,93 @@ return x_14;
}
else
{
uint8_t x_15;
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
lean_object* x_15; lean_object* x_16; lean_object* x_17;
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_17 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
return x_3;
uint8_t x_18;
lean_dec(x_15);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_16; lean_object* x_17;
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26;
lean_dec(x_15);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28;
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
uint8_t x_29;
x_29 = !lean_is_exclusive(x_17);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31;
x_30 = lean_ctor_get(x_17, 0);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_15);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_17, 0, x_31);
return x_17;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_17, 0);
lean_inc(x_32);
lean_dec(x_17);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_15);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
return x_34;
}
}
}
}
}
}
@ -6203,6 +6425,15 @@ lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0() {
_start:
{
@ -6247,20 +6478,84 @@ return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3;
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonRpcOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson(lean_object* 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;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
x_3 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
uint8_t x_2;
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
x_6 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_5, x_3);
x_7 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_8 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_7, x_4);
x_9 = lean_box(0);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_9);
lean_ctor_set(x_1, 0, x_8);
x_10 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_10, 0, x_6);
lean_ctor_set(x_10, 1, x_1);
x_11 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_12 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_10, x_11);
x_13 = l_Lean_Json_mkObj(x_12);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_14 = lean_ctor_get(x_1, 0);
x_15 = lean_ctor_get(x_1, 1);
lean_inc(x_15);
lean_inc(x_14);
lean_dec(x_1);
x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
x_17 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_16, x_14);
x_18 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_19 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_18, x_15);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_17);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_24 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_22, x_23);
x_25 = l_Lean_Json_mkObj(x_24);
return x_25;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0() {
@ -10395,6 +10690,8 @@ l_Lean_Lsp_instFromJsonClientCapabilities = _init_l_Lean_Lsp_instFromJsonClientC
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1();
@ -10415,6 +10712,18 @@ l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8 = _init_l_Lea
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities();

View file

@ -21,13 +21,16 @@ static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__13;
static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions;
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__12;
static lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode_toJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonModuleHierarchyOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonPlainGoal_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcCallParams_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModule_toJson___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__2;
@ -74,6 +77,7 @@ lean_object* l_Lean_Json_mkObj(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWaitForILeansParams_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode_toJson(uint8_t);
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__13;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImport;
@ -81,6 +85,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim___redArg(lean_o
LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedDependencyBuildMode_default;
LEAN_EXPORT lean_object* l_Lean_Lsp_LineRange_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanImport_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_toCtorIdx___boxed(lean_object*);
@ -95,6 +100,8 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___clo
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcReleaseParams_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__6;
@ -106,6 +113,7 @@ static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__10;
static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressParams___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__1;
static lean_object* l_Lean_Lsp_instToJsonRpcReleaseParams___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
@ -130,6 +138,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJso
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonRpcCallParams_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcCallParams_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__3;
@ -147,6 +156,7 @@ static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__5
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonModuleHierarchyOptions;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanPrepareModuleHierarchyParams_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForILeans_ctorIdx(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_never_elim___redArg(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonDependencyBuildMode_fromJson___lam__0___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind___closed__0;
@ -158,6 +168,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim___redArg(lean_o
static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__9;
static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportsParams_fromJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_noConfusion___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_processing_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0(uint8_t);
@ -171,26 +182,36 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fr
static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions;
static lean_object* l_Lean_Lsp_instFromJsonRpcConnectParams_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instToJsonLeanImportKind___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_never_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcKeepAliveParams_toJson___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_nonMeta_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModuleHierarchyImportedByParams_toJson___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___lam__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_toCtorIdx(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_always_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModule_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcConnectParams_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForDiagnostics_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions___closed__0;
static lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModuleHierarchyImportsParams_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressKind;
@ -212,6 +233,7 @@ static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__8;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcCallParams;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_fatalError_elim(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcConnected_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcConnected_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImport_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__3;
@ -378,6 +400,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim___boxed(lean_ob
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcReleaseParams_ctorIdx___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonRpcOptions___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLineRange;
static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_toCtorIdx(uint8_t);
@ -391,6 +414,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJso
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__13;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWaitForILeansParams_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instToJsonLeanImport___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_PlainGoalParams_ctorIdx___boxed(lean_object*);
@ -406,6 +430,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___lam__0(lean
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWaitForILeansParams_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorIdx(uint8_t);
static lean_object* l_Lean_Lsp_instToJsonRpcCallParams___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPlainGoal;
@ -423,6 +448,7 @@ lean_object* l_Except_orElseLazy___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_PlainGoal_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_PlainTermGoalParams_ctorIdx___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_toCtorIdx(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModule;
static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0;
@ -443,6 +469,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorIdx___boxed(lean_obje
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__9;
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__1___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonRpcConnectParams_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__9;
@ -481,6 +508,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressProcessingInfo_toJ
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressParams_ctorIdx(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorElim___redArg___boxed(lean_object*);
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__0___closed__0;
lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonPosition_toJson(lean_object*);
@ -503,6 +531,7 @@ static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instReprLineRange_repr___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcReleaseParams_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson_spec__1_spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions;
static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcCallParams_ctorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportKind_ctorIdx___boxed(lean_object*);
@ -549,6 +578,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams___close
static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_ctorIdx(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForDiagnostics_toCtorIdx(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcKeepAliveParams_ctorIdx(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonRpcConnectParams___closed__0;
@ -559,19 +589,23 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJso
static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Lsp_instReprLineRange_repr_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__0;
lean_object* l_Lean_Lsp_instToJsonTextDocumentItem_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLeanFileProgressKind;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__2;
LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedLeanFileProgressKind;
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonWaitForILeans___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__16;
@ -680,23 +714,28 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___bo
static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__5;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPlainTermGoalParams_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcKeepAliveParams_ctorIdx___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_ctorIdx(lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson___closed__1;
static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForILeans_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressParams;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_nonMeta_elim(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWaitForILeans;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLineRange_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonDependencyBuildMode_fromJson___lam__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions;
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLeanFileProgressKind_beq___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanDidOpenTextDocumentParams_ctorIdx(lean_object*);
@ -729,6 +768,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_noConfusion___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object*);
lean_object* l_Lean_Lsp_instToJsonRpcRef_toJson(size_t);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__5;
@ -6338,6 +6378,406 @@ x_1 = l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_ctorIdx(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_toCtorIdx(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_inc(x_5);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6;
x_6 = l_Lean_Lsp_HighlightMatchesOptions_noConfusion(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_instToJsonWaitForILeans_toJson___closed__1;
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_Lsp_RpcOptions_ctorIdx(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2;
x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3;
x_3 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2;
return x_3;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4;
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(x_3);
lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("highlightMatchesProvider", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("RpcOptions", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1;
x_2 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__2;
x_3 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__1;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3;
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2;
x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("highlightMatchesProvider\?", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3;
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6;
x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(x_1, x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonRpcOptions_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Lsp_instFromJsonRpcOptions___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3;
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object* 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;
x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0;
x_3 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonLeanDidOpenTextDocumentParams_toJson___closed__0;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonLeanDidOpenTextDocumentParams_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonRpcOptions___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonRpcOptions_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonRpcOptions() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Lsp_instToJsonRpcOptions___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_LeanModule_ctorIdx(lean_object* x_1) {
_start:
{
@ -12299,6 +12739,50 @@ l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0 = _init_l_Lean_Lsp_instT
lean_mark_persistent(l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0);
l_Lean_Lsp_instToJsonModuleHierarchyOptions = _init_l_Lean_Lsp_instToJsonModuleHierarchyOptions();
lean_mark_persistent(l_Lean_Lsp_instToJsonModuleHierarchyOptions);
l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0);
l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0 = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0);
l_Lean_Lsp_instFromJsonHighlightMatchesOptions = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions();
lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions);
l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0 = _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0);
l_Lean_Lsp_instToJsonHighlightMatchesOptions = _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions();
lean_mark_persistent(l_Lean_Lsp_instToJsonHighlightMatchesOptions);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8);
l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9);
l_Lean_Lsp_instFromJsonRpcOptions___closed__0 = _init_l_Lean_Lsp_instFromJsonRpcOptions___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions___closed__0);
l_Lean_Lsp_instFromJsonRpcOptions = _init_l_Lean_Lsp_instFromJsonRpcOptions();
lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions);
l_Lean_Lsp_instToJsonRpcOptions___closed__0 = _init_l_Lean_Lsp_instToJsonRpcOptions___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonRpcOptions___closed__0);
l_Lean_Lsp_instToJsonRpcOptions = _init_l_Lean_Lsp_instToJsonRpcOptions();
lean_mark_persistent(l_Lean_Lsp_instToJsonRpcOptions);
l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0);
l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0();

View file

@ -2262,7 +2262,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__2;
x_2 = lean_unsigned_to_nat(22u);
x_3 = lean_unsigned_to_nat(370u);
x_3 = lean_unsigned_to_nat(382u);
x_4 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__1;
x_5 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__0;
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,6 @@ static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mIntroForall___at___Lean_Ela
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_mSpec___redArg___lam__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Core_instMonadTraceCoreM;
lean_object* l_Lean_Expr_fvarId_x3f(lean_object*);
lean_object* l_Lean_Meta_projectCore_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mFrameCore___at___Lean_Elab_Tactic_Do_ProofMode_mTryFrame___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__6_spec__6___closed__3;
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mIntroForallN___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__8___closed__4;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Elab_Tactic_sortMVarIdArrayByIndex___at___Lean_Elab_Tactic_sortMVarIdsByIndex___at___Lean_Elab_Tactic_collectFreshMVars___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__13_spec__13_spec__13_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -122,6 +121,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_mSpec___redArg___lam__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_initFn___closed__19____x40_Lean_Elab_Tactic_Do_Spec_1517127360____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_dischargePostEntails___redArg___lam__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_projectCore_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mIntroForall___at___Lean_Elab_Tactic_Do_ProofMode_mIntroForallN___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__8_spec__8___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -186,7 +186,6 @@ lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Elab_Tactic_Do_elabTermIntoSpecTheorem_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_StateRefT_x27_instMonadExceptOf___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_Do_mSpec___redArg___lam__8___closed__0;
LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mTryFrame___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -326,7 +325,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_
static lean_object* l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__22___closed__1;
uint8_t l_Lean_Elab_Tactic_Do_SpecAttr_instBEqSpecProof_beq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_Elab_Tactic_Do_findSpec_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_mSpec___redArg___lam__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___Lean_Elab_Tactic_sortMVarIdArrayByIndex___at___Lean_Elab_Tactic_sortMVarIdsByIndex___at___Lean_Elab_Tactic_collectFreshMVars___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__13_spec__13_spec__13_spec__13___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
@ -566,7 +564,6 @@ lean_object* l_Lean_Elab_Tactic_Do_SpecAttr_SpecProof_key(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static size_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Elab_Tactic_Do_findSpec_spec__0_spec__0___redArg___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at___Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Elab_Tactic_Do_findSpec_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mIntroForallN___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__8___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_dischargeMGoal___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -5695,132 +5692,103 @@ lean_dec_ref(x_2);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6;
lean_inc_ref(x_3);
x_6 = l_Lean_Meta_projectCore_x3f___redArg(x_3, x_2, x_4, x_5);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7;
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8;
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10;
x_9 = lean_ctor_get(x_6, 0);
lean_dec(x_9);
x_10 = l_Lean_mkProj(x_1, x_2, x_3);
lean_ctor_set(x_6, 0, x_10);
return x_6;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_11 = lean_ctor_get(x_6, 1);
lean_inc(x_11);
lean_dec(x_6);
x_12 = l_Lean_mkProj(x_1, x_2, x_3);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
}
else
{
uint8_t x_14;
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_14 = !lean_is_exclusive(x_6);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16;
x_15 = lean_ctor_get(x_6, 0);
lean_dec(x_15);
x_16 = lean_ctor_get(x_7, 0);
lean_inc(x_16);
lean_dec_ref(x_7);
lean_ctor_set(x_6, 0, x_16);
return x_6;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_17 = lean_ctor_get(x_6, 1);
lean_inc(x_17);
lean_dec(x_6);
x_18 = lean_ctor_get(x_7, 0);
lean_inc(x_18);
lean_dec_ref(x_7);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_17);
return x_19;
}
}
}
else
{
uint8_t x_20;
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_20 = !lean_is_exclusive(x_6);
if (x_20 == 0)
{
return x_6;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23;
x_21 = lean_ctor_get(x_6, 0);
x_22 = lean_ctor_get(x_6, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_6);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9;
x_9 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_1, x_2, x_3, x_7, x_8);
lean_inc_ref(x_3);
x_9 = l_Lean_Meta_projectCore_x3f(x_3, x_2, x_4, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10;
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11;
x_11 = !lean_is_exclusive(x_9);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13;
x_12 = lean_ctor_get(x_9, 0);
lean_dec(x_12);
x_13 = l_Lean_mkProj(x_1, x_2, x_3);
lean_ctor_set(x_9, 0, x_13);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
else
{
lean_object* x_6;
x_6 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
return x_6;
lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_14 = lean_ctor_get(x_9, 1);
lean_inc(x_14);
lean_dec(x_9);
x_15 = l_Lean_mkProj(x_1, x_2, x_3);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_14);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
else
{
lean_object* x_9;
x_9 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
uint8_t x_17;
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_17 = !lean_is_exclusive(x_9);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19;
x_18 = lean_ctor_get(x_9, 0);
lean_dec(x_18);
x_19 = lean_ctor_get(x_10, 0);
lean_inc(x_19);
lean_dec_ref(x_10);
lean_ctor_set(x_9, 0, x_19);
return x_9;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22;
x_20 = lean_ctor_get(x_9, 1);
lean_inc(x_20);
lean_dec(x_9);
x_21 = lean_ctor_get(x_10, 0);
lean_inc(x_21);
lean_dec_ref(x_10);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
return x_22;
}
}
}
else
{
uint8_t x_23;
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_9);
if (x_23 == 0)
{
return x_9;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_24 = lean_ctor_get(x_9, 0);
x_25 = lean_ctor_get(x_9, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_9);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
@ -6044,7 +6012,7 @@ lean_closure_set(x_26, 11, x_12);
lean_closure_set(x_26, 12, x_23);
lean_closure_set(x_26, 13, x_13);
lean_closure_set(x_26, 14, x_14);
x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_27, 0, x_15);
lean_closure_set(x_27, 1, x_16);
lean_closure_set(x_27, 2, x_17);
@ -6098,7 +6066,7 @@ lean_closure_set(x_21, 13, x_13);
lean_closure_set(x_21, 14, x_17);
lean_closure_set(x_21, 15, x_18);
lean_closure_set(x_21, 16, x_14);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_22, 0, x_17);
lean_closure_set(x_22, 1, x_18);
lean_closure_set(x_22, 2, x_15);
@ -6177,7 +6145,7 @@ lean_closure_set(x_14, 6, x_7);
lean_closure_set(x_14, 7, x_13);
lean_closure_set(x_14, 8, x_8);
lean_closure_set(x_14, 9, x_9);
x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_15, 0, x_10);
lean_closure_set(x_15, 1, x_11);
lean_closure_set(x_15, 2, x_12);
@ -6215,7 +6183,7 @@ lean_closure_set(x_17, 8, x_14);
lean_closure_set(x_17, 9, x_15);
lean_closure_set(x_17, 10, x_16);
lean_closure_set(x_17, 11, x_11);
x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_18, 0, x_15);
lean_closure_set(x_18, 1, x_16);
lean_closure_set(x_18, 2, x_12);
@ -8061,7 +8029,7 @@ lean_closure_set(x_13, 5, x_6);
lean_closure_set(x_13, 6, x_12);
lean_closure_set(x_13, 7, x_7);
lean_closure_set(x_13, 8, x_8);
x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_14, 0, x_9);
lean_closure_set(x_14, 1, x_10);
lean_closure_set(x_14, 2, x_11);
@ -8094,7 +8062,7 @@ lean_closure_set(x_14, 7, x_11);
lean_closure_set(x_14, 8, x_12);
lean_closure_set(x_14, 9, x_13);
lean_closure_set(x_14, 10, x_8);
x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_15, 0, x_12);
lean_closure_set(x_15, 1, x_13);
lean_closure_set(x_15, 2, x_9);
@ -8271,7 +8239,7 @@ lean_closure_set(x_20, 7, x_7);
lean_closure_set(x_20, 8, x_17);
lean_closure_set(x_20, 9, x_8);
lean_closure_set(x_20, 10, x_9);
x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_21, 0, x_10);
lean_closure_set(x_21, 1, x_11);
lean_closure_set(x_21, 2, x_12);
@ -8302,7 +8270,7 @@ lean_closure_set(x_15, 8, x_8);
lean_closure_set(x_15, 9, x_12);
lean_closure_set(x_15, 10, x_13);
lean_closure_set(x_15, 11, x_9);
x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___boxed), 8, 3);
x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27), 8, 3);
lean_closure_set(x_16, 0, x_12);
lean_closure_set(x_16, 1, x_13);
lean_closure_set(x_16, 2, x_10);
@ -13488,7 +13456,11 @@ _start:
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__8___closed__1;
x_23 = lean_unsigned_to_nat(0u);
x_24 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_22, x_23, x_1, x_20, x_21);
lean_inc(x_20);
lean_inc_ref(x_19);
lean_inc(x_18);
lean_inc_ref(x_17);
x_24 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_22, x_23, x_1, x_17, x_18, x_19, x_20, x_21);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27;
@ -13497,7 +13469,11 @@ lean_inc(x_25);
x_26 = lean_ctor_get(x_24, 1);
lean_inc(x_26);
lean_dec_ref(x_24);
x_27 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_22, x_23, x_2, x_20, x_26);
lean_inc(x_20);
lean_inc_ref(x_19);
lean_inc(x_18);
lean_inc_ref(x_17);
x_27 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_22, x_23, x_2, x_17, x_18, x_19, x_20, x_26);
if (lean_obj_tag(x_27) == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
@ -13559,6 +13535,7 @@ x_54 = 1;
x_55 = l_Lean_Meta_mkLambdaFVars(x_38, x_52, x_3, x_11, x_3, x_11, x_54, x_17, x_18, x_19, x_20, x_53);
lean_dec(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec_ref(x_38);
return x_55;
@ -13568,6 +13545,7 @@ else
lean_dec_ref(x_38);
lean_dec(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
lean_dec_ref(x_17);
return x_51;
}
@ -13580,6 +13558,7 @@ lean_dec(x_28);
lean_dec(x_25);
lean_dec(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec_ref(x_12);
lean_dec(x_10);
@ -13614,6 +13593,7 @@ else
lean_dec(x_25);
lean_dec(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec_ref(x_12);
lean_dec(x_10);
@ -13630,6 +13610,7 @@ else
{
lean_dec(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec_ref(x_12);
lean_dec(x_10);
@ -13910,7 +13891,11 @@ lean_inc(x_67);
lean_dec_ref(x_65);
x_68 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__8___closed__1;
x_69 = lean_unsigned_to_nat(1u);
x_70 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_68, x_69, x_50, x_13, x_67);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_70 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_68, x_69, x_50, x_10, x_11, x_12, x_13, x_67);
if (lean_obj_tag(x_70) == 0)
{
lean_object* x_71; lean_object* x_72; lean_object* x_73;
@ -13919,7 +13904,11 @@ lean_inc(x_71);
x_72 = lean_ctor_get(x_70, 1);
lean_inc(x_72);
lean_dec_ref(x_70);
x_73 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_68, x_69, x_53, x_13, x_72);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_73 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_68, x_69, x_53, x_10, x_11, x_12, x_13, x_72);
if (lean_obj_tag(x_73) == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
@ -14372,7 +14361,11 @@ _start:
lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_17 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__8___closed__1;
x_18 = lean_unsigned_to_nat(0u);
x_19 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_17, x_18, x_1, x_15, x_16);
lean_inc(x_15);
lean_inc_ref(x_14);
lean_inc(x_13);
lean_inc_ref(x_12);
x_19 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_17, x_18, x_1, x_12, x_13, x_14, x_15, x_16);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22;
@ -14381,7 +14374,11 @@ lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec_ref(x_19);
x_22 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_17, x_18, x_2, x_15, x_21);
lean_inc(x_15);
lean_inc_ref(x_14);
lean_inc(x_13);
lean_inc_ref(x_12);
x_22 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_17, x_18, x_2, x_12, x_13, x_14, x_15, x_21);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
@ -14449,6 +14446,7 @@ x_51 = 1;
x_52 = l_Lean_Meta_mkLambdaFVars(x_34, x_48, x_3, x_50, x_3, x_50, x_51, x_12, x_13, x_14, x_15, x_49);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_34);
return x_52;
@ -14458,6 +14456,7 @@ else
lean_dec_ref(x_34);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
return x_47;
}
@ -14471,6 +14470,7 @@ lean_dec(x_23);
lean_dec(x_20);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_7);
lean_dec(x_6);
@ -14556,6 +14556,7 @@ x_82 = 1;
x_83 = l_Lean_Meta_mkLambdaFVars(x_64, x_79, x_3, x_81, x_3, x_81, x_82, x_12, x_13, x_14, x_15, x_80);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_64);
return x_83;
@ -14565,6 +14566,7 @@ else
lean_dec_ref(x_64);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
return x_78;
}
@ -14577,6 +14579,7 @@ lean_dec(x_23);
lean_dec(x_20);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_7);
lean_dec(x_6);
@ -14610,6 +14613,7 @@ else
lean_dec(x_20);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_7);
lean_dec(x_6);
@ -14622,6 +14626,7 @@ else
{
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_7);
lean_dec(x_6);
@ -14767,7 +14772,11 @@ lean_inc(x_37);
lean_dec_ref(x_35);
x_38 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__8___closed__1;
x_39 = lean_unsigned_to_nat(1u);
x_40 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_38, x_39, x_23, x_13, x_37);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_40 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_38, x_39, x_23, x_10, x_11, x_12, x_13, x_37);
if (lean_obj_tag(x_40) == 0)
{
lean_object* x_41; lean_object* x_42; lean_object* x_43;
@ -14776,7 +14785,11 @@ lean_inc(x_41);
x_42 = lean_ctor_get(x_40, 1);
lean_inc(x_42);
lean_dec_ref(x_40);
x_43 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_38, x_39, x_27, x_13, x_42);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_43 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_38, x_39, x_27, x_10, x_11, x_12, x_13, x_42);
if (lean_obj_tag(x_43) == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
@ -14989,7 +15002,11 @@ lean_inc(x_77);
lean_dec_ref(x_75);
x_78 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___redArg___lam__8___closed__1;
x_79 = lean_unsigned_to_nat(1u);
x_80 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_78, x_79, x_23, x_13, x_77);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_80 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_78, x_79, x_23, x_10, x_11, x_12, x_13, x_77);
if (lean_obj_tag(x_80) == 0)
{
lean_object* x_81; lean_object* x_82; lean_object* x_83;
@ -14998,7 +15015,11 @@ lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec_ref(x_80);
x_83 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27___redArg(x_78, x_79, x_67, x_13, x_82);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_83 = l___private_Lean_Elab_Tactic_Do_Spec_0__Lean_Elab_Tactic_Do_mkProj_x27(x_78, x_79, x_67, x_10, x_11, x_12, x_13, x_82);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
@ -21791,7 +21812,6 @@ uint8_t x_22; uint8_t x_23; lean_object* x_24;
x_22 = lean_unbox(x_3);
x_23 = lean_unbox(x_11);
x_24 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___at___Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__0_spec__3___lam__0(x_1, x_2, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21);
lean_dec(x_18);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec(x_14);
@ -21805,7 +21825,6 @@ _start:
uint8_t x_17; lean_object* x_18;
x_17 = lean_unbox(x_3);
x_18 = l_Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at___Lean_Elab_Tactic_Do_elabMSpecNoBind_spec__0_spec__0___lam__0(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_13);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);

View file

@ -47347,10 +47347,6 @@ _start:
{
lean_object* x_12;
x_12 = l_Lean_Elab_Tactic_Do_dischargeFailEntails___at___Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at_____private_Lean_Elab_Tactic_Do_VCGen_0__Lean_Elab_Tactic_Do_VCGen_genVCs_onWPApp_spec__0_spec__0_spec__0___lam__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
@ -47481,10 +47477,6 @@ _start:
{
lean_object* x_12;
x_12 = l_Lean_Elab_Tactic_Do_dischargePostEntails___at___Lean_Elab_Tactic_Do_mSpec___at_____private_Lean_Elab_Tactic_Do_VCGen_0__Lean_Elab_Tactic_Do_VCGen_genVCs_onWPApp_spec__0_spec__0___lam__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1063,6 +1063,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_WorkerState_noConfusion___redArg(uint8_t, uint8_t);
lean_object* lean_io_exit(uint8_t, lean_object*);
lean_object* l_Lean_Server_ModuleImport_collapseIdenticalImports_x3f(lean_object*);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34;
uint8_t lean_float_beq(double, double);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__12;
static lean_object* l_Lean_Server_Watchdog_instFromJsonCallHierarchyItemData_fromJson___closed__4;
@ -1104,6 +1105,7 @@ lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Server_Watchdog_handlePrepareCallHierarchy_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__21;
lean_object* l_Array_append___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33;
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleReferenceRequest___at___Lean_Server_Watchdog_handleRequest_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Server_Watchdog_startLoadingReferences_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
@ -1213,6 +1215,7 @@ static lean_object* l_Lean_Server_Watchdog_handleRequest___closed__14;
static lean_object* l_Lean_Server_Watchdog_instFromJsonCallHierarchyItemData_fromJson___closed__18;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___Std_DHashMap_Internal_Raw_u2080_Const_alter___at___Array_groupByKey___at_____private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls_spec__3_spec__3_spec__7___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_WorkerEvent_crashed_elim(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35;
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_RequestDataMutex_enqueue___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__28;
static lean_object* l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__4;
@ -52942,7 +52945,7 @@ static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___clos
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__30;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -52951,8 +52954,40 @@ return x_2;
static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32() {
_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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32;
x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__30;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35() {
_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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34;
x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__29;
x_3 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__24;
x_4 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__21;
@ -52987,7 +53022,7 @@ static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32;
x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35;
return x_1;
}
}
@ -53902,7 +53937,7 @@ block_135:
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134;
x_121 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_121, 0, x_118);
lean_ctor_set(x_121, 0, x_117);
lean_ctor_set(x_121, 1, x_120);
x_122 = l_Lean_Server_Watchdog_parseRequestParams_x3f___redArg___closed__12;
x_123 = lean_alloc_ctor(3, 1, 0);
@ -53923,13 +53958,13 @@ lean_dec(x_116);
x_130 = l_List_appendTR___redArg(x_127, x_129);
x_131 = l_Lean_Json_mkObj(x_130);
x_132 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_132, 0, x_117);
lean_ctor_set(x_132, 0, x_119);
lean_ctor_set(x_132, 1, x_131);
x_133 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_133, 0, x_132);
lean_ctor_set(x_133, 1, x_125);
x_134 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_134, 0, x_119);
lean_ctor_set(x_134, 0, x_118);
lean_ctor_set(x_134, 1, x_133);
x_54 = x_134;
goto block_63;
@ -53947,9 +53982,9 @@ case 0:
{
lean_object* x_141;
x_141 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__5;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_141;
goto block_135;
}
@ -53957,9 +53992,9 @@ case 1:
{
lean_object* x_142;
x_142 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__7;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_142;
goto block_135;
}
@ -53967,9 +54002,9 @@ case 2:
{
lean_object* x_143;
x_143 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__9;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_143;
goto block_135;
}
@ -53977,9 +54012,9 @@ case 3:
{
lean_object* x_144;
x_144 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__11;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_144;
goto block_135;
}
@ -53987,9 +54022,9 @@ case 4:
{
lean_object* x_145;
x_145 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__13;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_145;
goto block_135;
}
@ -53997,9 +54032,9 @@ case 5:
{
lean_object* x_146;
x_146 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__15;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_146;
goto block_135;
}
@ -54007,9 +54042,9 @@ case 6:
{
lean_object* x_147;
x_147 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__17;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_147;
goto block_135;
}
@ -54017,9 +54052,9 @@ case 7:
{
lean_object* x_148;
x_148 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__19;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_148;
goto block_135;
}
@ -54027,9 +54062,9 @@ case 8:
{
lean_object* x_149;
x_149 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__21;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_149;
goto block_135;
}
@ -54037,9 +54072,9 @@ case 9:
{
lean_object* x_150;
x_150 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__23;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_150;
goto block_135;
}
@ -54047,9 +54082,9 @@ case 10:
{
lean_object* x_151;
x_151 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__25;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_151;
goto block_135;
}
@ -54057,9 +54092,9 @@ default:
{
lean_object* x_152;
x_152 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__27;
x_117 = x_139;
x_118 = x_140;
x_119 = x_138;
x_117 = x_140;
x_118 = x_138;
x_119 = x_139;
x_120 = x_152;
goto block_135;
}
@ -55770,7 +55805,7 @@ return x_37;
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 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; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_87; lean_object* x_88; lean_object* x_89; uint8_t x_95; lean_object* x_103; lean_object* x_104;
lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t 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_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; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_87; lean_object* x_88; lean_object* x_89; uint8_t x_95; lean_object* x_103; lean_object* x_104;
x_38 = lean_ctor_get(x_25, 0);
lean_inc(x_38);
lean_dec_ref(x_25);
@ -55812,13 +55847,13 @@ block_48:
{
lean_object* x_45; lean_object* x_46; lean_object* x_47;
x_45 = lean_alloc_ctor(0, 6, 1);
lean_ctor_set(x_45, 0, x_43);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_45, 0, x_41);
lean_ctor_set(x_45, 1, x_40);
lean_ctor_set(x_45, 2, x_42);
lean_ctor_set(x_45, 3, x_41);
lean_ctor_set(x_45, 3, x_43);
lean_ctor_set(x_45, 4, x_38);
lean_ctor_set(x_45, 5, x_44);
lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_40);
lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_39);
if (lean_is_scalar(x_12)) {
x_46 = lean_alloc_ctor(0, 3, 0);
} else {
@ -55838,46 +55873,46 @@ return x_47;
}
block_59:
{
if (lean_obj_tag(x_51) == 0)
if (lean_obj_tag(x_50) == 0)
{
lean_object* x_55;
lean_dec_ref(x_51);
lean_dec_ref(x_50);
x_55 = lean_box(0);
x_39 = x_49;
x_40 = x_50;
x_41 = x_54;
x_42 = x_52;
x_43 = x_53;
x_40 = x_51;
x_41 = x_52;
x_42 = x_53;
x_43 = x_54;
x_44 = x_55;
goto block_48;
}
else
{
uint8_t x_56;
x_56 = !lean_is_exclusive(x_51);
x_56 = !lean_is_exclusive(x_50);
if (x_56 == 0)
{
x_39 = x_49;
x_40 = x_50;
x_41 = x_54;
x_42 = x_52;
x_43 = x_53;
x_44 = x_51;
x_40 = x_51;
x_41 = x_52;
x_42 = x_53;
x_43 = x_54;
x_44 = x_50;
goto block_48;
}
else
{
lean_object* x_57; lean_object* x_58;
x_57 = lean_ctor_get(x_51, 0);
x_57 = lean_ctor_get(x_50, 0);
lean_inc(x_57);
lean_dec(x_51);
lean_dec(x_50);
x_58 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_58, 0, x_57);
x_39 = x_49;
x_40 = x_50;
x_41 = x_54;
x_42 = x_52;
x_43 = x_53;
x_40 = x_51;
x_41 = x_52;
x_42 = x_53;
x_43 = x_54;
x_44 = x_58;
goto block_48;
}
@ -55893,8 +55928,8 @@ x_73 = lean_box(0);
x_49 = x_68;
x_50 = x_69;
x_51 = x_70;
x_52 = x_72;
x_53 = x_71;
x_52 = x_71;
x_53 = x_72;
x_54 = x_73;
goto block_59;
}
@ -55907,8 +55942,8 @@ if (x_74 == 0)
x_49 = x_68;
x_50 = x_69;
x_51 = x_70;
x_52 = x_72;
x_53 = x_71;
x_52 = x_71;
x_53 = x_72;
x_54 = x_67;
goto block_59;
}
@ -55923,8 +55958,8 @@ lean_ctor_set(x_76, 0, x_75);
x_49 = x_68;
x_50 = x_69;
x_51 = x_70;
x_52 = x_72;
x_53 = x_71;
x_52 = x_71;
x_53 = x_72;
x_54 = x_76;
goto block_59;
}
@ -55937,9 +55972,9 @@ if (lean_obj_tag(x_65) == 0)
lean_object* x_82;
lean_dec_ref(x_65);
x_82 = lean_box(0);
x_68 = x_81;
x_69 = x_78;
x_70 = x_79;
x_68 = x_78;
x_69 = x_79;
x_70 = x_81;
x_71 = x_80;
x_72 = x_82;
goto block_77;
@ -55950,9 +55985,9 @@ uint8_t x_83;
x_83 = !lean_is_exclusive(x_65);
if (x_83 == 0)
{
x_68 = x_81;
x_69 = x_78;
x_70 = x_79;
x_68 = x_78;
x_69 = x_79;
x_70 = x_81;
x_71 = x_80;
x_72 = x_65;
goto block_77;
@ -55965,9 +56000,9 @@ lean_inc(x_84);
lean_dec(x_65);
x_85 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_85, 0, x_84);
x_68 = x_81;
x_69 = x_78;
x_70 = x_79;
x_68 = x_78;
x_69 = x_79;
x_70 = x_81;
x_71 = x_80;
x_72 = x_85;
goto block_77;
@ -56340,7 +56375,7 @@ block_193:
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192;
x_179 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_179, 0, x_177);
lean_ctor_set(x_179, 0, x_175);
lean_ctor_set(x_179, 1, x_178);
x_180 = l_Lean_Server_Watchdog_parseRequestParams_x3f___redArg___closed__12;
x_181 = lean_alloc_ctor(3, 1, 0);
@ -56361,13 +56396,13 @@ lean_dec(x_174);
x_188 = l_List_appendTR___redArg(x_185, x_187);
x_189 = l_Lean_Json_mkObj(x_188);
x_190 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_190, 0, x_176);
lean_ctor_set(x_190, 0, x_177);
lean_ctor_set(x_190, 1, x_189);
x_191 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_191, 0, x_190);
lean_ctor_set(x_191, 1, x_183);
x_192 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_192, 0, x_175);
lean_ctor_set(x_192, 0, x_176);
lean_ctor_set(x_192, 1, x_191);
x_112 = x_192;
goto block_121;
@ -56385,9 +56420,9 @@ case 0:
{
lean_object* x_199;
x_199 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__5;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_199;
goto block_193;
}
@ -56395,9 +56430,9 @@ case 1:
{
lean_object* x_200;
x_200 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__7;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_200;
goto block_193;
}
@ -56405,9 +56440,9 @@ case 2:
{
lean_object* x_201;
x_201 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__9;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_201;
goto block_193;
}
@ -56415,9 +56450,9 @@ case 3:
{
lean_object* x_202;
x_202 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__11;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_202;
goto block_193;
}
@ -56425,9 +56460,9 @@ case 4:
{
lean_object* x_203;
x_203 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__13;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_203;
goto block_193;
}
@ -56435,9 +56470,9 @@ case 5:
{
lean_object* x_204;
x_204 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__15;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_204;
goto block_193;
}
@ -56445,9 +56480,9 @@ case 6:
{
lean_object* x_205;
x_205 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__17;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_205;
goto block_193;
}
@ -56455,9 +56490,9 @@ case 7:
{
lean_object* x_206;
x_206 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__19;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_206;
goto block_193;
}
@ -56465,9 +56500,9 @@ case 8:
{
lean_object* x_207;
x_207 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__21;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_207;
goto block_193;
}
@ -56475,9 +56510,9 @@ case 9:
{
lean_object* x_208;
x_208 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__23;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_208;
goto block_193;
}
@ -56485,9 +56520,9 @@ case 10:
{
lean_object* x_209;
x_209 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__25;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_209;
goto block_193;
}
@ -56495,9 +56530,9 @@ default:
{
lean_object* x_210;
x_210 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__27;
x_175 = x_196;
x_176 = x_197;
x_177 = x_198;
x_175 = x_198;
x_176 = x_196;
x_177 = x_197;
x_178 = x_210;
goto block_193;
}
@ -58205,6 +58240,12 @@ l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31 = _init_l_Lean_Serv
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31);
l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32();
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32);
l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33();
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33);
l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34();
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34);
l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35();
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35);
l_Lean_Server_Watchdog_mkLeanServerCapabilities = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities();
lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities);
l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__0___redArg___closed__0 = _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__0___redArg___closed__0();

View file

@ -22,7 +22,6 @@ lean_object* l_Lean_mkNatLit(lean_object*);
uint32_t lean_int32_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprBool;
uint8_t lean_int16_dec_le(uint16_t, uint16_t);
static lean_object* l_Lean_Expr_toCtorIfLit___closed__8;
LEAN_EXPORT lean_object* l_Lean_instToExprUInt8;
static lean_object* l_Lean_instToExprInt8_mkNat___closed__1;
static lean_object* l_Lean_instToExprBool___lam__0___closed__3;
@ -31,9 +30,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
static lean_object* l_Lean_instToExprPreresolved___lam__0___closed__7;
static lean_object* l_Lean_instToExprString___closed__2;
LEAN_EXPORT lean_object* l_Lean_instToExprArrayOfToLevel(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Expr_toCtorIfLit___closed__9;
static lean_object* l_Lean_instToExprProdOfToLevel___redArg___lam__0___closed__0;
static lean_object* l_Lean_Expr_toCtorIfLit___closed__7;
lean_object* lean_uint32_to_nat(uint32_t);
static lean_object* l_Lean_instToExprInt64_mkNat___closed__3;
static lean_object* l_Lean_instToExprString___closed__4;
@ -49,7 +46,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprFin___lam__0(lean_object*, lean_object
LEAN_EXPORT lean_object* l_Lean_instToExprFVarId___lam__0(lean_object*);
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_instToExprInt64_mkNat___closed__4;
static lean_object* l_Lean_Expr_toCtorIfLit___closed__3;
lean_object* lean_int64_to_int_sint(uint64_t);
static lean_object* l_Lean_instToExprInt_mkNat___closed__2;
static lean_object* l_Lean_instToExprFilePath___lam__0___closed__0;
@ -86,7 +82,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprPreresolved___lam__0(lean_object*, lea
static lean_object* l_Lean_instToExprBool___closed__0;
LEAN_EXPORT lean_object* l_Lean_instToExprBitVec___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprInt8;
static lean_object* l_Lean_Expr_toCtorIfLit___closed__2;
static lean_object* l_Lean_instToExprUInt8___lam__0___closed__3;
static lean_object* l_Lean_instToExprBitVec___lam__0___closed__0;
static lean_object* l_Lean_instToExprNat___closed__1;
@ -105,7 +100,6 @@ static lean_object* l_Lean_instToExprUInt8___lam__0___closed__0;
lean_object* l_Lean_Level_ofNat(lean_object*);
static lean_object* l_Lean_instToExprLiteral___lam__0___closed__2;
LEAN_EXPORT lean_object* l_Lean_instToExprISize___lam__0___boxed(lean_object*);
static lean_object* l_Lean_Expr_toCtorIfLit___closed__0;
static lean_object* l_Lean_instToExprLiteral___lam__0___closed__6;
static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux___closed__0;
size_t lean_isize_of_nat(lean_object*);
@ -150,7 +144,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprUInt8___lam__0(uint8_t);
static lean_object* l_Lean_instToExprInt32_mkNat___closed__3;
static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr___closed__7;
static lean_object* l_Lean_instToExprInt16___closed__0;
static lean_object* l_Lean_Expr_toCtorIfLit___closed__6;
LEAN_EXPORT lean_object* l_Lean_instToExprISize___lam__0(size_t);
LEAN_EXPORT lean_object* l_Lean_instToExprInt64___lam__0___boxed(lean_object*);
static lean_object* l_Lean_instToExprFVarId___closed__0;
@ -225,7 +218,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprInt32;
LEAN_EXPORT lean_object* l_Lean_instToExprInt64_mkNat(lean_object*);
static lean_object* l_Lean_instToExprISize_mkNat___closed__2;
LEAN_EXPORT lean_object* l_Lean_instToExprChar___lam__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprUSize___lam__0(size_t);
LEAN_EXPORT lean_object* l_Lean_instToExprInt16;
LEAN_EXPORT lean_object* l_Lean_instToExprUInt16;
@ -233,11 +225,9 @@ static lean_object* l_Lean_instToExprOptionOfToLevel___redArg___lam__0___closed_
static lean_object* l_Lean_instToExprInt32_mkNat___closed__2;
static lean_object* l_Lean_instToExprNat___closed__2;
static lean_object* l_Lean_instToExprOptionOfToLevel___redArg___lam__0___closed__3;
lean_object* l_String_toList(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprOptionOfToLevel___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Expr_toCtorIfLit___closed__1;
LEAN_EXPORT lean_object* l_Lean_instToExprProdOfToLevel___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_instToExprChar___lam__0___closed__2;
static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go___closed__5;
@ -252,7 +242,6 @@ static lean_object* l_Lean_instToExprInt32_mkNat___closed__0;
static lean_object* l_Lean_instToExprISize___lam__0___closed__2;
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
lean_object* lean_int16_to_int(uint16_t);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_instToExprPreresolved___closed__0;
static lean_object* l_Lean_instToExprListOfToLevel___redArg___closed__3;
@ -287,7 +276,6 @@ static lean_object* l_Lean_instToExprUInt32___lam__0___closed__4;
lean_object* lean_panic_fn(lean_object*, lean_object*);
static lean_object* l_Lean_instToExprInt32___lam__0___closed__1;
static lean_object* l_Lean_instToExprUnit___lam__0___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprUInt32;
lean_object* lean_nat_sub(lean_object*, lean_object*);
static lean_object* l_Lean_instToExprUInt32___lam__0___closed__1;
@ -301,7 +289,6 @@ uint64_t lean_int64_of_nat(lean_object*);
static lean_object* l_Lean_instToExprUSize___lam__0___closed__1;
static lean_object* l_Lean_instToExprUInt64___lam__0___closed__2;
static lean_object* l_Lean_instToExprChar___lam__0___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object*, lean_object*, lean_object*);
uint8_t lean_int8_dec_le(uint8_t, uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go(lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprUInt16___lam__0___boxed(lean_object*);
@ -331,7 +318,6 @@ static lean_object* l_Lean_instToExprLiteral___lam__0___closed__5;
static lean_object* l_Lean_instToExprInt___lam__0___closed__6;
LEAN_EXPORT lean_object* l_Lean_instToExprBool___lam__0(uint8_t);
LEAN_EXPORT lean_object* l_Lean_instToExprInt_mkNat(lean_object*);
static lean_object* l_Lean_Expr_toCtorIfLit___closed__5;
static lean_object* l_Lean_instToExprChar___closed__0;
static lean_object* l_Lean_instToExprLiteral___lam__0___closed__1;
static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go___closed__0;
@ -351,7 +337,6 @@ static lean_object* l_Lean_instToExprUnit___closed__1;
static lean_object* l_Lean_instToExprInt64___closed__0;
static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr___closed__2;
static lean_object* l_Lean_instToExprNat___closed__4;
static lean_object* l_Lean_Expr_toCtorIfLit___closed__4;
lean_object* lean_int_neg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToExprBitVec(lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
@ -3918,196 +3903,6 @@ lean_ctor_set(x_4, 1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec_ref(x_2);
lean_inc_ref(x_1);
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_4 = lean_ctor_get(x_3, 0);
x_5 = lean_ctor_get(x_3, 1);
x_6 = l_Lean_instToExprChar___lam__0___closed__2;
x_7 = lean_unbox_uint32(x_4);
x_8 = lean_uint32_to_nat(x_7);
x_9 = l_Lean_mkRawNatLit(x_8);
x_10 = l_Lean_Expr_app___override(x_6, x_9);
lean_inc_ref(x_2);
x_11 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_5);
x_12 = l_Lean_mkAppB(x_2, x_10, x_11);
return x_12;
}
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("succ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Expr_toCtorIfLit___closed__0;
x_2 = l_Lean_instToExprNat___closed__1;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Expr_toCtorIfLit___closed__1;
x_3 = l_Lean_mkConst(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("zero", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Expr_toCtorIfLit___closed__3;
x_2 = l_Lean_instToExprNat___closed__1;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Expr_toCtorIfLit___closed__4;
x_3 = l_Lean_mkConst(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_instToExprFilePath___lam__0___closed__2;
x_2 = l_Lean_instToExprString___closed__1;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Expr_toCtorIfLit___closed__6;
x_3 = l_Lean_mkConst(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_instToExprChar___closed__1;
x_2 = l_Lean_instToExprPreresolved___lam__0___closed__9;
x_3 = l_Lean_Expr_app___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_instToExprChar___closed__1;
x_2 = l_Lean_instToExprPreresolved___lam__0___closed__11;
x_3 = l_Lean_Expr_app___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 9)
{
lean_object* x_2;
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; lean_object* x_4; uint8_t x_5;
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
lean_dec_ref(x_2);
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_6 = l_Lean_Expr_toCtorIfLit___closed__2;
x_7 = lean_unsigned_to_nat(1u);
x_8 = lean_nat_sub(x_3, x_7);
lean_dec(x_3);
x_9 = l_Lean_mkRawNatLit(x_8);
x_10 = l_Lean_Expr_app___override(x_6, x_9);
return x_10;
}
else
{
lean_object* x_11;
lean_dec(x_3);
x_11 = l_Lean_Expr_toCtorIfLit___closed__5;
return x_11;
}
}
else
{
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 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_12);
lean_dec_ref(x_2);
x_13 = l_Lean_Expr_toCtorIfLit___closed__7;
x_14 = l_Lean_Expr_toCtorIfLit___closed__8;
x_15 = l_Lean_Expr_toCtorIfLit___closed__9;
x_16 = l_String_toList(x_12);
x_17 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_14, x_15, x_16);
lean_dec(x_16);
x_18 = l_Lean_Expr_app___override(x_13, x_17);
return x_18;
}
}
else
{
return x_1;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_1);
return x_4;
}
}
lean_object* initialize_Lean_Expr(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_ToLevel(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_BitVec_Basic(uint8_t builtin, lean_object*);
@ -4586,26 +4381,6 @@ l_Lean_instToExprPreresolved___closed__1 = _init_l_Lean_instToExprPreresolved___
lean_mark_persistent(l_Lean_instToExprPreresolved___closed__1);
l_Lean_instToExprPreresolved = _init_l_Lean_instToExprPreresolved();
lean_mark_persistent(l_Lean_instToExprPreresolved);
l_Lean_Expr_toCtorIfLit___closed__0 = _init_l_Lean_Expr_toCtorIfLit___closed__0();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__0);
l_Lean_Expr_toCtorIfLit___closed__1 = _init_l_Lean_Expr_toCtorIfLit___closed__1();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__1);
l_Lean_Expr_toCtorIfLit___closed__2 = _init_l_Lean_Expr_toCtorIfLit___closed__2();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__2);
l_Lean_Expr_toCtorIfLit___closed__3 = _init_l_Lean_Expr_toCtorIfLit___closed__3();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__3);
l_Lean_Expr_toCtorIfLit___closed__4 = _init_l_Lean_Expr_toCtorIfLit___closed__4();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__4);
l_Lean_Expr_toCtorIfLit___closed__5 = _init_l_Lean_Expr_toCtorIfLit___closed__5();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__5);
l_Lean_Expr_toCtorIfLit___closed__6 = _init_l_Lean_Expr_toCtorIfLit___closed__6();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__6);
l_Lean_Expr_toCtorIfLit___closed__7 = _init_l_Lean_Expr_toCtorIfLit___closed__7();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__7);
l_Lean_Expr_toCtorIfLit___closed__8 = _init_l_Lean_Expr_toCtorIfLit___closed__8();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__8);
l_Lean_Expr_toCtorIfLit___closed__9 = _init_l_Lean_Expr_toCtorIfLit___closed__9();
lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__9);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus

File diff suppressed because it is too large Load diff