chore: update stage0

This commit is contained in:
Leonardo de Moura 2020-12-10 11:57:27 -08:00
parent 1977b66573
commit a3eef44efe
24 changed files with 1587 additions and 1344 deletions

View file

@ -82,8 +82,6 @@ def checkScalarVar (x : VarId) : M Unit :=
checkVarType x IRType.isScalar
def checkFullApp (c : FunId) (ys : Array Arg) : M Unit := do
if c == `hugeFuel then
throw "the auxiliary constant `hugeFuel` cannot be used in code, it is used internally for compiling `partial` definitions"
let decl ← getDecl c
unless ys.size == decl.params.size do
throw s!"incorrect number of arguments to '{c}', {ys.size} provided, {decl.params.size} expected"

View file

@ -18,7 +18,7 @@ open Meta
"{" >> optional (atomic (termParser >> " with "))
>> manyIndent (group (structInstField >> optional ", "))
>> optional ".."
>> optEllipsis
>> optional (" : " >> termParser)
>> " }"
-/
@ -72,11 +72,11 @@ private def getStructSource (stx : Syntax) : TermElabM Source :=
withRef stx do
let explicitSource := stx[1]
let implicitSource := stx[3]
if explicitSource.isNone && implicitSource.isNone then
if explicitSource.isNone && implicitSource[0].isNone then
return Source.none
else if explicitSource.isNone then
return Source.implicit implicitSource
else if implicitSource.isNone then
else if implicitSource[0].isNone then
let fvar? ← isLocalIdent? explicitSource[0]
match fvar? with
| none => unreachable! -- expandNonAtomicExplicitSource must have been used when we get here

View file

@ -71,9 +71,10 @@ def sufficesDecl := optIdent >> termParser >> (fromTerm <|> byTactic)
def structInstArrayRef := parser! "[" >> termParser >>"]"
def structInstLVal := parser! (ident <|> fieldIdx <|> structInstArrayRef) >> many (group ("." >> (ident <|> fieldIdx)) <|> structInstArrayRef)
def structInstField := ppGroup $ parser! structInstLVal >> " := " >> termParser
def optEllipsis := parser! optional ".."
@[builtinTermParser] def structInst := parser! "{" >> ppHardSpace >> optional (atomic (termParser >> " with "))
>> manyIndent (group (structInstField >> optional ", "))
>> optional ".."
>> optEllipsis
>> optional (" : " >> termParser) >> " }"
def typeSpec := parser! " : " >> termParser
def optType : Parser := optional typeSpec

File diff suppressed because it is too large Load diff

View file

@ -16,7 +16,6 @@ extern "C" {
extern lean_object* l_Lean_Name_toString___closed__1;
size_t l_USize_add(size_t, size_t);
lean_object* l_Lean_IR_Checker_checkFullApp___closed__4;
lean_object* lean_name_mk_string(lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkArg_match__1___rarg(lean_object*, lean_object*, lean_object*);
uint8_t l_USize_decEq(size_t, size_t);
lean_object* lean_array_uget(lean_object*, size_t);
@ -30,7 +29,6 @@ uint8_t l_Lean_IR_IRType_isStruct(lean_object*);
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
lean_object* l_Lean_IR_Checker_getType(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkType(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_name_eq(lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkJP___closed__1;
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_IR_LocalContext_isParam(lean_object*, lean_object*);
@ -41,10 +39,8 @@ lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Lean_IR_getEnv___rarg(lean_object*);
lean_object* l_Lean_IR_checkDecls___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_getDecl_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4;
lean_object* l_Lean_IR_Checker_checkJP(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_IR_IRType_isObj(lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkExpr_match__1(lean_object*);
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
lean_object* l_Lean_IR_Decl_name(lean_object*);
@ -60,7 +56,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_CheckerContext_localCtx___default;
lean_object* l_Lean_IR_Checker_checkExpr___closed__3;
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3;
lean_object* l_Lean_IR_checkDecl_match__1(lean_object*);
uint8_t l_Lean_IR_CtorInfo_isRef(lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_Checker_checkFnBody___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
@ -141,14 +136,11 @@ lean_object* l_Lean_IR_Checker_checkScalarVar___boxed(lean_object*, lean_object*
lean_object* l_Lean_IR_Checker_checkDecl_match__1(lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___closed__3;
lean_object* l_Lean_IR_Checker_checkScalarVar(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_addClass___closed__1;
lean_object* l_Lean_IR_Checker_getType_match__1(lean_object*);
lean_object* l_Lean_IR_Checker_checkType___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2;
lean_object* l_Lean_IR_Checker_checkDecl(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Decl_params(lean_object*);
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1;
lean_object* l_Lean_IR_Checker_checkEqTypes(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Checker_checkArg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_checkDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1656,7 +1648,7 @@ x_5 = l_Lean_IR_Checker_checkArgs(x_1, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1() {
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__1() {
_start:
{
lean_object* x_1;
@ -1664,7 +1656,7 @@ x_1 = lean_mk_string("incorrect number of arguments to '");
return x_1;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2() {
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__2() {
_start:
{
lean_object* x_1;
@ -1672,7 +1664,7 @@ x_1 = lean_mk_string("', ");
return x_1;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3() {
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__3() {
_start:
{
lean_object* x_1;
@ -1680,7 +1672,7 @@ x_1 = lean_mk_string(" provided, ");
return x_1;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4() {
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__4() {
_start:
{
lean_object* x_1;
@ -1688,299 +1680,238 @@ x_1 = lean_mk_string(" expected");
return x_1;
}
}
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7;
lean_inc(x_1);
x_6 = l_Lean_IR_Checker_getDecl(x_1, x_4, x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8;
lean_dec(x_1);
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; uint8_t x_10;
x_9 = lean_ctor_get(x_6, 0);
lean_dec(x_9);
x_10 = !lean_is_exclusive(x_7);
if (x_10 == 0)
{
return x_6;
}
else
{
lean_object* x_11; lean_object* x_12;
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_dec(x_7);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_6, 0, x_12);
return x_6;
}
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
x_13 = lean_ctor_get(x_6, 1);
lean_inc(x_13);
lean_dec(x_6);
x_14 = lean_ctor_get(x_7, 0);
lean_inc(x_14);
if (lean_is_exclusive(x_7)) {
lean_ctor_release(x_7, 0);
x_15 = x_7;
} else {
lean_dec_ref(x_7);
x_15 = lean_box(0);
}
if (lean_is_scalar(x_15)) {
x_16 = lean_alloc_ctor(0, 1, 0);
} else {
x_16 = x_15;
}
lean_ctor_set(x_16, 0, x_14);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_13);
return x_17;
}
}
else
{
uint8_t x_18;
x_18 = !lean_is_exclusive(x_6);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; uint8_t x_21;
x_19 = lean_ctor_get(x_6, 1);
x_20 = lean_ctor_get(x_6, 0);
lean_dec(x_20);
x_21 = !lean_is_exclusive(x_7);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
x_22 = lean_ctor_get(x_7, 0);
x_23 = lean_array_get_size(x_2);
x_24 = l_Lean_IR_Decl_params(x_22);
lean_dec(x_22);
x_25 = lean_array_get_size(x_24);
lean_dec(x_24);
x_26 = lean_nat_dec_eq(x_23, x_25);
if (x_26 == 0)
{
lean_object* x_27; 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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
x_27 = l_Lean_Name_toString___closed__1;
x_28 = l_Lean_Name_toStringWithSep(x_27, x_1);
x_29 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1;
x_30 = lean_string_append(x_29, x_28);
lean_dec(x_28);
x_31 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2;
x_32 = lean_string_append(x_30, x_31);
x_33 = l_Nat_repr(x_23);
x_34 = lean_string_append(x_32, x_33);
lean_dec(x_33);
x_35 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3;
x_36 = lean_string_append(x_34, x_35);
x_37 = l_Nat_repr(x_25);
x_38 = lean_string_append(x_36, x_37);
lean_dec(x_37);
x_39 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4;
x_40 = lean_string_append(x_38, x_39);
lean_ctor_set_tag(x_7, 0);
lean_ctor_set(x_7, 0, x_40);
return x_6;
}
else
{
lean_object* x_41;
lean_dec(x_25);
lean_dec(x_23);
lean_free_object(x_7);
lean_free_object(x_6);
lean_dec(x_1);
x_41 = l_Lean_IR_Checker_checkArgs(x_2, x_4, x_19);
return x_41;
}
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46;
x_42 = lean_ctor_get(x_7, 0);
lean_inc(x_42);
lean_dec(x_7);
x_43 = lean_array_get_size(x_2);
x_44 = l_Lean_IR_Decl_params(x_42);
lean_dec(x_42);
x_45 = lean_array_get_size(x_44);
lean_dec(x_44);
x_46 = lean_nat_dec_eq(x_43, x_45);
if (x_46 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61;
x_47 = l_Lean_Name_toString___closed__1;
x_48 = l_Lean_Name_toStringWithSep(x_47, x_1);
x_49 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1;
x_50 = lean_string_append(x_49, x_48);
lean_dec(x_48);
x_51 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2;
x_52 = lean_string_append(x_50, x_51);
x_53 = l_Nat_repr(x_43);
x_54 = lean_string_append(x_52, x_53);
lean_dec(x_53);
x_55 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3;
x_56 = lean_string_append(x_54, x_55);
x_57 = l_Nat_repr(x_45);
x_58 = lean_string_append(x_56, x_57);
lean_dec(x_57);
x_59 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4;
x_60 = lean_string_append(x_58, x_59);
x_61 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_6, 0, x_61);
return x_6;
}
else
{
lean_object* x_62;
lean_dec(x_45);
lean_dec(x_43);
lean_free_object(x_6);
lean_dec(x_1);
x_62 = l_Lean_IR_Checker_checkArgs(x_2, x_4, x_19);
return x_62;
}
}
}
else
{
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;
x_63 = lean_ctor_get(x_6, 1);
lean_inc(x_63);
lean_dec(x_6);
x_64 = lean_ctor_get(x_7, 0);
lean_inc(x_64);
if (lean_is_exclusive(x_7)) {
lean_ctor_release(x_7, 0);
x_65 = x_7;
} else {
lean_dec_ref(x_7);
x_65 = lean_box(0);
}
x_66 = lean_array_get_size(x_2);
x_67 = l_Lean_IR_Decl_params(x_64);
lean_dec(x_64);
x_68 = lean_array_get_size(x_67);
lean_dec(x_67);
x_69 = lean_nat_dec_eq(x_66, x_68);
if (x_69 == 0)
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85;
x_70 = l_Lean_Name_toString___closed__1;
x_71 = l_Lean_Name_toStringWithSep(x_70, x_1);
x_72 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1;
x_73 = lean_string_append(x_72, x_71);
lean_dec(x_71);
x_74 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2;
x_75 = lean_string_append(x_73, x_74);
x_76 = l_Nat_repr(x_66);
x_77 = lean_string_append(x_75, x_76);
lean_dec(x_76);
x_78 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3;
x_79 = lean_string_append(x_77, x_78);
x_80 = l_Nat_repr(x_68);
x_81 = lean_string_append(x_79, x_80);
lean_dec(x_80);
x_82 = l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4;
x_83 = lean_string_append(x_81, x_82);
if (lean_is_scalar(x_65)) {
x_84 = lean_alloc_ctor(0, 1, 0);
} else {
x_84 = x_65;
lean_ctor_set_tag(x_84, 0);
}
lean_ctor_set(x_84, 0, x_83);
x_85 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_85, 0, x_84);
lean_ctor_set(x_85, 1, x_63);
return x_85;
}
else
{
lean_object* x_86;
lean_dec(x_68);
lean_dec(x_66);
lean_dec(x_65);
lean_dec(x_1);
x_86 = l_Lean_IR_Checker_checkArgs(x_2, x_4, x_63);
return x_86;
}
}
}
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("hugeFuel");
return x_1;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_IR_Checker_checkFullApp___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("the auxiliary constant `hugeFuel` cannot be used in code, it is used internally for compiling `partial` definitions");
return x_1;
}
}
static lean_object* _init_l_Lean_IR_Checker_checkFullApp___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_IR_Checker_checkFullApp___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* l_Lean_IR_Checker_checkFullApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6;
x_5 = l_Lean_IR_Checker_checkFullApp___closed__2;
x_6 = lean_name_eq(x_1, x_5);
if (x_6 == 0)
lean_object* x_5; lean_object* x_6;
lean_inc(x_1);
x_5 = l_Lean_IR_Checker_getDecl(x_1, x_3, x_4);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; lean_object* x_8;
x_7 = lean_box(0);
x_8 = l_Lean_IR_Checker_checkFullApp___lambda__2(x_1, x_2, x_7, x_3, x_4);
return x_8;
uint8_t x_7;
lean_dec(x_1);
x_7 = !lean_is_exclusive(x_5);
if (x_7 == 0)
{
lean_object* x_8; uint8_t x_9;
x_8 = lean_ctor_get(x_5, 0);
lean_dec(x_8);
x_9 = !lean_is_exclusive(x_6);
if (x_9 == 0)
{
return x_5;
}
else
{
lean_object* x_9; lean_object* x_10;
lean_object* x_10; lean_object* x_11;
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_5, 0, x_11);
return x_5;
}
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_12 = lean_ctor_get(x_5, 1);
lean_inc(x_12);
lean_dec(x_5);
x_13 = lean_ctor_get(x_6, 0);
lean_inc(x_13);
if (lean_is_exclusive(x_6)) {
lean_ctor_release(x_6, 0);
x_14 = x_6;
} else {
lean_dec_ref(x_6);
x_14 = lean_box(0);
}
if (lean_is_scalar(x_14)) {
x_15 = lean_alloc_ctor(0, 1, 0);
} else {
x_15 = x_14;
}
lean_ctor_set(x_15, 0, x_13);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_12);
return x_16;
}
}
else
{
uint8_t x_17;
x_17 = !lean_is_exclusive(x_5);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; uint8_t x_20;
x_18 = lean_ctor_get(x_5, 1);
x_19 = lean_ctor_get(x_5, 0);
lean_dec(x_19);
x_20 = !lean_is_exclusive(x_6);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
x_21 = lean_ctor_get(x_6, 0);
x_22 = lean_array_get_size(x_2);
x_23 = l_Lean_IR_Decl_params(x_21);
lean_dec(x_21);
x_24 = lean_array_get_size(x_23);
lean_dec(x_23);
x_25 = lean_nat_dec_eq(x_22, x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
x_26 = l_Lean_Name_toString___closed__1;
x_27 = l_Lean_Name_toStringWithSep(x_26, x_1);
x_28 = l_Lean_IR_Checker_checkFullApp___closed__1;
x_29 = lean_string_append(x_28, x_27);
lean_dec(x_27);
x_30 = l_Lean_IR_Checker_checkFullApp___closed__2;
x_31 = lean_string_append(x_29, x_30);
x_32 = l_Nat_repr(x_22);
x_33 = lean_string_append(x_31, x_32);
lean_dec(x_32);
x_34 = l_Lean_IR_Checker_checkFullApp___closed__3;
x_35 = lean_string_append(x_33, x_34);
x_36 = l_Nat_repr(x_24);
x_37 = lean_string_append(x_35, x_36);
lean_dec(x_36);
x_38 = l_Lean_IR_Checker_checkFullApp___closed__4;
x_39 = lean_string_append(x_37, x_38);
lean_ctor_set_tag(x_6, 0);
lean_ctor_set(x_6, 0, x_39);
return x_5;
}
else
{
lean_object* x_40;
lean_dec(x_24);
lean_dec(x_22);
lean_free_object(x_6);
lean_free_object(x_5);
lean_dec(x_1);
x_9 = l_Lean_IR_Checker_checkFullApp___closed__4;
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_4);
return x_10;
x_40 = l_Lean_IR_Checker_checkArgs(x_2, x_3, x_18);
return x_40;
}
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45;
x_41 = lean_ctor_get(x_6, 0);
lean_inc(x_41);
lean_dec(x_6);
x_42 = lean_array_get_size(x_2);
x_43 = l_Lean_IR_Decl_params(x_41);
lean_dec(x_41);
x_44 = lean_array_get_size(x_43);
lean_dec(x_43);
x_45 = lean_nat_dec_eq(x_42, x_44);
if (x_45 == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60;
x_46 = l_Lean_Name_toString___closed__1;
x_47 = l_Lean_Name_toStringWithSep(x_46, x_1);
x_48 = l_Lean_IR_Checker_checkFullApp___closed__1;
x_49 = lean_string_append(x_48, x_47);
lean_dec(x_47);
x_50 = l_Lean_IR_Checker_checkFullApp___closed__2;
x_51 = lean_string_append(x_49, x_50);
x_52 = l_Nat_repr(x_42);
x_53 = lean_string_append(x_51, x_52);
lean_dec(x_52);
x_54 = l_Lean_IR_Checker_checkFullApp___closed__3;
x_55 = lean_string_append(x_53, x_54);
x_56 = l_Nat_repr(x_44);
x_57 = lean_string_append(x_55, x_56);
lean_dec(x_56);
x_58 = l_Lean_IR_Checker_checkFullApp___closed__4;
x_59 = lean_string_append(x_57, x_58);
x_60 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_5, 0, x_60);
return x_5;
}
else
{
lean_object* x_61;
lean_dec(x_44);
lean_dec(x_42);
lean_free_object(x_5);
lean_dec(x_1);
x_61 = l_Lean_IR_Checker_checkArgs(x_2, x_3, x_18);
return x_61;
}
}
}
else
{
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;
x_62 = lean_ctor_get(x_5, 1);
lean_inc(x_62);
lean_dec(x_5);
x_63 = lean_ctor_get(x_6, 0);
lean_inc(x_63);
if (lean_is_exclusive(x_6)) {
lean_ctor_release(x_6, 0);
x_64 = x_6;
} else {
lean_dec_ref(x_6);
x_64 = lean_box(0);
}
x_65 = lean_array_get_size(x_2);
x_66 = l_Lean_IR_Decl_params(x_63);
lean_dec(x_63);
x_67 = lean_array_get_size(x_66);
lean_dec(x_66);
x_68 = lean_nat_dec_eq(x_65, x_67);
if (x_68 == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
x_69 = l_Lean_Name_toString___closed__1;
x_70 = l_Lean_Name_toStringWithSep(x_69, x_1);
x_71 = l_Lean_IR_Checker_checkFullApp___closed__1;
x_72 = lean_string_append(x_71, x_70);
lean_dec(x_70);
x_73 = l_Lean_IR_Checker_checkFullApp___closed__2;
x_74 = lean_string_append(x_72, x_73);
x_75 = l_Nat_repr(x_65);
x_76 = lean_string_append(x_74, x_75);
lean_dec(x_75);
x_77 = l_Lean_IR_Checker_checkFullApp___closed__3;
x_78 = lean_string_append(x_76, x_77);
x_79 = l_Nat_repr(x_67);
x_80 = lean_string_append(x_78, x_79);
lean_dec(x_79);
x_81 = l_Lean_IR_Checker_checkFullApp___closed__4;
x_82 = lean_string_append(x_80, x_81);
if (lean_is_scalar(x_64)) {
x_83 = lean_alloc_ctor(0, 1, 0);
} else {
x_83 = x_64;
lean_ctor_set_tag(x_83, 0);
}
lean_ctor_set(x_83, 0, x_82);
x_84 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_62);
return x_84;
}
else
{
lean_object* x_85;
lean_dec(x_67);
lean_dec(x_65);
lean_dec(x_64);
lean_dec(x_1);
x_85 = l_Lean_IR_Checker_checkArgs(x_2, x_3, x_62);
return x_85;
}
}
}
}
}
@ -1995,17 +1926,6 @@ lean_dec(x_1);
return x_5;
}
}
lean_object* l_Lean_IR_Checker_checkFullApp___lambda__2___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_IR_Checker_checkFullApp___lambda__2(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_6;
}
}
lean_object* l_Lean_IR_Checker_checkFullApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
@ -7732,14 +7652,6 @@ l_Lean_IR_Checker_checkEqTypes___closed__2 = _init_l_Lean_IR_Checker_checkEqType
lean_mark_persistent(l_Lean_IR_Checker_checkEqTypes___closed__2);
l_Lean_IR_Checker_checkType___closed__1 = _init_l_Lean_IR_Checker_checkType___closed__1();
lean_mark_persistent(l_Lean_IR_Checker_checkType___closed__1);
l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1 = _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1();
lean_mark_persistent(l_Lean_IR_Checker_checkFullApp___lambda__2___closed__1);
l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2 = _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2();
lean_mark_persistent(l_Lean_IR_Checker_checkFullApp___lambda__2___closed__2);
l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3 = _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3();
lean_mark_persistent(l_Lean_IR_Checker_checkFullApp___lambda__2___closed__3);
l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4 = _init_l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4();
lean_mark_persistent(l_Lean_IR_Checker_checkFullApp___lambda__2___closed__4);
l_Lean_IR_Checker_checkFullApp___closed__1 = _init_l_Lean_IR_Checker_checkFullApp___closed__1();
lean_mark_persistent(l_Lean_IR_Checker_checkFullApp___closed__1);
l_Lean_IR_Checker_checkFullApp___closed__2 = _init_l_Lean_IR_Checker_checkFullApp___closed__2();

View file

@ -156,7 +156,6 @@ lean_object* l_Lean_IR_EmitC_emitCase_match__2___rarg(lean_object*, lean_object*
lean_object* l_Lean_IR_EmitC_emitExternCall_match__1(lean_object*);
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_IR_EmitC_getJPParams___spec__1___boxed(lean_object*, lean_object*);
lean_object* l_Lean_IR_EmitC_emitLit_match__1___rarg(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Lean_getExternNameFor(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_EmitC_quoteString___closed__1;
lean_object* l_Lean_IR_EmitC_toCName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
@ -311,6 +310,7 @@ lean_object* l_Lean_IR_EmitC_emitReset___boxed(lean_object*, lean_object*, lean_
lean_object* l_Lean_IR_EmitC_emitOffset___closed__1;
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_EmitC_emitInitFn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_EmitC_emitDeclInit___closed__1;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_IR_EmitC_emitArgs___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_EmitC_toCType___boxed(lean_object*);
lean_object* l_Lean_IR_EmitC_emitLn___at_Lean_IR_EmitC_emitMainFn___spec__2(lean_object*, lean_object*, lean_object*);
@ -3166,7 +3166,7 @@ lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1(lean_object* x_1, lean_objec
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_6 = lean_string_append(x_4, x_5);
x_7 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
x_8 = lean_string_append(x_6, x_7);
@ -3349,7 +3349,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
@ -4509,7 +4509,7 @@ static lean_object* _init_l_Lean_IR_EmitC_emitFileFooter___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_2 = l_Lean_IR_EmitC_emitFileHeader___closed__3;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -7014,7 +7014,7 @@ lean_dec(x_39);
x_40 = l_Lean_IR_EmitC_emitReset___closed__4;
x_41 = lean_string_append(x_38, x_40);
x_42 = lean_string_append(x_41, x_14);
x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_44 = lean_string_append(x_42, x_43);
x_45 = lean_string_append(x_44, x_14);
x_46 = lean_box(0);
@ -7031,7 +7031,7 @@ lean_dec(x_36);
x_48 = l_Lean_IR_EmitC_emitReset___closed__4;
x_49 = lean_string_append(x_47, x_48);
x_50 = lean_string_append(x_49, x_14);
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_52 = lean_string_append(x_50, x_51);
x_53 = lean_string_append(x_52, x_14);
x_54 = lean_box(0);
@ -7066,7 +7066,7 @@ lean_object* l_Lean_IR_EmitC_emitReuse___lambda__1(lean_object* x_1, lean_object
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_7 = lean_string_append(x_5, x_6);
x_8 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
x_9 = lean_string_append(x_7, x_8);
@ -10842,7 +10842,7 @@ lean_dec(x_17);
x_21 = lean_ctor_get(x_20, 1);
lean_inc(x_21);
lean_dec(x_20);
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_23 = lean_string_append(x_21, x_22);
x_24 = lean_string_append(x_23, x_15);
x_25 = lean_box(0);
@ -11575,7 +11575,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_
x_9 = lean_ctor_get(x_7, 1);
x_10 = lean_ctor_get(x_7, 0);
lean_dec(x_10);
x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_12 = lean_string_append(x_9, x_11);
x_13 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
x_14 = lean_string_append(x_12, x_13);
@ -11590,7 +11590,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean
x_16 = lean_ctor_get(x_7, 1);
lean_inc(x_16);
lean_dec(x_7);
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_18 = lean_string_append(x_16, x_17);
x_19 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
x_20 = lean_string_append(x_18, x_19);
@ -12418,7 +12418,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_4);
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_22 = lean_string_append(x_16, x_21);
x_23 = lean_string_append(x_22, x_15);
x_24 = lean_box(0);
@ -12436,7 +12436,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_4);
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_27 = lean_string_append(x_16, x_26);
x_28 = lean_string_append(x_27, x_15);
x_29 = lean_box(0);
@ -12464,7 +12464,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean
x_35 = lean_ctor_get(x_33, 1);
x_36 = lean_ctor_get(x_33, 0);
lean_dec(x_36);
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_38 = lean_string_append(x_35, x_37);
x_39 = lean_string_append(x_38, x_15);
lean_ctor_set(x_33, 1, x_39);
@ -12477,7 +12477,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean
x_40 = lean_ctor_get(x_33, 1);
lean_inc(x_40);
lean_dec(x_33);
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_42 = lean_string_append(x_40, x_41);
x_43 = lean_string_append(x_42, x_15);
x_44 = lean_alloc_ctor(0, 2, 0);
@ -12531,7 +12531,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean
lean_dec(x_55);
lean_dec(x_54);
lean_dec(x_4);
x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_59 = lean_string_append(x_53, x_58);
x_60 = lean_string_append(x_59, x_52);
x_61 = lean_box(0);
@ -12550,7 +12550,7 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean
lean_dec(x_55);
lean_dec(x_54);
lean_dec(x_4);
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_65 = lean_string_append(x_53, x_64);
x_66 = lean_string_append(x_65, x_52);
x_67 = lean_box(0);
@ -12581,7 +12581,7 @@ if (lean_is_exclusive(x_72)) {
lean_dec_ref(x_72);
x_74 = lean_box(0);
}
x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_76 = lean_string_append(x_73, x_75);
x_77 = lean_string_append(x_76, x_52);
if (lean_is_scalar(x_74)) {
@ -13007,7 +13007,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean
x_16 = lean_ctor_get(x_14, 1);
x_17 = lean_ctor_get(x_14, 0);
lean_dec(x_17);
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_19 = lean_string_append(x_16, x_18);
x_20 = lean_string_append(x_19, x_9);
x_21 = lean_box(0);
@ -13021,7 +13021,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean
x_22 = lean_ctor_get(x_14, 1);
lean_inc(x_22);
lean_dec(x_14);
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_24 = lean_string_append(x_22, x_23);
x_25 = lean_string_append(x_24, x_9);
x_26 = lean_box(0);
@ -13084,7 +13084,7 @@ if (lean_is_exclusive(x_36)) {
lean_dec_ref(x_36);
x_38 = lean_box(0);
}
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_40 = lean_string_append(x_37, x_39);
x_41 = lean_string_append(x_40, x_9);
x_42 = lean_box(0);

View file

@ -66,7 +66,6 @@ lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Lean_IR_instToFormatParam;
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
extern lean_object* l_Lean_formatKVMap___closed__1;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(lean_object*);
lean_object* l_Lean_IR_formatAlt___closed__2;
@ -112,6 +111,7 @@ lean_object* l_Nat_repr(lean_object*);
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_IR_formatDecl___closed__1;
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
lean_object* l_Lean_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(lean_object*, lean_object*);
@ -2269,7 +2269,7 @@ static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatI
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;

View file

@ -33,7 +33,6 @@ extern lean_object* l_instReprBool___closed__1;
extern lean_object* l_String_quote___closed__2;
lean_object* lean_array_get_size(lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Lean_Json_render___closed__6;
lean_object* l_Lean_Json_escape___closed__1;
lean_object* l_Lean_Json_escape___boxed(lean_object*);
@ -50,6 +49,7 @@ lean_object* l_Lean_Json_render___closed__2;
lean_object* l_Lean_Json_compress(lean_object*);
lean_object* l_Lean_Format_joinSep___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_String_foldrAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_Json_renderString(lean_object*);
lean_object* lean_array_to_list(lean_object*, lean_object*);
lean_object* l_Lean_Json_renderString___boxed(lean_object*);
@ -507,7 +507,7 @@ static lean_object* _init_l_Lean_Json_render___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -915,7 +915,7 @@ x_28 = l_String_intercalate(x_27, x_26);
x_29 = l_addParenHeuristic___closed__1;
x_30 = lean_string_append(x_29, x_28);
lean_dec(x_28);
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_32 = lean_string_append(x_30, x_31);
return x_32;
}

View file

@ -138,11 +138,11 @@ lean_object* l_Lean_Lsp_instFromJsonCommand___closed__1;
lean_object* l_Lean_Lsp_instToJsonStaticRegistrationOptions(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonCommand___boxed(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonLocation(lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
lean_object* l_Lean_Lsp_instToJsonTextEditBatch(lean_object*);
lean_object* l_Lean_Lsp_instToJsonRange(lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonTextDocumentEdit___spec__2(lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonCommand___spec__2___boxed(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
lean_object* l_Lean_Lsp_instToJsonMarkupKind___boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonMarkupKind___closed__1;
lean_object* l_Lean_Lsp_instFromJsonCommand(lean_object*);
@ -458,7 +458,7 @@ lean_object* l_Lean_Lsp_instFromJsonRange(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonRange___spec__1(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
@ -564,7 +564,7 @@ x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_7);
lean_ctor_set(x_15, 1, x_14);
x_16 = l_Lean_Json_mkObj(x_15);
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_16);
@ -649,7 +649,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_7 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonRange___spec__1(x_5, x_6);
if (lean_obj_tag(x_7) == 0)
{
@ -853,7 +853,7 @@ x_20 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_20, 0, x_12);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lean_Json_mkObj(x_20);
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_21);
@ -1079,7 +1079,7 @@ x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_10);
lean_ctor_set(x_18, 1, x_17);
x_19 = l_Lean_Json_mkObj(x_18);
x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
@ -1178,7 +1178,7 @@ x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_15);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_Json_mkObj(x_23);
x_25 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_25 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_24);
@ -1766,7 +1766,7 @@ x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_8);
lean_ctor_set(x_16, 1, x_15);
x_17 = l_Lean_Json_mkObj(x_16);
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_17);
@ -1987,7 +1987,7 @@ x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_16);
lean_ctor_set(x_24, 1, x_23);
x_25 = l_Lean_Json_mkObj(x_24);
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
@ -2532,7 +2532,7 @@ x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_17);
lean_ctor_set(x_24, 1, x_23);
x_25 = l_Lean_Json_mkObj(x_24);
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);

View file

@ -131,11 +131,11 @@ lean_object* l_Lean_Lsp_instToJsonDiagnosticCode_match__1(lean_object*);
lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__1;
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDiagnostic___spec__4___closed__2;
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonDiagnostic___spec__6(size_t, size_t, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag(lean_object*);
lean_object* l_Lean_Json_opt___at_Lean_Lsp_instToJsonDiagnostic___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed(lean_object*);
lean_object* l_Lean_Json_opt___at_Lean_Lsp_instToJsonDiagnostic___spec__2___boxed(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonPublishDiagnosticsParams___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonDiagnostic___spec__3___boxed(lean_object*, lean_object*);
lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*);
@ -1247,7 +1247,7 @@ x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_13);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Lean_Json_mkObj(x_21);
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_22);
@ -2312,7 +2312,7 @@ x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_21);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lean_Json_mkObj(x_29);
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_30);
@ -2493,7 +2493,7 @@ x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_27);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Lean_Json_mkObj(x_35);
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_36);
@ -2981,7 +2981,7 @@ x_43 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_43, 0, x_35);
lean_ctor_set(x_43, 1, x_42);
x_44 = l_Lean_Json_mkObj(x_43);
x_45 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_485____closed__1;
x_45 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_497____closed__1;
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_44);

View file

@ -535,7 +535,6 @@ lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default;
lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
lean_object* l___regBuiltin_Lean_Elab_Term_expandPipeProj(lean_object*);
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2(lean_object*);
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1___rarg(lean_object*, lean_object*);
@ -663,6 +662,7 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
uint8_t l_List_isEmpty___rarg(lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___spec__1___closed__4;
lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
@ -12178,7 +12178,7 @@ lean_ctor_set(x_79, 0, x_76);
lean_ctor_set(x_79, 1, x_78);
x_80 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4;
x_81 = lean_array_push(x_80, x_79);
x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_83 = lean_array_push(x_81, x_82);
x_84 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2;
x_85 = lean_alloc_ctor(1, 2, 0);

View file

@ -398,7 +398,6 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__31;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__2;
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2(lean_object*);
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12;
lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1(lean_object*);
@ -476,6 +475,7 @@ lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__7;
lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3;
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1510,7 +1510,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__28;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
@ -1560,7 +1560,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}

View file

@ -55,7 +55,6 @@ lean_object* lean_array_get_size(lean_object*);
extern lean_object* l_Array_getEvenElems___rarg___closed__1;
lean_object* l_Lean_Elab_elabModifiers_match__2(lean_object*);
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
lean_object* l_Lean_Elab_instToStringVisibility(uint8_t);
@ -86,6 +85,7 @@ lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
lean_object* l_Lean_Syntax_getId(lean_object*);
lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_instToFormatModifiers___closed__9;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4;
lean_object* l_Lean_Elab_instToFormatModifiers___closed__17;
lean_object* l_Lean_Elab_instToFormatModifiers___closed__4;
@ -1197,7 +1197,7 @@ static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;

View file

@ -86,6 +86,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl___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* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun_match__2(lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___closed__3;
uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample___spec__1(lean_object*, size_t, size_t);
@ -148,7 +149,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Lean_Elab_Term_MutualClosure_main(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -173,7 +173,6 @@ uint8_t l_Lean_Elab_DefKind_isExample(uint8_t);
lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_USize_decLt(size_t, size_t);
extern lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun_match__1(lean_object*);
lean_object* l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -317,6 +316,7 @@ lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___closed__2;
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__5;
lean_object* l_List_foldl___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1(uint8_t, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1;
lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Nat_foldAux___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -4919,7 +4919,7 @@ lean_inc(x_1);
x_7 = lean_array_push(x_6, x_1);
x_8 = l_Lean_mkOptionalNode___closed__1;
x_9 = lean_array_push(x_7, x_8);
x_10 = l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
x_10 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_9);
@ -5199,7 +5199,7 @@ x_36 = l_Lean_nullKind;
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_35);
x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_39 = l_Lean_mkAtomFrom(x_1, x_38);
x_40 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6;
x_41 = lean_array_push(x_40, x_29);
@ -5236,7 +5236,7 @@ x_59 = l_Lean_nullKind;
x_60 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_58);
x_61 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_61 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_62 = l_Lean_mkAtomFrom(x_1, x_61);
x_63 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6;
x_64 = lean_array_push(x_63, x_52);

View file

@ -97,6 +97,7 @@ lean_object* l_Lean_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___
lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__1;
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_allStructNames___default;
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop_match__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_StructInst_findField_x3f_match__1(lean_object*);
@ -109,7 +110,7 @@ extern lean_object* l_Array_empty___closed__1;
extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__11;
lean_object* lean_environment_find(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___rarg___closed__5;
lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6271_(lean_object*);
lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6273_(lean_object*);
lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__1___closed__5;
@ -168,7 +169,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Le
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
lean_object* l_Lean_Elab_Term_StructInst_formatField(lean_object*, lean_object*);
lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1(lean_object*);
lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__4___boxed(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*);
@ -191,7 +191,6 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_lo
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1___closed__4;
uint8_t l_USize_decLt(size_t, size_t);
extern lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__5;
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14;
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__2___rarg(lean_object*, lean_object*, lean_object*);
@ -352,6 +351,7 @@ lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_o
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__1(lean_object*);
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___rarg___closed__1;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1(lean_object*);
uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource_match__1(lean_object*);
@ -1823,194 +1823,198 @@ uint8_t x_14;
x_14 = !lean_is_exclusive(x_6);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; uint8_t x_17;
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19;
x_15 = lean_ctor_get(x_6, 3);
x_16 = l_Lean_replaceRef(x_1, x_15);
lean_dec(x_15);
lean_ctor_set(x_6, 3, x_16);
x_17 = l_Lean_Syntax_isNone(x_12);
x_17 = lean_unsigned_to_nat(0u);
x_18 = l_Lean_Syntax_getArg(x_12, x_17);
lean_dec(x_12);
if (x_17 == 0)
x_19 = l_Lean_Syntax_isNone(x_18);
lean_dec(x_18);
if (x_19 == 0)
{
lean_object* x_18; lean_object* x_19;
lean_object* x_20; lean_object* x_21;
lean_dec(x_10);
x_18 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3;
x_19 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3;
x_21 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_19;
return x_21;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
x_20 = lean_unsigned_to_nat(0u);
x_21 = l_Lean_Syntax_getArg(x_10, x_20);
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = l_Lean_Syntax_getArg(x_10, x_17);
lean_inc(x_4);
x_22 = l_Lean_Elab_Term_isLocalIdent_x3f(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
lean_dec(x_10);
x_24 = lean_ctor_get(x_22, 1);
x_23 = l_Lean_Elab_Term_isLocalIdent_x3f(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
lean_dec(x_22);
x_25 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
x_26 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6;
x_27 = lean_panic_fn(x_25, x_26);
x_28 = lean_apply_7(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_24);
return x_28;
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
lean_dec(x_10);
x_25 = lean_ctor_get(x_23, 1);
lean_inc(x_25);
lean_dec(x_23);
x_26 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
x_27 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6;
x_28 = lean_panic_fn(x_26, x_27);
x_29 = lean_apply_7(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_25);
return x_29;
}
else
{
uint8_t x_29;
uint8_t x_30;
lean_dec(x_6);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_29 = !lean_is_exclusive(x_22);
if (x_29 == 0)
x_30 = !lean_is_exclusive(x_23);
if (x_30 == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32;
x_30 = lean_ctor_get(x_22, 0);
lean_dec(x_30);
lean_object* x_31; lean_object* x_32; lean_object* x_33;
x_31 = lean_ctor_get(x_23, 0);
lean_inc(x_31);
lean_dec(x_23);
x_32 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_32, 0, x_10);
lean_ctor_set(x_32, 1, x_31);
lean_ctor_set(x_22, 0, x_32);
return x_22;
lean_dec(x_31);
x_32 = lean_ctor_get(x_24, 0);
lean_inc(x_32);
lean_dec(x_24);
x_33 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_33, 0, x_10);
lean_ctor_set(x_33, 1, x_32);
lean_ctor_set(x_23, 0, x_33);
return x_23;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
x_33 = lean_ctor_get(x_22, 1);
lean_inc(x_33);
lean_dec(x_22);
x_34 = lean_ctor_get(x_23, 0);
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
x_34 = lean_ctor_get(x_23, 1);
lean_inc(x_34);
lean_dec(x_23);
x_35 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_35, 0, x_10);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_33);
return x_36;
x_35 = lean_ctor_get(x_24, 0);
lean_inc(x_35);
lean_dec(x_24);
x_36 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_36, 0, x_10);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_34);
return x_37;
}
}
}
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45;
x_37 = lean_ctor_get(x_6, 0);
x_38 = lean_ctor_get(x_6, 1);
x_39 = lean_ctor_get(x_6, 2);
x_40 = lean_ctor_get(x_6, 3);
x_41 = lean_ctor_get(x_6, 4);
x_42 = lean_ctor_get(x_6, 5);
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48;
x_38 = lean_ctor_get(x_6, 0);
x_39 = lean_ctor_get(x_6, 1);
x_40 = lean_ctor_get(x_6, 2);
x_41 = lean_ctor_get(x_6, 3);
x_42 = lean_ctor_get(x_6, 4);
x_43 = lean_ctor_get(x_6, 5);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_6);
x_43 = l_Lean_replaceRef(x_1, x_40);
lean_dec(x_40);
x_44 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_44, 0, x_37);
lean_ctor_set(x_44, 1, x_38);
lean_ctor_set(x_44, 2, x_39);
lean_ctor_set(x_44, 3, x_43);
lean_ctor_set(x_44, 4, x_41);
lean_ctor_set(x_44, 5, x_42);
x_45 = l_Lean_Syntax_isNone(x_12);
x_44 = l_Lean_replaceRef(x_1, x_41);
lean_dec(x_41);
x_45 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_45, 2, x_40);
lean_ctor_set(x_45, 3, x_44);
lean_ctor_set(x_45, 4, x_42);
lean_ctor_set(x_45, 5, x_43);
x_46 = lean_unsigned_to_nat(0u);
x_47 = l_Lean_Syntax_getArg(x_12, x_46);
lean_dec(x_12);
if (x_45 == 0)
x_48 = l_Lean_Syntax_isNone(x_47);
lean_dec(x_47);
if (x_48 == 0)
{
lean_object* x_46; lean_object* x_47;
lean_object* x_49; lean_object* x_50;
lean_dec(x_10);
x_46 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3;
x_47 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_46, x_2, x_3, x_4, x_5, x_44, x_7, x_8);
x_49 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3;
x_50 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_49, x_2, x_3, x_4, x_5, x_45, x_7, x_8);
lean_dec(x_7);
lean_dec(x_44);
lean_dec(x_45);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_47;
return x_50;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51;
x_48 = lean_unsigned_to_nat(0u);
x_49 = l_Lean_Syntax_getArg(x_10, x_48);
lean_object* x_51; lean_object* x_52; lean_object* x_53;
x_51 = l_Lean_Syntax_getArg(x_10, x_46);
lean_inc(x_4);
x_50 = l_Lean_Elab_Term_isLocalIdent_x3f(x_49, x_2, x_3, x_4, x_5, x_44, x_7, x_8);
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
if (lean_obj_tag(x_51) == 0)
x_52 = l_Lean_Elab_Term_isLocalIdent_x3f(x_51, x_2, x_3, x_4, x_5, x_45, x_7, x_8);
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
if (lean_obj_tag(x_53) == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58;
lean_dec(x_10);
x_52 = lean_ctor_get(x_50, 1);
lean_inc(x_52);
lean_dec(x_50);
x_53 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
x_54 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6;
x_55 = lean_panic_fn(x_53, x_54);
x_56 = lean_apply_7(x_55, x_2, x_3, x_4, x_5, x_44, x_7, x_52);
return x_56;
x_54 = lean_ctor_get(x_52, 1);
lean_inc(x_54);
lean_dec(x_52);
x_55 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
x_56 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__6;
x_57 = lean_panic_fn(x_55, x_56);
x_58 = lean_apply_7(x_57, x_2, x_3, x_4, x_5, x_45, x_7, x_54);
return x_58;
}
else
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61;
lean_dec(x_44);
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
lean_dec(x_45);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_57 = lean_ctor_get(x_50, 1);
lean_inc(x_57);
if (lean_is_exclusive(x_50)) {
lean_ctor_release(x_50, 0);
lean_ctor_release(x_50, 1);
x_58 = x_50;
} else {
lean_dec_ref(x_50);
x_58 = lean_box(0);
}
x_59 = lean_ctor_get(x_51, 0);
x_59 = lean_ctor_get(x_52, 1);
lean_inc(x_59);
lean_dec(x_51);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_10);
lean_ctor_set(x_60, 1, x_59);
if (lean_is_scalar(x_58)) {
x_61 = lean_alloc_ctor(0, 2, 0);
if (lean_is_exclusive(x_52)) {
lean_ctor_release(x_52, 0);
lean_ctor_release(x_52, 1);
x_60 = x_52;
} else {
x_61 = x_58;
lean_dec_ref(x_52);
x_60 = lean_box(0);
}
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_57);
return x_61;
x_61 = lean_ctor_get(x_53, 0);
lean_inc(x_61);
lean_dec(x_53);
x_62 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_62, 0, x_10);
lean_ctor_set(x_62, 1, x_61);
if (lean_is_scalar(x_60)) {
x_63 = lean_alloc_ctor(0, 2, 0);
} else {
x_63 = x_60;
}
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_59);
return x_63;
}
}
}
}
else
{
uint8_t x_62;
lean_object* x_64; lean_object* x_65; uint8_t x_66;
lean_dec(x_10);
lean_dec(x_7);
lean_dec(x_6);
@ -2018,26 +2022,29 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_62 = l_Lean_Syntax_isNone(x_12);
if (x_62 == 0)
x_64 = lean_unsigned_to_nat(0u);
x_65 = l_Lean_Syntax_getArg(x_12, x_64);
x_66 = l_Lean_Syntax_isNone(x_65);
lean_dec(x_65);
if (x_66 == 0)
{
lean_object* x_63; lean_object* x_64;
x_63 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_63, 0, x_12);
x_64 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_8);
return x_64;
lean_object* x_67; lean_object* x_68;
x_67 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_67, 0, x_12);
x_68 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_8);
return x_68;
}
else
{
lean_object* x_65; lean_object* x_66;
lean_object* x_69; lean_object* x_70;
lean_dec(x_12);
x_65 = lean_box(0);
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_65);
lean_ctor_set(x_66, 1, x_8);
return x_66;
x_69 = lean_box(0);
x_70 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_70, 0, x_69);
lean_ctor_set(x_70, 1, x_8);
return x_70;
}
}
}
@ -2814,7 +2821,7 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean
x_42 = l_Lean_Syntax_mkApp___closed__1;
x_43 = lean_array_push(x_42, x_41);
x_44 = lean_array_push(x_43, x_39);
x_45 = l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
x_45 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
x_46 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_44);
@ -5596,7 +5603,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_formatStruct___closed__2()
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -27349,7 +27356,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
return x_5;
}
}
lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6271_(lean_object* x_1) {
lean_object* l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6273_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
@ -27672,7 +27679,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___c
res = l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6271_(lean_io_mk_world());
res = l_Lean_Elab_Term_StructInst_initFn____x40_Lean_Elab_StructInst___hyg_6273_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0));

View file

@ -71,6 +71,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_evalSyntaxConstant___boxed(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Elab_getBetterRef___lambda__1(lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Elab_getMacros_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__2;
@ -86,7 +87,6 @@ extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute_
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__10;
lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_instMonadMacroAdapter(lean_object*, lean_object*);
size_t l_Lean_Name_hash(lean_object*);
@ -2731,7 +2731,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_891____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}

View file

@ -265,6 +265,7 @@ lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__10;
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfold(lean_object*);
lean_object* l_Lean_Meta_isDefEqBindingDomain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_check___spec__29(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
lean_object* lean_st_ref_take(lean_object*, lean_object*);
lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__63___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
@ -331,7 +332,6 @@ uint8_t l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta
lean_object* l_Lean_Meta_CheckAssignment_run___closed__2;
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps_match__1(lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
lean_object* l_Std_mkHashMap___at_Lean_Meta_CheckAssignment_State_cache___default___spec__1(lean_object*);
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -60337,7 +60337,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_isExprDefEq___closed__2;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}

View file

@ -92,6 +92,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_Meta_isListLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__1(lean_object*);
uint8_t l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
lean_object* lean_st_ref_take(lean_object*, lean_object*);
lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -119,7 +120,6 @@ lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*);
lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__13;
@ -2953,7 +2953,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_isLevelDefEqAux___closed__2;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -17599,7 +17599,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_793____closed__1;
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_829____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}

View file

@ -103,7 +103,6 @@ lean_object* l_Array_binSearchAux___at_Lean_Meta_getMajorPos_x3f___spec__2(lean_
lean_object* l_List_range(lean_object*);
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__4;
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__13;
lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -198,6 +197,7 @@ lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursor
lean_object* l_Lean_Meta_RecursorInfo_numMinors___boxed(lean_object*);
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__4___lambda__2___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___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___closed__2;
@ -1517,7 +1517,7 @@ x_82 = lean_string_append(x_80, x_81);
x_83 = lean_string_append(x_82, x_40);
lean_dec(x_40);
x_84 = lean_string_append(x_83, x_7);
x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_86 = lean_string_append(x_84, x_85);
return x_86;
}

View file

@ -232,6 +232,7 @@ extern lean_object* l_Lean_Parser_darrow;
lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__2;
lean_object* l_Lean_Parser_Term_doReassign___closed__4;
lean_object* l_Lean_Parser_Term_doElem_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Term_structInst_formatter___closed__11;
lean_object* l_Lean_Parser_Term_doLetRec;
extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1;
lean_object* l_Lean_Parser_Term_do___elambda__1___closed__4;
@ -609,7 +610,6 @@ lean_object* l_Lean_Parser_Term_termFor;
lean_object* l_Lean_Parser_Term_doAssert_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__3;
extern lean_object* l_Lean_Parser_Term_structInst_formatter___closed__13;
lean_object* l_Lean_Parser_Term_doLet___closed__3;
lean_object* l___regBuiltinParser_Lean_Parser_Term_doContinue(lean_object*);
lean_object* l_Lean_Parser_Term_termTry___elambda__1___closed__6;
@ -12765,7 +12765,7 @@ static lean_object* _init_l_Lean_Parser_Term_doCatch_formatter___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Term_structInst_formatter___closed__13;
x_1 = l_Lean_Parser_Term_structInst_formatter___closed__11;
x_2 = l_Lean_Parser_Term_doCatch_formatter___closed__5;
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2);
lean_closure_set(x_3, 0, x_1);

File diff suppressed because it is too large Load diff

View file

@ -113,6 +113,7 @@ lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyP
lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3;
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders(lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__4___closed__1;
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1;
lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -214,7 +215,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1(lean_objec
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2;
extern lean_object* l_Lean_instQuoteBool___closed__1;
uint8_t l_USize_decLt(size_t, size_t);
extern lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2;
lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -594,7 +594,6 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__3;
extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__5;
lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2;
lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2;
@ -705,6 +704,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1(lean_object*);
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1;
uint8_t l_List_isEmpty___rarg(lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_277____closed__4;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4;
lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5;
@ -2847,7 +2847,7 @@ x_39 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
x_40 = lean_array_push(x_20, x_39);
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_42 = lean_array_push(x_40, x_41);
x_43 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2;
x_44 = lean_alloc_ctor(1, 2, 0);
@ -2926,7 +2926,7 @@ x_75 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_75, 0, x_74);
lean_ctor_set(x_75, 1, x_73);
x_76 = lean_array_push(x_56, x_75);
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_78 = lean_array_push(x_76, x_77);
x_79 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2;
x_80 = lean_alloc_ctor(1, 2, 0);
@ -13752,7 +13752,7 @@ x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4;
x_58 = lean_array_push(x_57, x_56);
x_59 = l_myMacro____x40_Init_Notation___hyg_521____closed__23;
x_60 = lean_array_push(x_58, x_59);
x_61 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_61 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_62 = lean_array_push(x_60, x_61);
x_63 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_64 = lean_alloc_ctor(1, 2, 0);
@ -13784,7 +13784,7 @@ x_74 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_74, 0, x_68);
lean_ctor_set(x_74, 1, x_73);
x_75 = lean_array_push(x_71, x_74);
x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_77 = lean_array_push(x_75, x_76);
x_78 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_79 = lean_alloc_ctor(1, 2, 0);
@ -14115,7 +14115,7 @@ x_158 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4;
x_159 = lean_array_push(x_158, x_157);
x_160 = l_myMacro____x40_Init_Notation___hyg_521____closed__23;
x_161 = lean_array_push(x_159, x_160);
x_162 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_162 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_163 = lean_array_push(x_161, x_162);
x_164 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_165 = lean_alloc_ctor(1, 2, 0);
@ -14147,7 +14147,7 @@ x_175 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_175, 0, x_169);
lean_ctor_set(x_175, 1, x_174);
x_176 = lean_array_push(x_172, x_175);
x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_178 = lean_array_push(x_176, x_177);
x_179 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_180 = lean_alloc_ctor(1, 2, 0);
@ -14799,7 +14799,7 @@ x_75 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_75, 0, x_69);
lean_ctor_set(x_75, 1, x_74);
x_76 = lean_array_push(x_72, x_75);
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_78 = lean_array_push(x_76, x_77);
x_79 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_80 = lean_alloc_ctor(1, 2, 0);
@ -15140,7 +15140,7 @@ x_182 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_182, 0, x_176);
lean_ctor_set(x_182, 1, x_181);
x_183 = lean_array_push(x_179, x_182);
x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_185 = lean_array_push(x_183, x_184);
x_186 = l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2;
x_187 = lean_alloc_ctor(1, 2, 0);
@ -18310,7 +18310,7 @@ x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_3);
x_26 = lean_array_push(x_23, x_25);
x_27 = l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
x_27 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
x_28 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_26);
@ -18352,7 +18352,7 @@ x_46 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_3);
x_47 = lean_array_push(x_44, x_46);
x_48 = l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
x_49 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_47);
@ -18464,7 +18464,7 @@ x_81 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_81, 0, x_80);
lean_ctor_set(x_81, 1, x_3);
x_82 = lean_array_push(x_79, x_81);
x_83 = l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
x_83 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__9;
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_82);
@ -18602,7 +18602,7 @@ x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_13);
lean_ctor_set(x_32, 1, x_31);
x_33 = lean_array_push(x_30, x_32);
x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_35 = lean_array_push(x_33, x_34);
x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__2;
x_37 = lean_alloc_ctor(1, 2, 0);
@ -18627,7 +18627,7 @@ x_43 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_43, 0, x_13);
lean_ctor_set(x_43, 1, x_42);
x_44 = lean_array_push(x_30, x_43);
x_45 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21;
x_45 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__23;
x_46 = lean_array_push(x_44, x_45);
x_47 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__2;
x_48 = lean_alloc_ctor(1, 2, 0);

View file

@ -146,7 +146,6 @@ lean_object* l_Std_mkPersistentArray___rarg(lean_object*, lean_object*);
lean_object* l_Array_anyMUnsafe_any___at_Std_PersistentArray_allM___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Std_PersistentArray_foldl___spec__3(lean_object*, lean_object*);
lean_object* l_Std_PersistentArray_anyMAux___at_Std_PersistentArray_all___spec__2___rarg___boxed(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Std_PersistentArray_findSomeRevM_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_anyMUnsafe_any___at_Std_PersistentArray_any___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Std_PersistentArray_toList___spec__3___rarg___boxed(lean_object*, lean_object*);
@ -309,6 +308,7 @@ lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMA
lean_object* l_Array_forInUnsafe_loop___at_Std_PersistentArray_findSome_x3f___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Std_PersistentArray_forMAux___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Std_PersistentArray_mapMAux___at_Std_PersistentArray_map___spec__2(lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_toList___spec__11(lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_foldl___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -12690,7 +12690,7 @@ lean_dec(x_1);
x_14 = l_Nat_repr(x_13);
x_15 = lean_string_append(x_12, x_14);
lean_dec(x_14);
x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_17 = lean_string_append(x_15, x_16);
return x_17;
}

View file

@ -71,7 +71,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentHashMap_toList___spec_
lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_collectStats_match__2(lean_object*, lean_object*, lean_object*);
lean_object* l_Nat_max(lean_object*, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
lean_object* l_Std_PersistentHashMap_insert(lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_foldlMAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize(lean_object*, lean_object*);
@ -138,6 +137,7 @@ lean_object* l_Nat_repr(lean_object*);
lean_object* l_Std_PersistentHashMap_contains_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_isEmpty(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Std_PersistentHashMap_toList___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_erase_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
@ -5010,7 +5010,7 @@ lean_dec(x_1);
x_19 = l_Nat_repr(x_18);
x_20 = lean_string_append(x_17, x_19);
lean_dec(x_19);
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__20;
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
x_22 = lean_string_append(x_20, x_21);
return x_22;
}