chore: update stage0

This commit is contained in:
Leonardo de Moura 2020-01-25 16:23:39 -08:00
parent eb8e7b9f3d
commit dcf0ae2a33
5 changed files with 1279 additions and 1670 deletions

View file

@ -91,13 +91,14 @@ def matchAlt := parser! " | " >> sepBy1 termParser ", " >> darrow >> termParser
@[builtinTermParser] def «match_syntax» := parser! "match_syntax" >> termParser >> " with " >> many1Indent matchAlt "'match_syntax' alternatives must be indented"
/- Remark: we use `checkWsBefore` to ensure `let x[i] := e; b` is not parsed as `let x [i] := e; b` where `[i]` is an `instBinder`. -/
def letIdLhs : Parser := ident >> checkWsBefore "expected space before binders" >> many bracktedBinder >> optType
def letIdDecl := parser! try (letIdLhs >> " := ") >> termParser
def letIdLhs : Parser := ident >> checkWsBefore "expected space before binders" >> many bracktedBinder >> optType
def letSimpleDecl : Parser := try (letIdLhs >> " := ") >> termParser
def letPatDecl : Parser := termParser >> optType >> " := " >> termParser
@[builtinTermParser] def letDecl := parser! "let " >> (letSimpleDecl <|> letPatDecl) >> "; " >> termParser
def equation := matchAlt
def letEqns := parser! try (letIdLhs >> lookahead " | ") >> many1Indent equation "equations must be indented"
def letPatDecl := parser! termParser >> optType >> " := " >> termParser
def letDecl := try letIdDecl <|> letEqns <|> letPatDecl
@[builtinTermParser] def «let» := parser! "let " >> letDecl >> "; " >> termParser
@[builtinTermParser] def letEqns :=
parser! "let " >> letIdLhs >> many1Indent equation "equations must be indented"
@[builtinTermParser] def «let_core» := parser! "let_core " >> termParser >> ":=" >> termParser >> "; " >> termParser

View file

