chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2025-06-18 10:07:05 +00:00
parent d58e253671
commit f0fdab86bb
15 changed files with 46765 additions and 22898 deletions

View file

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

View file

@ -217,6 +217,7 @@ static lean_object* l_term_u03a3_x27___x2c_____closed__5;
static lean_object* l_Lean_calcStep___closed__2;
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___lambda__2___closed__6;
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__40;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17;
static lean_object* l_Lean_term__Matches___x7c___closed__8;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__2;
LEAN_EXPORT lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -274,6 +275,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__com
static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__39;
static lean_object* l_Lean_unbracketedExplicitBinders___closed__6;
static lean_object* l_Lean_unbracketedExplicitBinders___closed__4;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_tacticFunext_________closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___spec__2___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_reverse___rarg(lean_object*);
@ -288,6 +290,7 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b__
static lean_object* l_Lean_calcSteps___closed__12;
static lean_object* l_tacticFunext_________closed__6;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___closed__9;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__50;
static lean_object* l_unexpandSubtype___closed__2;
static lean_object* l_Lean_Parser_Command_classAbbrev___closed__23;
@ -443,6 +446,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__16;
static lean_object* l_Lean_unifConstraintElem___closed__9;
static lean_object* l_Lean_calcFirstStep___closed__3;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16;
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__44;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_unexpandPSigma___boxed(lean_object*, lean_object*, lean_object*);
@ -576,6 +580,7 @@ LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Par
static lean_object* l_term_u2203___x2c_____closed__7;
static lean_object* l_Lean_Parser_Command_classAbbrev___closed__15;
static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__18;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_tacticFunext_________closed__12;
static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__23;
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -654,6 +659,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__com
static lean_object* l_Lean_cdot___closed__2;
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__44;
static lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1;
static lean_object* l_Lean_calcSteps___closed__8;
LEAN_EXPORT lean_object* l_unexpandUnit___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_unexpandMkArray0___rarg(lean_object*, lean_object*);
@ -667,8 +673,7 @@ static lean_object* l_Lean_calcFirstStep___closed__10;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1;
static lean_object* l_term_u03a3___x2c_____closed__7;
lean_object* lean_nat_sub(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Array_mkArray1___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__2___boxed(lean_object*, lean_object*, lean_object*);
@ -704,6 +709,7 @@ static lean_object* l_Lean_unbracketedExplicitBinders___closed__15;
lean_object* lean_array_mk(lean_object*);
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__21;
static lean_object* l___aux__Init__NotationExtra______macroRules__term_u03a3___x2c____1___closed__1;
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18;
LEAN_EXPORT lean_object* l_unexpandListToArray___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_tacticFunext_________closed__2;
static lean_object* l_Lean_calcSteps___closed__9;
@ -725,6 +731,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
static lean_object* l_Lean_Parser_Command_classAbbrev___closed__4;
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___closed__2;
static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__3;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__19;
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__9;
LEAN_EXPORT lean_object* l_unexpandArrayEmpty___boxed(lean_object*);
@ -734,7 +741,6 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b__
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__8;
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__letI__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1;
static lean_object* l_Lean_term__Matches___x7c___closed__1;
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__term_x7b___x7d__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__NotationExtra______macroRules__term_x7b___x7d__1___lambda__1___closed__2;
@ -749,7 +755,7 @@ static lean_object* l_term___xd7____1___closed__1;
static lean_object* l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__18;
LEAN_EXPORT lean_object* l_unexpandPSigma(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_unbracketedExplicitBinders___closed__9;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*);
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext________1___closed__4;
lean_object* lean_array_get_size(lean_object*);
@ -788,6 +794,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
static lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2;
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__46;
LEAN_EXPORT lean_object* l_tacticFunext______;
static lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2;
static lean_object* l_Lean_calcSteps___closed__1;
static lean_object* l_Lean_cdot___closed__3;
static lean_object* l_Lean_term__Matches___x7c___closed__5;
@ -12250,7 +12257,55 @@ goto _start;
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1() {
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5;
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11;
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
x_9 = 1;
x_10 = lean_usize_add(x_3, x_9);
x_11 = lean_array_uset(x_8, x_3, x_6);
x_3 = x_10;
x_4 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5;
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11;
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
x_9 = 1;
x_10 = lean_usize_add(x_3, x_9);
x_11 = lean_array_uset(x_8, x_3, x_6);
x_3 = x_10;
x_4 = x_11;
goto _start;
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1() {
_start:
{
lean_object* x_1;
@ -12258,19 +12313,19 @@ x_1 = lean_mk_string_unchecked("structParent", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2() {
static lean_object* _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1;
x_4 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) {
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) {
_start:
{
uint8_t x_7;
@ -12295,7 +12350,7 @@ x_11 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_11, 0, x_1);
lean_ctor_set(x_11, 1, x_2);
lean_ctor_set(x_11, 2, x_3);
x_12 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2;
x_12 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2;
lean_inc(x_1);
x_13 = l_Lean_Syntax_node2(x_1, x_12, x_11, x_8);
x_14 = 1;
@ -12310,24 +12365,36 @@ goto _start;
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__3;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("structure", 9, 9);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__3() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__4() {
_start:
{
lean_object* x_1;
@ -12335,19 +12402,19 @@ x_1 = lean_mk_string_unchecked("classTk", 7, 7);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__4() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__3;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__5() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__6() {
_start:
{
lean_object* x_1;
@ -12355,7 +12422,31 @@ x_1 = lean_mk_string_unchecked("class", 5, 5);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__6() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__12;
x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_command____Unif__hint________Where___x7c___x2d_u22a2_____closed__15;
x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__7;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__9() {
_start:
{
lean_object* x_1;
@ -12363,19 +12454,19 @@ x_1 = lean_mk_string_unchecked("extends", 7, 7);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__7() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__6;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__9;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__8() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__11() {
_start:
{
lean_object* x_1;
@ -12383,19 +12474,19 @@ x_1 = lean_mk_string_unchecked("optDeriving", 11, 11);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__9() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__8;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__11;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__10() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__13() {
_start:
{
lean_object* x_1;
@ -12403,19 +12494,19 @@ x_1 = lean_mk_string_unchecked("attribute", 9, 9);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__11() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__10;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__13;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__12() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15() {
_start:
{
lean_object* x_1;
@ -12423,19 +12514,19 @@ x_1 = lean_mk_string_unchecked("instance", 8, 8);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__13() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_unbracketedExplicitBinders___closed__1;
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
x_3 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__20;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__12;
x_4 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__14() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17() {
_start:
{
lean_object* x_1;
@ -12443,12 +12534,12 @@ x_1 = lean_mk_string_unchecked("mk", 2, 2);
return x_1;
}
}
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15() {
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__14;
x_2 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
@ -12478,213 +12569,225 @@ return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90;
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100;
x_17 = lean_ctor_get(x_14, 0);
lean_inc(x_17);
lean_dec(x_14);
x_18 = l_Lean_Syntax_getArgs(x_2);
x_87 = lean_unsigned_to_nat(0u);
x_88 = l_Lean_Syntax_getArg(x_3, x_87);
x_89 = l_Lean_Syntax_getId(x_88);
lean_dec(x_88);
x_90 = l_Lean_Name_hasMacroScopes(x_89);
if (x_90 == 0)
x_97 = lean_unsigned_to_nat(0u);
x_98 = l_Lean_Syntax_getArg(x_3, x_97);
x_99 = l_Lean_Syntax_getId(x_98);
lean_dec(x_98);
x_100 = l_Lean_Name_hasMacroScopes(x_99);
if (x_100 == 0)
{
lean_object* x_91; lean_object* x_92;
x_91 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15;
x_92 = l_Lean_Name_append(x_89, x_91);
x_19 = x_92;
goto block_86;
lean_object* x_101; lean_object* x_102;
x_101 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18;
x_102 = l_Lean_Name_append(x_99, x_101);
x_19 = x_102;
goto block_96;
}
else
{
lean_object* x_93; uint8_t x_94;
x_93 = l_Lean_extractMacroScopes(x_89);
x_94 = !lean_is_exclusive(x_93);
if (x_94 == 0)
lean_object* x_103; uint8_t x_104;
x_103 = l_Lean_extractMacroScopes(x_99);
x_104 = !lean_is_exclusive(x_103);
if (x_104 == 0)
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98;
x_95 = lean_ctor_get(x_93, 0);
x_96 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15;
x_97 = l_Lean_Name_append(x_95, x_96);
lean_ctor_set(x_93, 0, x_97);
x_98 = l_Lean_MacroScopesView_review(x_93);
x_19 = x_98;
goto block_86;
lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108;
x_105 = lean_ctor_get(x_103, 0);
x_106 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18;
x_107 = l_Lean_Name_append(x_105, x_106);
lean_ctor_set(x_103, 0, x_107);
x_108 = l_Lean_MacroScopesView_review(x_103);
x_19 = x_108;
goto block_96;
}
else
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106;
x_99 = lean_ctor_get(x_93, 0);
x_100 = lean_ctor_get(x_93, 1);
x_101 = lean_ctor_get(x_93, 2);
x_102 = lean_ctor_get(x_93, 3);
lean_inc(x_102);
lean_inc(x_101);
lean_inc(x_100);
lean_inc(x_99);
lean_dec(x_93);
x_103 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15;
x_104 = l_Lean_Name_append(x_99, x_103);
x_105 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_105, 0, x_104);
lean_ctor_set(x_105, 1, x_100);
lean_ctor_set(x_105, 2, x_101);
lean_ctor_set(x_105, 3, x_102);
x_106 = l_Lean_MacroScopesView_review(x_105);
x_19 = x_106;
goto block_86;
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116;
x_109 = lean_ctor_get(x_103, 0);
x_110 = lean_ctor_get(x_103, 1);
x_111 = lean_ctor_get(x_103, 2);
x_112 = lean_ctor_get(x_103, 3);
lean_inc(x_112);
lean_inc(x_111);
lean_inc(x_110);
lean_inc(x_109);
lean_dec(x_103);
x_113 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18;
x_114 = l_Lean_Name_append(x_109, x_113);
x_115 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_115, 0, x_114);
lean_ctor_set(x_115, 1, x_110);
lean_ctor_set(x_115, 2, x_111);
lean_ctor_set(x_115, 3, x_112);
x_116 = l_Lean_MacroScopesView_review(x_115);
x_19 = x_116;
goto block_96;
}
}
block_86:
block_96:
{
uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t 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; 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; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; size_t 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; size_t 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; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
x_20 = 0;
x_21 = l_Lean_mkIdentFrom(x_3, x_19, x_20);
x_22 = lean_ctor_get(x_7, 5);
x_23 = l_Lean_SourceInfo_fromRef(x_22, x_20);
x_24 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__5;
x_24 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__6;
lean_inc(x_23);
x_25 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
x_26 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__4;
x_26 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__5;
lean_inc(x_23);
x_27 = l_Lean_Syntax_node1(x_23, x_26, x_25);
x_28 = l_Lean_expandExplicitBindersAux_loop___closed__14;
x_29 = l_Array_append___rarg(x_28, x_18);
lean_dec(x_18);
x_30 = l_Lean_expandExplicitBindersAux_loop___closed__6;
x_28 = lean_array_size(x_18);
x_29 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__7;
x_30 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(x_29, x_28, x_13, x_18);
x_31 = lean_array_size(x_30);
x_32 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__8;
x_33 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3(x_32, x_31, x_13, x_30);
x_34 = l_Lean_expandExplicitBindersAux_loop___closed__14;
x_35 = l_Array_append___rarg(x_34, x_33);
lean_dec(x_33);
x_36 = l_Lean_expandExplicitBindersAux_loop___closed__6;
lean_inc(x_23);
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_23);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_31, 2, x_29);
x_32 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__6;
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_23);
lean_ctor_set(x_37, 1, x_36);
lean_ctor_set(x_37, 2, x_35);
x_38 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__9;
lean_inc(x_23);
x_33 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_33, 0, x_23);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_array_size(x_17);
lean_inc(x_23);
x_35 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(x_23, x_30, x_28, x_34, x_13, x_17);
x_36 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__14;
x_37 = l_Lean_mkSepArray(x_35, x_36);
lean_dec(x_35);
x_38 = l_Array_append___rarg(x_28, x_37);
lean_dec(x_37);
lean_inc(x_23);
x_39 = lean_alloc_ctor(1, 3, 0);
x_39 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_39, 0, x_23);
lean_ctor_set(x_39, 1, x_30);
lean_ctor_set(x_39, 2, x_38);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_array_size(x_17);
lean_inc(x_23);
x_40 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_40, 0, x_23);
lean_ctor_set(x_40, 1, x_30);
lean_ctor_set(x_40, 2, x_28);
x_41 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__7;
lean_inc(x_40);
x_41 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4(x_23, x_36, x_34, x_40, x_13, x_17);
x_42 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__14;
x_43 = l_Lean_mkSepArray(x_41, x_42);
lean_dec(x_41);
x_44 = l_Array_append___rarg(x_34, x_43);
lean_dec(x_43);
lean_inc(x_23);
x_42 = l_Lean_Syntax_node3(x_23, x_41, x_33, x_39, x_40);
x_45 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_45, 0, x_23);
lean_ctor_set(x_45, 1, x_36);
lean_ctor_set(x_45, 2, x_44);
lean_inc(x_23);
x_43 = l_Lean_Syntax_node1(x_23, x_30, x_42);
x_44 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__9;
lean_inc(x_40);
x_46 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_46, 0, x_23);
lean_ctor_set(x_46, 1, x_36);
lean_ctor_set(x_46, 2, x_34);
x_47 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__10;
lean_inc(x_46);
lean_inc(x_23);
x_45 = l_Lean_Syntax_node1(x_23, x_44, x_40);
x_46 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__10;
x_48 = l_Lean_Syntax_node3(x_23, x_47, x_39, x_45, x_46);
lean_inc(x_23);
x_47 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_47, 0, x_23);
lean_ctor_set(x_47, 1, x_46);
x_48 = l_unexpandListNil___rarg___closed__3;
x_49 = l_Lean_Syntax_node1(x_23, x_36, x_48);
x_50 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__12;
lean_inc(x_46);
lean_inc(x_23);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_23);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__1;
lean_inc(x_40);
lean_inc(x_23);
x_51 = l_Lean_Syntax_node1(x_23, x_50, x_40);
x_52 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__12;
x_51 = l_Lean_Syntax_node1(x_23, x_50, x_46);
x_52 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__13;
lean_inc(x_23);
x_53 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_53, 0, x_23);
lean_ctor_set(x_53, 1, x_52);
x_54 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__13;
lean_inc(x_40);
x_54 = l_unexpandListNil___rarg___closed__3;
lean_inc(x_23);
x_55 = l_Lean_Syntax_node2(x_23, x_54, x_53, x_40);
x_56 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__19;
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_23);
lean_ctor_set(x_55, 1, x_54);
x_56 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__1;
lean_inc(x_46);
lean_inc(x_23);
x_57 = l_Lean_Syntax_node2(x_23, x_56, x_51, x_55);
x_57 = l_Lean_Syntax_node1(x_23, x_56, x_46);
x_58 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15;
lean_inc(x_23);
x_58 = l_Lean_Syntax_node1(x_23, x_30, x_57);
x_59 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__26;
x_59 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_59, 0, x_23);
lean_ctor_set(x_59, 1, x_58);
x_60 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16;
lean_inc(x_46);
lean_inc(x_23);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_23);
lean_ctor_set(x_60, 1, x_59);
x_61 = l_Lean_Syntax_node2(x_23, x_60, x_59, x_46);
x_62 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__19;
lean_inc(x_23);
x_61 = l_Lean_Syntax_node1(x_23, x_30, x_21);
x_62 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__11;
x_63 = l_Lean_Syntax_node2(x_23, x_62, x_57, x_61);
lean_inc(x_23);
x_63 = l_Lean_Syntax_node5(x_23, x_62, x_47, x_49, x_58, x_60, x_61);
x_64 = l_Lean_Syntax_node1(x_23, x_36, x_63);
x_65 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__26;
lean_inc(x_23);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_23);
lean_ctor_set(x_66, 1, x_65);
lean_inc(x_23);
x_67 = l_Lean_Syntax_node1(x_23, x_36, x_21);
x_68 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__14;
lean_inc(x_23);
x_69 = l_Lean_Syntax_node5(x_23, x_68, x_53, x_55, x_64, x_66, x_67);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
x_64 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__50;
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;
x_70 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__50;
lean_inc(x_23);
x_65 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_65, 0, x_23);
lean_ctor_set(x_65, 1, x_30);
lean_ctor_set(x_65, 2, x_64);
x_66 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2;
x_71 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_71, 0, x_23);
lean_ctor_set(x_71, 1, x_36);
lean_ctor_set(x_71, 2, x_70);
x_72 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__36;
lean_inc(x_23);
x_67 = l_Lean_Syntax_node7(x_23, x_66, x_27, x_3, x_31, x_65, x_43, x_40, x_45);
x_68 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__12;
x_73 = l_Lean_Syntax_node2(x_23, x_72, x_37, x_71);
x_74 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__3;
lean_inc(x_23);
x_69 = l_Lean_Syntax_node2(x_23, x_68, x_4, x_67);
x_70 = l_Lean_Syntax_node2(x_23, x_30, x_69, x_63);
x_71 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_71, 0, x_70);
lean_ctor_set(x_71, 1, x_8);
return x_71;
x_75 = l_Lean_Syntax_node6(x_23, x_74, x_27, x_3, x_73, x_49, x_46, x_51);
x_76 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__12;
lean_inc(x_23);
x_77 = l_Lean_Syntax_node2(x_23, x_76, x_4, x_75);
x_78 = l_Lean_Syntax_node2(x_23, x_36, x_77, x_69);
x_79 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_79, 0, x_78);
lean_ctor_set(x_79, 1, x_8);
return x_79;
}
else
{
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_72 = lean_ctor_get(x_6, 0);
lean_inc(x_72);
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95;
x_80 = lean_ctor_get(x_6, 0);
lean_inc(x_80);
lean_dec(x_6);
x_73 = l_Lean_expandExplicitBindersAux_loop___closed__18;
x_81 = l_Lean_expandExplicitBindersAux_loop___closed__18;
lean_inc(x_23);
x_74 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_74, 0, x_23);
lean_ctor_set(x_74, 1, x_73);
x_75 = l_Lean_expandExplicitBindersAux_loop___closed__17;
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_23);
lean_ctor_set(x_82, 1, x_81);
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__17;
lean_inc(x_23);
x_76 = l_Lean_Syntax_node2(x_23, x_75, x_74, x_72);
x_77 = l_Array_mkArray1___rarg(x_76);
x_78 = l_Array_append___rarg(x_28, x_77);
lean_dec(x_77);
x_84 = l_Lean_Syntax_node2(x_23, x_83, x_82, x_80);
x_85 = l_Array_mkArray1___rarg(x_84);
x_86 = l_Array_append___rarg(x_34, x_85);
lean_dec(x_85);
lean_inc(x_23);
x_79 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_79, 0, x_23);
lean_ctor_set(x_79, 1, x_30);
lean_ctor_set(x_79, 2, x_78);
x_80 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2;
x_87 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_87, 0, x_23);
lean_ctor_set(x_87, 1, x_36);
lean_ctor_set(x_87, 2, x_86);
x_88 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__36;
lean_inc(x_23);
x_81 = l_Lean_Syntax_node7(x_23, x_80, x_27, x_3, x_31, x_79, x_43, x_40, x_45);
x_82 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__12;
x_89 = l_Lean_Syntax_node2(x_23, x_88, x_37, x_87);
x_90 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__3;
lean_inc(x_23);
x_83 = l_Lean_Syntax_node2(x_23, x_82, x_4, x_81);
x_84 = l_Lean_Syntax_node2(x_23, x_30, x_83, x_63);
x_85 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_85, 0, x_84);
lean_ctor_set(x_85, 1, x_8);
return x_85;
x_91 = l_Lean_Syntax_node6(x_23, x_90, x_27, x_3, x_89, x_49, x_46, x_51);
x_92 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint________Where___x7c___x2d_u22a2____1___lambda__1___closed__12;
lean_inc(x_23);
x_93 = l_Lean_Syntax_node2(x_23, x_92, x_4, x_91);
x_94 = l_Lean_Syntax_node2(x_23, x_36, x_93, x_69);
x_95 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_95, 0, x_94);
lean_ctor_set(x_95, 1, x_8);
return x_95;
}
}
}
@ -12807,7 +12910,33 @@ x_6 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Le
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7;
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(x_1, x_5, x_6, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7;
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__3(x_1, x_5, x_6, x_4);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9;
@ -12815,7 +12944,7 @@ x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_9 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2(x_1, x_2, x_3, x_7, x_8, x_6);
x_9 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4(x_1, x_2, x_3, x_7, x_8, x_6);
return x_9;
}
}
@ -17187,10 +17316,10 @@ l_Lean_Parser_Command_classAbbrev___closed__30 = _init_l_Lean_Parser_Command_cla
lean_mark_persistent(l_Lean_Parser_Command_classAbbrev___closed__30);
l_Lean_Parser_Command_classAbbrev = _init_l_Lean_Parser_Command_classAbbrev();
lean_mark_persistent(l_Lean_Parser_Command_classAbbrev);
l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__1);
l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__2___closed__2);
l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__1);
l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___spec__4___closed__2);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__1);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__2();
@ -17221,6 +17350,12 @@ l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__14);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__15);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__16);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__17);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__1___closed__18);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1();
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__1);
l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2 = _init_l___aux__Init__NotationExtra______macroRules__Lean__Parser__Term__haveI__1___lambda__1___closed__2();

File diff suppressed because it is too large Load diff

View file

@ -14,6 +14,7 @@
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lake_instInhabitedModuleDeps;
static lean_object* l_Lake_Module_leanFacet___closed__1;
static lean_object* l_Lake_Module_cFacet___closed__2;
static lean_object* l_Lake_Module_coNoExportFacet___closed__2;
static lean_object* l_Lake_LeanLib_defaultFacet___closed__2;
@ -23,15 +24,18 @@ static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____c
LEAN_EXPORT lean_object* l_Lake_Module_coExportFacet;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__6;
static lean_object* l_Lake_Module_ileanFacet___closed__2;
static lean_object* l_Lake_Module_inputFacet___closed__3;
static lean_object* l_Lake_Package_reservoirBarrelFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_instReprModuleFacet___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__4;
static lean_object* l_Lake_Module_leanFacet___closed__2;
static lean_object* l_Lake_ExternLib_dynlibFacet___closed__2;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__5;
static lean_object* l_Lake_Package_gitHubReleaseFacet___closed__1;
static lean_object* l_Lake_Package_optBuildCacheFacet___closed__3;
static lean_object* l_Lake_Module_oFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_leanFacet;
LEAN_EXPORT lean_object* l_Lake_ExternLib_sharedFacet;
static lean_object* l_Lake_InputFile_defaultFacet___closed__1;
static lean_object* l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147____rarg___closed__2;
@ -49,23 +53,28 @@ static lean_object* l_Lake_Package_gitHubReleaseFacet___closed__2;
static lean_object* l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147____rarg___closed__4;
LEAN_EXPORT lean_object* l_Lake_Module_depsFacet;
LEAN_EXPORT lean_object* l_Lake_LeanLib_extraDepFacet;
LEAN_EXPORT lean_object* l_Lake_Module_inputFacet;
static lean_object* l_Lake_Module_bcFacet___closed__2;
static lean_object* l_Array_Array_repr___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__1___closed__10;
LEAN_EXPORT lean_object* l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147_(lean_object*, lean_object*);
static lean_object* l_Lake_instReprModuleDeps___closed__1;
static lean_object* l_Lake_Module_ileanFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_Module_headerFacet;
LEAN_EXPORT lean_object* l_Lake_Package_gitHubReleaseFacet;
LEAN_EXPORT lean_object* l_Lake_Module_coNoExportFacet;
static lean_object* l_Lake_ExternLib_defaultFacet___closed__1;
static lean_object* l_Lake_Module_inputFacet___closed__2;
static lean_object* l_Lake_instReprModuleFacet___closed__1;
static lean_object* l_Lake_LeanLib_defaultFacet___closed__1;
LEAN_EXPORT lean_object* l_repr___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__2(lean_object*);
static lean_object* l_Lake_Package_reservoirBarrelFacet___closed__2;
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_setupFacet;
static lean_object* l_Lake_LeanLib_leanArtsFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_LeanExe_exeFacet;
static lean_object* l_Lake_Module_bcoFacet___closed__1;
static lean_object* l_Lake_Module_setupFacet___closed__2;
static lean_object* l_Lake_Module_oleanFacet___closed__2;
static lean_object* l_Lake_LeanLib_staticFacet___closed__1;
static lean_object* l_Lake_LeanLib_sharedFacet___closed__2;
@ -73,6 +82,7 @@ static lean_object* l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147___
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Lake_LeanLib_sharedFacet___closed__1;
static lean_object* l_Lake_Package_buildCacheFacet___closed__2;
static lean_object* l_Lake_Module_oleanPrivateFacet___closed__2;
LEAN_EXPORT lean_object* l_Lake_LeanLib_leanArtsFacet;
LEAN_EXPORT lean_object* l_Lake_Module_leanArtsFacet;
LEAN_EXPORT lean_object* l_Lake_instCoeDepNameModuleFacetOfFamilyOutFacetOut___boxed(lean_object*, lean_object*, lean_object*);
@ -88,6 +98,7 @@ static lean_object* l_Array_Array_repr___at_Lake_reprModuleDeps____x40_Lake_Buil
static lean_object* l_Lake_Package_optReservoirBarrelFacet___closed__1;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__11;
static lean_object* l_Array_Array_repr___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__1___closed__2;
static lean_object* l_Lake_Module_headerFacet___closed__2;
static lean_object* l_Lake_InputDir_defaultFacet___closed__2;
static lean_object* l_Lake_Module_oExportFacet___closed__1;
static lean_object* l_Lake_LeanLib_staticExportFacet___closed__1;
@ -102,7 +113,9 @@ static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____c
static lean_object* l_Lake_LeanExe_exeFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_LeanLib_staticFacet;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__9;
static lean_object* l_Lake_Module_setupFacet___closed__1;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__3(lean_object*, lean_object*);
static lean_object* l_Lake_Module_oleanServerFacet___closed__2;
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__4(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Module_coFacet___closed__2;
LEAN_EXPORT lean_object* l_Lake_Package_buildCacheFacet;
@ -142,9 +155,11 @@ LEAN_EXPORT lean_object* l_Lake_Module_oExportFacet;
LEAN_EXPORT lean_object* l_Lake_LeanExe_defaultFacet;
static lean_object* l_Lake_Package_optBuildCacheFacet___closed__2;
LEAN_EXPORT lean_object* l_Lake_instReprModuleFacet(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivateFacet;
static lean_object* l_Lake_Module_coFacet___closed__1;
static lean_object* l_Array_Array_repr___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__1___closed__5;
static lean_object* l_Lake_Package_extraDepFacet___closed__2;
static lean_object* l_Lake_Module_oleanPrivateFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_ExternLib_staticFacet;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__14;
static lean_object* l_Array_Array_repr___at_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____spec__1___closed__7;
@ -164,15 +179,18 @@ static lean_object* l_Lake_LeanExe_defaultFacet___closed__1;
static lean_object* l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147____rarg___closed__3;
static lean_object* l_Lake_Module_depsFacet___closed__1;
static lean_object* l_Lake_Module_coExportFacet___closed__1;
static lean_object* l_Lake_Module_depsFacet___closed__3;
static lean_object* l_Lake_Module_oleanServerFacet___closed__1;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__13;
LEAN_EXPORT lean_object* l_Lake_LeanLib_sharedFacet;
LEAN_EXPORT lean_object* l_Lake_Module_oleanFacet;
static lean_object* l_Lake_Module_oNoExportFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_Module_oFacet;
LEAN_EXPORT lean_object* l_Lake_Module_oleanServerFacet;
static lean_object* l_Lake_LeanExe_exeFacet___closed__2;
static lean_object* l_Lake_reprModuleDeps____x40_Lake_Build_Facets___hyg_56____closed__2;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lake_Module_inputFacet___closed__1;
static lean_object* l_Lake_Module_headerFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_Package_optReservoirBarrelFacet;
static lean_object* l_Lake_Module_bcFacet___closed__1;
static lean_object* _init_l_Lake_instInhabitedModuleDeps___closed__1() {
@ -891,7 +909,7 @@ lean_dec(x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_Module_depsFacet___closed__1() {
static lean_object* _init_l_Lake_Module_inputFacet___closed__1() {
_start:
{
lean_object* x_1;
@ -899,7 +917,111 @@ x_1 = lean_mk_string_unchecked("module", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_depsFacet___closed__2() {
static lean_object* _init_l_Lake_Module_inputFacet___closed__2() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("input", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_inputFacet___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_inputFacet___closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Module_inputFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_inputFacet___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_leanFacet___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_leanFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_leanFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Module_leanFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_leanFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_headerFacet___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("header", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_headerFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_headerFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Module_headerFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_headerFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_setupFacet___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("setup", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_setupFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_setupFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Module_setupFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_setupFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_depsFacet___closed__1() {
_start:
{
lean_object* x_1;
@ -907,12 +1029,12 @@ x_1 = lean_mk_string_unchecked("deps", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_depsFacet___closed__3() {
static lean_object* _init_l_Lake_Module_depsFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_2 = l_Lake_Module_depsFacet___closed__2;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_depsFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
@ -921,7 +1043,7 @@ static lean_object* _init_l_Lake_Module_depsFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_depsFacet___closed__3;
x_1 = l_Lake_Module_depsFacet___closed__2;
return x_1;
}
}
@ -937,7 +1059,7 @@ static lean_object* _init_l_Lake_Module_leanArtsFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_leanArtsFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -963,7 +1085,7 @@ static lean_object* _init_l_Lake_Module_oleanFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_oleanFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -977,6 +1099,60 @@ x_1 = l_Lake_Module_oleanFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_oleanServerFacet___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("server", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_oleanServerFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_oleanFacet___closed__1;
x_3 = l_Lake_Module_oleanServerFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lake_Module_oleanServerFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_oleanServerFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_oleanPrivateFacet___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("private", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_Module_oleanPrivateFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_oleanFacet___closed__1;
x_3 = l_Lake_Module_oleanPrivateFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lake_Module_oleanPrivateFacet() {
_start:
{
lean_object* x_1;
x_1 = l_Lake_Module_oleanPrivateFacet___closed__2;
return x_1;
}
}
static lean_object* _init_l_Lake_Module_ileanFacet___closed__1() {
_start:
{
@ -989,7 +1165,7 @@ static lean_object* _init_l_Lake_Module_ileanFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_ileanFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -1015,7 +1191,7 @@ static lean_object* _init_l_Lake_Module_cFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_cFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -1041,7 +1217,7 @@ static lean_object* _init_l_Lake_Module_bcFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_bcFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -1067,7 +1243,7 @@ static lean_object* _init_l_Lake_Module_coFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_cFacet___closed__1;
x_3 = l_Lake_Module_coFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
@ -1094,7 +1270,7 @@ static lean_object* _init_l_Lake_Module_coExportFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_cFacet___closed__1;
x_3 = l_Lake_Module_coFacet___closed__1;
x_4 = l_Lake_Module_coExportFacet___closed__1;
@ -1122,7 +1298,7 @@ static lean_object* _init_l_Lake_Module_coNoExportFacet___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_cFacet___closed__1;
x_3 = l_Lake_Module_coFacet___closed__1;
x_4 = l_Lake_Module_coNoExportFacet___closed__1;
@ -1142,7 +1318,7 @@ static lean_object* _init_l_Lake_Module_bcoFacet___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_bcFacet___closed__1;
x_3 = l_Lake_Module_coFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
@ -1161,7 +1337,7 @@ static lean_object* _init_l_Lake_Module_oFacet___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_coFacet___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
@ -1179,7 +1355,7 @@ static lean_object* _init_l_Lake_Module_oExportFacet___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_coFacet___closed__1;
x_3 = l_Lake_Module_coExportFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
@ -1198,7 +1374,7 @@ static lean_object* _init_l_Lake_Module_oNoExportFacet___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lake_Module_depsFacet___closed__1;
x_1 = l_Lake_Module_inputFacet___closed__1;
x_2 = l_Lake_Module_coFacet___closed__1;
x_3 = l_Lake_Module_coNoExportFacet___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
@ -1835,12 +2011,36 @@ l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147____rarg___closed__9 =
lean_mark_persistent(l_Lake_reprModuleFacet____x40_Lake_Build_Facets___hyg_147____rarg___closed__9);
l_Lake_instReprModuleFacet___closed__1 = _init_l_Lake_instReprModuleFacet___closed__1();
lean_mark_persistent(l_Lake_instReprModuleFacet___closed__1);
l_Lake_Module_inputFacet___closed__1 = _init_l_Lake_Module_inputFacet___closed__1();
lean_mark_persistent(l_Lake_Module_inputFacet___closed__1);
l_Lake_Module_inputFacet___closed__2 = _init_l_Lake_Module_inputFacet___closed__2();
lean_mark_persistent(l_Lake_Module_inputFacet___closed__2);
l_Lake_Module_inputFacet___closed__3 = _init_l_Lake_Module_inputFacet___closed__3();
lean_mark_persistent(l_Lake_Module_inputFacet___closed__3);
l_Lake_Module_inputFacet = _init_l_Lake_Module_inputFacet();
lean_mark_persistent(l_Lake_Module_inputFacet);
l_Lake_Module_leanFacet___closed__1 = _init_l_Lake_Module_leanFacet___closed__1();
lean_mark_persistent(l_Lake_Module_leanFacet___closed__1);
l_Lake_Module_leanFacet___closed__2 = _init_l_Lake_Module_leanFacet___closed__2();
lean_mark_persistent(l_Lake_Module_leanFacet___closed__2);
l_Lake_Module_leanFacet = _init_l_Lake_Module_leanFacet();
lean_mark_persistent(l_Lake_Module_leanFacet);
l_Lake_Module_headerFacet___closed__1 = _init_l_Lake_Module_headerFacet___closed__1();
lean_mark_persistent(l_Lake_Module_headerFacet___closed__1);
l_Lake_Module_headerFacet___closed__2 = _init_l_Lake_Module_headerFacet___closed__2();
lean_mark_persistent(l_Lake_Module_headerFacet___closed__2);
l_Lake_Module_headerFacet = _init_l_Lake_Module_headerFacet();
lean_mark_persistent(l_Lake_Module_headerFacet);
l_Lake_Module_setupFacet___closed__1 = _init_l_Lake_Module_setupFacet___closed__1();
lean_mark_persistent(l_Lake_Module_setupFacet___closed__1);
l_Lake_Module_setupFacet___closed__2 = _init_l_Lake_Module_setupFacet___closed__2();
lean_mark_persistent(l_Lake_Module_setupFacet___closed__2);
l_Lake_Module_setupFacet = _init_l_Lake_Module_setupFacet();
lean_mark_persistent(l_Lake_Module_setupFacet);
l_Lake_Module_depsFacet___closed__1 = _init_l_Lake_Module_depsFacet___closed__1();
lean_mark_persistent(l_Lake_Module_depsFacet___closed__1);
l_Lake_Module_depsFacet___closed__2 = _init_l_Lake_Module_depsFacet___closed__2();
lean_mark_persistent(l_Lake_Module_depsFacet___closed__2);
l_Lake_Module_depsFacet___closed__3 = _init_l_Lake_Module_depsFacet___closed__3();
lean_mark_persistent(l_Lake_Module_depsFacet___closed__3);
l_Lake_Module_depsFacet = _init_l_Lake_Module_depsFacet();
lean_mark_persistent(l_Lake_Module_depsFacet);
l_Lake_Module_leanArtsFacet___closed__1 = _init_l_Lake_Module_leanArtsFacet___closed__1();
@ -1855,6 +2055,18 @@ l_Lake_Module_oleanFacet___closed__2 = _init_l_Lake_Module_oleanFacet___closed__
lean_mark_persistent(l_Lake_Module_oleanFacet___closed__2);
l_Lake_Module_oleanFacet = _init_l_Lake_Module_oleanFacet();
lean_mark_persistent(l_Lake_Module_oleanFacet);
l_Lake_Module_oleanServerFacet___closed__1 = _init_l_Lake_Module_oleanServerFacet___closed__1();
lean_mark_persistent(l_Lake_Module_oleanServerFacet___closed__1);
l_Lake_Module_oleanServerFacet___closed__2 = _init_l_Lake_Module_oleanServerFacet___closed__2();
lean_mark_persistent(l_Lake_Module_oleanServerFacet___closed__2);
l_Lake_Module_oleanServerFacet = _init_l_Lake_Module_oleanServerFacet();
lean_mark_persistent(l_Lake_Module_oleanServerFacet);
l_Lake_Module_oleanPrivateFacet___closed__1 = _init_l_Lake_Module_oleanPrivateFacet___closed__1();
lean_mark_persistent(l_Lake_Module_oleanPrivateFacet___closed__1);
l_Lake_Module_oleanPrivateFacet___closed__2 = _init_l_Lake_Module_oleanPrivateFacet___closed__2();
lean_mark_persistent(l_Lake_Module_oleanPrivateFacet___closed__2);
l_Lake_Module_oleanPrivateFacet = _init_l_Lake_Module_oleanPrivateFacet();
lean_mark_persistent(l_Lake_Module_oleanPrivateFacet);
l_Lake_Module_ileanFacet___closed__1 = _init_l_Lake_Module_ileanFacet___closed__1();
lean_mark_persistent(l_Lake_Module_ileanFacet___closed__1);
l_Lake_Module_ileanFacet___closed__2 = _init_l_Lake_Module_ileanFacet___closed__2();

View file

@ -15,6 +15,7 @@ extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lake_ConfigTarget_key___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_precompileImports(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_header(lean_object*);
extern lean_object* l_Lake_Module_coExportFacet;
LEAN_EXPORT lean_object* l_Lake_LeanLib_shared(lean_object*);
LEAN_EXPORT lean_object* l_Lake_LeanLib_modules(lean_object*);
@ -23,6 +24,7 @@ LEAN_EXPORT lean_object* l_Lake_Package_key___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_LeanLib_static(lean_object*);
extern lean_object* l_Lake_InputFile_keyword;
LEAN_EXPORT lean_object* l_Lake_Package_optBuildCache(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_oleanServer(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_targetBuildKey___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_LeanLib_leanArts(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_depsFacet;
@ -31,6 +33,7 @@ LEAN_EXPORT lean_object* l_Lake_Package_targetKey(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_buildKey(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildInfo_key(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_targetKey___boxed(lean_object*, lean_object*);
extern lean_object* l_Lake_Module_leanFacet;
LEAN_EXPORT lean_object* l_Lake_Module_facetCore(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instDataKindModule;
LEAN_EXPORT lean_object* l_Lake_Package_transDeps(lean_object*);
@ -49,6 +52,7 @@ extern lean_object* l_Lake_Package_keyword;
LEAN_EXPORT lean_object* l_Lake_Module_oNoExport(lean_object*);
extern lean_object* l_Lake_Module_ileanFacet;
LEAN_EXPORT lean_object* l_Lake_BuildInfo_dynlibExternLib(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_input(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildInfo_staticExternLib(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_transImportsFacet;
static lean_object* l_Lake_instDataKindInputDir___closed__1;
@ -56,15 +60,19 @@ extern lean_object* l_Lake_Module_depsFacet;
LEAN_EXPORT lean_object* l_Lake_Module_bc(lean_object*);
extern lean_object* l_Lake_LeanLib_extraDepFacet;
LEAN_EXPORT lean_object* l_Lake_Module_bco(lean_object*);
extern lean_object* l_Lake_Module_inputFacet;
LEAN_EXPORT lean_object* l_Lake_Module_deps(lean_object*);
static lean_object* l_Lake_LeanLib_modulesFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_ExternLib_dynlibBuildKey(lean_object*);
LEAN_EXPORT lean_object* l_Lake_ConfigTarget_facetBuildKey___rarg(lean_object*, lean_object*);
extern lean_object* l_Lake_Module_headerFacet;
extern lean_object* l_Lake_Package_gitHubReleaseFacet;
LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivate(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_facet(lean_object*, lean_object*);
extern lean_object* l_Lake_Module_coNoExportFacet;
LEAN_EXPORT lean_object* l_Lake_Module_facetBuildKey(lean_object*, lean_object*);
static lean_object* l_Lake_Module_transImportsFacet___closed__2;
extern lean_object* l_Lake_Module_setupFacet;
LEAN_EXPORT lean_object* l_Lake_LeanExe_exeBuildKey(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_facet(lean_object*, lean_object*);
static lean_object* l_Lake_instDataKindInputDir___closed__2;
@ -89,6 +97,7 @@ LEAN_EXPORT lean_object* l_Lake_Module_coExport(lean_object*);
static lean_object* l_Lake_Module_importsFacet___closed__1;
LEAN_EXPORT lean_object* l_Lake_Package_transDepsFacet;
LEAN_EXPORT lean_object* l_Lake_ExternLib_sharedBuildKey(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_setup(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDir_default(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_key___boxed(lean_object*);
static lean_object* l_Lake_instDataKindLeanLib___closed__2;
@ -154,11 +163,13 @@ LEAN_EXPORT lean_object* l_Lake_Module_importsFacet;
LEAN_EXPORT lean_object* l_Lake_ExternLib_staticBuildKey(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFile_facetCore(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_dynlib(lean_object*);
extern lean_object* l_Lake_Module_oleanPrivateFacet;
LEAN_EXPORT lean_object* l_Lake_LeanLib_extraDep(lean_object*);
LEAN_EXPORT lean_object* l_Lake_ConfigTarget_key___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_precompileImportsFacet;
LEAN_EXPORT lean_object* l_Lake_InputFile_default(lean_object*);
extern lean_object* l_Lake_ExternLib_staticFacet;
LEAN_EXPORT lean_object* l_Lake_Module_lean(lean_object*);
extern lean_object* l_Lake_Module_oNoExportFacet;
LEAN_EXPORT lean_object* l_Lake_Package_key(lean_object*);
LEAN_EXPORT lean_object* l_Lake_ExternLib_static(lean_object*);
@ -185,6 +196,7 @@ LEAN_EXPORT lean_object* l_Lake_LeanExe_exe(lean_object*);
static lean_object* l_Lake_instDataKindLeanExe___closed__1;
extern lean_object* l_Lake_Module_oleanFacet;
extern lean_object* l_Lake_Module_oFacet;
extern lean_object* l_Lake_Module_oleanServerFacet;
extern lean_object* l_Lake_ExternLib_keyword;
LEAN_EXPORT lean_object* l_Lake_Package_facetCore(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_ExternLib_facetCore(lean_object*, lean_object*);
@ -1071,6 +1083,60 @@ lean_ctor_set(x_6, 3, x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_input(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_inputFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_lean(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_leanFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_header(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_headerFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_imports(lean_object* x_1) {
_start:
{
@ -1125,6 +1191,24 @@ lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_setup(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_setupFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_deps(lean_object* x_1) {
_start:
{
@ -1179,6 +1263,42 @@ lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_oleanServer(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_oleanServerFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivate(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_2 = lean_ctor_get(x_1, 2);
lean_inc(x_2);
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = l_Lake_Module_keyword;
x_5 = l_Lake_Module_oleanPrivateFacet;
x_6 = lean_alloc_ctor(1, 4, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_1);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_ilean(lean_object* x_1) {
_start:
{

View file

@ -16,7 +16,6 @@ extern "C" {
LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_Job_mapM___spec__3(lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_BuildJob_bindSync___spec__7(lean_object*);
static lean_object* l_Lake_instMonadStateOfLogJobM___closed__4;
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_zipResultWith___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStderr___at_Lake_Job_bindM___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -87,9 +86,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lake_Job_collectList___s
LEAN_EXPORT lean_object* l_Lake_BuildJob_bindAsync(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_mix___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_Job_bindAsync___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_collectNameMap(lean_object*);
static lean_object* l_Lake_BuildJob_mk___rarg___closed__1;
LEAN_EXPORT lean_object* l_Lake_Job_collectNameMap___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_Job_async___spec__2(lean_object*);
LEAN_EXPORT lean_object* l_IO_withStderr___at_Lake_Job_mapM___spec__4(lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_Job_bindAsync___spec__3(lean_object*);
@ -137,7 +134,6 @@ LEAN_EXPORT lean_object* l_Lake_instMonadStateOfLogJobM___lambda__3(lean_object*
LEAN_EXPORT lean_object* l_Lake_Job_add___rarg___lambda__2(lean_object*, lean_object*);
lean_object* lean_task_pure(lean_object*);
LEAN_EXPORT lean_object* l_Lake_pushLogEntry___at_Lake_instMonadLogJobM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildJob_toJob(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lake_Job_collectList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_bindTask(lean_object*, lean_object*, lean_object*);
@ -203,7 +199,6 @@ LEAN_EXPORT lean_object* l_Lake_Job_mapM___at_Lake_BuildJob_bindSync___spec__1__
LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_Job_mapM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStderr___at_Lake_Job_async___spec__4(lean_object*);
LEAN_EXPORT lean_object* l_Lake_EquipT_map___at_Lake_instMonadStateOfLogJobM___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lake_Job_collectList___spec__3(lean_object*);
LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lake_BuildJob_bindAsync___spec__2(lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_Job_async___spec__5(lean_object*);
@ -264,7 +259,6 @@ LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_Job_bindAsync___spec__7(lean_o
LEAN_EXPORT lean_object* l_Lake_instAlternativeJobM;
LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_Job_bindAsync___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_takeTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStderr___at_Lake_BuildJob_bindSync___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instMonadLiftFetchMJobM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_add(lean_object*, lean_object*);
@ -378,7 +372,6 @@ LEAN_EXPORT lean_object* l_Lake_Job_add___rarg___lambda__1(lean_object*, lean_ob
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Job_mixArray___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_getTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_Job_async___spec__6(lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lake_Job_mixList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_setTraceCaption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Job_bindAsync___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -31672,258 +31665,6 @@ lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; lean_object* x_5; uint8_t x_6;
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
lean_dec(x_1);
x_6 = !lean_is_exclusive(x_3);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_7 = lean_ctor_get(x_3, 0);
x_8 = lean_ctor_get(x_3, 1);
x_9 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_4, x_2, x_7);
x_10 = l_Lake_JobState_merge(x_5, x_8);
lean_ctor_set(x_3, 1, x_10);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
x_11 = lean_ctor_get(x_3, 0);
x_12 = lean_ctor_get(x_3, 1);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_3);
x_13 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_4, x_2, x_11);
x_14 = l_Lake_JobState_merge(x_5, x_12);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
return x_15;
}
}
else
{
lean_object* x_16; uint8_t x_17;
lean_dec(x_2);
x_16 = lean_ctor_get(x_1, 1);
lean_inc(x_16);
lean_dec(x_1);
x_17 = !lean_is_exclusive(x_3);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_18 = lean_ctor_get(x_3, 1);
x_19 = lean_ctor_get(x_3, 0);
lean_dec(x_19);
x_20 = l_Lake_JobState_merge(x_16, x_18);
x_21 = lean_unsigned_to_nat(0u);
lean_ctor_set(x_3, 1, x_20);
lean_ctor_set(x_3, 0, x_21);
return x_3;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_22 = lean_ctor_get(x_3, 1);
lean_inc(x_22);
lean_dec(x_3);
x_23 = l_Lake_JobState_merge(x_16, x_22);
x_24 = lean_unsigned_to_nat(0u);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
return x_25;
}
}
}
else
{
lean_dec(x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_26; uint8_t x_27;
x_26 = lean_ctor_get(x_1, 1);
lean_inc(x_26);
lean_dec(x_1);
x_27 = !lean_is_exclusive(x_3);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
x_28 = lean_ctor_get(x_3, 1);
x_29 = lean_ctor_get(x_3, 0);
lean_dec(x_29);
x_30 = l_Lake_JobState_merge(x_26, x_28);
x_31 = lean_unsigned_to_nat(0u);
lean_ctor_set_tag(x_3, 1);
lean_ctor_set(x_3, 1, x_30);
lean_ctor_set(x_3, 0, x_31);
return x_3;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_32 = lean_ctor_get(x_3, 1);
lean_inc(x_32);
lean_dec(x_3);
x_33 = l_Lake_JobState_merge(x_26, x_32);
x_34 = lean_unsigned_to_nat(0u);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
return x_35;
}
}
else
{
lean_object* x_36; uint8_t x_37;
x_36 = lean_ctor_get(x_1, 1);
lean_inc(x_36);
lean_dec(x_1);
x_37 = !lean_is_exclusive(x_3);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
x_38 = lean_ctor_get(x_3, 1);
x_39 = lean_ctor_get(x_3, 0);
lean_dec(x_39);
x_40 = l_Lake_JobState_merge(x_36, x_38);
x_41 = lean_unsigned_to_nat(0u);
lean_ctor_set(x_3, 1, x_40);
lean_ctor_set(x_3, 0, x_41);
return x_3;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
x_42 = lean_ctor_get(x_3, 1);
lean_inc(x_42);
lean_dec(x_3);
x_43 = l_Lake_JobState_merge(x_36, x_42);
x_44 = lean_unsigned_to_nat(0u);
x_45 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_43);
return x_45;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_4 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__1), 3, 2);
lean_closure_set(x_4, 0, x_3);
lean_closure_set(x_4, 1, x_1);
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = l_Task_Priority_default;
x_7 = 1;
x_8 = lean_task_map(x_4, x_5, x_6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16;
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_2, 3);
lean_inc(x_6);
lean_dec(x_2);
x_7 = l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg(x_1, x_3);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg___lambda__2), 3, 2);
lean_closure_set(x_9, 0, x_4);
lean_closure_set(x_9, 1, x_5);
x_10 = l_Task_Priority_default;
x_11 = 1;
x_12 = lean_task_bind(x_8, x_9, x_10, x_11);
x_13 = lean_box(0);
x_14 = l_Lake_Job_async___rarg___lambda__2___closed__2;
x_15 = 0;
x_16 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_16, 0, x_12);
lean_ctor_set(x_16, 1, x_13);
lean_ctor_set(x_16, 2, x_14);
lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_15);
x_1 = x_16;
x_2 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Job_collectNameMap___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14;
x_3 = lean_box(0);
x_4 = l_Lake_BuildTrace_nil(x_2);
x_5 = l_Lake_Job_async___rarg___closed__1;
x_6 = 0;
x_7 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_4);
lean_ctor_set_uint8(x_7, sizeof(void*)*2, x_6);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_3);
lean_ctor_set(x_8, 1, x_7);
x_9 = lean_task_pure(x_8);
x_10 = lean_box(0);
x_11 = l_Lake_Job_async___rarg___lambda__2___closed__2;
x_12 = 0;
x_13 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_13, 0, x_9);
lean_ctor_set(x_13, 1, x_10);
lean_ctor_set(x_13, 2, x_11);
lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_12);
x_14 = l_Lean_RBNode_fold___at_Lake_Job_collectNameMap___spec__1___rarg(x_13, x_1);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lake_Job_collectNameMap(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lake_Job_collectNameMap___rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_BuildJob_mk___rarg___lambda__1(lean_object* x_1) {
_start:
{

File diff suppressed because it is too large Load diff

View file

@ -18,18 +18,14 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instOrd;
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__11;
LEAN_EXPORT lean_object* l_Lake_computeHash___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_instToString;
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToStringTextFilePath(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstHash(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeHashArrayOfMonad___rarg(lean_object*, lean_object*);
uint8_t l_String_anyAux___at_String_isNat___spec__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__7;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11;
LEAN_EXPORT lean_object* l_Lake_Hash_instToJson;
LEAN_EXPORT lean_object* l_Lake_computeListTrace___at_Lake_instComputeTraceListOfMonad___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeHashFilePathIO;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2;
LEAN_EXPORT lean_object* l_Lake_instComputeTraceIOMTimeOfGetMTime___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_ofHash___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_mixTraceList___rarg(lean_object*, lean_object*, lean_object*);
@ -42,8 +38,11 @@ LEAN_EXPORT lean_object* l_Lake_BuildTrace_withCaption(lean_object*, lean_object
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_instComputeTraceListOfMonad___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofNat(lean_object*);
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__13;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3;
static lean_object* l_Lake_Hash_ofText___closed__1;
uint64_t lean_byte_array_hash(lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofBool(uint8_t);
LEAN_EXPORT lean_object* l_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeHash(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_mix(uint64_t, uint64_t);
lean_object* l_String_quote(lean_object*);
@ -51,6 +50,7 @@ static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed_
LEAN_EXPORT lean_object* l_Lake_computeListTrace(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instBEq;
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11;
LEAN_EXPORT lean_object* l_Lake_computeTextFileHash(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_decEqHash____x40_Lake_Build_Trace___hyg_544____boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instComputeTraceIOOfToStringOfComputeHashOfMonadLiftTOfGetMTime___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
@ -63,7 +63,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mixTraceArray___spe
LEAN_EXPORT lean_object* l_Lake_instComputeTraceListOfMonad(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofBool___boxed(lean_object*);
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_computeListTrace___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceArrayOfMonad(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_toJson___boxed(lean_object*);
@ -78,8 +77,8 @@ LEAN_EXPORT lean_object* l_Lake_Hash_toJson(uint64_t);
LEAN_EXPORT lean_object* l_Lake_computeFileHash(lean_object*, uint8_t, lean_object*);
static lean_object* l_Lake_Hash_instToString___closed__1;
LEAN_EXPORT lean_object* l_Lake_Hash_ofString_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofText___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayTrace___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11;
LEAN_EXPORT lean_object* l_Lake_Hash_toString___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceHashOfComputeHash(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instBEqHash;
@ -87,10 +86,10 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instMin(lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_mix(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_compute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstHash___rarg(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*);
lean_object* l_List_foldl___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6;
lean_object* l_Nat_reprFast(lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceArrayOfMonad___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
@ -98,6 +97,8 @@ static lean_object* l_Lake_instReprBuildTrace___closed__1;
LEAN_EXPORT lean_object* l_Lake_inhabitedOfNilTrace___rarg___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lake_decEqHash____x40_Lake_Build_Trace___hyg_544_(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceHashOfComputeHash___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__4(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4;
lean_object* l_UInt64_fromJson_x3f(lean_object*);
static lean_object* l_Lake_MTime_instOfNat___closed__2;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayTrace___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -108,34 +109,31 @@ LEAN_EXPORT lean_object* l_Lake_instReprHash;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayTrace___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instNilTrace;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instCoeMTime___boxed__const__1;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9;
static lean_object* l_Lake_computeTextFileHash___closed__1;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToStringTextFilePath___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeArrayTrace___at_Lake_instComputeTraceArrayOfMonad___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstTime___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_BuildTrace_instCoeHash___closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8;
LEAN_EXPORT lean_object* l_Lake_Hash_ofString_x3f___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceIOMTimeOfGetMTime___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeHashBoolId;
LEAN_EXPORT lean_object* l_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__2(lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6;
LEAN_EXPORT lean_object* l_Lake_Hash_instFromJson;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayHash___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_uint64_to_nat(uint64_t);
LEAN_EXPORT lean_object* l_Lake_instCheckExistsFilePath;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instNilTrace;
lean_object* l_String_crlfToLf_go(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3;
LEAN_EXPORT lean_object* l_Lake_inhabitedOfNilTrace(lean_object*);
static lean_object* l_Lake_instGetMTimeFilePath___closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mixTraceArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_String_foldlAux___at_String_toNat_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_ofMTime___boxed__const__1;
lean_object* lean_array_to_list(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_ofMTime(lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10;
LEAN_EXPORT lean_object* l_Lake_Hash_toString(uint64_t);
extern lean_object* l_IO_FS_instBEqSystemTime;
LEAN_EXPORT uint64_t l_Lake_Hash_ofString(lean_object*);
@ -146,19 +144,21 @@ LEAN_EXPORT lean_object* l_Lake_instComputeHashStringId;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayHash___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeHashTextFilePathIO(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_inhabitedOfNilTrace___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1(lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofText(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayHash___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, size_t, uint64_t);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7;
LEAN_EXPORT lean_object* l_Lake_computeArrayHash(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instMixTrace;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_nil(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeFileHash___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_instComputeHashFilePathIO___closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1;
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_instComputeTraceListOfMonad___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeListTrace___at_Lake_instComputeTraceListOfMonad___spec__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayTrace___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstHash___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_instReprHash___closed__1;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instComputeTraceIOOfToStringOfComputeHashOfMonadLiftTOfGetMTime(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceIOMTimeOfGetMTime(lean_object*);
LEAN_EXPORT uint8_t l_Lake_instDecidableEqHash(uint64_t, uint64_t);
@ -170,52 +170,53 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instOfNat;
LEAN_EXPORT lean_object* l_Lake_pureHash___rarg(lean_object*, lean_object*);
lean_object* l_IO_FS_readFile(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instGetMTimeFilePath;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instComputeTraceArrayOfMonad___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__4(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3;
static lean_object* l_Lake_Hash_instToJson___closed__1;
static lean_object* l_Lake_MTime_instOfNat___closed__1;
LEAN_EXPORT lean_object* l_Lake_Hash_load_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceHashOfComputeHash___rarg(lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2;
LEAN_EXPORT lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_ofHash(uint64_t, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3;
LEAN_EXPORT lean_object* l_Lake_mixTraceArray___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instMax(lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8;
LEAN_EXPORT lean_object* l_Lake_MTime_instRepr;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2;
LEAN_EXPORT lean_object* l_Lake_Hash_load_x3f___boxed(lean_object*, lean_object*);
lean_object* lean_string_length(lean_object*);
LEAN_EXPORT lean_object* l_Lake_getFileMTime(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_BuildTrace_compute(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_instComputeTraceListOfMonad___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instComputeTraceArrayOfMonad___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_mixTraceList(lean_object*);
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5;
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____boxed(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3217_(lean_object*, lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_nil;
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__2;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1;
LEAN_EXPORT lean_object* l_Lake_instComputeHashArrayOfMonad(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instReprBuildTrace;
LEAN_EXPORT lean_object* l_Lake_MTime_instMax___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instComputeTraceArrayOfMonad___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9;
LEAN_EXPORT uint64_t l_Lake_Hash_instNilTrace;
static lean_object* l_Lake_instCheckExistsFilePath___closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2;
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__8;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instComputeTraceArrayOfMonad___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instMin___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeTextFileHash___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeTrace(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10;
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_computeListTrace___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instMixTrace___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__5;
LEAN_EXPORT lean_object* l_Lake_Hash_ofByteArray___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeTraceListOfMonad___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13;
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__12;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instCoeMTime(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_instComputeTraceArrayOfMonad___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -223,14 +224,14 @@ lean_object* l_Lean_bignumToJson(lean_object*);
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__6;
uint8_t lean_uint64_dec_eq(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Lake_beqHash____x40_Lake_Build_Trace___hyg_486____boxed(lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayHash___spec__1(lean_object*, lean_object*);
lean_object* lean_array_mk(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayHash___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634_(uint64_t, lean_object*);
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mixTraceArray___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7;
LEAN_EXPORT lean_object* l_Lake_pureHash(lean_object*);
LEAN_EXPORT lean_object* l_Lake_MTime_instLT;
lean_object* lean_array_uget(lean_object*, size_t);
@ -244,35 +245,36 @@ LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstTime___rarg___boxed(lean_
static lean_object* l_Lake_BuildTrace_instNilTrace___closed__1;
static lean_object* l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__4;
LEAN_EXPORT lean_object* l_Lake_BuildTrace_withoutInputs(lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14;
LEAN_EXPORT lean_object* l_Lake_computeBinFileHash(lean_object*, lean_object*);
static lean_object* l_Lake_BuildTrace_instCoeMTime___closed__1;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12;
LEAN_EXPORT lean_object* l_Lake_computeListTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5;
lean_object* lean_array_get_size(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeArrayHash___rarg___boxed__const__1;
static lean_object* l_Lake_BuildTrace_instMixTrace___closed__1;
lean_object* l_System_FilePath_pathExists___boxed(lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11;
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_beqHash____x40_Lake_Build_Trace___hyg_486_(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Lake_mixTraceArray___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_BuildTrace_withoutInputs___closed__1;
LEAN_EXPORT lean_object* l_Lake_instDecidableEqHash___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9;
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7;
lean_object* l_IO_FS_readBinFile(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instComputeHashTextFilePathIO___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_Hash_instFromJson___closed__1;
static lean_object* l_Lake_BuildTrace_instNilTrace___closed__2;
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instCoeTextFilePathFilePath___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_instMixTrace;
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8;
LEAN_EXPORT lean_object* l_Lake_Hash_ofString___boxed(lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instCoeTextFilePathFilePath(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_computeArrayTrace___spec__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8;
LEAN_EXPORT lean_object* l_Lake_Hash_fromJson_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeArrayHash___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5;
static lean_object* l_Lake_instBEqHash___closed__1;
LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_computeListTrace___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeArrayTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1494,6 +1496,38 @@ x_3 = lean_box_uint64(x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Hash_ofText___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
LEAN_EXPORT uint64_t l_Lake_Hash_ofText(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7;
x_2 = l_Lake_Hash_ofText___closed__1;
x_3 = lean_unsigned_to_nat(0u);
x_4 = l_String_crlfToLf_go(x_1, x_2, x_3, x_3);
x_5 = lean_string_hash(x_4);
lean_dec(x_4);
x_6 = 1723;
x_7 = lean_uint64_mix_hash(x_6, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lake_Hash_ofText___boxed(lean_object* x_1) {
_start:
{
uint64_t x_2; lean_object* x_3;
x_2 = l_Lake_Hash_ofText(x_1);
lean_dec(x_1);
x_3 = lean_box_uint64(x_2);
return x_3;
}
}
LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object* x_1) {
_start:
{
@ -1810,14 +1844,6 @@ x_1 = l_Lake_instComputeHashFilePathIO___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lake_computeTextFileHash___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_computeTextFileHash(lean_object* x_1, lean_object* x_2) {
_start:
{
@ -1831,7 +1857,7 @@ if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; lean_object* x_12;
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lake_computeTextFileHash___closed__1;
x_6 = l_Lake_Hash_ofText___closed__1;
x_7 = lean_unsigned_to_nat(0u);
x_8 = l_String_crlfToLf_go(x_5, x_6, x_7, x_7);
lean_dec(x_5);
@ -1851,7 +1877,7 @@ x_14 = lean_ctor_get(x_3, 1);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_3);
x_15 = l_Lake_computeTextFileHash___closed__1;
x_15 = l_Lake_Hash_ofText___closed__1;
x_16 = lean_unsigned_to_nat(0u);
x_17 = l_String_crlfToLf_go(x_13, x_15, x_16, x_16);
lean_dec(x_13);
@ -2647,16 +2673,16 @@ lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__2(lean_object* x_1) {
LEAN_EXPORT lean_object* l_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__2(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_1, x_2);
x_3 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
@ -2678,7 +2704,7 @@ lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 0, x_2);
x_7 = lean_unsigned_to_nat(0u);
x_8 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_5, x_7);
x_8 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_5, x_7);
x_9 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_9, 0, x_3);
lean_ctor_set(x_9, 1, x_8);
@ -2699,7 +2725,7 @@ x_13 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_13, 0, x_2);
lean_ctor_set(x_13, 1, x_1);
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_11, x_14);
x_15 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_11, x_14);
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_13);
lean_ctor_set(x_16, 1, x_15);
@ -2710,7 +2736,7 @@ goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__3(lean_object* x_1, lean_object* x_2) {
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
@ -2733,7 +2759,7 @@ x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_unsigned_to_nat(0u);
x_7 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_5, x_6);
x_7 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_5, x_6);
return x_7;
}
else
@ -2743,14 +2769,14 @@ x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec(x_1);
x_9 = lean_unsigned_to_nat(0u);
x_10 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_8, x_9);
x_11 = l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__4(x_2, x_10, x_4);
x_10 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_8, x_9);
x_11 = l_List_foldl___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__4(x_2, x_10, x_4);
return x_11;
}
}
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1() {
_start:
{
lean_object* x_1;
@ -2758,21 +2784,21 @@ x_1 = lean_mk_string_unchecked(",", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -2780,7 +2806,7 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4() {
_start:
{
lean_object* x_1;
@ -2788,35 +2814,35 @@ x_1 = lean_mk_string_unchecked("#[", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5;
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8() {
_start:
{
lean_object* x_1;
@ -2824,17 +2850,17 @@ x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10() {
_start:
{
lean_object* x_1;
@ -2842,17 +2868,17 @@ x_1 = lean_mk_string_unchecked("#[]", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11() {
static lean_object* _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10;
x_1 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4;
@ -2864,17 +2890,17 @@ if (x_4 == 0)
{
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; uint8_t x_14; lean_object* x_15;
x_5 = lean_array_to_list(x_1);
x_6 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3;
x_7 = l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__3(x_5, x_6);
x_8 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7;
x_6 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3;
x_7 = l_Std_Format_joinSep___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__3(x_5, x_6);
x_8 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7;
x_9 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_7);
x_10 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9;
x_10 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9;
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6;
x_12 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6;
x_13 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
@ -2888,12 +2914,12 @@ else
{
lean_object* x_16;
lean_dec(x_1);
x_16 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11;
x_16 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11;
return x_16;
}
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1() {
_start:
{
lean_object* x_1;
@ -2901,33 +2927,33 @@ x_1 = lean_mk_string_unchecked("caption", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2;
x_2 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2;
x_3 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3;
x_2 = l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634____closed__5;
x_3 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -2935,7 +2961,7 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -2944,7 +2970,7 @@ x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6() {
_start:
{
lean_object* x_1;
@ -2952,17 +2978,17 @@ x_1 = lean_mk_string_unchecked("inputs", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -2971,7 +2997,7 @@ x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9() {
_start:
{
lean_object* x_1;
@ -2979,17 +3005,17 @@ x_1 = lean_mk_string_unchecked("hash", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -2998,7 +3024,7 @@ x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12() {
_start:
{
lean_object* x_1;
@ -3006,17 +3032,17 @@ x_1 = lean_mk_string_unchecked("mtime", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12;
x_1 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14() {
static lean_object* _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -3025,7 +3051,7 @@ x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(lean_object* x_1, lean_object* x_2) {
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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; 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; uint64_t 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; 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; 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;
@ -3035,7 +3061,7 @@ x_4 = l_String_quote(x_3);
lean_dec(x_3);
x_5 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_5, 0, x_4);
x_6 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5;
x_6 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5;
x_7 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
@ -3043,11 +3069,11 @@ x_8 = 0;
x_9 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8);
x_10 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4;
x_10 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4;
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_9);
x_12 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2;
x_12 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2;
x_13 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
@ -3055,7 +3081,7 @@ x_14 = lean_box(1);
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
x_16 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7;
x_16 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7;
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
@ -3065,8 +3091,8 @@ lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
x_20 = lean_ctor_get(x_1, 1);
lean_inc(x_20);
x_21 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1(x_20);
x_22 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8;
x_21 = l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1(x_20);
x_22 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8;
x_23 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_21);
@ -3082,7 +3108,7 @@ lean_ctor_set(x_26, 1, x_12);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_14);
x_28 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10;
x_28 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10;
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
@ -3095,7 +3121,7 @@ x_32 = lean_unsigned_to_nat(0u);
x_33 = lean_unbox_uint64(x_31);
lean_dec(x_31);
x_34 = l_Lake_reprHash____x40_Lake_Build_Trace___hyg_634_(x_33, x_32);
x_35 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11;
x_35 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11;
x_36 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_34);
@ -3111,7 +3137,7 @@ lean_ctor_set(x_39, 1, x_12);
x_40 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_14);
x_41 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13;
x_41 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13;
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
@ -3123,7 +3149,7 @@ lean_inc(x_44);
lean_dec(x_1);
x_45 = l_IO_FS_reprSystemTime____x40_Init_System_IO___hyg_3085_(x_44, x_32);
lean_dec(x_44);
x_46 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14;
x_46 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14;
x_47 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_45);
@ -3151,11 +3177,11 @@ lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_8);
return x_56;
}
}
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____boxed(lean_object* x_1, lean_object* x_2) {
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398_(x_1, x_2);
x_3 = l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381_(x_1, x_2);
lean_dec(x_2);
return x_3;
}
@ -3164,7 +3190,7 @@ static lean_object* _init_l_Lake_instReprBuildTrace___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____boxed), 2, 0);
x_1 = lean_alloc_closure((void*)(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____boxed), 2, 0);
return x_1;
}
}
@ -3799,6 +3825,8 @@ l_Lake_Hash_instToString___closed__1 = _init_l_Lake_Hash_instToString___closed__
lean_mark_persistent(l_Lake_Hash_instToString___closed__1);
l_Lake_Hash_instToString = _init_l_Lake_Hash_instToString();
lean_mark_persistent(l_Lake_Hash_instToString);
l_Lake_Hash_ofText___closed__1 = _init_l_Lake_Hash_ofText___closed__1();
lean_mark_persistent(l_Lake_Hash_ofText___closed__1);
l_Lake_Hash_instToJson___closed__1 = _init_l_Lake_Hash_instToJson___closed__1();
lean_mark_persistent(l_Lake_Hash_instToJson___closed__1);
l_Lake_Hash_instToJson = _init_l_Lake_Hash_instToJson();
@ -3819,8 +3847,6 @@ l_Lake_instComputeHashFilePathIO___closed__1 = _init_l_Lake_instComputeHashFileP
lean_mark_persistent(l_Lake_instComputeHashFilePathIO___closed__1);
l_Lake_instComputeHashFilePathIO = _init_l_Lake_instComputeHashFilePathIO();
lean_mark_persistent(l_Lake_instComputeHashFilePathIO);
l_Lake_computeTextFileHash___closed__1 = _init_l_Lake_computeTextFileHash___closed__1();
lean_mark_persistent(l_Lake_computeTextFileHash___closed__1);
l_Lake_computeArrayHash___rarg___boxed__const__1 = _init_l_Lake_computeArrayHash___rarg___boxed__const__1();
lean_mark_persistent(l_Lake_computeArrayHash___rarg___boxed__const__1);
l_Lake_MTime_instOfNat___closed__1 = _init_l_Lake_MTime_instOfNat___closed__1();
@ -3845,56 +3871,56 @@ l_Lake_instGetMTimeFilePath___closed__1 = _init_l_Lake_instGetMTimeFilePath___cl
lean_mark_persistent(l_Lake_instGetMTimeFilePath___closed__1);
l_Lake_instGetMTimeFilePath = _init_l_Lake_instGetMTimeFilePath();
lean_mark_persistent(l_Lake_instGetMTimeFilePath);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__1);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__2);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__3);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__4);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__5);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__6);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__7);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__8);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__9);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__10);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____spec__1___closed__11);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__1);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__2);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__3);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__4);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__5);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__6);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__7);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__8);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__9);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__10);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__11);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__12);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__13);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1398____closed__14);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__1);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__2);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__3);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__4);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__5);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__6);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__7);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__8);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__9);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__10);
l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11 = _init_l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11();
lean_mark_persistent(l_Array_Array_repr___at_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____spec__1___closed__11);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__1);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__2);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__3);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__4);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__5);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__6);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__7);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__8);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__9);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__10);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__11);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__12);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__13);
l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14 = _init_l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14();
lean_mark_persistent(l_Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1381____closed__14);
l_Lake_instReprBuildTrace___closed__1 = _init_l_Lake_instReprBuildTrace___closed__1();
lean_mark_persistent(l_Lake_instReprBuildTrace___closed__1);
l_Lake_instReprBuildTrace = _init_l_Lake_instReprBuildTrace();

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -13,6 +13,7 @@
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivateFile(lean_object*);
static lean_object* l_Lake_instToTextModule___closed__1;
uint8_t l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_forEachModuleInDir___spec__1(lean_object*, lean_object*);
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
@ -39,7 +40,6 @@ LEAN_EXPORT uint8_t l_Lake_instBEqModule(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_irPath___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToTextModule(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
lean_object* l_Lean_LeanOptionValue_asCliFlagValue(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_LeanLib_getModuleArray(lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
@ -49,6 +49,7 @@ LEAN_EXPORT lean_object* l_Lake_Module_leanLibPath___boxed(lean_object*, lean_ob
lean_object* lean_mk_array(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_leanOptions___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_platformIndependent(lean_object*);
static lean_object* l_Lake_Module_setupFile___closed__1;
lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*);
static lean_object* l_Lake_Module_traceFile___closed__1;
LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_Lake_LeanLib_getModuleArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
@ -61,9 +62,9 @@ lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_instGetMTime;
LEAN_EXPORT lean_object* l_Lake_Module_weakLeancArgs(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_LeanLib_getModuleArray___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_serverOptions___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_Lake_LeanLib_getModuleArray___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_oleanServerFile(lean_object*);
lean_object* l_Lake_relPathFrom(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_OrdModuleSet_empty;
LEAN_EXPORT lean_object* l_Lake_ModuleSet_empty;
@ -74,6 +75,7 @@ extern lean_object* l_Lake_sharedLibExt;
LEAN_EXPORT lean_object* l_Lake_Module_leanArgs___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_weakLinkArgs(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_LeanLib_rootModules___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Module_oleanPrivateFile___closed__1;
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instHashableModule___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_leanFile(lean_object*);
@ -134,6 +136,7 @@ LEAN_EXPORT lean_object* l_Lake_instToJsonModule(lean_object*);
LEAN_EXPORT uint8_t l_Lake_Module_backend(lean_object*);
static lean_object* l_Lake_Module_cFile___closed__1;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l_Lake_Module_oleanServerFile___closed__1;
LEAN_EXPORT lean_object* l_Lake_OrdHashSet_empty___at_Lake_OrdModuleSet_empty___spec__1;
static uint8_t l_Lake_Module_bcFile_x3f___closed__1;
uint8_t l_Lake_Backend_orPreferLeft(uint8_t, uint8_t);
@ -145,7 +148,6 @@ lean_object* l_Lake_modOfFilePath(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_instCheckExists;
LEAN_EXPORT lean_object* l_Lake_Module_cFile(lean_object*);
uint64_t l_Lean_Name_hash___override(lean_object*);
static lean_object* l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2;
static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_Package_findModule_x3f___spec__3___closed__1;
LEAN_EXPORT lean_object* l_Lake_Module_bcFile(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_leanIncludeDir_x3f(lean_object*);
@ -187,7 +189,6 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* l_Lake_joinRelative(lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
lean_object* l_Lake_BuildType_leancArgs(uint8_t);
static lean_object* l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1;
static lean_object* l_Lake_Module_instGetMTime___closed__1;
static lean_object* l_Lake_Module_coExportFile___closed__1;
static lean_object* l_Lake_Module_ileanFile___closed__1;
@ -195,6 +196,7 @@ LEAN_EXPORT lean_object* l_Lake_Module_linkArgs(lean_object*);
LEAN_EXPORT uint8_t l_Lake_Module_buildType(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_dynlibName(lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_setupFile(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_serverOptions(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Module_shouldPrecompile___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lake_instToTextModule___lambda__1(lean_object* x_1) {
@ -2025,6 +2027,92 @@ lean_dec(x_11);
return x_14;
}
}
static lean_object* _init_l_Lake_Module_oleanServerFile___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("olean.server", 12, 12);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_oleanServerFile(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
lean_dec(x_2);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 3);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_ctor_get(x_5, 6);
lean_inc(x_6);
x_7 = l_System_FilePath_normalize(x_6);
x_8 = l_Lake_joinRelative(x_4, x_7);
lean_dec(x_7);
x_9 = lean_ctor_get(x_5, 7);
lean_inc(x_9);
lean_dec(x_5);
x_10 = l_System_FilePath_normalize(x_9);
x_11 = l_Lake_joinRelative(x_8, x_10);
lean_dec(x_10);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
lean_dec(x_1);
x_13 = l_Lake_Module_oleanServerFile___closed__1;
x_14 = l_Lean_modToFilePath(x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
return x_14;
}
}
static lean_object* _init_l_Lake_Module_oleanPrivateFile___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("olean.private", 13, 13);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivateFile(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
lean_dec(x_2);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 3);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_ctor_get(x_5, 6);
lean_inc(x_6);
x_7 = l_System_FilePath_normalize(x_6);
x_8 = l_Lake_joinRelative(x_4, x_7);
lean_dec(x_7);
x_9 = lean_ctor_get(x_5, 7);
lean_inc(x_9);
lean_dec(x_5);
x_10 = l_System_FilePath_normalize(x_9);
x_11 = l_Lake_joinRelative(x_8, x_10);
lean_dec(x_10);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
lean_dec(x_1);
x_13 = l_Lake_Module_oleanPrivateFile___closed__1;
x_14 = l_Lean_modToFilePath(x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
return x_14;
}
}
static lean_object* _init_l_Lake_Module_ileanFile___closed__1() {
_start:
{
@ -2154,6 +2242,49 @@ lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_Module_setupFile___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("setup.json", 10, 10);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Module_setupFile(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
lean_dec(x_2);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 3);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_ctor_get(x_5, 6);
lean_inc(x_6);
x_7 = l_System_FilePath_normalize(x_6);
x_8 = l_Lake_joinRelative(x_4, x_7);
lean_dec(x_7);
x_9 = lean_ctor_get(x_5, 10);
lean_inc(x_9);
lean_dec(x_5);
x_10 = l_System_FilePath_normalize(x_9);
x_11 = l_Lake_joinRelative(x_8, x_10);
lean_dec(x_10);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
lean_dec(x_1);
x_13 = l_Lake_Module_setupFile___closed__1;
x_14 = l_Lean_modToFilePath(x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
return x_14;
}
}
static lean_object* _init_l_Lake_Module_cFile___closed__1() {
_start:
{
@ -2755,66 +2886,10 @@ lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("-D", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("=", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_2, 3);
lean_inc(x_6);
lean_dec(x_2);
x_7 = l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1(x_1, x_3);
x_8 = 1;
x_9 = l_Lake_instToTextModule___closed__1;
x_10 = l_Lean_Name_toString(x_4, x_8, x_9);
x_11 = l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1;
x_12 = lean_string_append(x_11, x_10);
lean_dec(x_10);
x_13 = l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2;
x_14 = lean_string_append(x_12, x_13);
x_15 = l_Lean_LeanOptionValue_asCliFlagValue(x_5);
x_16 = lean_string_append(x_14, x_15);
lean_dec(x_15);
x_17 = l_Array_forIn_x27Unsafe_loop___at_Lake_LeanLib_getModuleArray___spec__2___closed__4;
x_18 = lean_string_append(x_16, x_17);
x_19 = lean_array_push(x_7, x_18);
x_1 = x_19;
x_2 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Module_leanArgs(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11;
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_3, 3);
@ -2824,41 +2899,27 @@ x_7 = lean_ctor_get(x_2, 2);
x_8 = lean_ctor_get(x_7, 0);
x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*13);
x_10 = l_Lake_ordBuildType____x40_Lake_Config_LeanConfig___hyg_267_(x_6, x_9);
x_11 = lean_ctor_get(x_5, 1);
x_12 = lean_ctor_get(x_8, 1);
x_13 = lean_ctor_get(x_5, 0);
x_14 = l_Lean_LeanOptions_ofArray(x_13);
x_15 = lean_box(x_10);
if (lean_obj_tag(x_15) == 2)
x_11 = lean_box(x_10);
if (lean_obj_tag(x_11) == 2)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_16 = lean_ctor_get(x_8, 0);
x_17 = l_Lake_BuildType_leanArgs(x_9);
x_18 = l_Array_append___rarg(x_17, x_11);
x_19 = l_Array_append___rarg(x_18, x_12);
x_20 = l_Lake_BuildType_leanOptions(x_9);
x_21 = l_Lake_Module_serverOptions___closed__1;
x_22 = l_Lake_Module_serverOptions___closed__2;
x_23 = l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(x_21, x_22, x_20, x_14);
x_24 = l_Lean_LeanOptions_appendArray(x_23, x_16);
x_25 = l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1(x_19, x_24);
return x_25;
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);
x_13 = lean_ctor_get(x_8, 1);
x_14 = l_Lake_BuildType_leanArgs(x_9);
x_15 = l_Array_append___rarg(x_14, x_12);
x_16 = l_Array_append___rarg(x_15, x_13);
return x_16;
}
else
{
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_dec(x_15);
x_26 = lean_ctor_get(x_8, 0);
x_27 = l_Lake_BuildType_leanArgs(x_6);
x_28 = l_Array_append___rarg(x_27, x_11);
x_29 = l_Array_append___rarg(x_28, x_12);
x_30 = l_Lake_BuildType_leanOptions(x_6);
x_31 = l_Lake_Module_serverOptions___closed__1;
x_32 = l_Lake_Module_serverOptions___closed__2;
x_33 = l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(x_31, x_32, x_30, x_14);
x_34 = l_Lean_LeanOptions_appendArray(x_33, x_26);
x_35 = l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1(x_29, x_34);
return x_35;
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
lean_dec(x_11);
x_17 = lean_ctor_get(x_5, 1);
x_18 = lean_ctor_get(x_8, 1);
x_19 = l_Lake_BuildType_leanArgs(x_6);
x_20 = l_Array_append___rarg(x_19, x_17);
x_21 = l_Array_append___rarg(x_20, x_18);
return x_21;
}
}
}
@ -3830,10 +3891,16 @@ l_Array_forIn_x27Unsafe_loop___at_Lake_LeanLib_getModuleArray___spec__2___closed
lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lake_LeanLib_getModuleArray___spec__2___closed__4);
l_Lake_Module_oleanFile___closed__1 = _init_l_Lake_Module_oleanFile___closed__1();
lean_mark_persistent(l_Lake_Module_oleanFile___closed__1);
l_Lake_Module_oleanServerFile___closed__1 = _init_l_Lake_Module_oleanServerFile___closed__1();
lean_mark_persistent(l_Lake_Module_oleanServerFile___closed__1);
l_Lake_Module_oleanPrivateFile___closed__1 = _init_l_Lake_Module_oleanPrivateFile___closed__1();
lean_mark_persistent(l_Lake_Module_oleanPrivateFile___closed__1);
l_Lake_Module_ileanFile___closed__1 = _init_l_Lake_Module_ileanFile___closed__1();
lean_mark_persistent(l_Lake_Module_ileanFile___closed__1);
l_Lake_Module_traceFile___closed__1 = _init_l_Lake_Module_traceFile___closed__1();
lean_mark_persistent(l_Lake_Module_traceFile___closed__1);
l_Lake_Module_setupFile___closed__1 = _init_l_Lake_Module_setupFile___closed__1();
lean_mark_persistent(l_Lake_Module_setupFile___closed__1);
l_Lake_Module_cFile___closed__1 = _init_l_Lake_Module_cFile___closed__1();
lean_mark_persistent(l_Lake_Module_cFile___closed__1);
l_Lake_Module_coExportFile___closed__1 = _init_l_Lake_Module_coExportFile___closed__1();
@ -3855,10 +3922,6 @@ l_Lake_Module_serverOptions___closed__1 = _init_l_Lake_Module_serverOptions___cl
lean_mark_persistent(l_Lake_Module_serverOptions___closed__1);
l_Lake_Module_serverOptions___closed__2 = _init_l_Lake_Module_serverOptions___closed__2();
lean_mark_persistent(l_Lake_Module_serverOptions___closed__2);
l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1 = _init_l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1();
lean_mark_persistent(l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__1);
l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2 = _init_l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2();
lean_mark_persistent(l_Lean_RBNode_fold___at_Lake_Module_leanArgs___spec__1___closed__2);
l_Lake_Module_leanIncludeDir_x3f___closed__1 = _init_l_Lake_Module_leanIncludeDir_x3f___closed__1();
lean_mark_persistent(l_Lake_Module_leanIncludeDir_x3f___closed__1);
l_Lake_Module_instGetMTime___closed__1 = _init_l_Lake_Module_instGetMTime___closed__1();

View file

@ -23,6 +23,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_mkGrindOnly___spec__6___closed__27;
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_elabGrindParams___spec__5___lambda__3___closed__5;
static lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___closed__4;
LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at_Lean_Elab_Tactic_elabInitGrindNorm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_mkGrindOnly___spec__6___closed__12;
@ -191,6 +192,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_
static lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___closed__13;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindConfig___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_instantiateMVarsProfiling(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_take(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___lambda__1___closed__5;
lean_object* l_Lean_Meta_Grind_EMatchTheorems_find(lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Command_commandElabAttribute;
@ -226,7 +228,7 @@ lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__2
lean_object* l_Lean_Syntax_getKind(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
@ -337,6 +339,7 @@ static lean_object* l_Lean_preprocessSyntaxAndResolve___at_Lean_Elab_Tactic_elab
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_elabGrindParams___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_isGrindOnly___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___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_Lean_Meta_mkAuxTheorem(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_mkGrindOnly___spec__6___closed__28;
lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -419,6 +422,7 @@ static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_T
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_mkGrindOnly___spec__6___closed__16;
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_elabGrindParams___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_ensureNonAmbiguous___at_Lean_Elab_Tactic_elabGrindPattern___spec__8___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Elab_Tactic_elabResetGrindAttrs__1(lean_object*);
@ -464,6 +468,7 @@ static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___lambda__2___closed__2;
static lean_object* l_Lean_preprocessSyntaxAndResolve___at_Lean_Elab_Tactic_elabGrindPattern___spec__6___closed__4;
lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Meta_instantiateForallWithParamInfos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___elambda__1___rarg(lean_object*);
static lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___closed__10;
static lean_object* l_Lean_Elab_Tactic_mkGrindOnly___closed__1;
@ -473,6 +478,7 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_mkGrindOnly___sp
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___lambda__1___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*);
static lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1;
LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_isGrindOnly(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashSet_toList___at_Lean_Elab_Tactic_mkGrindOnly___spec__1___boxed(lean_object*);
@ -509,7 +515,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrind___lambda__2___boxed(lean_o
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Grind_0__Lean_Elab_Tactic_elabFallback_unsafe__3___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabGrindPattern___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_elabGrindParams___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindCore___lambda__1___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*);
uint8_t l_Lean_Exception_isRuntime(lean_object*);
lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -2904,7 +2910,474 @@ return x_27;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at_Lean_Elab_Tactic_elabInitGrindNorm___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
x_10 = lean_st_ref_get(x_8, x_9);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_ctor_get(x_11, 3);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_15 = lean_name_eq(x_14, x_1);
lean_dec(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
x_16 = lean_box(0);
x_17 = lean_unsigned_to_nat(1u);
x_18 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_18, 0, x_1);
lean_ctor_set(x_18, 1, x_17);
lean_ctor_set(x_18, 2, x_16);
x_19 = lean_st_ref_take(x_8, x_12);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec(x_19);
x_22 = !lean_is_exclusive(x_20);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_23 = lean_ctor_get(x_20, 3);
lean_dec(x_23);
lean_ctor_set(x_20, 3, x_18);
x_24 = lean_st_ref_set(x_8, x_20, x_21);
x_25 = lean_ctor_get(x_24, 1);
lean_inc(x_25);
lean_dec(x_24);
lean_inc(x_8);
x_26 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32;
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = lean_ctor_get(x_26, 1);
lean_inc(x_28);
lean_dec(x_26);
x_29 = lean_st_ref_take(x_8, x_28);
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
x_31 = lean_ctor_get(x_29, 1);
lean_inc(x_31);
lean_dec(x_29);
x_32 = !lean_is_exclusive(x_30);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; uint8_t x_35;
x_33 = lean_ctor_get(x_30, 3);
lean_dec(x_33);
lean_ctor_set(x_30, 3, x_13);
x_34 = lean_st_ref_set(x_8, x_30, x_31);
lean_dec(x_8);
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36;
x_36 = lean_ctor_get(x_34, 0);
lean_dec(x_36);
lean_ctor_set(x_34, 0, x_27);
return x_34;
}
else
{
lean_object* x_37; lean_object* x_38;
x_37 = lean_ctor_get(x_34, 1);
lean_inc(x_37);
lean_dec(x_34);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_27);
lean_ctor_set(x_38, 1, x_37);
return x_38;
}
}
else
{
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; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51;
x_39 = lean_ctor_get(x_30, 0);
x_40 = lean_ctor_get(x_30, 1);
x_41 = lean_ctor_get(x_30, 2);
x_42 = lean_ctor_get(x_30, 4);
x_43 = lean_ctor_get(x_30, 5);
x_44 = lean_ctor_get(x_30, 6);
x_45 = lean_ctor_get(x_30, 7);
x_46 = lean_ctor_get(x_30, 8);
lean_inc(x_46);
lean_inc(x_45);
lean_inc(x_44);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_dec(x_30);
x_47 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_47, 0, x_39);
lean_ctor_set(x_47, 1, x_40);
lean_ctor_set(x_47, 2, x_41);
lean_ctor_set(x_47, 3, x_13);
lean_ctor_set(x_47, 4, x_42);
lean_ctor_set(x_47, 5, x_43);
lean_ctor_set(x_47, 6, x_44);
lean_ctor_set(x_47, 7, x_45);
lean_ctor_set(x_47, 8, x_46);
x_48 = lean_st_ref_set(x_8, x_47, x_31);
lean_dec(x_8);
x_49 = lean_ctor_get(x_48, 1);
lean_inc(x_49);
if (lean_is_exclusive(x_48)) {
lean_ctor_release(x_48, 0);
lean_ctor_release(x_48, 1);
x_50 = x_48;
} else {
lean_dec_ref(x_48);
x_50 = lean_box(0);
}
if (lean_is_scalar(x_50)) {
x_51 = lean_alloc_ctor(0, 2, 0);
} else {
x_51 = x_50;
}
lean_ctor_set(x_51, 0, x_27);
lean_ctor_set(x_51, 1, x_49);
return x_51;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57;
x_52 = lean_ctor_get(x_26, 0);
lean_inc(x_52);
x_53 = lean_ctor_get(x_26, 1);
lean_inc(x_53);
lean_dec(x_26);
x_54 = lean_st_ref_take(x_8, x_53);
x_55 = lean_ctor_get(x_54, 0);
lean_inc(x_55);
x_56 = lean_ctor_get(x_54, 1);
lean_inc(x_56);
lean_dec(x_54);
x_57 = !lean_is_exclusive(x_55);
if (x_57 == 0)
{
lean_object* x_58; lean_object* x_59; uint8_t x_60;
x_58 = lean_ctor_get(x_55, 3);
lean_dec(x_58);
lean_ctor_set(x_55, 3, x_13);
x_59 = lean_st_ref_set(x_8, x_55, x_56);
lean_dec(x_8);
x_60 = !lean_is_exclusive(x_59);
if (x_60 == 0)
{
lean_object* x_61;
x_61 = lean_ctor_get(x_59, 0);
lean_dec(x_61);
lean_ctor_set_tag(x_59, 1);
lean_ctor_set(x_59, 0, x_52);
return x_59;
}
else
{
lean_object* x_62; lean_object* x_63;
x_62 = lean_ctor_get(x_59, 1);
lean_inc(x_62);
lean_dec(x_59);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_52);
lean_ctor_set(x_63, 1, x_62);
return x_63;
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
x_64 = lean_ctor_get(x_55, 0);
x_65 = lean_ctor_get(x_55, 1);
x_66 = lean_ctor_get(x_55, 2);
x_67 = lean_ctor_get(x_55, 4);
x_68 = lean_ctor_get(x_55, 5);
x_69 = lean_ctor_get(x_55, 6);
x_70 = lean_ctor_get(x_55, 7);
x_71 = lean_ctor_get(x_55, 8);
lean_inc(x_71);
lean_inc(x_70);
lean_inc(x_69);
lean_inc(x_68);
lean_inc(x_67);
lean_inc(x_66);
lean_inc(x_65);
lean_inc(x_64);
lean_dec(x_55);
x_72 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_72, 0, x_64);
lean_ctor_set(x_72, 1, x_65);
lean_ctor_set(x_72, 2, x_66);
lean_ctor_set(x_72, 3, x_13);
lean_ctor_set(x_72, 4, x_67);
lean_ctor_set(x_72, 5, x_68);
lean_ctor_set(x_72, 6, x_69);
lean_ctor_set(x_72, 7, x_70);
lean_ctor_set(x_72, 8, x_71);
x_73 = lean_st_ref_set(x_8, x_72, x_56);
lean_dec(x_8);
x_74 = lean_ctor_get(x_73, 1);
lean_inc(x_74);
if (lean_is_exclusive(x_73)) {
lean_ctor_release(x_73, 0);
lean_ctor_release(x_73, 1);
x_75 = x_73;
} else {
lean_dec_ref(x_73);
x_75 = lean_box(0);
}
if (lean_is_scalar(x_75)) {
x_76 = lean_alloc_ctor(1, 2, 0);
} else {
x_76 = x_75;
lean_ctor_set_tag(x_76, 1);
}
lean_ctor_set(x_76, 0, x_52);
lean_ctor_set(x_76, 1, x_74);
return x_76;
}
}
}
else
{
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; lean_object* x_86; lean_object* x_87; lean_object* x_88;
x_77 = lean_ctor_get(x_20, 0);
x_78 = lean_ctor_get(x_20, 1);
x_79 = lean_ctor_get(x_20, 2);
x_80 = lean_ctor_get(x_20, 4);
x_81 = lean_ctor_get(x_20, 5);
x_82 = lean_ctor_get(x_20, 6);
x_83 = lean_ctor_get(x_20, 7);
x_84 = lean_ctor_get(x_20, 8);
lean_inc(x_84);
lean_inc(x_83);
lean_inc(x_82);
lean_inc(x_81);
lean_inc(x_80);
lean_inc(x_79);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_20);
x_85 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_85, 0, x_77);
lean_ctor_set(x_85, 1, x_78);
lean_ctor_set(x_85, 2, x_79);
lean_ctor_set(x_85, 3, x_18);
lean_ctor_set(x_85, 4, x_80);
lean_ctor_set(x_85, 5, x_81);
lean_ctor_set(x_85, 6, x_82);
lean_ctor_set(x_85, 7, x_83);
lean_ctor_set(x_85, 8, x_84);
x_86 = lean_st_ref_set(x_8, x_85, x_21);
x_87 = lean_ctor_get(x_86, 1);
lean_inc(x_87);
lean_dec(x_86);
lean_inc(x_8);
x_88 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_87);
if (lean_obj_tag(x_88) == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107;
x_89 = lean_ctor_get(x_88, 0);
lean_inc(x_89);
x_90 = lean_ctor_get(x_88, 1);
lean_inc(x_90);
lean_dec(x_88);
x_91 = lean_st_ref_take(x_8, x_90);
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
x_93 = lean_ctor_get(x_91, 1);
lean_inc(x_93);
lean_dec(x_91);
x_94 = lean_ctor_get(x_92, 0);
lean_inc(x_94);
x_95 = lean_ctor_get(x_92, 1);
lean_inc(x_95);
x_96 = lean_ctor_get(x_92, 2);
lean_inc(x_96);
x_97 = lean_ctor_get(x_92, 4);
lean_inc(x_97);
x_98 = lean_ctor_get(x_92, 5);
lean_inc(x_98);
x_99 = lean_ctor_get(x_92, 6);
lean_inc(x_99);
x_100 = lean_ctor_get(x_92, 7);
lean_inc(x_100);
x_101 = lean_ctor_get(x_92, 8);
lean_inc(x_101);
if (lean_is_exclusive(x_92)) {
lean_ctor_release(x_92, 0);
lean_ctor_release(x_92, 1);
lean_ctor_release(x_92, 2);
lean_ctor_release(x_92, 3);
lean_ctor_release(x_92, 4);
lean_ctor_release(x_92, 5);
lean_ctor_release(x_92, 6);
lean_ctor_release(x_92, 7);
lean_ctor_release(x_92, 8);
x_102 = x_92;
} else {
lean_dec_ref(x_92);
x_102 = lean_box(0);
}
if (lean_is_scalar(x_102)) {
x_103 = lean_alloc_ctor(0, 9, 0);
} else {
x_103 = x_102;
}
lean_ctor_set(x_103, 0, x_94);
lean_ctor_set(x_103, 1, x_95);
lean_ctor_set(x_103, 2, x_96);
lean_ctor_set(x_103, 3, x_13);
lean_ctor_set(x_103, 4, x_97);
lean_ctor_set(x_103, 5, x_98);
lean_ctor_set(x_103, 6, x_99);
lean_ctor_set(x_103, 7, x_100);
lean_ctor_set(x_103, 8, x_101);
x_104 = lean_st_ref_set(x_8, x_103, x_93);
lean_dec(x_8);
x_105 = lean_ctor_get(x_104, 1);
lean_inc(x_105);
if (lean_is_exclusive(x_104)) {
lean_ctor_release(x_104, 0);
lean_ctor_release(x_104, 1);
x_106 = x_104;
} else {
lean_dec_ref(x_104);
x_106 = lean_box(0);
}
if (lean_is_scalar(x_106)) {
x_107 = lean_alloc_ctor(0, 2, 0);
} else {
x_107 = x_106;
}
lean_ctor_set(x_107, 0, x_89);
lean_ctor_set(x_107, 1, x_105);
return x_107;
}
else
{
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126;
x_108 = lean_ctor_get(x_88, 0);
lean_inc(x_108);
x_109 = lean_ctor_get(x_88, 1);
lean_inc(x_109);
lean_dec(x_88);
x_110 = lean_st_ref_take(x_8, x_109);
x_111 = lean_ctor_get(x_110, 0);
lean_inc(x_111);
x_112 = lean_ctor_get(x_110, 1);
lean_inc(x_112);
lean_dec(x_110);
x_113 = lean_ctor_get(x_111, 0);
lean_inc(x_113);
x_114 = lean_ctor_get(x_111, 1);
lean_inc(x_114);
x_115 = lean_ctor_get(x_111, 2);
lean_inc(x_115);
x_116 = lean_ctor_get(x_111, 4);
lean_inc(x_116);
x_117 = lean_ctor_get(x_111, 5);
lean_inc(x_117);
x_118 = lean_ctor_get(x_111, 6);
lean_inc(x_118);
x_119 = lean_ctor_get(x_111, 7);
lean_inc(x_119);
x_120 = lean_ctor_get(x_111, 8);
lean_inc(x_120);
if (lean_is_exclusive(x_111)) {
lean_ctor_release(x_111, 0);
lean_ctor_release(x_111, 1);
lean_ctor_release(x_111, 2);
lean_ctor_release(x_111, 3);
lean_ctor_release(x_111, 4);
lean_ctor_release(x_111, 5);
lean_ctor_release(x_111, 6);
lean_ctor_release(x_111, 7);
lean_ctor_release(x_111, 8);
x_121 = x_111;
} else {
lean_dec_ref(x_111);
x_121 = lean_box(0);
}
if (lean_is_scalar(x_121)) {
x_122 = lean_alloc_ctor(0, 9, 0);
} else {
x_122 = x_121;
}
lean_ctor_set(x_122, 0, x_113);
lean_ctor_set(x_122, 1, x_114);
lean_ctor_set(x_122, 2, x_115);
lean_ctor_set(x_122, 3, x_13);
lean_ctor_set(x_122, 4, x_116);
lean_ctor_set(x_122, 5, x_117);
lean_ctor_set(x_122, 6, x_118);
lean_ctor_set(x_122, 7, x_119);
lean_ctor_set(x_122, 8, x_120);
x_123 = lean_st_ref_set(x_8, x_122, x_112);
lean_dec(x_8);
x_124 = lean_ctor_get(x_123, 1);
lean_inc(x_124);
if (lean_is_exclusive(x_123)) {
lean_ctor_release(x_123, 0);
lean_ctor_release(x_123, 1);
x_125 = x_123;
} else {
lean_dec_ref(x_123);
x_125 = lean_box(0);
}
if (lean_is_scalar(x_125)) {
x_126 = lean_alloc_ctor(1, 2, 0);
} else {
x_126 = x_125;
lean_ctor_set_tag(x_126, 1);
}
lean_ctor_set(x_126, 0, x_108);
lean_ctor_set(x_126, 1, x_124);
return x_126;
}
}
}
else
{
lean_object* x_127;
lean_dec(x_13);
lean_dec(x_1);
x_127 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12);
return x_127;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10;
x_10 = l_Lean_Meta_Grind_registerNormTheorems(x_1, x_2, x_5, x_6, x_7, x_8, x_9);
return x_10;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Grind___hyg_5____closed__1;
x_2 = l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Grind___hyg_5____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12;
@ -2925,70 +3398,76 @@ lean_inc(x_9);
x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabInitGrindNorm___spec__1(x_15, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 1);
lean_inc(x_18);
lean_dec(x_16);
x_19 = l_Lean_Meta_Grind_registerNormTheorems(x_13, x_17, x_7, x_8, x_9, x_10, x_18);
lean_dec(x_17);
lean_dec(x_13);
return x_19;
x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed), 9, 2);
lean_closure_set(x_19, 0, x_13);
lean_closure_set(x_19, 1, x_17);
x_20 = l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1;
x_21 = l_Lean_withDeclNameForAuxNaming___at_Lean_Elab_Tactic_elabInitGrindNorm___spec__2(x_20, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_18);
return x_21;
}
else
{
uint8_t x_20;
uint8_t x_22;
lean_dec(x_13);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_20 = !lean_is_exclusive(x_16);
if (x_20 == 0)
lean_dec(x_6);
lean_dec(x_5);
x_22 = !lean_is_exclusive(x_16);
if (x_22 == 0)
{
return x_16;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23;
x_21 = lean_ctor_get(x_16, 0);
x_22 = lean_ctor_get(x_16, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_23 = lean_ctor_get(x_16, 0);
x_24 = lean_ctor_get(x_16, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_16);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
return x_25;
}
}
}
else
{
uint8_t x_24;
uint8_t x_26;
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_24 = !lean_is_exclusive(x_12);
if (x_24 == 0)
x_26 = !lean_is_exclusive(x_12);
if (x_26 == 0)
{
return x_12;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27;
x_25 = lean_ctor_get(x_12, 0);
x_26 = lean_ctor_get(x_12, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_object* x_27; lean_object* x_28; lean_object* x_29;
x_27 = lean_ctor_get(x_12, 0);
x_28 = lean_ctor_get(x_12, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_12);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
return x_27;
x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
return x_29;
}
}
}
@ -3051,7 +3530,7 @@ lean_dec(x_9);
x_14 = lean_array_size(x_13);
x_15 = lean_box_usize(x_14);
x_16 = l_Lean_Elab_Tactic_elabInitGrindNorm___boxed__const__1;
x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed), 11, 4);
x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___boxed), 11, 4);
lean_closure_set(x_17, 0, x_15);
lean_closure_set(x_17, 1, x_16);
lean_closure_set(x_17, 2, x_13);
@ -3077,7 +3556,19 @@ lean_dec(x_4);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10;
x_10 = l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
size_t x_12; size_t x_13; lean_object* x_14;
@ -3085,9 +3576,7 @@ x_12 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_13 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_14 = l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__1(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_6);
lean_dec(x_5);
x_14 = l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_14;
}
}
@ -20395,7 +20884,9 @@ lean_mark_persistent(l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_El
if (builtin) {res = l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Elab_Tactic_elabResetGrindAttrs__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1 = _init_l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1();
}l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_elabInitGrindNorm___lambda__2___closed__1);
l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1 = _init_l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1);
l_Lean_Elab_Tactic_elabInitGrindNorm___closed__2 = _init_l_Lean_Elab_Tactic_elabInitGrindNorm___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_elabInitGrindNorm___closed__2);

View file

@ -30,6 +30,7 @@ lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_obj
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withReverted___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MVarId_revertFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_MVarId_change___lambda__2___closed__3;
uint8_t l_Lean_Expr_isLet(lean_object*);
lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*);
@ -41,7 +42,9 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_clearValue___lambda__2(lean_object*, lean
lean_object* lean_mk_array(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1___closed__1;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_MVarId_modifyTarget___closed__2;
lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
@ -50,6 +53,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Replace_0__Lean_Meta_repla
static lean_object* l_Lean_MVarId_modifyTargetEqLHS___lambda__1___closed__3;
static lean_object* l_Lean_MVarId_clearValue___lambda__2___closed__1;
lean_object* l_Lean_LocalDecl_setType(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___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*);
lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withReverted___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -67,8 +71,10 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MVarId_changeLocalDecl
lean_object* l_Lean_ForEachExpr_visit___at_Lean_MVarId_replace_findMaxFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_local_ctx_find(lean_object*, lean_object*);
lean_object* lean_st_ref_take(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1;
LEAN_EXPORT lean_object* l_Lean_MVarId_clearValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_insert___at_Lean_LocalContext_mkLocalDecl___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg___lambda__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_changeLocalDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_withReverted___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -155,6 +161,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Replace_0__Lean_Meta_repla
static lean_object* l_Lean_MVarId_changeLocalDecl___lambda__1___closed__1;
lean_object* lean_array_mk(lean_object*);
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom(lean_object*);
uint8_t l_Lean_Expr_hasFVar(lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_change___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
@ -176,6 +183,7 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_MVarId_clearValue___lambda__2___closed__2;
uint8_t l_Lean_Exception_isRuntime(lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_clearValue___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_isFVar(lean_object*);
static lean_object* l_Lean_MVarId_modifyTarget___closed__1;
@ -3731,6 +3739,703 @@ x_11 = l_Lean_MVarId_withReverted___rarg(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8
return x_11;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t 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) {
_start:
{
uint8_t x_12;
x_12 = lean_usize_dec_lt(x_5, x_4);
if (x_12 == 0)
{
lean_object* x_13;
lean_dec(x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_6);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
x_14 = lean_array_uget(x_3, x_5);
x_15 = lean_ctor_get(x_6, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_6, 1);
lean_inc(x_16);
x_17 = lean_ctor_get(x_6, 2);
lean_inc(x_17);
x_18 = lean_nat_dec_lt(x_16, x_17);
if (x_18 == 0)
{
lean_object* x_19;
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_7);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_6);
lean_ctor_set(x_19, 1, x_11);
return x_19;
}
else
{
uint8_t x_20;
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; lean_object* x_25; lean_object* x_26;
x_21 = lean_ctor_get(x_6, 2);
lean_dec(x_21);
x_22 = lean_ctor_get(x_6, 1);
lean_dec(x_22);
x_23 = lean_ctor_get(x_6, 0);
lean_dec(x_23);
x_24 = lean_array_fget(x_15, x_16);
x_25 = lean_unsigned_to_nat(1u);
x_26 = lean_nat_add(x_16, x_25);
lean_dec(x_16);
lean_ctor_set(x_6, 1, x_26);
if (lean_obj_tag(x_14) == 0)
{
size_t x_27; size_t x_28;
lean_dec(x_24);
x_27 = 1;
x_28 = lean_usize_add(x_5, x_27);
x_5 = x_28;
goto _start;
}
else
{
uint8_t x_30;
x_30 = !lean_is_exclusive(x_14);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32;
x_31 = lean_ctor_get(x_14, 0);
lean_inc(x_7);
lean_inc(x_24);
x_32 = l_Lean_FVarId_getUserName(x_24, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_32) == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39;
x_33 = lean_ctor_get(x_32, 0);
lean_inc(x_33);
x_34 = lean_ctor_get(x_32, 1);
lean_inc(x_34);
lean_dec(x_32);
x_35 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_24);
lean_ctor_set(x_35, 2, x_31);
lean_ctor_set_tag(x_14, 10);
lean_ctor_set(x_14, 0, x_35);
x_36 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_14, x_7, x_8, x_9, x_10, x_34);
x_37 = lean_ctor_get(x_36, 1);
lean_inc(x_37);
lean_dec(x_36);
x_38 = 1;
x_39 = lean_usize_add(x_5, x_38);
x_5 = x_39;
x_11 = x_37;
goto _start;
}
else
{
uint8_t x_41;
lean_free_object(x_14);
lean_dec(x_31);
lean_dec(x_6);
lean_dec(x_24);
lean_dec(x_7);
x_41 = !lean_is_exclusive(x_32);
if (x_41 == 0)
{
return x_32;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44;
x_42 = lean_ctor_get(x_32, 0);
x_43 = lean_ctor_get(x_32, 1);
lean_inc(x_43);
lean_inc(x_42);
lean_dec(x_32);
x_44 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
return x_44;
}
}
}
else
{
lean_object* x_45; lean_object* x_46;
x_45 = lean_ctor_get(x_14, 0);
lean_inc(x_45);
lean_dec(x_14);
lean_inc(x_7);
lean_inc(x_24);
x_46 = l_Lean_FVarId_getUserName(x_24, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(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; size_t x_53; size_t x_54;
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
x_48 = lean_ctor_get(x_46, 1);
lean_inc(x_48);
lean_dec(x_46);
x_49 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_24);
lean_ctor_set(x_49, 2, x_45);
x_50 = lean_alloc_ctor(10, 1, 0);
lean_ctor_set(x_50, 0, x_49);
x_51 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_50, x_7, x_8, x_9, x_10, x_48);
x_52 = lean_ctor_get(x_51, 1);
lean_inc(x_52);
lean_dec(x_51);
x_53 = 1;
x_54 = lean_usize_add(x_5, x_53);
x_5 = x_54;
x_11 = x_52;
goto _start;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59;
lean_dec(x_45);
lean_dec(x_6);
lean_dec(x_24);
lean_dec(x_7);
x_56 = lean_ctor_get(x_46, 0);
lean_inc(x_56);
x_57 = lean_ctor_get(x_46, 1);
lean_inc(x_57);
if (lean_is_exclusive(x_46)) {
lean_ctor_release(x_46, 0);
lean_ctor_release(x_46, 1);
x_58 = x_46;
} else {
lean_dec_ref(x_46);
x_58 = lean_box(0);
}
if (lean_is_scalar(x_58)) {
x_59 = lean_alloc_ctor(1, 2, 0);
} else {
x_59 = x_58;
}
lean_ctor_set(x_59, 0, x_56);
lean_ctor_set(x_59, 1, x_57);
return x_59;
}
}
}
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
lean_dec(x_6);
x_60 = lean_array_fget(x_15, x_16);
x_61 = lean_unsigned_to_nat(1u);
x_62 = lean_nat_add(x_16, x_61);
lean_dec(x_16);
x_63 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_63, 0, x_15);
lean_ctor_set(x_63, 1, x_62);
lean_ctor_set(x_63, 2, x_17);
if (lean_obj_tag(x_14) == 0)
{
size_t x_64; size_t x_65;
lean_dec(x_60);
x_64 = 1;
x_65 = lean_usize_add(x_5, x_64);
x_5 = x_65;
x_6 = x_63;
goto _start;
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69;
x_67 = lean_ctor_get(x_14, 0);
lean_inc(x_67);
if (lean_is_exclusive(x_14)) {
lean_ctor_release(x_14, 0);
x_68 = x_14;
} else {
lean_dec_ref(x_14);
x_68 = lean_box(0);
}
lean_inc(x_7);
lean_inc(x_60);
x_69 = l_Lean_FVarId_getUserName(x_60, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(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; size_t x_76; size_t x_77;
x_70 = lean_ctor_get(x_69, 0);
lean_inc(x_70);
x_71 = lean_ctor_get(x_69, 1);
lean_inc(x_71);
lean_dec(x_69);
x_72 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_60);
lean_ctor_set(x_72, 2, x_67);
if (lean_is_scalar(x_68)) {
x_73 = lean_alloc_ctor(10, 1, 0);
} else {
x_73 = x_68;
lean_ctor_set_tag(x_73, 10);
}
lean_ctor_set(x_73, 0, x_72);
x_74 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_73, x_7, x_8, x_9, x_10, x_71);
x_75 = lean_ctor_get(x_74, 1);
lean_inc(x_75);
lean_dec(x_74);
x_76 = 1;
x_77 = lean_usize_add(x_5, x_76);
x_5 = x_77;
x_6 = x_63;
x_11 = x_75;
goto _start;
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
lean_dec(x_68);
lean_dec(x_67);
lean_dec(x_63);
lean_dec(x_60);
lean_dec(x_7);
x_79 = lean_ctor_get(x_69, 0);
lean_inc(x_79);
x_80 = lean_ctor_get(x_69, 1);
lean_inc(x_80);
if (lean_is_exclusive(x_69)) {
lean_ctor_release(x_69, 0);
lean_ctor_release(x_69, 1);
x_81 = x_69;
} else {
lean_dec_ref(x_69);
x_81 = lean_box(0);
}
if (lean_is_scalar(x_81)) {
x_82 = lean_alloc_ctor(1, 2, 0);
} else {
x_82 = x_81;
}
lean_ctor_set(x_82, 0, x_79);
lean_ctor_set(x_82, 1, x_80);
return x_82;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg___lambda__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11;
x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___spec__1(x_1, x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12;
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14;
x_13 = lean_ctor_get(x_11, 0);
lean_dec(x_13);
x_14 = lean_box(0);
lean_ctor_set(x_11, 0, x_14);
return x_11;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17;
x_15 = lean_ctor_get(x_11, 1);
lean_inc(x_15);
lean_dec(x_11);
x_16 = lean_box(0);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
return x_17;
}
}
else
{
uint8_t x_18;
x_18 = !lean_is_exclusive(x_11);
if (x_18 == 0)
{
return x_11;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_19 = lean_ctor_get(x_11, 0);
x_20 = lean_ctor_get(x_11, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_11);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
return x_21;
}
}
}
}
static lean_object* _init_l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1() {
_start:
{
size_t x_1; lean_object* x_2;
x_1 = 0;
x_2 = lean_box_usize(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9;
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
x_9 = l_Lean_MVarId_revertFrom(x_1, x_2, x_4, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_9, 1);
lean_inc(x_11);
lean_dec(x_9);
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_10, 1);
lean_inc(x_13);
lean_dec(x_10);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
x_14 = lean_apply_7(x_3, x_13, x_12, x_4, x_5, x_6, x_7, x_11);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25;
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
x_17 = lean_ctor_get(x_14, 1);
lean_inc(x_17);
lean_dec(x_14);
x_18 = lean_ctor_get(x_15, 0);
lean_inc(x_18);
lean_dec(x_15);
x_19 = lean_ctor_get(x_16, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_16, 1);
lean_inc(x_20);
lean_dec(x_16);
x_21 = lean_array_get_size(x_19);
x_22 = lean_box(0);
x_23 = 0;
x_24 = 1;
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
x_25 = l_Lean_Meta_introNCore(x_20, x_21, x_22, x_23, x_24, x_4, x_5, x_6, x_7, x_17);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; lean_object* x_27; uint8_t x_28;
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
x_27 = lean_ctor_get(x_25, 1);
lean_inc(x_27);
lean_dec(x_25);
x_28 = !lean_is_exclusive(x_26);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
x_29 = lean_ctor_get(x_26, 0);
x_30 = lean_ctor_get(x_26, 1);
x_31 = lean_array_get_size(x_29);
x_32 = lean_unsigned_to_nat(0u);
x_33 = l_Array_toSubarray___rarg(x_29, x_32, x_31);
x_34 = lean_box(0);
x_35 = lean_array_size(x_19);
x_36 = lean_box_usize(x_35);
x_37 = l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1;
x_38 = lean_alloc_closure((void*)(l_Lean_MVarId_withRevertedFrom___rarg___lambda__1___boxed), 10, 5);
lean_closure_set(x_38, 0, x_19);
lean_closure_set(x_38, 1, x_34);
lean_closure_set(x_38, 2, x_36);
lean_closure_set(x_38, 3, x_37);
lean_closure_set(x_38, 4, x_33);
lean_inc(x_30);
x_39 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_30, x_38, x_4, x_5, x_6, x_7, x_27);
if (lean_obj_tag(x_39) == 0)
{
uint8_t x_40;
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41;
x_41 = lean_ctor_get(x_39, 0);
lean_dec(x_41);
lean_ctor_set(x_26, 0, x_18);
lean_ctor_set(x_39, 0, x_26);
return x_39;
}
else
{
lean_object* x_42; lean_object* x_43;
x_42 = lean_ctor_get(x_39, 1);
lean_inc(x_42);
lean_dec(x_39);
lean_ctor_set(x_26, 0, x_18);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_26);
lean_ctor_set(x_43, 1, x_42);
return x_43;
}
}
else
{
uint8_t x_44;
lean_free_object(x_26);
lean_dec(x_30);
lean_dec(x_18);
x_44 = !lean_is_exclusive(x_39);
if (x_44 == 0)
{
return x_39;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47;
x_45 = lean_ctor_get(x_39, 0);
x_46 = lean_ctor_get(x_39, 1);
lean_inc(x_46);
lean_inc(x_45);
lean_dec(x_39);
x_47 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
return x_47;
}
}
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58;
x_48 = lean_ctor_get(x_26, 0);
x_49 = lean_ctor_get(x_26, 1);
lean_inc(x_49);
lean_inc(x_48);
lean_dec(x_26);
x_50 = lean_array_get_size(x_48);
x_51 = lean_unsigned_to_nat(0u);
x_52 = l_Array_toSubarray___rarg(x_48, x_51, x_50);
x_53 = lean_box(0);
x_54 = lean_array_size(x_19);
x_55 = lean_box_usize(x_54);
x_56 = l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1;
x_57 = lean_alloc_closure((void*)(l_Lean_MVarId_withRevertedFrom___rarg___lambda__1___boxed), 10, 5);
lean_closure_set(x_57, 0, x_19);
lean_closure_set(x_57, 1, x_53);
lean_closure_set(x_57, 2, x_55);
lean_closure_set(x_57, 3, x_56);
lean_closure_set(x_57, 4, x_52);
lean_inc(x_49);
x_58 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_49, x_57, x_4, x_5, x_6, x_7, x_27);
if (lean_obj_tag(x_58) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62;
x_59 = lean_ctor_get(x_58, 1);
lean_inc(x_59);
if (lean_is_exclusive(x_58)) {
lean_ctor_release(x_58, 0);
lean_ctor_release(x_58, 1);
x_60 = x_58;
} else {
lean_dec_ref(x_58);
x_60 = lean_box(0);
}
x_61 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_61, 0, x_18);
lean_ctor_set(x_61, 1, x_49);
if (lean_is_scalar(x_60)) {
x_62 = lean_alloc_ctor(0, 2, 0);
} else {
x_62 = x_60;
}
lean_ctor_set(x_62, 0, x_61);
lean_ctor_set(x_62, 1, x_59);
return x_62;
}
else
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
lean_dec(x_49);
lean_dec(x_18);
x_63 = lean_ctor_get(x_58, 0);
lean_inc(x_63);
x_64 = lean_ctor_get(x_58, 1);
lean_inc(x_64);
if (lean_is_exclusive(x_58)) {
lean_ctor_release(x_58, 0);
lean_ctor_release(x_58, 1);
x_65 = x_58;
} else {
lean_dec_ref(x_58);
x_65 = lean_box(0);
}
if (lean_is_scalar(x_65)) {
x_66 = lean_alloc_ctor(1, 2, 0);
} else {
x_66 = x_65;
}
lean_ctor_set(x_66, 0, x_63);
lean_ctor_set(x_66, 1, x_64);
return x_66;
}
}
}
else
{
uint8_t x_67;
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_67 = !lean_is_exclusive(x_25);
if (x_67 == 0)
{
return x_25;
}
else
{
lean_object* x_68; lean_object* x_69; lean_object* x_70;
x_68 = lean_ctor_get(x_25, 0);
x_69 = lean_ctor_get(x_25, 1);
lean_inc(x_69);
lean_inc(x_68);
lean_dec(x_25);
x_70 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
return x_70;
}
}
}
else
{
uint8_t x_71;
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_71 = !lean_is_exclusive(x_14);
if (x_71 == 0)
{
return x_14;
}
else
{
lean_object* x_72; lean_object* x_73; lean_object* x_74;
x_72 = lean_ctor_get(x_14, 0);
x_73 = lean_ctor_get(x_14, 1);
lean_inc(x_73);
lean_inc(x_72);
lean_dec(x_14);
x_74 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_74, 0, x_72);
lean_ctor_set(x_74, 1, x_73);
return x_74;
}
}
}
else
{
uint8_t x_75;
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_75 = !lean_is_exclusive(x_9);
if (x_75 == 0)
{
return x_9;
}
else
{
lean_object* x_76; lean_object* x_77; lean_object* x_78;
x_76 = lean_ctor_get(x_9, 0);
x_77 = lean_ctor_get(x_9, 1);
lean_inc(x_77);
lean_inc(x_76);
lean_dec(x_9);
x_78 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_78, 0, x_76);
lean_ctor_set(x_78, 1, x_77);
return x_78;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_MVarId_withRevertedFrom___rarg), 8, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
size_t x_12; size_t x_13; lean_object* x_14;
x_12 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_13 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_withRevertedFrom___spec__1(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_withRevertedFrom___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13;
x_11 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_12 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_13 = l_Lean_MVarId_withRevertedFrom___rarg___lambda__1(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MVarId_changeLocalDecl___spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
@ -5512,73 +6217,96 @@ lean_inc(x_1);
x_11 = l_Lean_MVarId_getTag(x_1, x_3, x_4, x_5, x_6, x_10);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19;
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_box(0);
lean_inc(x_2);
x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_2);
lean_ctor_set(x_15, 1, x_14);
x_16 = lean_array_mk(x_15);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Lean_MVarId_clearValue___lambda__4), 11, 4);
lean_closure_set(x_17, 0, x_12);
lean_closure_set(x_17, 1, x_2);
lean_closure_set(x_17, 2, x_8);
lean_closure_set(x_17, 3, x_1);
x_18 = 0;
x_19 = l_Lean_MVarId_withReverted___rarg(x_1, x_16, x_17, x_18, x_3, x_4, x_5, x_6, x_13);
if (lean_obj_tag(x_19) == 0)
lean_inc(x_2);
x_14 = lean_alloc_closure((void*)(l_Lean_MVarId_clearValue___lambda__4), 11, 4);
lean_closure_set(x_14, 0, x_12);
lean_closure_set(x_14, 1, x_2);
lean_closure_set(x_14, 2, x_8);
lean_closure_set(x_14, 3, x_1);
x_15 = l_Lean_MVarId_withRevertedFrom___rarg(x_1, x_2, x_14, x_3, x_4, x_5, x_6, x_13);
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_20;
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
uint8_t x_16;
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_21; lean_object* x_22;
x_21 = lean_ctor_get(x_19, 0);
x_22 = lean_ctor_get(x_21, 1);
lean_inc(x_22);
lean_dec(x_21);
lean_ctor_set(x_19, 0, x_22);
return x_19;
lean_object* x_17; lean_object* x_18;
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
lean_ctor_set(x_15, 0, x_18);
return x_15;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_23 = lean_ctor_get(x_19, 0);
x_24 = lean_ctor_get(x_19, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
x_19 = lean_ctor_get(x_15, 0);
x_20 = lean_ctor_get(x_15, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_15);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec(x_19);
x_25 = lean_ctor_get(x_23, 1);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
return x_22;
}
}
else
{
uint8_t x_23;
x_23 = !lean_is_exclusive(x_15);
if (x_23 == 0)
{
return x_15;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_24 = lean_ctor_get(x_15, 0);
x_25 = lean_ctor_get(x_15, 1);
lean_inc(x_25);
lean_dec(x_23);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_24);
lean_inc(x_24);
lean_dec(x_15);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
else
{
uint8_t x_27;
x_27 = !lean_is_exclusive(x_19);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_27 = !lean_is_exclusive(x_11);
if (x_27 == 0)
{
return x_19;
return x_11;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_28 = lean_ctor_get(x_19, 0);
x_29 = lean_ctor_get(x_19, 1);
x_28 = lean_ctor_get(x_11, 0);
x_29 = lean_ctor_get(x_11, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_19);
lean_dec(x_11);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
@ -5595,52 +6323,23 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_31 = !lean_is_exclusive(x_11);
x_31 = !lean_is_exclusive(x_9);
if (x_31 == 0)
{
return x_11;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_11, 0);
x_33 = lean_ctor_get(x_11, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_11);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
return x_34;
}
}
}
else
{
uint8_t x_35;
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_35 = !lean_is_exclusive(x_9);
if (x_35 == 0)
{
return x_9;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38;
x_36 = lean_ctor_get(x_9, 0);
x_37 = lean_ctor_get(x_9, 1);
lean_inc(x_37);
lean_inc(x_36);
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_9, 0);
x_33 = lean_ctor_get(x_9, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_9);
x_38 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_38, 0, x_36);
lean_ctor_set(x_38, 1, x_37);
return x_38;
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
return x_34;
}
}
}
@ -5751,6 +6450,8 @@ l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1___closed__3 = _
lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1___closed__3);
l_Lean_MVarId_withReverted___rarg___boxed__const__1 = _init_l_Lean_MVarId_withReverted___rarg___boxed__const__1();
lean_mark_persistent(l_Lean_MVarId_withReverted___rarg___boxed__const__1);
l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1 = _init_l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1();
lean_mark_persistent(l_Lean_MVarId_withRevertedFrom___rarg___boxed__const__1);
l_Lean_MVarId_changeLocalDecl___lambda__1___closed__1 = _init_l_Lean_MVarId_changeLocalDecl___lambda__1___closed__1();
lean_mark_persistent(l_Lean_MVarId_changeLocalDecl___lambda__1___closed__1);
l_Lean_MVarId_changeLocalDecl___lambda__1___closed__2 = _init_l_Lean_MVarId_changeLocalDecl___lambda__1___closed__2();

View file

@ -22,6 +22,7 @@ lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_obj
LEAN_EXPORT lean_object* l_Lean_MVarId_revertAfter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_revertAfter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_revert___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_revertFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MVarId_revert___spec__2(size_t, size_t, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
@ -35,6 +36,7 @@ lean_object* l_Lean_MVarId_setKind(lean_object*, uint8_t, lean_object*, lean_obj
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_MVarId_revertAfter___spec__4(lean_object*, lean_object*);
lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_revertFrom___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_instInhabitedPersistentArrayNode(lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_revert___spec__4___closed__3;
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_MVarId_revert___spec__4___closed__1;
@ -2550,6 +2552,73 @@ lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_revertFrom___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8;
lean_inc(x_3);
x_8 = l_Lean_FVarId_getDecl(x_1, x_3, x_4, x_5, x_6, x_7);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16;
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec(x_8);
x_11 = lean_ctor_get(x_3, 2);
lean_inc(x_11);
x_12 = l_Lean_LocalDecl_index(x_9);
lean_dec(x_9);
x_13 = l_Lean_MVarId_revert___lambda__2___closed__1;
x_14 = l_Lean_LocalContext_foldlM___at_Lean_MVarId_revertAfter___spec__1(x_11, x_13, x_12);
lean_dec(x_12);
lean_dec(x_11);
x_15 = 1;
x_16 = l_Lean_MVarId_revert(x_2, x_14, x_15, x_15, x_3, x_4, x_5, x_6, x_10);
return x_16;
}
else
{
uint8_t x_17;
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_17 = !lean_is_exclusive(x_8);
if (x_17 == 0)
{
return x_8;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_18 = lean_ctor_get(x_8, 0);
x_19 = lean_ctor_get(x_8, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_8);
x_20 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_19);
return x_20;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_MVarId_revertFrom(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9;
lean_inc(x_1);
x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_revertFrom___lambda__1), 7, 2);
lean_closure_set(x_8, 0, x_2);
lean_closure_set(x_8, 1, x_1);
x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
lean_object* initialize_Lean_Meta_Tactic_Clear(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Revert(uint8_t builtin, lean_object* w) {