@ -57,6 +57,7 @@ extern lean_object* l_Lean_identKind___closed__1;
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_4__elimAntiquotChoices___main(lean_object*);
lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__54;
lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -245,14 +246,12 @@ lean_object* lean_expand_stx_quot(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*);
lean_object* l___regBuiltinTermElab_Lean_Elab_Term_Quotation_elabStxQuot___closed__4;
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8;
extern lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4;
extern lean_object* l_Lean_Parser_Term_band___elambda__1___closed__1;
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__33;
lean_object* l___regBuiltinTermElab_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2;
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22;
lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplice___boxed(lean_object*);
extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__1;
@ -263,6 +262,7 @@ lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__
extern lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7;
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Unhygienic_run___rarg(lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
lean_object* l_Lean_String_HasQuote(lean_object*);
lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6;
@ -431,7 +431,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda_
lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__33;
lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___closed__1;
lean_object* l_ReaderT_pure___at_Lean_Elab_Term_Quotation_HeadInfo_Inhabited___spec__1___rarg(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
lean_object* l_Lean_Syntax_getKind(lean_object*);
extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__2;
@ -446,6 +445,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda_
lean_object* l_Lean_List_hasQuote___rarg(lean_object*);
lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__16;
lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__10;
lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22;
lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__32;
lean_object* l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1;
@ -14479,13 +14479,21 @@ return x_1;
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("let");
return x_1;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_mkNatLit(x_1);
return x_2;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6() {
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -14494,7 +14502,7 @@ x_2 = l_Lean_mkStrLit(x_1);
return x_2;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7() {
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__8() {
_start:
{
lean_object* x_1;
@ -14502,22 +14510,12 @@ x_1 = lean_mk_string("stxQuot: unsupported let_core");
return x_1;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__8;
x_2 = lean_alloc_ctor(0, 1, 0);
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
@ -14525,6 +14523,16 @@ return x_2;
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Name_inhabited;
x_2 = l_Lean_Syntax_inhabited;
@ -14534,6 +14542,22 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("letIdDecl");
return x_1;
}
}
lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("letPatDecl");
return x_1;
}
}
lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
@ -14710,7 +14734,7 @@ x_157 = lean_string_dec_eq(x_119, x_156);
if (x_157 == 0)
{
lean_object* x_158; uint8_t x_159;
x_158 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_158 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_159 = lean_string_dec_eq(x_119, x_158);
if (x_159 == 0)
{
@ -14791,7 +14815,7 @@ lean_dec(x_184);
if (lean_obj_tag(x_186) == 0)
{
lean_object* x_187; lean_object* x_188;
x_187 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_187 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_188 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set(x_188, 1, x_3);
@ -14828,7 +14852,7 @@ lean_dec(x_193);
if (lean_obj_tag(x_194) == 0)
{
lean_object* x_195; lean_object* x_196;
x_195 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_195 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_196 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_196, 0, x_195);
lean_ctor_set(x_196, 1, x_3);
@ -15104,7 +15128,7 @@ if (lean_obj_tag(x_277) == 0)
{
lean_object* x_278; lean_object* x_279;
lean_dec(x_4);
x_278 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_278 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_279 = l_Lean_Elab_Term_throwError___rarg(x_1, x_278, x_2, x_3);
lean_dec(x_1);
return x_279;
@ -15511,7 +15535,7 @@ lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_378);
lean_dec(x_372);
x_383 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_383 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_384 = l_unreachable_x21___rarg(x_383);
x_5 = x_384;
goto block_95;
@ -15527,7 +15551,7 @@ lean_object* x_386; lean_object* x_387;
lean_dec(x_379);
lean_dec(x_378);
lean_dec(x_372);
x_386 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_386 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_387 = l_unreachable_x21___rarg(x_386);
x_5 = x_387;
goto block_95;
@ -15542,7 +15566,7 @@ if (x_388 == 0)
lean_object* x_389; lean_object* x_390;
lean_dec(x_378);
lean_dec(x_372);
x_389 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_389 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_390 = l_unreachable_x21___rarg(x_389);
x_5 = x_390;
goto block_95;
@ -15550,19 +15574,19 @@ goto block_95;
else
{
lean_object* x_391; uint8_t x_392;
x_391 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
x_391 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
x_392 = lean_string_dec_eq(x_378, x_391);
if (x_392 == 0)
{
lean_object* x_393; uint8_t x_394;
x_393 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
x_393 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
x_394 = lean_string_dec_eq(x_378, x_393);
lean_dec(x_378);
if (x_394 == 0)
{
lean_object* x_395; lean_object* x_396;
lean_dec(x_372);
x_395 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_395 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_396 = l_unreachable_x21___rarg(x_395);
x_5 = x_396;
goto block_95;
@ -15612,7 +15636,7 @@ lean_dec(x_375);
lean_dec(x_374);
lean_dec(x_373);
lean_dec(x_372);
x_408 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_408 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_409 = l_unreachable_x21___rarg(x_408);
x_5 = x_409;
goto block_95;
@ -15626,7 +15650,7 @@ lean_dec(x_375);
lean_dec(x_374);
lean_dec(x_373);
lean_dec(x_372);
x_410 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_410 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_411 = l_unreachable_x21___rarg(x_410);
x_5 = x_411;
goto block_95;
@ -15639,7 +15663,7 @@ lean_dec(x_375);
lean_dec(x_374);
lean_dec(x_373);
lean_dec(x_372);
x_412 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_412 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_413 = l_unreachable_x21___rarg(x_412);
x_5 = x_413;
goto block_95;
@ -15651,7 +15675,7 @@ lean_object* x_414; lean_object* x_415;
lean_dec(x_374);
lean_dec(x_373);
lean_dec(x_372);
x_414 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_414 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_415 = l_unreachable_x21___rarg(x_414);
x_5 = x_415;
goto block_95;
@ -15662,7 +15686,7 @@ else
lean_object* x_416; lean_object* x_417;
lean_dec(x_373);
lean_dec(x_372);
x_416 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_416 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_417 = l_unreachable_x21___rarg(x_416);
x_5 = x_417;
goto block_95;
@ -17328,7 +17352,7 @@ x_889 = lean_string_dec_eq(x_119, x_888);
if (x_889 == 0)
{
lean_object* x_890; uint8_t x_891;
x_890 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_890 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_891 = lean_string_dec_eq(x_119, x_890);
if (x_891 == 0)
{
@ -17412,7 +17436,7 @@ lean_dec(x_917);
if (lean_obj_tag(x_919) == 0)
{
lean_object* x_920; lean_object* x_921;
x_920 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_920 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_921 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_921, 0, x_920);
lean_ctor_set(x_921, 1, x_3);
@ -17448,7 +17472,7 @@ lean_dec(x_926);
if (lean_obj_tag(x_927) == 0)
{
lean_object* x_928; lean_object* x_929;
x_928 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_928 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_929 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_929, 0, x_928);
lean_ctor_set(x_929, 1, x_3);
@ -17719,7 +17743,7 @@ if (lean_obj_tag(x_1008) == 0)
{
lean_object* x_1009; lean_object* x_1010;
lean_dec(x_4);
x_1009 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_1009 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1010 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1009, x_2, x_3);
lean_dec(x_1);
return x_1010;
@ -17987,7 +18011,7 @@ lean_dec(x_1072);
lean_dec(x_1071);
lean_dec(x_1070);
lean_dec(x_1064);
x_1075 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1075 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1076 = l_unreachable_x21___rarg(x_1075);
x_5 = x_1076;
goto block_95;
@ -18003,7 +18027,7 @@ lean_object* x_1078; lean_object* x_1079;
lean_dec(x_1071);
lean_dec(x_1070);
lean_dec(x_1064);
x_1078 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1078 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1079 = l_unreachable_x21___rarg(x_1078);
x_5 = x_1079;
goto block_95;
@ -18018,7 +18042,7 @@ if (x_1080 == 0)
lean_object* x_1081; lean_object* x_1082;
lean_dec(x_1070);
lean_dec(x_1064);
x_1081 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1081 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1082 = l_unreachable_x21___rarg(x_1081);
x_5 = x_1082;
goto block_95;
@ -18026,19 +18050,19 @@ goto block_95;
else
{
lean_object* x_1083; uint8_t x_1084;
x_1083 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
x_1083 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
x_1084 = lean_string_dec_eq(x_1070, x_1083);
if (x_1084 == 0)
{
lean_object* x_1085; uint8_t x_1086;
x_1085 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
x_1085 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
x_1086 = lean_string_dec_eq(x_1070, x_1085);
lean_dec(x_1070);
if (x_1086 == 0)
{
lean_object* x_1087; lean_object* x_1088;
lean_dec(x_1064);
x_1087 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1087 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1088 = l_unreachable_x21___rarg(x_1087);
x_5 = x_1088;
goto block_95;
@ -18088,7 +18112,7 @@ lean_dec(x_1067);
lean_dec(x_1066);
lean_dec(x_1065);
lean_dec(x_1064);
x_1100 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1100 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1101 = l_unreachable_x21___rarg(x_1100);
x_5 = x_1101;
goto block_95;
@ -18102,7 +18126,7 @@ lean_dec(x_1067);
lean_dec(x_1066);
lean_dec(x_1065);
lean_dec(x_1064);
x_1102 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1102 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1103 = l_unreachable_x21___rarg(x_1102);
x_5 = x_1103;
goto block_95;
@ -18115,7 +18139,7 @@ lean_dec(x_1067);
lean_dec(x_1066);
lean_dec(x_1065);
lean_dec(x_1064);
x_1104 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1104 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1105 = l_unreachable_x21___rarg(x_1104);
x_5 = x_1105;
goto block_95;
@ -18127,7 +18151,7 @@ lean_object* x_1106; lean_object* x_1107;
lean_dec(x_1066);
lean_dec(x_1065);
lean_dec(x_1064);
x_1106 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1106 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1107 = l_unreachable_x21___rarg(x_1106);
x_5 = x_1107;
goto block_95;
@ -18138,7 +18162,7 @@ else
lean_object* x_1108; lean_object* x_1109;
lean_dec(x_1065);
lean_dec(x_1064);
x_1108 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1108 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1109 = l_unreachable_x21___rarg(x_1108);
x_5 = x_1109;
goto block_95;
@ -19352,7 +19376,7 @@ x_1431 = lean_string_dec_eq(x_119, x_1430);
if (x_1431 == 0)
{
lean_object* x_1432; uint8_t x_1433;
x_1432 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_1432 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_1433 = lean_string_dec_eq(x_119, x_1432);
if (x_1433 == 0)
{
@ -19444,7 +19468,7 @@ lean_dec(x_1460);
if (lean_obj_tag(x_1462) == 0)
{
lean_object* x_1463; lean_object* x_1464;
x_1463 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_1463 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_1464 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_1464, 0, x_1463);
lean_ctor_set(x_1464, 1, x_3);
@ -19480,7 +19504,7 @@ lean_dec(x_1469);
if (lean_obj_tag(x_1470) == 0)
{
lean_object* x_1471; lean_object* x_1472;
x_1471 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_1471 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_1472 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_1472, 0, x_1471);
lean_ctor_set(x_1472, 1, x_3);
@ -19751,7 +19775,7 @@ if (lean_obj_tag(x_1551) == 0)
{
lean_object* x_1552; lean_object* x_1553;
lean_dec(x_4);
x_1552 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_1552 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1553 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1552, x_2, x_3);
lean_dec(x_1);
return x_1553;
@ -20019,7 +20043,7 @@ lean_dec(x_1615);
lean_dec(x_1614);
lean_dec(x_1613);
lean_dec(x_1607);
x_1618 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1618 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1619 = l_unreachable_x21___rarg(x_1618);
x_5 = x_1619;
goto block_95;
@ -20035,7 +20059,7 @@ lean_object* x_1621; lean_object* x_1622;
lean_dec(x_1614);
lean_dec(x_1613);
lean_dec(x_1607);
x_1621 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1621 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1622 = l_unreachable_x21___rarg(x_1621);
x_5 = x_1622;
goto block_95;
@ -20050,7 +20074,7 @@ if (x_1623 == 0)
lean_object* x_1624; lean_object* x_1625;
lean_dec(x_1613);
lean_dec(x_1607);
x_1624 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1624 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1625 = l_unreachable_x21___rarg(x_1624);
x_5 = x_1625;
goto block_95;
@ -20058,19 +20082,19 @@ goto block_95;
else
{
lean_object* x_1626; uint8_t x_1627;
x_1626 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
x_1626 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
x_1627 = lean_string_dec_eq(x_1613, x_1626);
if (x_1627 == 0)
{
lean_object* x_1628; uint8_t x_1629;
x_1628 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
x_1628 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
x_1629 = lean_string_dec_eq(x_1613, x_1628);
lean_dec(x_1613);
if (x_1629 == 0)
{
lean_object* x_1630; lean_object* x_1631;
lean_dec(x_1607);
x_1630 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1630 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1631 = l_unreachable_x21___rarg(x_1630);
x_5 = x_1631;
goto block_95;
@ -20120,7 +20144,7 @@ lean_dec(x_1610);
lean_dec(x_1609);
lean_dec(x_1608);
lean_dec(x_1607);
x_1643 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1643 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1644 = l_unreachable_x21___rarg(x_1643);
x_5 = x_1644;
goto block_95;
@ -20134,7 +20158,7 @@ lean_dec(x_1610);
lean_dec(x_1609);
lean_dec(x_1608);
lean_dec(x_1607);
x_1645 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1645 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1646 = l_unreachable_x21___rarg(x_1645);
x_5 = x_1646;
goto block_95;
@ -20147,7 +20171,7 @@ lean_dec(x_1610);
lean_dec(x_1609);
lean_dec(x_1608);
lean_dec(x_1607);
x_1647 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1647 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1648 = l_unreachable_x21___rarg(x_1647);
x_5 = x_1648;
goto block_95;
@ -20159,7 +20183,7 @@ lean_object* x_1649; lean_object* x_1650;
lean_dec(x_1609);
lean_dec(x_1608);
lean_dec(x_1607);
x_1649 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1649 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1650 = l_unreachable_x21___rarg(x_1649);
x_5 = x_1650;
goto block_95;
@ -20170,7 +20194,7 @@ else
lean_object* x_1651; lean_object* x_1652;
lean_dec(x_1608);
lean_dec(x_1607);
x_1651 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_1651 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_1652 = l_unreachable_x21___rarg(x_1651);
x_5 = x_1652;
goto block_95;
@ -21410,7 +21434,7 @@ x_1979 = lean_string_dec_eq(x_119, x_1978);
if (x_1979 == 0)
{
lean_object* x_1980; uint8_t x_1981;
x_1980 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_1980 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_1981 = lean_string_dec_eq(x_119, x_1980);
if (x_1981 == 0)
{
@ -21509,7 +21533,7 @@ lean_dec(x_2009);
if (lean_obj_tag(x_2011) == 0)
{
lean_object* x_2012; lean_object* x_2013;
x_2012 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_2012 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_2013 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2013, 0, x_2012);
lean_ctor_set(x_2013, 1, x_3);
@ -21545,7 +21569,7 @@ lean_dec(x_2018);
if (lean_obj_tag(x_2019) == 0)
{
lean_object* x_2020; lean_object* x_2021;
x_2020 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_2020 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_2021 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2021, 0, x_2020);
lean_ctor_set(x_2021, 1, x_3);
@ -21816,7 +21840,7 @@ if (lean_obj_tag(x_2100) == 0)
{
lean_object* x_2101; lean_object* x_2102;
lean_dec(x_4);
x_2101 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_2101 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2102 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2101, x_2, x_3);
lean_dec(x_1);
return x_2102;
@ -22084,7 +22108,7 @@ lean_dec(x_2164);
lean_dec(x_2163);
lean_dec(x_2162);
lean_dec(x_2156);
x_2167 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2167 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2168 = l_unreachable_x21___rarg(x_2167);
x_5 = x_2168;
goto block_95;
@ -22100,7 +22124,7 @@ lean_object* x_2170; lean_object* x_2171;
lean_dec(x_2163);
lean_dec(x_2162);
lean_dec(x_2156);
x_2170 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2170 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2171 = l_unreachable_x21___rarg(x_2170);
x_5 = x_2171;
goto block_95;
@ -22115,7 +22139,7 @@ if (x_2172 == 0)
lean_object* x_2173; lean_object* x_2174;
lean_dec(x_2162);
lean_dec(x_2156);
x_2173 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2173 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2174 = l_unreachable_x21___rarg(x_2173);
x_5 = x_2174;
goto block_95;
@ -22123,19 +22147,19 @@ goto block_95;
else
{
lean_object* x_2175; uint8_t x_2176;
x_2175 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
x_2175 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
x_2176 = lean_string_dec_eq(x_2162, x_2175);
if (x_2176 == 0)
{
lean_object* x_2177; uint8_t x_2178;
x_2177 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
x_2177 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
x_2178 = lean_string_dec_eq(x_2162, x_2177);
lean_dec(x_2162);
if (x_2178 == 0)
{
lean_object* x_2179; lean_object* x_2180;
lean_dec(x_2156);
x_2179 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2179 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2180 = l_unreachable_x21___rarg(x_2179);
x_5 = x_2180;
goto block_95;
@ -22185,7 +22209,7 @@ lean_dec(x_2159);
lean_dec(x_2158);
lean_dec(x_2157);
lean_dec(x_2156);
x_2192 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2192 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2193 = l_unreachable_x21___rarg(x_2192);
x_5 = x_2193;
goto block_95;
@ -22199,7 +22223,7 @@ lean_dec(x_2159);
lean_dec(x_2158);
lean_dec(x_2157);
lean_dec(x_2156);
x_2194 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2194 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2195 = l_unreachable_x21___rarg(x_2194);
x_5 = x_2195;
goto block_95;
@ -22212,7 +22236,7 @@ lean_dec(x_2159);
lean_dec(x_2158);
lean_dec(x_2157);
lean_dec(x_2156);
x_2196 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2196 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2197 = l_unreachable_x21___rarg(x_2196);
x_5 = x_2197;
goto block_95;
@ -22224,7 +22248,7 @@ lean_object* x_2198; lean_object* x_2199;
lean_dec(x_2158);
lean_dec(x_2157);
lean_dec(x_2156);
x_2198 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2198 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2199 = l_unreachable_x21___rarg(x_2198);
x_5 = x_2199;
goto block_95;
@ -22235,7 +22259,7 @@ else
lean_object* x_2200; lean_object* x_2201;
lean_dec(x_2157);
lean_dec(x_2156);
x_2200 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2200 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2201 = l_unreachable_x21___rarg(x_2200);
x_5 = x_2201;
goto block_95;
@ -23501,7 +23525,7 @@ x_2534 = lean_string_dec_eq(x_119, x_2533);
if (x_2534 == 0)
{
lean_object* x_2535; uint8_t x_2536;
x_2535 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_2535 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_2536 = lean_string_dec_eq(x_119, x_2535);
if (x_2536 == 0)
{
@ -23606,7 +23630,7 @@ lean_dec(x_2565);
if (lean_obj_tag(x_2567) == 0)
{
lean_object* x_2568; lean_object* x_2569;
x_2568 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5;
x_2568 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_2569 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2569, 0, x_2568);
lean_ctor_set(x_2569, 1, x_3);
@ -23642,7 +23666,7 @@ lean_dec(x_2574);
if (lean_obj_tag(x_2575) == 0)
{
lean_object* x_2576; lean_object* x_2577;
x_2576 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6;
x_2576 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__7;
x_2577 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2577, 0, x_2576);
lean_ctor_set(x_2577, 1, x_3);
@ -23913,7 +23937,7 @@ if (lean_obj_tag(x_2656) == 0)
{
lean_object* x_2657; lean_object* x_2658;
lean_dec(x_4);
x_2657 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9;
x_2657 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2658 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2657, x_2, x_3);
lean_dec(x_1);
return x_2658;
@ -24181,7 +24205,7 @@ lean_dec(x_2720);
lean_dec(x_2719);
lean_dec(x_2718);
lean_dec(x_2712);
x_2723 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2723 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2724 = l_unreachable_x21___rarg(x_2723);
x_5 = x_2724;
goto block_95;
@ -24197,7 +24221,7 @@ lean_object* x_2726; lean_object* x_2727;
lean_dec(x_2719);
lean_dec(x_2718);
lean_dec(x_2712);
x_2726 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2726 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2727 = l_unreachable_x21___rarg(x_2726);
x_5 = x_2727;
goto block_95;
@ -24212,7 +24236,7 @@ if (x_2728 == 0)
lean_object* x_2729; lean_object* x_2730;
lean_dec(x_2718);
lean_dec(x_2712);
x_2729 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2729 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2730 = l_unreachable_x21___rarg(x_2729);
x_5 = x_2730;
goto block_95;
@ -24220,19 +24244,19 @@ goto block_95;
else
{
lean_object* x_2731; uint8_t x_2732;
x_2731 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1;
x_2731 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12;
x_2732 = lean_string_dec_eq(x_2718, x_2731);
if (x_2732 == 0)
{
lean_object* x_2733; uint8_t x_2734;
x_2733 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1;
x_2733 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13;
x_2734 = lean_string_dec_eq(x_2718, x_2733);
lean_dec(x_2718);
if (x_2734 == 0)
{
lean_object* x_2735; lean_object* x_2736;
lean_dec(x_2712);
x_2735 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2735 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2736 = l_unreachable_x21___rarg(x_2735);
x_5 = x_2736;
goto block_95;
@ -24282,7 +24306,7 @@ lean_dec(x_2715);
lean_dec(x_2714);
lean_dec(x_2713);
lean_dec(x_2712);
x_2748 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2748 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2749 = l_unreachable_x21___rarg(x_2748);
x_5 = x_2749;
goto block_95;
@ -24296,7 +24320,7 @@ lean_dec(x_2715);
lean_dec(x_2714);
lean_dec(x_2713);
lean_dec(x_2712);
x_2750 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2750 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2751 = l_unreachable_x21___rarg(x_2750);
x_5 = x_2751;
goto block_95;
@ -24309,7 +24333,7 @@ lean_dec(x_2715);
lean_dec(x_2714);
lean_dec(x_2713);
lean_dec(x_2712);
x_2752 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2752 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2753 = l_unreachable_x21___rarg(x_2752);
x_5 = x_2753;
goto block_95;
@ -24321,7 +24345,7 @@ lean_object* x_2754; lean_object* x_2755;
lean_dec(x_2714);
lean_dec(x_2713);
lean_dec(x_2712);
x_2754 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2754 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2755 = l_unreachable_x21___rarg(x_2754);
x_5 = x_2755;
goto block_95;
@ -24332,7 +24356,7 @@ else
lean_object* x_2756; lean_object* x_2757;
lean_dec(x_2713);
lean_dec(x_2712);
x_2756 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10;
x_2756 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11;
x_2757 = l_unreachable_x21___rarg(x_2756);
x_5 = x_2757;
goto block_95;
@ -26936,6 +26960,12 @@ l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9 = _init_l_
lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9);
l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10();
lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10);
l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11();
lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11);
l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12();
lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12);
l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13();
lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__13);
l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1 = _init_l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1();
lean_mark_persistent(l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1);
l___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___rarg___closed__1();

View file

@ -93,6 +93,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__2;
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__2;
lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__4;
lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__1;
lean_object* l_Lean_Elab_Term_mkFreshFVarId___rarg(lean_object*);
lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -190,7 +191,6 @@ lean_object* l_Lean_Elab_Term_elabLetIdDecl___boxed(lean_object*, lean_object*,
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__2;
lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__7;
lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*, uint8_t);
extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
lean_object* l_Lean_Syntax_getKind(lean_object*);
lean_object* l_Lean_Elab_Term_elabLetEqnsDecl(lean_object*);
@ -17742,14 +17742,22 @@ return x_18;
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("let");
return x_1;
}
}
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1;
x_2 = l_Lean_Parser_Term_let___elambda__1___closed__1;
x_2 = l_Lean_Elab_Term_elabLetDeclAux___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__2() {
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__3() {
_start:
{
lean_object* x_1;
@ -17757,12 +17765,12 @@ x_1 = lean_mk_string("decl");
return x_1;
}
}
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__3() {
lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Term_elabLetDeclAux___closed__1;
x_2 = l_Lean_Elab_Term_elabLetDeclAux___closed__2;
x_1 = l_Lean_Elab_Term_elabLetDeclAux___closed__2;
x_2 = l_Lean_Elab_Term_elabLetDeclAux___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -17797,7 +17805,7 @@ lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 1);
lean_inc(x_18);
lean_dec(x_16);
x_19 = l_Lean_Elab_Term_elabLetDeclAux___closed__3;
x_19 = l_Lean_Elab_Term_elabLetDeclAux___closed__4;
x_20 = l_Lean_checkTraceOption(x_17, x_19);
lean_dec(x_17);
if (x_20 == 0)
@ -18233,7 +18241,7 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_obj
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Lean_Elab_Term_elabLetDeclAux___closed__1;
x_2 = l_Lean_Elab_Term_elabLetDeclAux___closed__2;
x_3 = l_Lean_registerTraceClass(x_2, x_1);
if (lean_obj_tag(x_3) == 0)
{
@ -18386,6 +18394,8 @@ l_Lean_Elab_Term_elabLetDeclAux___closed__2 = _init_l_Lean_Elab_Term_elabLetDecl
lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclAux___closed__2);
l_Lean_Elab_Term_elabLetDeclAux___closed__3 = _init_l_Lean_Elab_Term_elabLetDeclAux___closed__3();
lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclAux___closed__3);
l_Lean_Elab_Term_elabLetDeclAux___closed__4 = _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4();
lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclAux___closed__4);
l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__1();
lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__1);
l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__2();

View file

@ -957,6 +957,7 @@ lean_object* l_Lean_Parser_Command_declSig___closed__5;
lean_object* l_Lean_Parser_Command_structCtor___elambda__1___closed__4;
lean_object* l_Lean_Parser_Command_structureTk___closed__5;
lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__9;
extern lean_object* l_Lean_Parser_Term_letEqns___closed__1;
lean_object* l_Lean_Parser_Command_set__option___closed__1;
extern lean_object* l_Lean_Parser_Term_matchAlt___closed__1;
lean_object* l_Lean_Parser_Command_protected___elambda__1(lean_object*, lean_object*, lean_object*);
@ -1036,7 +1037,6 @@ lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__1;
lean_object* l_Lean_Parser_Command_namespace;
lean_object* l_Lean_Parser_Command_axiom___closed__2;
lean_object* l_Lean_Parser_Command_constant___elambda__1(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Parser_Term_letEqns___closed__2;
lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__4;
lean_object* l_Lean_Parser_Command_check___elambda__1___closed__7;
lean_object* l_Lean_Parser_Command_declValSimple___closed__3;
@ -7544,7 +7544,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
x_2 = l_Lean_Parser_Term_letEqns___closed__2;
x_2 = l_Lean_Parser_Term_letEqns___closed__1;
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
return x_3;
}

File diff suppressed because it is too large Load diff