diff --git a/stage0/src/CMakeLists.txt b/stage0/src/CMakeLists.txt index 2e1498d9b8..b95396d641 100644 --- a/stage0/src/CMakeLists.txt +++ b/stage0/src/CMakeLists.txt @@ -191,10 +191,11 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules") # Initialize CXXFLAGS. set(CMAKE_CXX_FLAGS "${LEAN_EXTRA_CXX_FLAGS} -DLEAN_BUILD_TYPE=\"${CMAKE_BUILD_TYPE}\" -DLEAN_EXPORTING") -set(CMAKE_CXX_FLAGS_DEBUG "-DLEAN_DEBUG -DLEAN_TRACE") +set(CMAKE_CXX_FLAGS_DEBUG "-DLEAN_DEBUG") set(CMAKE_CXX_FLAGS_MINSIZEREL "-DNDEBUG") set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DNDEBUG") +set(CMAKE_CXX_FLAGS_RELWITHASSERT "-DLEAN_DEBUG") # SPLIT_STACK if (SPLIT_STACK) @@ -221,6 +222,7 @@ elseif (MSVC) set(CMAKE_CXX_FLAGS_DEBUG "/Od /Zi ${CMAKE_CXX_FLAGS_DEBUG}") set(CMAKE_CXX_FLAGS_MINSIZEREL "/Os /Zc:inline ${CMAKE_CXX_FLAGS_MINSIZEREL}") set(CMAKE_CXX_FLAGS_RELEASE "/O2 /Oi /Oy /Zc:inline ${CMAKE_CXX_FLAGS_RELEASE}") + set(CMAKE_CXX_FLAGS_RELWITHASSERT "/O2 /Oi /Oy /Zc:inline ${CMAKE_CXX_FLAGS_RELWITHASSERT}") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/O2 /Oi /Zi ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") set(LEAN_EXTRA_LINKER_FLAGS "/LTCG:INCREMENTAL ${LEAN_EXTRA_LINKER_FLAGS}") set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} ${LEAN_EXTRA_LINKER_FLAGS}") @@ -240,11 +242,13 @@ if (NOT MSVC) set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os ${CMAKE_CXX_FLAGS_MINSIZEREL}") endif () set(CMAKE_CXX_FLAGS_RELEASE "-O3 ${CMAKE_CXX_FLAGS_RELEASE}") + set(CMAKE_CXX_FLAGS_RELWITHASSERT "-O3 ${CMAKE_CXX_FLAGS_RELWITHASSERT}") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g3 -fno-omit-frame-pointer ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") elseif (MULTI_THREAD) set(CMAKE_CXX_FLAGS_DEBUG "/MTd ${CMAKE_CXX_FLAGS_DEBUG}") set(CMAKE_CXX_FLAGS_MINSIZEREL "/MT ${CMAKE_CXX_FLAGS_MINSIZEREL}") set(CMAKE_CXX_FLAGS_RELEASE "/MT ${CMAKE_CXX_FLAGS_RELEASE}") + set(CMAKE_CXX_FLAGS_RELWITHASSERT "/MT ${CMAKE_CXX_FLAGS_RELWITHASSERT}") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") endif () @@ -843,6 +847,4 @@ endif() if(USE_LAKE AND STAGE EQUAL 1) configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/lakefile.toml) - configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/../tests/lakefile.toml) - configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/../lakefile.toml) endif() diff --git a/stage0/src/include/lean/lean.h b/stage0/src/include/lean/lean.h index 4bebcc80d4..34fee1550b 100644 --- a/stage0/src/include/lean/lean.h +++ b/stage0/src/include/lean/lean.h @@ -116,8 +116,10 @@ reference counting is not needed (== 0). We don't use reference counting for obj marked as persistent. For "small" objects stored in compact regions, the field `m_cs_sz` contains the object size. For "small" objects not -stored in compact regions, we use the page information to retrieve its size. This is not an option -with mimalloc, so there we always use `m_cs_sz` (TODO: do everywhere?). +stored in compact regions, we use the page information to retrieve its size so that we can reuse +`m_cs_sz` to store the deletion list inline. Using the page information is not an option with +mimalloc, so there we always use `m_cs_sz`; reusing it for the deletion list is fine in this case as +we do not need the size after an object has been marked for deletion (see `lean_free_small_object`). During deallocation and 64-bit machines, the fields `m_rc` and `m_cs_sz` store the next object in the deletion TODO list. These two fields together have 48-bits, and this is enough for modern computers. @@ -421,7 +423,9 @@ static inline void lean_free_small_object(lean_object * o) { #ifdef LEAN_SMALL_ALLOCATOR lean_free_small(o); #elif defined(LEAN_MIMALLOC) - mi_free_size((void *)o, o->m_cs_sz); + // We must NOT use `m_cs_sz` here as it is repurposed for the deletion list; as `mi_free_size` + // is no different from `mi_free` at the time of writing, we don't lose anything from that. + mi_free((void *)o); #else size_t* ptr = (size_t*)o - 1; free_sized(ptr, *ptr + sizeof(size_t)); diff --git a/stage0/src/kernel/type_checker.cpp b/stage0/src/kernel/type_checker.cpp index a58daf3824..4d7147576f 100644 --- a/stage0/src/kernel/type_checker.cpp +++ b/stage0/src/kernel/type_checker.cpp @@ -599,6 +599,7 @@ template optional type_checker::reduce_bin_nat_op(F const & f, optional type_checker::reduce_pow(expr const & e) { expr arg1 = whnf(app_arg(app_fn(e))); + if (!is_nat_lit_ext(arg1)) return none_expr(); expr arg2 = whnf(app_arg(e)); if (!is_nat_lit_ext(arg2)) return none_expr(); nat v1 = get_nat_val(arg1); diff --git a/stage0/src/stdlib.make.in b/stage0/src/stdlib.make.in index 659f08c2ff..f3a5086e3b 100644 --- a/stage0/src/stdlib.make.in +++ b/stage0/src/stdlib.make.in @@ -41,7 +41,7 @@ ifeq "${USE_LAKE} ${STAGE}" "ON 1" # build in parallel Init: - ${PREV_STAGE}/bin/lake build Init Std Lean Lake LakeMain + ${PREV_STAGE}/bin/lake build Init Std Lean Lake LakeMain $(LAKE_EXTRA_ARGS) Std Lean Lake: Init diff --git a/stage0/stdlib/Init/Data/Array/Perm.c b/stage0/stdlib/Init/Data/Array/Perm.c index 96fcbe2cb4..54f2b3d9d8 100644 --- a/stage0/stdlib/Init/Data/Array/Perm.c +++ b/stage0/stdlib/Init/Data/Array/Perm.c @@ -31,10 +31,12 @@ static lean_object* l_Array_term___x7e_____closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__6; static lean_object* l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__3; +static lean_object* l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19; static lean_object* l_Array_term___x7e_____closed__3; static lean_object* l_Array_term___x7e_____closed__4; static lean_object* l_Array_term___x7e_____closed__2; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18; static lean_object* l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__9; static lean_object* l_Array_term___x7e_____closed__6; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,56 +288,78 @@ return x_3; static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__11() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("List", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__11; -x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__6; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__12; +x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__9; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__14() { +static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("List", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__13; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__12; +x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__6; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } +static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__13; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__10; +x_1 = lean_box(0); x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__14; 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_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__11; +x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__15; +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_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__16() { +static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__10; +x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__16; +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_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18() { _start: { lean_object* x_1; @@ -343,12 +367,12 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17() { +static lean_object* _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__16; +x_2 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -392,14 +416,14 @@ lean_dec(x_2); x_17 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__8; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); x_19 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__7; -x_20 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__15; +x_20 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17; lean_inc(x_14); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17; +x_22 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19; lean_inc(x_14); x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); x_24 = l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__5; @@ -600,6 +624,10 @@ l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1__ lean_mark_persistent(l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__16); l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17 = _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17(); lean_mark_persistent(l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__17); +l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18 = _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__18); +l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19 = _init_l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19(); +lean_mark_persistent(l_Array___aux__Init__Data__Array__Perm______macroRules__Array__term___x7e____1___closed__19); l_Array___aux__Init__Data__Array__Perm______unexpand__Array__Perm__1___closed__1 = _init_l_Array___aux__Init__Data__Array__Perm______unexpand__Array__Perm__1___closed__1(); lean_mark_persistent(l_Array___aux__Init__Data__Array__Perm______unexpand__Array__Perm__1___closed__1); l_Array___aux__Init__Data__Array__Perm______unexpand__Array__Perm__1___closed__2 = _init_l_Array___aux__Init__Data__Array__Perm______unexpand__Array__Perm__1___closed__2(); diff --git a/stage0/stdlib/Init/Data/Vector/Perm.c b/stage0/stdlib/Init/Data/Vector/Perm.c index 6db247d551..66006748a0 100644 --- a/stage0/stdlib/Init/Data/Vector/Perm.c +++ b/stage0/stdlib/Init/Data/Vector/Perm.c @@ -25,6 +25,7 @@ static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Ve static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__1; static lean_object* l_Vector_term___x7e_____closed__2; LEAN_EXPORT lean_object* l_Vector_instTransPerm___boxed(lean_object*, lean_object*); +static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23; static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__15; LEAN_EXPORT lean_object* l_Vector_term___x7e__; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); @@ -59,6 +60,7 @@ static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Ve static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__18; static lean_object* l_Vector_term___x7e_____closed__5; static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__2; +static lean_object* l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Vector_term___x7e_____closed__10; @@ -291,80 +293,78 @@ return x_3; static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__11() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Array", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__11; -x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__6; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__12; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__9; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Array", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__12; +x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__6; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__14() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__13; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__15() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("List", 4, 4); return x_1; } } -static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__15() { +static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__14; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__15; x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__6; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__15; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__16; -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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__16; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__13; +x_1 = lean_box(0); x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__17; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -372,7 +372,7 @@ static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRul _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__10; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__14; x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -383,17 +383,41 @@ return x_3; static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__20() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("null", 4, 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__11; +x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__19; +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_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__10; x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__20; +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_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -437,14 +461,14 @@ lean_dec(x_2); x_17 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__8; x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); x_19 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__7; -x_20 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__19; +x_20 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21; lean_inc(x_14); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_14); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21; +x_22 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23; lean_inc(x_14); x_23 = l_Lean_Syntax_node2(x_14, x_22, x_9, x_11); x_24 = l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__5; @@ -662,6 +686,10 @@ l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____ lean_mark_persistent(l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__20); l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21 = _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21(); lean_mark_persistent(l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__21); +l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22 = _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22(); +lean_mark_persistent(l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__22); +l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23 = _init_l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23(); +lean_mark_persistent(l_Vector___aux__Init__Data__Vector__Perm______macroRules__Vector__term___x7e____1___closed__23); l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1___closed__1 = _init_l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1___closed__1(); lean_mark_persistent(l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1___closed__1); l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1___closed__2 = _init_l_Vector___aux__Init__Data__Vector__Perm______unexpand__Vector__Perm__1___closed__2(); diff --git a/stage0/stdlib/Init/Grind/CommRing/Poly.c b/stage0/stdlib/Init/Grind/CommRing/Poly.c index 9a0a6b1796..982ec367ee 100644 --- a/stage0/stdlib/Init/Grind/CommRing/Poly.c +++ b/stage0/stdlib/Init/Grind/CommRing/Poly.c @@ -4932,21 +4932,36 @@ x_6 = lean_int_emod(x_1, x_5); lean_dec(x_5); x_7 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__1; x_8 = lean_int_dec_eq(x_6, x_7); -lean_dec(x_6); if (x_8 == 0) { -lean_object* x_9; -x_9 = l_Lean_Grind_CommRing_Poly_mulMonC_go(x_1, x_2, x_4, x_3); -return x_9; +lean_object* x_9; uint8_t x_10; +x_9 = lean_box(0); +x_10 = l___private_Init_Grind_CommRing_Poly_0__Lean_Grind_CommRing_beqMon____x40_Init_Grind_CommRing_Poly___hyg_951_(x_2, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_6); +x_11 = l_Lean_Grind_CommRing_Poly_mulMonC_go(x_1, x_2, x_4, x_3); +return x_11; } else { -lean_object* x_10; +lean_object* x_12; +lean_dec(x_2); +x_12 = l_Lean_Grind_CommRing_Poly_mulConstC(x_6, x_3, x_4); +lean_dec(x_6); +return x_12; +} +} +else +{ +lean_object* x_13; +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = l_Lean_Grind_CommRing_instInhabitedPoly___closed__1; -return x_10; +x_13 = l_Lean_Grind_CommRing_instInhabitedPoly___closed__1; +return x_13; } } } diff --git a/stage0/stdlib/Lake/DSL/Config.c b/stage0/stdlib/Lake/DSL/Config.c index a5657d31dd..9d2d8cfa8f 100644 --- a/stage0/stdlib/Lake/DSL/Config.c +++ b/stage0/stdlib/Lake/DSL/Config.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Config -// Imports: Lean.Elab.ElabRules Lake.DSL.Extensions +// Imports: Lean.Elab.ElabRules Lake.DSL.Extensions Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -18,12 +18,12 @@ static lean_object* l_Lake_DSL_elabGetConfig___closed__9; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__7; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5; extern lean_object* l_Lake_dirExt; LEAN_EXPORT lean_object* l_Lake_DSL_elabDirConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_getConfig___closed__1; static lean_object* l_Lake_DSL_elabGetConfig___closed__10; static lean_object* l_Lake_DSL_elabGetConfig___closed__22; -static lean_object* l_Lake_DSL_getConfig___closed__7; +static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6; static lean_object* l_Lake_DSL_elabDirConst___closed__1; static lean_object* l_Lake_DSL_elabGetConfig___closed__21; static lean_object* l_Lake_DSL_elabGetConfig___closed__12; @@ -31,7 +31,6 @@ static lean_object* l_Lake_DSL_elabGetConfig___closed__36; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lake_DSL_elabDirConst___closed__6; static lean_object* l_Lake_DSL_elabGetConfig___closed__32; -static lean_object* l_Lake_DSL_dirConst___closed__2; static lean_object* l_Lake_DSL_elabGetConfig___closed__28; static lean_object* l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__1; static lean_object* l_Lake_DSL_elabGetConfig___closed__20; @@ -40,21 +39,18 @@ static lean_object* l_Lake_DSL_elabGetConfig___closed__17; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l_Lake_optsExt; -static lean_object* l_Lake_DSL_dirConst___closed__3; +static lean_object* l_Lake_DSL_elabGetConfig___closed__49; static lean_object* l_Lake_DSL_dummyDir___closed__1; -static lean_object* l_Lake_DSL_dirConst___closed__5; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__47; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__26; static lean_object* l_Lake_DSL_elabGetConfig___closed__27; -static lean_object* l_Lake_DSL_getConfig___closed__6; lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___rarg(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lake_DSL_elabGetConfig___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_dummyGetConfig_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_dummyGetConfig_x3f___boxed(lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lake_DSL_getConfig; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__2; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); @@ -64,22 +60,19 @@ lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lake_DSL_elabGetConfig___closed__25; static lean_object* l_Lake_DSL_elabGetConfig___closed__34; lean_object* l_Lean_quoteNameMk(lean_object*); +static lean_object* l_Lake_DSL_elabGetConfig___closed__50; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__23; -static lean_object* l_Lake_DSL_getConfig___closed__8; static lean_object* l_Lake_DSL_elabGetConfig___closed__43; extern lean_object* l_Lean_Elab_Term_termElabAttribute; -static lean_object* l_Lake_DSL_dirConst___closed__6; static lean_object* l_Lake_DSL_elabGetConfig___closed__40; static lean_object* l_Lake_DSL_elabGetConfig___closed__44; +static lean_object* l_Lake_DSL_elabDirConst___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1(lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2; -static lean_object* l_Lake_DSL_getConfig___closed__10; static lean_object* l_Lake_DSL_elabGetConfig___closed__8; -static lean_object* l_Lake_DSL_getConfig___closed__9; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabDirConst___closed__7; -static lean_object* l_Lake_DSL_getConfig___closed__5; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__19; static lean_object* l_Lake_DSL_elabGetConfig___closed__38; @@ -92,6 +85,7 @@ static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3; static lean_object* l_Lake_DSL_elabGetConfig___closed__1; static lean_object* l_Lake_DSL_elabGetConfig___closed__11; static lean_object* l_Lake_DSL_elabGetConfig___closed__2; +static lean_object* l_Lake_DSL_elabDirConst___closed__10; static lean_object* l_Lake_DSL_elabGetConfig___closed__45; static lean_object* l_Lake_DSL_elabGetConfig___closed__4; static lean_object* l_Lake_DSL_elabGetConfig___closed__13; @@ -101,26 +95,19 @@ static lean_object* l_Lake_DSL_elabGetConfig___closed__24; LEAN_EXPORT lean_object* l_Lake_DSL_dummyDir; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__15; -static lean_object* l_Lake_DSL_getConfig___closed__11; -static lean_object* l_Lake_DSL_dirConst___closed__7; static lean_object* l_Lake_DSL_elabGetConfig___closed__5; lean_object* l_Lean_Environment_mainModule(lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__37; -static lean_object* l_Lake_DSL_getConfig___closed__2; static lean_object* l_Lake_DSL_elabGetConfig___closed__42; static lean_object* l_Lake_DSL_elabGetConfig___closed__18; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_getConfig___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_elabGetConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabGetConfig___closed__29; static lean_object* l_Lake_DSL_elabDirConst___closed__5; -static lean_object* l_Lake_DSL_dirConst___closed__4; static lean_object* l_Lake_DSL_elabGetConfig___closed__35; -static lean_object* l_Lake_DSL_dirConst___closed__1; static lean_object* l_Lake_DSL_elabGetConfig___closed__39; static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4; -LEAN_EXPORT lean_object* l_Lake_DSL_dirConst; static lean_object* l_Lake_DSL_elabDirConst___closed__3; lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); @@ -132,7 +119,6 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* static lean_object* l_Lake_DSL_elabDirConst___closed__8; static lean_object* l_Lake_DSL_elabDirConst___closed__9; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_getConfig___closed__4; lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1; static lean_object* l_Lake_DSL_elabDirConst___closed__2; @@ -172,81 +158,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_dirConst___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("dirConst", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; -x_3 = l_Lake_DSL_dirConst___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("__dir__", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_dirConst___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_dirConst___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__4; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lake_DSL_dirConst___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_dirConst() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_dirConst___closed__7; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_elabDirConst___closed__1() { _start: { @@ -277,22 +188,38 @@ static lean_object* _init_l_Lake_DSL_elabDirConst___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("dummyDir", 8, 8); +x_1 = lean_mk_string_unchecked("Lake", 4, 4); return x_1; } } static lean_object* _init_l_Lake_DSL_elabDirConst___closed__5() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DSL", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dummyDir", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; -x_3 = l_Lake_DSL_elabDirConst___closed__4; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; +x_3 = l_Lake_DSL_elabDirConst___closed__6; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_elabDirConst___closed__6() { +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__8() { _start: { lean_object* x_1; @@ -300,7 +227,7 @@ x_1 = lean_mk_string_unchecked("System", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabDirConst___closed__7() { +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__9() { _start: { lean_object* x_1; @@ -308,7 +235,7 @@ x_1 = lean_mk_string_unchecked("FilePath", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabDirConst___closed__8() { +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__10() { _start: { lean_object* x_1; @@ -316,13 +243,13 @@ x_1 = lean_mk_string_unchecked("mk", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabDirConst___closed__9() { +static lean_object* _init_l_Lake_DSL_elabDirConst___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_elabDirConst___closed__6; -x_2 = l_Lake_DSL_elabDirConst___closed__7; -x_3 = l_Lake_DSL_elabDirConst___closed__8; +x_1 = l_Lake_DSL_elabDirConst___closed__8; +x_2 = l_Lake_DSL_elabDirConst___closed__9; +x_3 = l_Lake_DSL_elabDirConst___closed__10; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } @@ -352,7 +279,7 @@ lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_obje x_20 = l_Lake_DSL_elabDirConst___closed__3; x_21 = 0; x_22 = l_Lean_mkCIdentFrom(x_1, x_20, x_21); -x_23 = l_Lake_DSL_elabDirConst___closed__5; +x_23 = l_Lake_DSL_elabDirConst___closed__7; x_24 = l_Lean_mkCIdentFrom(x_1, x_23, x_21); x_25 = lean_box(0); lean_ctor_set_tag(x_10, 1); @@ -382,7 +309,7 @@ x_34 = 0; x_35 = l_Lean_SourceInfo_fromRef(x_1, x_34); x_36 = l_Lean_Syntax_mkStrLit(x_33, x_35); lean_dec(x_33); -x_37 = l_Lake_DSL_elabDirConst___closed__9; +x_37 = l_Lake_DSL_elabDirConst___closed__11; x_38 = l_Lean_mkCIdentFrom(x_1, x_37, x_34); x_39 = lean_box(0); lean_ctor_set_tag(x_10, 1); @@ -425,7 +352,7 @@ lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_obje x_55 = l_Lake_DSL_elabDirConst___closed__3; x_56 = 0; x_57 = l_Lean_mkCIdentFrom(x_1, x_55, x_56); -x_58 = l_Lake_DSL_elabDirConst___closed__5; +x_58 = l_Lake_DSL_elabDirConst___closed__7; x_59 = l_Lean_mkCIdentFrom(x_1, x_58, x_56); x_60 = lean_box(0); x_61 = lean_alloc_ctor(1, 2, 0); @@ -455,7 +382,7 @@ x_70 = 0; x_71 = l_Lean_SourceInfo_fromRef(x_1, x_70); x_72 = l_Lean_Syntax_mkStrLit(x_69, x_71); lean_dec(x_69); -x_73 = l_Lake_DSL_elabDirConst___closed__9; +x_73 = l_Lake_DSL_elabDirConst___closed__11; x_74 = l_Lean_mkCIdentFrom(x_1, x_73, x_70); x_75 = lean_box(0); x_76 = lean_alloc_ctor(1, 2, 0); @@ -482,7 +409,7 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1() _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("elabDirConst", 12, 12); +x_1 = lean_mk_string_unchecked("dirConst", 8, 8); return x_1; } } @@ -490,8 +417,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; x_3 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -501,13 +428,32 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3() _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Term_termElabAttribute; +x_1 = lean_mk_string_unchecked("elabDirConst", 12, 12); return x_1; } } static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; +x_3 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_termElabAttribute; +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lake_DSL_elabDirConst), 9, 0); return x_1; @@ -517,15 +463,15 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabDirConst__1(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3; -x_3 = l_Lake_DSL_dirConst___closed__4; -x_4 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2; -x_5 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4; +x_2 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5; +x_3 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2; +x_4 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4; +x_5 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lake_DSL_getConfig___closed__1() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__1() { _start: { lean_object* x_1; @@ -533,118 +479,18 @@ x_1 = lean_mk_string_unchecked("getConfig", 9, 9); return x_1; } } -static lean_object* _init_l_Lake_DSL_getConfig___closed__2() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; -x_3 = l_Lake_DSL_getConfig___closed__1; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; +x_3 = l_Lake_DSL_elabGetConfig___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_getConfig___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_getConfig___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("get_config\? ", 12, 12); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_getConfig___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ident", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_getConfig___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_getConfig___closed__8; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_getConfig___closed__4; -x_2 = l_Lake_DSL_getConfig___closed__6; -x_3 = l_Lake_DSL_getConfig___closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_getConfig___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_getConfig___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_getConfig___closed__10; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_getConfig() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_getConfig___closed__11; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__1() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__3() { _start: { lean_object* x_1; @@ -652,7 +498,7 @@ x_1 = l_Lake_optsExt; return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__2() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__4() { _start: { lean_object* x_1; @@ -660,18 +506,18 @@ x_1 = lean_mk_string_unchecked("dummyGetConfig\?", 15, 15); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__3() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; -x_3 = l_Lake_DSL_elabGetConfig___closed__2; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; +x_3 = l_Lake_DSL_elabGetConfig___closed__4; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__4() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__6() { _start: { lean_object* x_1; @@ -679,7 +525,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__5() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__7() { _start: { lean_object* x_1; @@ -687,7 +533,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__6() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__8() { _start: { lean_object* x_1; @@ -695,7 +541,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__7() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__9() { _start: { lean_object* x_1; @@ -703,19 +549,19 @@ x_1 = lean_mk_string_unchecked("quotedName", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__8() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___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_Lake_DSL_elabGetConfig___closed__4; -x_2 = l_Lake_DSL_elabGetConfig___closed__5; -x_3 = l_Lake_DSL_elabGetConfig___closed__6; -x_4 = l_Lake_DSL_elabGetConfig___closed__7; +x_1 = l_Lake_DSL_elabGetConfig___closed__6; +x_2 = l_Lake_DSL_elabGetConfig___closed__7; +x_3 = l_Lake_DSL_elabGetConfig___closed__8; +x_4 = l_Lake_DSL_elabGetConfig___closed__9; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__9() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__11() { _start: { lean_object* x_1; @@ -723,7 +569,7 @@ x_1 = lean_mk_string_unchecked(".", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__10() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__12() { _start: { lean_object* x_1; @@ -731,7 +577,7 @@ x_1 = lean_mk_string_unchecked("`", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__11() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__13() { _start: { lean_object* x_1; @@ -739,19 +585,19 @@ x_1 = lean_mk_string_unchecked("typeAscription", 14, 14); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__12() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___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_Lake_DSL_elabGetConfig___closed__4; -x_2 = l_Lake_DSL_elabGetConfig___closed__5; -x_3 = l_Lake_DSL_elabGetConfig___closed__6; -x_4 = l_Lake_DSL_elabGetConfig___closed__11; +x_1 = l_Lake_DSL_elabGetConfig___closed__6; +x_2 = l_Lake_DSL_elabGetConfig___closed__7; +x_3 = l_Lake_DSL_elabGetConfig___closed__8; +x_4 = l_Lake_DSL_elabGetConfig___closed__13; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__13() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__15() { _start: { lean_object* x_1; @@ -759,7 +605,7 @@ x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__14() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__16() { _start: { lean_object* x_1; @@ -767,26 +613,26 @@ x_1 = lean_mk_string_unchecked("none", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__15() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__14; +x_1 = l_Lake_DSL_elabGetConfig___closed__16; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__16() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__14; +x_2 = l_Lake_DSL_elabGetConfig___closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__17() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__19() { _start: { lean_object* x_1; @@ -794,41 +640,41 @@ x_1 = lean_mk_string_unchecked("Option", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__17; -x_2 = l_Lake_DSL_elabGetConfig___closed__14; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__18; -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_Lake_DSL_elabGetConfig___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabGetConfig___closed__19; +x_2 = l_Lake_DSL_elabGetConfig___closed__16; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__19; +x_2 = l_Lake_DSL_elabGetConfig___closed__20; 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_Lake_DSL_elabGetConfig___closed__21() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__21; +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_Lake_DSL_elabGetConfig___closed__23() { _start: { lean_object* x_1; @@ -836,7 +682,7 @@ x_1 = lean_mk_string_unchecked(":", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__22() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__24() { _start: { lean_object* x_1; @@ -844,17 +690,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__23() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__22; +x_2 = l_Lake_DSL_elabGetConfig___closed__24; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__24() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__26() { _start: { lean_object* x_1; @@ -862,66 +708,46 @@ x_1 = lean_mk_string_unchecked("app", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__25() { -_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_DSL_elabGetConfig___closed__4; -x_2 = l_Lake_DSL_elabGetConfig___closed__5; -x_3 = l_Lake_DSL_elabGetConfig___closed__6; -x_4 = l_Lake_DSL_elabGetConfig___closed__24; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__17; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__27() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__17; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lake_DSL_elabGetConfig___closed__6; +x_2 = l_Lake_DSL_elabGetConfig___closed__7; +x_3 = l_Lake_DSL_elabGetConfig___closed__8; +x_4 = l_Lake_DSL_elabGetConfig___closed__26; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__28() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__27; -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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabGetConfig___closed__19; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__29() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__27; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__19; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__4; -x_2 = l_Lake_DSL_elabGetConfig___closed__17; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__29; +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; } } @@ -929,7 +755,7 @@ static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__30; +x_1 = l_Lake_DSL_elabGetConfig___closed__29; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -939,39 +765,59 @@ static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__31; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lake_DSL_elabGetConfig___closed__6; +x_2 = l_Lake_DSL_elabGetConfig___closed__19; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__33() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__29; -x_2 = l_Lake_DSL_elabGetConfig___closed__32; -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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabGetConfig___closed__32; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__28; +x_1 = lean_box(0); x_2 = l_Lake_DSL_elabGetConfig___closed__33; 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_Lake_DSL_elabGetConfig___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabGetConfig___closed__31; +x_2 = l_Lake_DSL_elabGetConfig___closed__34; +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_Lake_DSL_elabGetConfig___closed__35() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabGetConfig___closed__30; +x_2 = l_Lake_DSL_elabGetConfig___closed__35; +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_Lake_DSL_elabGetConfig___closed__37() { _start: { lean_object* x_1; @@ -979,45 +825,23 @@ x_1 = lean_mk_string_unchecked("String", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__35; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__35; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__37; -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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabGetConfig___closed__37; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__39() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__37; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__37; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__40() { @@ -1035,16 +859,38 @@ return x_3; static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__41() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabGetConfig___closed__39; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__42() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__38; -x_2 = l_Lake_DSL_elabGetConfig___closed__40; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__41; +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_Lake_DSL_elabGetConfig___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabGetConfig___closed__40; +x_2 = l_Lake_DSL_elabGetConfig___closed__42; 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_Lake_DSL_elabGetConfig___closed__42() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__44() { _start: { lean_object* x_1; @@ -1052,7 +898,7 @@ x_1 = lean_mk_string_unchecked(")", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__43() { +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__45() { _start: { lean_object* x_1; @@ -1060,33 +906,13 @@ x_1 = lean_mk_string_unchecked("some", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabGetConfig___closed__43; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__43; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__46() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabGetConfig___closed__17; -x_2 = l_Lake_DSL_elabGetConfig___closed__43; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabGetConfig___closed__45; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__47() { @@ -1094,10 +920,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__46; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_2 = l_Lake_DSL_elabGetConfig___closed__45; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -1105,8 +929,30 @@ static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabGetConfig___closed__19; +x_2 = l_Lake_DSL_elabGetConfig___closed__45; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_elabGetConfig___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabGetConfig___closed__47; +x_2 = l_Lake_DSL_elabGetConfig___closed__48; +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_Lake_DSL_elabGetConfig___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabGetConfig___closed__49; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -1129,7 +975,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = l_Lake_DSL_getConfig___closed__2; +x_12 = l_Lake_DSL_elabGetConfig___closed__2; lean_inc(x_1); x_13 = l_Lean_Syntax_isOfKind(x_1, x_12); if (x_13 == 0) @@ -1164,12 +1010,12 @@ lean_dec(x_19); x_22 = lean_box(0); x_23 = l_Lake_optsExt; x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*3); -x_25 = l_Lake_DSL_elabGetConfig___closed__1; +x_25 = l_Lake_DSL_elabGetConfig___closed__3; x_26 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___rarg(x_22, x_25, x_21, x_24); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = l_Lake_DSL_elabGetConfig___closed__3; +x_27 = l_Lake_DSL_elabGetConfig___closed__5; x_28 = 0; x_29 = l_Lean_mkCIdentFrom(x_1, x_27, x_28); x_30 = l_Lean_Syntax_getId(x_16); @@ -1205,9 +1051,9 @@ lean_dec(x_30); x_41 = lean_ctor_get(x_32, 0); lean_inc(x_41); lean_dec(x_32); -x_42 = l_Lake_DSL_elabGetConfig___closed__9; +x_42 = l_Lake_DSL_elabGetConfig___closed__11; x_43 = l_String_intercalate(x_42, x_41); -x_44 = l_Lake_DSL_elabGetConfig___closed__10; +x_44 = l_Lake_DSL_elabGetConfig___closed__12; x_45 = lean_string_append(x_44, x_43); lean_dec(x_43); x_46 = lean_box(2); @@ -1216,7 +1062,7 @@ lean_ctor_set_tag(x_17, 1); lean_ctor_set(x_17, 1, x_31); lean_ctor_set(x_17, 0, x_47); x_48 = lean_array_mk(x_17); -x_49 = l_Lake_DSL_elabGetConfig___closed__8; +x_49 = l_Lake_DSL_elabGetConfig___closed__10; x_50 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_50, 0, x_46); lean_ctor_set(x_50, 1, x_49); @@ -1272,64 +1118,64 @@ lean_inc(x_70); lean_dec(x_68); x_71 = l_Lean_Environment_mainModule(x_70); lean_dec(x_70); -x_72 = l_Lake_DSL_elabGetConfig___closed__13; +x_72 = l_Lake_DSL_elabGetConfig___closed__15; lean_inc(x_64); lean_ctor_set_tag(x_66, 2); lean_ctor_set(x_66, 1, x_72); lean_ctor_set(x_66, 0, x_64); -x_73 = l_Lake_DSL_elabGetConfig___closed__16; +x_73 = l_Lake_DSL_elabGetConfig___closed__18; lean_inc(x_65); lean_inc(x_71); x_74 = l_Lean_addMacroScope(x_71, x_73, x_65); -x_75 = l_Lake_DSL_elabGetConfig___closed__15; -x_76 = l_Lake_DSL_elabGetConfig___closed__20; +x_75 = l_Lake_DSL_elabGetConfig___closed__17; +x_76 = l_Lake_DSL_elabGetConfig___closed__22; lean_inc(x_64); x_77 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_77, 0, x_64); lean_ctor_set(x_77, 1, x_75); lean_ctor_set(x_77, 2, x_74); lean_ctor_set(x_77, 3, x_76); -x_78 = l_Lake_DSL_elabGetConfig___closed__21; +x_78 = l_Lake_DSL_elabGetConfig___closed__23; lean_inc(x_64); lean_ctor_set_tag(x_17, 2); lean_ctor_set(x_17, 1, x_78); lean_ctor_set(x_17, 0, x_64); -x_79 = l_Lake_DSL_elabGetConfig___closed__27; +x_79 = l_Lake_DSL_elabGetConfig___closed__29; lean_inc(x_65); lean_inc(x_71); x_80 = l_Lean_addMacroScope(x_71, x_79, x_65); -x_81 = l_Lake_DSL_elabGetConfig___closed__26; -x_82 = l_Lake_DSL_elabGetConfig___closed__34; +x_81 = l_Lake_DSL_elabGetConfig___closed__28; +x_82 = l_Lake_DSL_elabGetConfig___closed__36; lean_inc(x_64); x_83 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_83, 0, x_64); lean_ctor_set(x_83, 1, x_81); lean_ctor_set(x_83, 2, x_80); lean_ctor_set(x_83, 3, x_82); -x_84 = l_Lake_DSL_elabGetConfig___closed__37; +x_84 = l_Lake_DSL_elabGetConfig___closed__39; x_85 = l_Lean_addMacroScope(x_71, x_84, x_65); -x_86 = l_Lake_DSL_elabGetConfig___closed__36; -x_87 = l_Lake_DSL_elabGetConfig___closed__41; +x_86 = l_Lake_DSL_elabGetConfig___closed__38; +x_87 = l_Lake_DSL_elabGetConfig___closed__43; lean_inc(x_64); x_88 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_88, 0, x_64); lean_ctor_set(x_88, 1, x_86); lean_ctor_set(x_88, 2, x_85); lean_ctor_set(x_88, 3, x_87); -x_89 = l_Lake_DSL_elabGetConfig___closed__23; +x_89 = l_Lake_DSL_elabGetConfig___closed__25; lean_inc(x_64); x_90 = l_Lean_Syntax_node1(x_64, x_89, x_88); -x_91 = l_Lake_DSL_elabGetConfig___closed__25; +x_91 = l_Lake_DSL_elabGetConfig___closed__27; lean_inc(x_64); x_92 = l_Lean_Syntax_node2(x_64, x_91, x_83, x_90); lean_inc(x_64); x_93 = l_Lean_Syntax_node1(x_64, x_89, x_92); -x_94 = l_Lake_DSL_elabGetConfig___closed__42; +x_94 = l_Lake_DSL_elabGetConfig___closed__44; lean_inc(x_64); x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_64); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lake_DSL_elabGetConfig___closed__12; +x_96 = l_Lake_DSL_elabGetConfig___closed__14; x_97 = l_Lean_Syntax_node5(x_64, x_96, x_66, x_77, x_17, x_93, x_95); x_98 = 1; x_99 = lean_box(x_98); @@ -1356,64 +1202,64 @@ lean_inc(x_105); lean_dec(x_103); x_106 = l_Lean_Environment_mainModule(x_105); lean_dec(x_105); -x_107 = l_Lake_DSL_elabGetConfig___closed__13; +x_107 = l_Lake_DSL_elabGetConfig___closed__15; lean_inc(x_64); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_64); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lake_DSL_elabGetConfig___closed__16; +x_109 = l_Lake_DSL_elabGetConfig___closed__18; lean_inc(x_65); lean_inc(x_106); x_110 = l_Lean_addMacroScope(x_106, x_109, x_65); -x_111 = l_Lake_DSL_elabGetConfig___closed__15; -x_112 = l_Lake_DSL_elabGetConfig___closed__20; +x_111 = l_Lake_DSL_elabGetConfig___closed__17; +x_112 = l_Lake_DSL_elabGetConfig___closed__22; lean_inc(x_64); x_113 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_113, 0, x_64); lean_ctor_set(x_113, 1, x_111); lean_ctor_set(x_113, 2, x_110); lean_ctor_set(x_113, 3, x_112); -x_114 = l_Lake_DSL_elabGetConfig___closed__21; +x_114 = l_Lake_DSL_elabGetConfig___closed__23; lean_inc(x_64); lean_ctor_set_tag(x_17, 2); lean_ctor_set(x_17, 1, x_114); lean_ctor_set(x_17, 0, x_64); -x_115 = l_Lake_DSL_elabGetConfig___closed__27; +x_115 = l_Lake_DSL_elabGetConfig___closed__29; lean_inc(x_65); lean_inc(x_106); x_116 = l_Lean_addMacroScope(x_106, x_115, x_65); -x_117 = l_Lake_DSL_elabGetConfig___closed__26; -x_118 = l_Lake_DSL_elabGetConfig___closed__34; +x_117 = l_Lake_DSL_elabGetConfig___closed__28; +x_118 = l_Lake_DSL_elabGetConfig___closed__36; lean_inc(x_64); x_119 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_119, 0, x_64); lean_ctor_set(x_119, 1, x_117); lean_ctor_set(x_119, 2, x_116); lean_ctor_set(x_119, 3, x_118); -x_120 = l_Lake_DSL_elabGetConfig___closed__37; +x_120 = l_Lake_DSL_elabGetConfig___closed__39; x_121 = l_Lean_addMacroScope(x_106, x_120, x_65); -x_122 = l_Lake_DSL_elabGetConfig___closed__36; -x_123 = l_Lake_DSL_elabGetConfig___closed__41; +x_122 = l_Lake_DSL_elabGetConfig___closed__38; +x_123 = l_Lake_DSL_elabGetConfig___closed__43; lean_inc(x_64); x_124 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_124, 0, x_64); lean_ctor_set(x_124, 1, x_122); lean_ctor_set(x_124, 2, x_121); lean_ctor_set(x_124, 3, x_123); -x_125 = l_Lake_DSL_elabGetConfig___closed__23; +x_125 = l_Lake_DSL_elabGetConfig___closed__25; lean_inc(x_64); x_126 = l_Lean_Syntax_node1(x_64, x_125, x_124); -x_127 = l_Lake_DSL_elabGetConfig___closed__25; +x_127 = l_Lake_DSL_elabGetConfig___closed__27; lean_inc(x_64); x_128 = l_Lean_Syntax_node2(x_64, x_127, x_119, x_126); lean_inc(x_64); x_129 = l_Lean_Syntax_node1(x_64, x_125, x_128); -x_130 = l_Lake_DSL_elabGetConfig___closed__42; +x_130 = l_Lake_DSL_elabGetConfig___closed__44; lean_inc(x_64); x_131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_131, 0, x_64); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lake_DSL_elabGetConfig___closed__12; +x_132 = l_Lake_DSL_elabGetConfig___closed__14; x_133 = l_Lean_Syntax_node5(x_64, x_132, x_108, x_113, x_17, x_129, x_131); x_134 = 1; x_135 = lean_box(x_134); @@ -1453,10 +1299,10 @@ lean_inc(x_147); lean_dec(x_145); x_148 = l_Lean_Environment_mainModule(x_147); lean_dec(x_147); -x_149 = l_Lake_DSL_elabGetConfig___closed__45; +x_149 = l_Lake_DSL_elabGetConfig___closed__47; x_150 = l_Lean_addMacroScope(x_148, x_149, x_143); -x_151 = l_Lake_DSL_elabGetConfig___closed__44; -x_152 = l_Lake_DSL_elabGetConfig___closed__48; +x_151 = l_Lake_DSL_elabGetConfig___closed__46; +x_152 = l_Lake_DSL_elabGetConfig___closed__50; lean_inc(x_142); x_153 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_153, 0, x_142); @@ -1466,10 +1312,10 @@ lean_ctor_set(x_153, 3, x_152); lean_inc(x_142); x_154 = l_Lean_Syntax_mkStrLit(x_139, x_142); lean_dec(x_139); -x_155 = l_Lake_DSL_elabGetConfig___closed__23; +x_155 = l_Lake_DSL_elabGetConfig___closed__25; lean_inc(x_142); x_156 = l_Lean_Syntax_node1(x_142, x_155, x_154); -x_157 = l_Lake_DSL_elabGetConfig___closed__25; +x_157 = l_Lake_DSL_elabGetConfig___closed__27; x_158 = l_Lean_Syntax_node2(x_142, x_157, x_153, x_156); x_159 = 1; x_160 = lean_box(x_159); @@ -1499,12 +1345,12 @@ lean_dec(x_164); x_167 = lean_box(0); x_168 = l_Lake_optsExt; x_169 = lean_ctor_get_uint8(x_168, sizeof(void*)*3); -x_170 = l_Lake_DSL_elabGetConfig___closed__1; +x_170 = l_Lake_DSL_elabGetConfig___closed__3; x_171 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___rarg(x_167, x_170, x_166, x_169); if (lean_obj_tag(x_171) == 0) { lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_172 = l_Lake_DSL_elabGetConfig___closed__3; +x_172 = l_Lake_DSL_elabGetConfig___closed__5; x_173 = 0; x_174 = l_Lean_mkCIdentFrom(x_1, x_172, x_173); x_175 = l_Lean_Syntax_getId(x_16); @@ -1540,9 +1386,9 @@ lean_dec(x_175); x_187 = lean_ctor_get(x_177, 0); lean_inc(x_187); lean_dec(x_177); -x_188 = l_Lake_DSL_elabGetConfig___closed__9; +x_188 = l_Lake_DSL_elabGetConfig___closed__11; x_189 = l_String_intercalate(x_188, x_187); -x_190 = l_Lake_DSL_elabGetConfig___closed__10; +x_190 = l_Lake_DSL_elabGetConfig___closed__12; x_191 = lean_string_append(x_190, x_189); lean_dec(x_189); x_192 = lean_box(2); @@ -1551,7 +1397,7 @@ x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_176); x_195 = lean_array_mk(x_194); -x_196 = l_Lake_DSL_elabGetConfig___closed__8; +x_196 = l_Lake_DSL_elabGetConfig___closed__10; x_197 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_197, 0, x_192); lean_ctor_set(x_197, 1, x_196); @@ -1613,7 +1459,7 @@ lean_inc(x_217); lean_dec(x_214); x_218 = l_Lean_Environment_mainModule(x_217); lean_dec(x_217); -x_219 = l_Lake_DSL_elabGetConfig___closed__13; +x_219 = l_Lake_DSL_elabGetConfig___closed__15; lean_inc(x_211); if (lean_is_scalar(x_216)) { x_220 = lean_alloc_ctor(2, 2, 0); @@ -1623,59 +1469,59 @@ if (lean_is_scalar(x_216)) { } lean_ctor_set(x_220, 0, x_211); lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lake_DSL_elabGetConfig___closed__16; +x_221 = l_Lake_DSL_elabGetConfig___closed__18; lean_inc(x_212); lean_inc(x_218); x_222 = l_Lean_addMacroScope(x_218, x_221, x_212); -x_223 = l_Lake_DSL_elabGetConfig___closed__15; -x_224 = l_Lake_DSL_elabGetConfig___closed__20; +x_223 = l_Lake_DSL_elabGetConfig___closed__17; +x_224 = l_Lake_DSL_elabGetConfig___closed__22; lean_inc(x_211); x_225 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_225, 0, x_211); lean_ctor_set(x_225, 1, x_223); lean_ctor_set(x_225, 2, x_222); lean_ctor_set(x_225, 3, x_224); -x_226 = l_Lake_DSL_elabGetConfig___closed__21; +x_226 = l_Lake_DSL_elabGetConfig___closed__23; lean_inc(x_211); x_227 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_227, 0, x_211); lean_ctor_set(x_227, 1, x_226); -x_228 = l_Lake_DSL_elabGetConfig___closed__27; +x_228 = l_Lake_DSL_elabGetConfig___closed__29; lean_inc(x_212); lean_inc(x_218); x_229 = l_Lean_addMacroScope(x_218, x_228, x_212); -x_230 = l_Lake_DSL_elabGetConfig___closed__26; -x_231 = l_Lake_DSL_elabGetConfig___closed__34; +x_230 = l_Lake_DSL_elabGetConfig___closed__28; +x_231 = l_Lake_DSL_elabGetConfig___closed__36; lean_inc(x_211); x_232 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_232, 0, x_211); lean_ctor_set(x_232, 1, x_230); lean_ctor_set(x_232, 2, x_229); lean_ctor_set(x_232, 3, x_231); -x_233 = l_Lake_DSL_elabGetConfig___closed__37; +x_233 = l_Lake_DSL_elabGetConfig___closed__39; x_234 = l_Lean_addMacroScope(x_218, x_233, x_212); -x_235 = l_Lake_DSL_elabGetConfig___closed__36; -x_236 = l_Lake_DSL_elabGetConfig___closed__41; +x_235 = l_Lake_DSL_elabGetConfig___closed__38; +x_236 = l_Lake_DSL_elabGetConfig___closed__43; lean_inc(x_211); x_237 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_237, 0, x_211); lean_ctor_set(x_237, 1, x_235); lean_ctor_set(x_237, 2, x_234); lean_ctor_set(x_237, 3, x_236); -x_238 = l_Lake_DSL_elabGetConfig___closed__23; +x_238 = l_Lake_DSL_elabGetConfig___closed__25; lean_inc(x_211); x_239 = l_Lean_Syntax_node1(x_211, x_238, x_237); -x_240 = l_Lake_DSL_elabGetConfig___closed__25; +x_240 = l_Lake_DSL_elabGetConfig___closed__27; lean_inc(x_211); x_241 = l_Lean_Syntax_node2(x_211, x_240, x_232, x_239); lean_inc(x_211); x_242 = l_Lean_Syntax_node1(x_211, x_238, x_241); -x_243 = l_Lake_DSL_elabGetConfig___closed__42; +x_243 = l_Lake_DSL_elabGetConfig___closed__44; lean_inc(x_211); x_244 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_244, 0, x_211); lean_ctor_set(x_244, 1, x_243); -x_245 = l_Lake_DSL_elabGetConfig___closed__12; +x_245 = l_Lake_DSL_elabGetConfig___closed__14; x_246 = l_Lean_Syntax_node5(x_211, x_245, x_220, x_225, x_227, x_242, x_244); x_247 = 1; x_248 = lean_box(x_247); @@ -1713,10 +1559,10 @@ lean_inc(x_260); lean_dec(x_258); x_261 = l_Lean_Environment_mainModule(x_260); lean_dec(x_260); -x_262 = l_Lake_DSL_elabGetConfig___closed__45; +x_262 = l_Lake_DSL_elabGetConfig___closed__47; x_263 = l_Lean_addMacroScope(x_261, x_262, x_256); -x_264 = l_Lake_DSL_elabGetConfig___closed__44; -x_265 = l_Lake_DSL_elabGetConfig___closed__48; +x_264 = l_Lake_DSL_elabGetConfig___closed__46; +x_265 = l_Lake_DSL_elabGetConfig___closed__50; lean_inc(x_255); x_266 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_266, 0, x_255); @@ -1726,10 +1572,10 @@ lean_ctor_set(x_266, 3, x_265); lean_inc(x_255); x_267 = l_Lean_Syntax_mkStrLit(x_252, x_255); lean_dec(x_252); -x_268 = l_Lake_DSL_elabGetConfig___closed__23; +x_268 = l_Lake_DSL_elabGetConfig___closed__25; lean_inc(x_255); x_269 = l_Lean_Syntax_node1(x_255, x_268, x_267); -x_270 = l_Lake_DSL_elabGetConfig___closed__25; +x_270 = l_Lake_DSL_elabGetConfig___closed__27; x_271 = l_Lean_Syntax_node2(x_255, x_270, x_266, x_269); x_272 = 1; x_273 = lean_box(x_272); @@ -1791,8 +1637,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_dirConst___closed__1; -x_2 = l_Lake_DSL_dirConst___closed__2; +x_1 = l_Lake_DSL_elabDirConst___closed__4; +x_2 = l_Lake_DSL_elabDirConst___closed__5; x_3 = l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -1810,8 +1656,8 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabGetConfig__1(lean_object* x _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3; -x_3 = l_Lake_DSL_getConfig___closed__2; +x_2 = l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5; +x_3 = l_Lake_DSL_elabGetConfig___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -1820,6 +1666,7 @@ return x_6; } lean_object* initialize_Lean_Elab_ElabRules(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_Extensions(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Config(uint8_t builtin, lean_object* w) { lean_object * res; @@ -1831,26 +1678,13 @@ lean_dec_ref(res); res = initialize_Lake_DSL_Extensions(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lake_DSL_dummyDir___closed__1 = _init_l_Lake_DSL_dummyDir___closed__1(); lean_mark_persistent(l_Lake_DSL_dummyDir___closed__1); l_Lake_DSL_dummyDir = _init_l_Lake_DSL_dummyDir(); lean_mark_persistent(l_Lake_DSL_dummyDir); -l_Lake_DSL_dirConst___closed__1 = _init_l_Lake_DSL_dirConst___closed__1(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__1); -l_Lake_DSL_dirConst___closed__2 = _init_l_Lake_DSL_dirConst___closed__2(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__2); -l_Lake_DSL_dirConst___closed__3 = _init_l_Lake_DSL_dirConst___closed__3(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__3); -l_Lake_DSL_dirConst___closed__4 = _init_l_Lake_DSL_dirConst___closed__4(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__4); -l_Lake_DSL_dirConst___closed__5 = _init_l_Lake_DSL_dirConst___closed__5(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__5); -l_Lake_DSL_dirConst___closed__6 = _init_l_Lake_DSL_dirConst___closed__6(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__6); -l_Lake_DSL_dirConst___closed__7 = _init_l_Lake_DSL_dirConst___closed__7(); -lean_mark_persistent(l_Lake_DSL_dirConst___closed__7); -l_Lake_DSL_dirConst = _init_l_Lake_DSL_dirConst(); -lean_mark_persistent(l_Lake_DSL_dirConst); l_Lake_DSL_elabDirConst___closed__1 = _init_l_Lake_DSL_elabDirConst___closed__1(); lean_mark_persistent(l_Lake_DSL_elabDirConst___closed__1); l_Lake_DSL_elabDirConst___closed__2 = _init_l_Lake_DSL_elabDirConst___closed__2(); @@ -1869,6 +1703,10 @@ l_Lake_DSL_elabDirConst___closed__8 = _init_l_Lake_DSL_elabDirConst___closed__8( lean_mark_persistent(l_Lake_DSL_elabDirConst___closed__8); l_Lake_DSL_elabDirConst___closed__9 = _init_l_Lake_DSL_elabDirConst___closed__9(); lean_mark_persistent(l_Lake_DSL_elabDirConst___closed__9); +l_Lake_DSL_elabDirConst___closed__10 = _init_l_Lake_DSL_elabDirConst___closed__10(); +lean_mark_persistent(l_Lake_DSL_elabDirConst___closed__10); +l_Lake_DSL_elabDirConst___closed__11 = _init_l_Lake_DSL_elabDirConst___closed__11(); +lean_mark_persistent(l_Lake_DSL_elabDirConst___closed__11); l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabDirConst__1___closed__1); l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__2(); @@ -1877,34 +1715,14 @@ l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3 = _init_l___regBuiltin_Lake_ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabDirConst__1___closed__3); l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4 = _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabDirConst__1___closed__4); +l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5 = _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5(); +lean_mark_persistent(l___regBuiltin_Lake_DSL_elabDirConst__1___closed__5); +l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6 = _init_l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6(); +lean_mark_persistent(l___regBuiltin_Lake_DSL_elabDirConst__1___closed__6); if (builtin) {res = l___regBuiltin_Lake_DSL_elabDirConst__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_getConfig___closed__1 = _init_l_Lake_DSL_getConfig___closed__1(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__1); -l_Lake_DSL_getConfig___closed__2 = _init_l_Lake_DSL_getConfig___closed__2(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__2); -l_Lake_DSL_getConfig___closed__3 = _init_l_Lake_DSL_getConfig___closed__3(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__3); -l_Lake_DSL_getConfig___closed__4 = _init_l_Lake_DSL_getConfig___closed__4(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__4); -l_Lake_DSL_getConfig___closed__5 = _init_l_Lake_DSL_getConfig___closed__5(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__5); -l_Lake_DSL_getConfig___closed__6 = _init_l_Lake_DSL_getConfig___closed__6(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__6); -l_Lake_DSL_getConfig___closed__7 = _init_l_Lake_DSL_getConfig___closed__7(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__7); -l_Lake_DSL_getConfig___closed__8 = _init_l_Lake_DSL_getConfig___closed__8(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__8); -l_Lake_DSL_getConfig___closed__9 = _init_l_Lake_DSL_getConfig___closed__9(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__9); -l_Lake_DSL_getConfig___closed__10 = _init_l_Lake_DSL_getConfig___closed__10(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__10); -l_Lake_DSL_getConfig___closed__11 = _init_l_Lake_DSL_getConfig___closed__11(); -lean_mark_persistent(l_Lake_DSL_getConfig___closed__11); -l_Lake_DSL_getConfig = _init_l_Lake_DSL_getConfig(); -lean_mark_persistent(l_Lake_DSL_getConfig); -l_Lake_DSL_elabGetConfig___closed__1 = _init_l_Lake_DSL_elabGetConfig___closed__1(); +}l_Lake_DSL_elabGetConfig___closed__1 = _init_l_Lake_DSL_elabGetConfig___closed__1(); lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__1); l_Lake_DSL_elabGetConfig___closed__2 = _init_l_Lake_DSL_elabGetConfig___closed__2(); lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__2); @@ -2000,6 +1818,10 @@ l_Lake_DSL_elabGetConfig___closed__47 = _init_l_Lake_DSL_elabGetConfig___closed_ lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__47); l_Lake_DSL_elabGetConfig___closed__48 = _init_l_Lake_DSL_elabGetConfig___closed__48(); lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__48); +l_Lake_DSL_elabGetConfig___closed__49 = _init_l_Lake_DSL_elabGetConfig___closed__49(); +lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__49); +l_Lake_DSL_elabGetConfig___closed__50 = _init_l_Lake_DSL_elabGetConfig___closed__50(); +lean_mark_persistent(l_Lake_DSL_elabGetConfig___closed__50); l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__1); l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabGetConfig__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/Key.c b/stage0/stdlib/Lake/DSL/Key.c index 9e0b3e661b..0af3ef7d94 100644 --- a/stage0/stdlib/Lake/DSL/Key.c +++ b/stage0/stdlib/Lake/DSL/Key.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Key -// Imports: Lake.Build.Key +// Imports: Lake.Build.Key Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,143 +13,92 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lake_DSL_facetSuffix___closed__5; -static lean_object* l_Lake_DSL_facetSuffix___closed__8; +static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__1; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__1; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__12; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__1; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__10; LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__15; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__6; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__8; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__3; lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12; -static lean_object* l_Lake_DSL_facetSuffix___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__7; -static lean_object* l_Lake_DSL_facetSuffix___closed__16; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__2; -static lean_object* l_Lake_DSL_packageTargetLit___closed__9; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__1; lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__5; +static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__18; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__15; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__9; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__8; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__8; size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__7; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__17; -static lean_object* l_Lake_DSL_facetSuffix___closed__9; -LEAN_EXPORT lean_object* l_Lake_DSL_packageTargetLit; +static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__2; -static lean_object* l_Lake_DSL_facetSuffix___closed__15; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__6; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__13; -static lean_object* l_Lake_DSL_facetSuffix___closed__13; -static lean_object* l_Lake_DSL_packageTargetLit___closed__4; -static lean_object* l_Lake_DSL_packageTargetLit___closed__6; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__16; -LEAN_EXPORT lean_object* l_Lake_DSL_term_x60_x40_______x2f________; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__3; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__10; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lake_DSL_facetSuffix; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__1; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__5; -static lean_object* l_Lake_DSL_facetSuffix___closed__20; lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__10; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__2; -static lean_object* l_Lake_DSL_facetSuffix___closed__1; LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__14; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__9; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__19; -static lean_object* l_Lake_DSL_packageTargetLit___closed__5; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__3; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__14; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__11; -static lean_object* l_Lake_DSL_packageTargetLit___closed__7; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__18; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__4; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__8; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__4; -static lean_object* l_Lake_DSL_packageTargetLit___closed__3; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__19; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageTargetLit___closed__2; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__4; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__7; LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__7; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__6; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__11; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__6; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__4; LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandFacets(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15; -static lean_object* l_Lake_DSL_facetSuffix___closed__12; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__9; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; -static lean_object* l_Lake_DSL_facetSuffix___closed__4; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__5; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__9; -static lean_object* l_Lake_DSL_packageTargetLit___closed__8; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12; -static lean_object* l_Lake_DSL_facetSuffix___closed__3; -LEAN_EXPORT lean_object* l_Lake_DSL_term_x60_x2b______; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__11; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__2; -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__5; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__7; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1(size_t, size_t, lean_object*); +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__9; -static lean_object* l_Lake_DSL_facetSuffix___closed__14; -static lean_object* l_Lake_DSL_packageTargetLit___closed__11; LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); extern lean_object* l_Lake_PartialBuildKey_moduleTargetIndicator; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__3; -static lean_object* l_Lake_DSL_facetSuffix___closed__17; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -159,730 +108,22 @@ size_t lean_array_size(lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__6; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__10; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__7; lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lake_DSL_facetSuffix___closed__7; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageTargetLit___closed__10; uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__3; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__1; lean_object* l_String_toSubstring_x27(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__8; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__9; -static lean_object* l_Lake_DSL_packageTargetLit___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2; lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lake_DSL_term_x60_x2b_________closed__2; -static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__6; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__10; -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("facetSuffix", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Lake_DSL_facetSuffix___closed__2; -x_3 = l_Lake_DSL_facetSuffix___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_facetSuffix___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("atomic", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_facetSuffix___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(":", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_facetSuffix___closed__9; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("noWs", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_facetSuffix___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_facetSuffix___closed__12; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_facetSuffix___closed__10; -x_3 = l_Lake_DSL_facetSuffix___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_facetSuffix___closed__8; -x_2 = l_Lake_DSL_facetSuffix___closed__14; -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_Lake_DSL_facetSuffix___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ident", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_facetSuffix___closed__16; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_facetSuffix___closed__17; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_facetSuffix___closed__15; -x_3 = l_Lake_DSL_facetSuffix___closed__18; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__3; -x_2 = l_Lake_DSL_facetSuffix___closed__4; -x_3 = l_Lake_DSL_facetSuffix___closed__19; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_facetSuffix() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_facetSuffix___closed__20; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("packageTargetLit", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Lake_DSL_facetSuffix___closed__2; -x_3 = l_Lake_DSL_packageTargetLit___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_packageTargetLit___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("+", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_packageTargetLit___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_packageTargetLit___closed__6; -x_3 = l_Lake_DSL_facetSuffix___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_facetSuffix___closed__8; -x_2 = l_Lake_DSL_packageTargetLit___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_Lake_DSL_packageTargetLit___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageTargetLit___closed__4; -x_2 = l_Lake_DSL_packageTargetLit___closed__8; -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_Lake_DSL_packageTargetLit___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_packageTargetLit___closed__9; -x_3 = l_Lake_DSL_facetSuffix___closed__18; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageTargetLit___closed__1; -x_2 = l_Lake_DSL_packageTargetLit___closed__2; -x_3 = l_Lake_DSL_packageTargetLit___closed__10; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageTargetLit() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_packageTargetLit___closed__11; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("term`+___", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Lake_DSL_facetSuffix___closed__2; -x_3 = l_Lake_DSL_term_x60_x2b_________closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`+", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_term_x60_x2b_________closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x2b_________closed__4; -x_3 = l_Lake_DSL_facetSuffix___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x2b_________closed__5; -x_3 = l_Lake_DSL_facetSuffix___closed__18; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("many", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_term_x60_x2b_________closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_term_x60_x2b_________closed__8; -x_2 = l_Lake_DSL_facetSuffix; -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_Lake_DSL_term_x60_x2b_________closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x2b_________closed__6; -x_3 = l_Lake_DSL_term_x60_x2b_________closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_term_x60_x2b_________closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lake_DSL_term_x60_x2b_________closed__10; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x2b______() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_term_x60_x2b_________closed__11; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("term`@___/____", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Lake_DSL_facetSuffix___closed__2; -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`@", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_facetSuffix___closed__13; -x_3 = l_Lake_DSL_facetSuffix___closed__18; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageTargetLit___closed__4; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__5; -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_Lake_DSL_term_x60_x40_______x2f___________closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__4; -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("/", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__8; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_facetSuffix___closed__13; -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__10; -x_3 = l_Lake_DSL_facetSuffix___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_facetSuffix___closed__8; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__11; -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_Lake_DSL_term_x60_x40_______x2f___________closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__12; -x_3 = l_Lake_DSL_packageTargetLit; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageTargetLit___closed__4; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__13; -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_Lake_DSL_term_x60_x40_______x2f___________closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__7; -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__14; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_facetSuffix___closed__13; -x_3 = l_Lake_DSL_facetSuffix; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_term_x60_x2b_________closed__8; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__16; -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_Lake_DSL_term_x60_x40_______x2f___________closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__6; -x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__15; -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__17; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__18; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f________() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__19; -return x_1; -} -} +static lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1; +static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -1000,61 +241,69 @@ return x_3; static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lake", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; x_3 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__9; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12; 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_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__13; -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; +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__12; +x_1 = lean_box(0); x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__14; 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_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__13; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__15; +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_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17() { _start: { lean_object* x_1; @@ -1062,12 +311,12 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1093,14 +342,14 @@ lean_inc(x_14); x_15 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__10; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__7; -x_18 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__15; +x_18 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16; lean_inc(x_12); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_20 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_12); x_21 = l_Lean_Syntax_node2(x_12, x_20, x_5, x_9); x_22 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -1236,7 +485,7 @@ static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTarg _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; x_3 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); @@ -1320,7 +569,7 @@ if (lean_obj_tag(x_4) == 0) 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_19 = l_Lean_Syntax_getId(x_8); x_20 = l_Lake_Name_quoteFrom(x_8, x_19, x_10); -x_21 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_21 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_11); x_22 = l_Lean_Syntax_node2(x_11, x_21, x_2, x_20); x_23 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -1337,7 +586,7 @@ x_26 = l_Lean_Syntax_getId(x_8); x_27 = l_Lake_PartialBuildKey_moduleTargetIndicator; x_28 = l_Lean_Name_append(x_26, x_27); x_29 = l_Lake_Name_quoteFrom(x_8, x_28, x_10); -x_30 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_30 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_11); x_31 = l_Lean_Syntax_node2(x_11, x_30, x_2, x_29); x_32 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -1353,6 +602,33 @@ static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTarg _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("DSL", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("packageTargetLit", 16, 16); +return x_1; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_3 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("ill-formed package target literal", 33, 33); return x_1; } @@ -1361,7 +637,7 @@ LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTarge _start: { lean_object* x_5; uint8_t x_6; uint8_t x_7; -x_5 = l_Lake_DSL_packageTargetLit___closed__2; +x_5 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3; lean_inc(x_2); x_6 = l_Lean_Syntax_isOfKind(x_2, x_5); x_7 = !lean_is_exclusive(x_3); @@ -1377,7 +653,7 @@ if (x_6 == 0) lean_object* x_10; lean_object* x_11; lean_dec(x_2); lean_dec(x_1); -x_10 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_10 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; x_11 = l_Lean_Macro_throwError___rarg(x_10, x_3, x_4); lean_dec(x_3); return x_11; @@ -1400,7 +676,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_17 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_17 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; x_18 = l_Lean_Macro_throwError___rarg(x_17, x_3, x_4); lean_dec(x_3); return x_18; @@ -1461,7 +737,7 @@ if (x_6 == 0) lean_object* x_34; lean_object* x_35; lean_dec(x_2); lean_dec(x_1); -x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; x_35 = l_Lean_Macro_throwError___rarg(x_34, x_33, x_4); lean_dec(x_33); return x_35; @@ -1484,7 +760,7 @@ lean_object* x_41; lean_object* x_42; lean_dec(x_37); lean_dec(x_2); lean_dec(x_1); -x_41 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_41 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; x_42 = l_Lean_Macro_throwError___rarg(x_41, x_33, x_4); lean_dec(x_33); return x_42; @@ -1528,6 +804,25 @@ lean_dec(x_1); return x_7; } } +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("facetSuffix", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_3 = l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -1546,7 +841,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_6 = lean_array_uget(x_3, x_2); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = l_Lake_DSL_facetSuffix___closed__4; +x_9 = l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2; lean_inc(x_6); x_10 = l_Lean_Syntax_isOfKind(x_6, x_9); if (x_10 == 0) @@ -1577,20 +872,39 @@ static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("BuildKey.module", 15, 15); +x_1 = lean_mk_string_unchecked("term`+___", 9, 9); return x_1; } } static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("BuildKey.module", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1; +x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3() { +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5() { _start: { lean_object* x_1; @@ -1598,47 +912,25 @@ x_1 = lean_mk_string_unchecked("module", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; -x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; +x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__5; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__8() { @@ -1656,16 +948,38 @@ return x_3; static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__10() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__6; -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__8; +x_1 = lean_box(0); +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__9; +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_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__8; +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__10; 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_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__10() { +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12() { _start: { lean_object* x_1; @@ -1673,16 +987,16 @@ x_1 = lean_mk_string_unchecked("PartialBuildKey.mk", 18, 18); return x_1; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11() { +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__10; +x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12() { +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14() { _start: { lean_object* x_1; @@ -1690,7 +1004,7 @@ x_1 = lean_mk_string_unchecked("PartialBuildKey", 15, 15); return x_1; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13() { +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15() { _start: { lean_object* x_1; @@ -1698,45 +1012,45 @@ x_1 = lean_mk_string_unchecked("mk", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12; -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__12; -x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; +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_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -1747,7 +1061,7 @@ LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake_ _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_term_x60_x2b_________closed__2; +x_4 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -1813,19 +1127,19 @@ lean_inc(x_25); lean_ctor_set(x_2, 5, x_28); x_29 = l_Lean_SourceInfo_fromRef(x_28, x_22); lean_dec(x_28); -x_30 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4; +x_30 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__6; lean_inc(x_26); lean_inc(x_25); x_31 = l_Lean_addMacroScope(x_25, x_30, x_26); -x_32 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2; -x_33 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__9; +x_32 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4; +x_33 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; lean_inc(x_29); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_29); lean_ctor_set(x_34, 1, x_32); lean_ctor_set(x_34, 2, x_31); lean_ctor_set(x_34, 3, x_33); -x_35 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_35 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_29); x_36 = l_Lean_Syntax_node1(x_29, x_35, x_23); x_37 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -1837,10 +1151,10 @@ if (x_40 == 0) { 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; x_41 = lean_ctor_get(x_39, 0); -x_42 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_42 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; x_43 = l_Lean_addMacroScope(x_25, x_42, x_26); -x_44 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; -x_45 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; +x_44 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; +x_45 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19; lean_inc(x_29); x_46 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_46, 0, x_29); @@ -1861,10 +1175,10 @@ x_50 = lean_ctor_get(x_39, 1); lean_inc(x_50); lean_inc(x_49); lean_dec(x_39); -x_51 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_51 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; x_52 = l_Lean_addMacroScope(x_25, x_51, x_26); -x_53 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; -x_54 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; +x_53 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; +x_54 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19; lean_inc(x_29); x_55 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_55, 0, x_29); @@ -1911,19 +1225,19 @@ lean_ctor_set(x_66, 4, x_63); lean_ctor_set(x_66, 5, x_65); x_67 = l_Lean_SourceInfo_fromRef(x_65, x_22); lean_dec(x_65); -x_68 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4; +x_68 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__6; lean_inc(x_61); lean_inc(x_60); x_69 = l_Lean_addMacroScope(x_60, x_68, x_61); -x_70 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2; -x_71 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__9; +x_70 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__4; +x_71 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; lean_inc(x_67); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_67); lean_ctor_set(x_72, 1, x_70); lean_ctor_set(x_72, 2, x_69); lean_ctor_set(x_72, 3, x_71); -x_73 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_73 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_67); x_74 = l_Lean_Syntax_node1(x_67, x_73, x_23); x_75 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -1942,10 +1256,10 @@ if (lean_is_exclusive(x_77)) { lean_dec_ref(x_77); x_80 = lean_box(0); } -x_81 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_81 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; x_82 = l_Lean_addMacroScope(x_60, x_81, x_61); -x_83 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; -x_84 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; +x_83 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; +x_84 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19; lean_inc(x_67); x_85 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_85, 0, x_67); @@ -1985,7 +1299,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__15; +x_2 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2025,9 +1339,9 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); -x_13 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_13 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; x_14 = l_Lean_addMacroScope(x_12, x_13, x_11); -x_15 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; +x_15 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; x_16 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__2; lean_inc(x_10); x_17 = lean_alloc_ctor(3, 4, 0); @@ -2035,7 +1349,7 @@ lean_ctor_set(x_17, 0, x_10); lean_ctor_set(x_17, 1, x_15); lean_ctor_set(x_17, 2, x_14); lean_ctor_set(x_17, 3, x_16); -x_18 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_18 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_10); x_19 = l_Lean_Syntax_node1(x_10, x_18, x_7); x_20 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -2061,9 +1375,9 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_3, 1); lean_inc(x_28); lean_dec(x_3); -x_29 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__14; +x_29 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16; x_30 = l_Lean_addMacroScope(x_28, x_29, x_27); -x_31 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__11; +x_31 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__13; x_32 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__2; lean_inc(x_26); x_33 = lean_alloc_ctor(3, 4, 0); @@ -2071,7 +1385,7 @@ lean_ctor_set(x_33, 0, x_26); lean_ctor_set(x_33, 1, x_31); lean_ctor_set(x_33, 2, x_30); lean_ctor_set(x_33, 3, x_32); -x_34 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_34 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_26); x_35 = l_Lean_Syntax_node1(x_26, x_34, x_22); x_36 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -2122,7 +1436,7 @@ static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_facetSuffix___closed__1; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__8; x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); @@ -2260,7 +1574,7 @@ lean_ctor_set(x_30, 0, x_25); lean_ctor_set(x_30, 1, x_28); lean_ctor_set(x_30, 2, x_27); lean_ctor_set(x_30, 3, x_29); -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_31 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_25); x_32 = l_Lean_Syntax_node1(x_25, x_31, x_18); x_33 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -2361,7 +1675,7 @@ lean_ctor_set(x_59, 0, x_54); lean_ctor_set(x_59, 1, x_57); lean_ctor_set(x_59, 2, x_56); lean_ctor_set(x_59, 3, x_58); -x_60 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17; +x_60 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18; lean_inc(x_54); x_61 = l_Lean_Syntax_node1(x_54, x_60, x_18); x_62 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__5; @@ -2423,11 +1737,30 @@ return x_73; } } } +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term`@___/____", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__11; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1; +x_3 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_term_x60_x40_______x2f___________closed__2; +x_4 = l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -2510,6 +1843,7 @@ return x_8; } } lean_object* initialize_Lake_Build_Key(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Key(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2518,136 +1852,9 @@ _G_initialized = true; res = initialize_Lake_Build_Key(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_facetSuffix___closed__1 = _init_l_Lake_DSL_facetSuffix___closed__1(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__1); -l_Lake_DSL_facetSuffix___closed__2 = _init_l_Lake_DSL_facetSuffix___closed__2(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__2); -l_Lake_DSL_facetSuffix___closed__3 = _init_l_Lake_DSL_facetSuffix___closed__3(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__3); -l_Lake_DSL_facetSuffix___closed__4 = _init_l_Lake_DSL_facetSuffix___closed__4(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__4); -l_Lake_DSL_facetSuffix___closed__5 = _init_l_Lake_DSL_facetSuffix___closed__5(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__5); -l_Lake_DSL_facetSuffix___closed__6 = _init_l_Lake_DSL_facetSuffix___closed__6(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__6); -l_Lake_DSL_facetSuffix___closed__7 = _init_l_Lake_DSL_facetSuffix___closed__7(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__7); -l_Lake_DSL_facetSuffix___closed__8 = _init_l_Lake_DSL_facetSuffix___closed__8(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__8); -l_Lake_DSL_facetSuffix___closed__9 = _init_l_Lake_DSL_facetSuffix___closed__9(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__9); -l_Lake_DSL_facetSuffix___closed__10 = _init_l_Lake_DSL_facetSuffix___closed__10(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__10); -l_Lake_DSL_facetSuffix___closed__11 = _init_l_Lake_DSL_facetSuffix___closed__11(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__11); -l_Lake_DSL_facetSuffix___closed__12 = _init_l_Lake_DSL_facetSuffix___closed__12(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__12); -l_Lake_DSL_facetSuffix___closed__13 = _init_l_Lake_DSL_facetSuffix___closed__13(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__13); -l_Lake_DSL_facetSuffix___closed__14 = _init_l_Lake_DSL_facetSuffix___closed__14(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__14); -l_Lake_DSL_facetSuffix___closed__15 = _init_l_Lake_DSL_facetSuffix___closed__15(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__15); -l_Lake_DSL_facetSuffix___closed__16 = _init_l_Lake_DSL_facetSuffix___closed__16(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__16); -l_Lake_DSL_facetSuffix___closed__17 = _init_l_Lake_DSL_facetSuffix___closed__17(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__17); -l_Lake_DSL_facetSuffix___closed__18 = _init_l_Lake_DSL_facetSuffix___closed__18(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__18); -l_Lake_DSL_facetSuffix___closed__19 = _init_l_Lake_DSL_facetSuffix___closed__19(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__19); -l_Lake_DSL_facetSuffix___closed__20 = _init_l_Lake_DSL_facetSuffix___closed__20(); -lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__20); -l_Lake_DSL_facetSuffix = _init_l_Lake_DSL_facetSuffix(); -lean_mark_persistent(l_Lake_DSL_facetSuffix); -l_Lake_DSL_packageTargetLit___closed__1 = _init_l_Lake_DSL_packageTargetLit___closed__1(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__1); -l_Lake_DSL_packageTargetLit___closed__2 = _init_l_Lake_DSL_packageTargetLit___closed__2(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__2); -l_Lake_DSL_packageTargetLit___closed__3 = _init_l_Lake_DSL_packageTargetLit___closed__3(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__3); -l_Lake_DSL_packageTargetLit___closed__4 = _init_l_Lake_DSL_packageTargetLit___closed__4(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__4); -l_Lake_DSL_packageTargetLit___closed__5 = _init_l_Lake_DSL_packageTargetLit___closed__5(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__5); -l_Lake_DSL_packageTargetLit___closed__6 = _init_l_Lake_DSL_packageTargetLit___closed__6(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__6); -l_Lake_DSL_packageTargetLit___closed__7 = _init_l_Lake_DSL_packageTargetLit___closed__7(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__7); -l_Lake_DSL_packageTargetLit___closed__8 = _init_l_Lake_DSL_packageTargetLit___closed__8(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__8); -l_Lake_DSL_packageTargetLit___closed__9 = _init_l_Lake_DSL_packageTargetLit___closed__9(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__9); -l_Lake_DSL_packageTargetLit___closed__10 = _init_l_Lake_DSL_packageTargetLit___closed__10(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__10); -l_Lake_DSL_packageTargetLit___closed__11 = _init_l_Lake_DSL_packageTargetLit___closed__11(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__11); -l_Lake_DSL_packageTargetLit = _init_l_Lake_DSL_packageTargetLit(); -lean_mark_persistent(l_Lake_DSL_packageTargetLit); -l_Lake_DSL_term_x60_x2b_________closed__1 = _init_l_Lake_DSL_term_x60_x2b_________closed__1(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__1); -l_Lake_DSL_term_x60_x2b_________closed__2 = _init_l_Lake_DSL_term_x60_x2b_________closed__2(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__2); -l_Lake_DSL_term_x60_x2b_________closed__3 = _init_l_Lake_DSL_term_x60_x2b_________closed__3(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__3); -l_Lake_DSL_term_x60_x2b_________closed__4 = _init_l_Lake_DSL_term_x60_x2b_________closed__4(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__4); -l_Lake_DSL_term_x60_x2b_________closed__5 = _init_l_Lake_DSL_term_x60_x2b_________closed__5(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__5); -l_Lake_DSL_term_x60_x2b_________closed__6 = _init_l_Lake_DSL_term_x60_x2b_________closed__6(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__6); -l_Lake_DSL_term_x60_x2b_________closed__7 = _init_l_Lake_DSL_term_x60_x2b_________closed__7(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__7); -l_Lake_DSL_term_x60_x2b_________closed__8 = _init_l_Lake_DSL_term_x60_x2b_________closed__8(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__8); -l_Lake_DSL_term_x60_x2b_________closed__9 = _init_l_Lake_DSL_term_x60_x2b_________closed__9(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__9); -l_Lake_DSL_term_x60_x2b_________closed__10 = _init_l_Lake_DSL_term_x60_x2b_________closed__10(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__10); -l_Lake_DSL_term_x60_x2b_________closed__11 = _init_l_Lake_DSL_term_x60_x2b_________closed__11(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__11); -l_Lake_DSL_term_x60_x2b______ = _init_l_Lake_DSL_term_x60_x2b______(); -lean_mark_persistent(l_Lake_DSL_term_x60_x2b______); -l_Lake_DSL_term_x60_x40_______x2f___________closed__1 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__1(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__1); -l_Lake_DSL_term_x60_x40_______x2f___________closed__2 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__2(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__2); -l_Lake_DSL_term_x60_x40_______x2f___________closed__3 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__3(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__3); -l_Lake_DSL_term_x60_x40_______x2f___________closed__4 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__4(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__4); -l_Lake_DSL_term_x60_x40_______x2f___________closed__5 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__5(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__5); -l_Lake_DSL_term_x60_x40_______x2f___________closed__6 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__6(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__6); -l_Lake_DSL_term_x60_x40_______x2f___________closed__7 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__7(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__7); -l_Lake_DSL_term_x60_x40_______x2f___________closed__8 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__8(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__8); -l_Lake_DSL_term_x60_x40_______x2f___________closed__9 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__9(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__9); -l_Lake_DSL_term_x60_x40_______x2f___________closed__10 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__10(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__10); -l_Lake_DSL_term_x60_x40_______x2f___________closed__11 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__11(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__11); -l_Lake_DSL_term_x60_x40_______x2f___________closed__12 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__12(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__12); -l_Lake_DSL_term_x60_x40_______x2f___________closed__13 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__13(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__13); -l_Lake_DSL_term_x60_x40_______x2f___________closed__14 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__14(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__14); -l_Lake_DSL_term_x60_x40_______x2f___________closed__15 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__15(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__15); -l_Lake_DSL_term_x60_x40_______x2f___________closed__16 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__16(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__16); -l_Lake_DSL_term_x60_x40_______x2f___________closed__17 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__17(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__17); -l_Lake_DSL_term_x60_x40_______x2f___________closed__18 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__18(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__18); -l_Lake_DSL_term_x60_x40_______x2f___________closed__19 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__19(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__19); -l_Lake_DSL_term_x60_x40_______x2f________ = _init_l_Lake_DSL_term_x60_x40_______x2f________(); -lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f________); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__2(); @@ -2682,6 +1889,8 @@ l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets__ lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__16); l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17 = _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__17); +l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18 = _init_l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lake_DSL_Key_0__Lake_DSL_expandFacets___spec__2___closed__18); l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__1 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__1(); lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__1); l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__2 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__2(); @@ -2702,6 +1911,16 @@ l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___lambda__1___closed__9); l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1(); lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__1); +l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2); +l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3); +l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4); +l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___spec__1___closed__2); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1(); lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__1); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__2(); @@ -2736,6 +1955,10 @@ l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b_______ lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__16); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17(); lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__17); +l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18(); +lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__18); +l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19(); +lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x2b________1___closed__19); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__1 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__1); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__2 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__1___closed__2(); @@ -2758,6 +1981,10 @@ l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______ lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__8); l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__9 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__9(); lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___lambda__2___closed__9); +l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1(); +lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__1); +l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2 = _init_l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2(); +lean_mark_persistent(l_Lake_DSL___aux__Lake__DSL__Key______macroRules__Lake__DSL__term_x60_x40_______x2f__________1___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lake/DSL/Meta.c b/stage0/stdlib/Lake/DSL/Meta.c index 1b9e56b0a5..fd97533c2d 100644 --- a/stage0/stdlib/Lake/DSL/Meta.c +++ b/stage0/stdlib/Lake/DSL/Meta.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Meta -// Imports: Lean.Elab.Eval Lean.Elab.ElabRules Lake.Util.FilePath +// Imports: Lean.Elab.Eval Lean.Elab.ElabRules Lake.Util.FilePath Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,136 +13,95 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lake_DSL_cmdDo___closed__19; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__4; -LEAN_EXPORT lean_object* l_Lake_DSL_runIO; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabMetaIf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__21; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabRunIO___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__18; LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lambda__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*); lean_object* lean_get_set_stdout(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__3; -static lean_object* l_Lake_DSL_cmdDo___closed__8; lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_DSL_elabRunIO___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lake_DSL_elabRunIO___lambda__3___closed__4; LEAN_EXPORT lean_object* l_IO_withStderr___at_Lake_DSL_elabRunIO___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__6; -static lean_object* l_Lake_DSL_cmdDo___closed__13; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabMetaIf___closed__2; lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__7; -static lean_object* l_Lake_DSL_runIO___closed__6; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabRunIO___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__8; -static lean_object* l_Lake_DSL_metaIf___closed__7; static lean_object* l___regBuiltin_Lake_DSL_elabRunIO__1___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabRunIO___closed__4; static lean_object* l_Lake_DSL_elabRunIO___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__5; +static lean_object* l_Lake_DSL_expandCmdDo___closed__3; lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_cmdDo; uint8_t lean_string_validate_utf8(lean_object*); static lean_object* l_Lake_DSL_elabRunIO___closed__3; -static lean_object* l_Lake_DSL_metaIf___closed__15; static lean_object* l_Lake_DSL_elabRunIO___closed__1; -static lean_object* l_Lake_DSL_cmdDo___closed__22; static lean_object* l_Lake_DSL_elabRunIO___closed__8; LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__9; LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabMetaIf___lambda__1___closed__3; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_DSL_elabRunIO___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__14; -static lean_object* l_Lake_DSL_metaIf___closed__6; -static lean_object* l_Lake_DSL_metaIf___closed__8; -static lean_object* l_Lake_DSL_cmdDo___closed__17; +static lean_object* l_Lake_DSL_expandCmdDo___closed__7; static lean_object* l_Lake_DSL_elabMetaIf___lambda__2___closed__2; -static lean_object* l_Lake_DSL_cmdDo___closed__5; static lean_object* l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__2; -static lean_object* l_Lake_DSL_metaIf___closed__20; -static lean_object* l_Lake_DSL_cmdDo___closed__12; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; -static lean_object* l_Lake_DSL_metaIf___closed__16; -static lean_object* l_Lake_DSL_cmdDo___closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__21; extern lean_object* l_ByteArray_empty; -static lean_object* l_Lake_DSL_metaIf___closed__11; lean_object* l_Lean_Meta_evalExpr___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__1; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandCmdDo___closed__2; lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__9; -static lean_object* l_Lake_DSL_metaIf___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__3; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabRunIO___closed__6; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__12; +static lean_object* l_Lake_DSL_expandCmdDo___closed__6; extern lean_object* l_Lean_Elab_Term_termElabAttribute; -static lean_object* l_Lake_DSL_cmdDo___closed__10; static lean_object* l_Lake_DSL_expandCmdDo___closed__1; static lean_object* l_Lake_DSL_elabRunIO___closed__9; -static lean_object* l_Lake_DSL_cmdDo___closed__3; lean_object* l_panic___at_String_fromUTF8_x21___spec__1(lean_object*); -static lean_object* l_Lake_DSL_runIO___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___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*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__22; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__16; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabMetaIf___lambda__1___closed__1; lean_object* lean_get_set_stderr(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(lean_object*); lean_object* l_Lean_logAt___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__23; lean_object* lean_string_from_utf8_unchecked(lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__17; -static lean_object* l_Lake_DSL_cmdDo___closed__4; -static lean_object* l_Lake_DSL_cmdDo___closed__20; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__15; LEAN_EXPORT lean_object* l_Lake_DSL_toExprIO(lean_object*); +static lean_object* l_Lake_DSL_elabRunIO___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabRunIO__1(lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabRunIO__1___closed__1; static lean_object* l_Lake_DSL_elabRunIO___lambda__3___closed__2; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__9; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__18; -static lean_object* l_Lake_DSL_metaIf___closed__10; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__4; +static lean_object* l_Lake_DSL_elabMetaIf___closed__4; static lean_object* l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__3; static lean_object* l___regBuiltin_Lake_DSL_elabRunIO__1___closed__3; static lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1; @@ -150,42 +109,37 @@ lean_object* lean_get_set_stdin(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__4; static lean_object* l_Lake_DSL_elabRunIO___closed__2; static lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__5; -LEAN_EXPORT lean_object* l_Lake_DSL_metaIf; LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandCmdDo___closed__4; static lean_object* l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__1; -static lean_object* l_Lake_DSL_metaIf___closed__19; lean_object* lean_array_mk(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_evalTerm___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabRunIO__1___closed__4; lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__11; static lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabMetaIf__1(lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__13; lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_elabRunIO___closed__11; LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_metaIf___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO___lambda__1(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*); -static lean_object* l_Lake_DSL_metaIf___closed__14; static lean_object* l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__2; -static lean_object* l_Lake_DSL_runIO___closed__2; -static lean_object* l_Lake_DSL_metaIf___closed__2; static lean_object* l_Lake_DSL_elabMetaIf___lambda__2___closed__1; -static lean_object* l_Lake_DSL_runIO___closed__7; LEAN_EXPORT lean_object* l_Lake_DSL_toExprIO___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_cmdDo___closed__2; +static lean_object* l_Lake_DSL_elabRunIO___closed__10; +static lean_object* l_Lake_DSL_expandCmdDo___closed__5; static lean_object* l_Lake_DSL_elabMetaIf___closed__1; static lean_object* l_Lake_DSL_elabRunIO___lambda__3___closed__1; +static lean_object* l_Lake_DSL_elabMetaIf___closed__3; static lean_object* l_Lake_DSL_elabRunIO___lambda__3___closed__5; static lean_object* l_Lake_DSL_elabMetaIf___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_expandCmdDo(lean_object*); static lean_object* l_Lake_DSL_elabRunIO___closed__7; static lean_object* l_Lake_DSL_elabRunIO___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabMetaIf___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* _init_l_Lake_DSL_cmdDo___closed__1() { +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__1() { _start: { lean_object* x_1; @@ -193,7 +147,7 @@ x_1 = lean_mk_string_unchecked("Lake", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_cmdDo___closed__2() { +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__2() { _start: { lean_object* x_1; @@ -201,7 +155,7 @@ x_1 = lean_mk_string_unchecked("DSL", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_cmdDo___closed__3() { +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__3() { _start: { lean_object* x_1; @@ -209,212 +163,18 @@ x_1 = lean_mk_string_unchecked("cmdDo", 5, 5); return x_1; } } -static lean_object* _init_l_Lake_DSL_cmdDo___closed__4() { +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; -x_3 = l_Lake_DSL_cmdDo___closed__3; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; +x_3 = l_Lake_DSL_expandCmdDo___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_cmdDo___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("orelse", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_cmdDo___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("group", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_cmdDo___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_cmdDo___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("do", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_cmdDo___closed__11; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("many1Indent", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_cmdDo___closed__13; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("command", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_cmdDo___closed__15; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_cmdDo___closed__16; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(7, 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_DSL_cmdDo___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_cmdDo___closed__14; -x_2 = l_Lake_DSL_cmdDo___closed__17; -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_Lake_DSL_cmdDo___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_cmdDo___closed__12; -x_3 = l_Lake_DSL_cmdDo___closed__18; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_cmdDo___closed__8; -x_2 = l_Lake_DSL_cmdDo___closed__19; -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_Lake_DSL_cmdDo___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__6; -x_2 = l_Lake_DSL_cmdDo___closed__20; -x_3 = l_Lake_DSL_cmdDo___closed__17; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__3; -x_2 = l_Lake_DSL_cmdDo___closed__4; -x_3 = l_Lake_DSL_cmdDo___closed__21; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_cmdDo() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_cmdDo___closed__22; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__1() { +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -423,18 +183,36 @@ x_2 = lean_array_mk(x_1); return x_2; } } +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("group", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandCmdDo___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_expandCmdDo___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandCmdDo(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l_Lake_DSL_cmdDo___closed__4; +x_2 = l_Lake_DSL_expandCmdDo___closed__4; lean_inc(x_1); x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); if (x_3 == 0) { lean_object* x_4; lean_dec(x_1); -x_4 = l_Lake_DSL_expandCmdDo___closed__1; +x_4 = l_Lake_DSL_expandCmdDo___closed__5; return x_4; } else @@ -443,7 +221,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_unsigned_to_nat(0u); x_6 = l_Lean_Syntax_getArg(x_1, x_5); lean_dec(x_1); -x_7 = l_Lake_DSL_cmdDo___closed__8; +x_7 = l_Lake_DSL_expandCmdDo___closed__7; lean_inc(x_6); x_8 = l_Lean_Syntax_isOfKind(x_6, x_7); if (x_8 == 0) @@ -469,263 +247,6 @@ return x_14; } } } -static lean_object* _init_l_Lake_DSL_metaIf___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("metaIf", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; -x_3 = l_Lake_DSL_metaIf___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("meta ", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_metaIf___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("if ", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_metaIf___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__4; -x_3 = l_Lake_DSL_metaIf___closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_metaIf___closed__8; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_metaIf___closed__9; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(7, 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_DSL_metaIf___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__7; -x_3 = l_Lake_DSL_metaIf___closed__10; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" then ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_metaIf___closed__12; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__11; -x_3 = l_Lake_DSL_metaIf___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__14; -x_3 = l_Lake_DSL_cmdDo; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_metaIf___closed__16; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" else ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_metaIf___closed__18; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__19; -x_3 = l_Lake_DSL_cmdDo; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_metaIf___closed__17; -x_2 = l_Lake_DSL_metaIf___closed__20; -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_Lake_DSL_metaIf___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_metaIf___closed__15; -x_3 = l_Lake_DSL_metaIf___closed__21; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_metaIf___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_metaIf___closed__22; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_metaIf() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_metaIf___closed__23; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabMetaIf___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -1013,15 +534,34 @@ static lean_object* _init_l_Lake_DSL_elabMetaIf___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed meta if command", 26, 26); +x_1 = lean_mk_string_unchecked("metaIf", 6, 6); return x_1; } } static lean_object* _init_l_Lake_DSL_elabMetaIf___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; +x_3 = l_Lake_DSL_elabMetaIf___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabMetaIf___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed meta if command", 26, 26); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabMetaIf___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabMetaIf___closed__1; +x_1 = l_Lake_DSL_elabMetaIf___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -1030,13 +570,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabMetaIf(lean_object* x_1, lean_object* x_ _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_metaIf___closed__2; +x_5 = l_Lake_DSL_elabMetaIf___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabMetaIf___closed__2; +x_7 = l_Lake_DSL_elabMetaIf___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabMetaIf___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -1063,7 +603,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); -x_17 = l_Lake_DSL_elabMetaIf___closed__2; +x_17 = l_Lake_DSL_elabMetaIf___closed__4; x_18 = l_Lean_throwErrorAt___at_Lake_DSL_elabMetaIf___spec__1(x_1, x_17, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -1136,8 +676,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; x_3 = l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -1164,7 +704,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__3; -x_3 = l_Lake_DSL_metaIf___closed__2; +x_3 = l_Lake_DSL_elabMetaIf___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -1239,107 +779,6 @@ x_2 = lean_alloc_closure((void*)(l_Lake_DSL_toExprIO___rarg), 3, 0); return x_2; } } -static lean_object* _init_l_Lake_DSL_runIO___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("runIO", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; -x_3 = l_Lake_DSL_runIO___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("run_io ", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_runIO___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("doSeq", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_runIO___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_runIO___closed__6; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__10; -x_2 = l_Lake_DSL_runIO___closed__4; -x_3 = l_Lake_DSL_runIO___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_runIO___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_runIO___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_runIO___closed__8; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_runIO() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_runIO___closed__9; -return x_1; -} -} LEAN_EXPORT lean_object* l_IO_withStdout___at_Lake_DSL_elabRunIO___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: { @@ -2266,8 +1705,8 @@ static lean_object* _init_l_Lake_DSL_elabRunIO___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; x_3 = l_Lake_DSL_elabRunIO___lambda__3___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -2495,32 +1934,51 @@ return x_57; static lean_object* _init_l_Lake_DSL_elabRunIO___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = l_Lean_Level_succ___override(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("runIO", 5, 5); +return x_1; } } static lean_object* _init_l_Lake_DSL_elabRunIO___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabRunIO___closed__1; -x_2 = l_Lean_Expr_sort___override(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; +x_3 = l_Lake_DSL_elabRunIO___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lake_DSL_elabRunIO___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabRunIO___closed__2; +x_1 = lean_box(0); +x_2 = l_Lean_Level_succ___override(x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabRunIO___closed__3; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabRunIO___closed__4; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__4() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__6() { _start: { lean_object* x_1; @@ -2528,27 +1986,27 @@ x_1 = lean_mk_string_unchecked("IO", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__5() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabRunIO___closed__4; +x_2 = l_Lake_DSL_elabRunIO___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__6() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabRunIO___closed__5; +x_2 = l_Lake_DSL_elabRunIO___closed__7; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__7() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__9() { _start: { lean_object* x_1; @@ -2556,7 +2014,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__8() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__10() { _start: { lean_object* x_1; @@ -2564,14 +2022,22 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabRunIO___closed__9() { +static lean_object* _init_l_Lake_DSL_elabRunIO___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("do", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabRunIO___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_Lake_DSL_elabRunIO___lambda__3___closed__3; -x_2 = l_Lake_DSL_elabRunIO___closed__7; -x_3 = l_Lake_DSL_elabRunIO___closed__8; -x_4 = l_Lake_DSL_cmdDo___closed__11; +x_2 = l_Lake_DSL_elabRunIO___closed__9; +x_3 = l_Lake_DSL_elabRunIO___closed__10; +x_4 = l_Lake_DSL_elabRunIO___closed__11; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -2580,7 +2046,7 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabRunIO(lean_object* x_1, lean_object* x_2 _start: { lean_object* x_10; uint8_t x_11; -x_10 = l_Lake_DSL_runIO___closed__2; +x_10 = l_Lake_DSL_elabRunIO___closed__2; lean_inc(x_1); x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); if (x_11 == 0) @@ -2614,7 +2080,7 @@ x_19 = l_Lean_replaceRef(x_16, x_18); lean_dec(x_18); lean_inc(x_19); lean_ctor_set(x_7, 5, x_19); -x_20 = l_Lake_DSL_elabRunIO___closed__3; +x_20 = l_Lake_DSL_elabRunIO___closed__5; x_21 = 0; x_22 = lean_box(0); lean_inc(x_5); @@ -2654,14 +2120,14 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean x_32 = lean_ctor_get(x_29, 1); x_33 = lean_ctor_get(x_29, 0); lean_dec(x_33); -x_34 = l_Lake_DSL_elabRunIO___closed__6; +x_34 = l_Lake_DSL_elabRunIO___closed__8; x_35 = l_Lean_Expr_app___override(x_34, x_30); -x_36 = l_Lake_DSL_cmdDo___closed__11; +x_36 = l_Lake_DSL_elabRunIO___closed__11; lean_inc(x_28); lean_ctor_set_tag(x_29, 2); lean_ctor_set(x_29, 1, x_36); lean_ctor_set(x_29, 0, x_28); -x_37 = l_Lake_DSL_elabRunIO___closed__9; +x_37 = l_Lake_DSL_elabRunIO___closed__12; x_38 = l_Lean_Syntax_node2(x_28, x_37, x_29, x_16); x_39 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_39, 0, x_35); @@ -2868,14 +2334,14 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean x_78 = lean_ctor_get(x_29, 1); lean_inc(x_78); lean_dec(x_29); -x_79 = l_Lake_DSL_elabRunIO___closed__6; +x_79 = l_Lake_DSL_elabRunIO___closed__8; x_80 = l_Lean_Expr_app___override(x_79, x_30); -x_81 = l_Lake_DSL_cmdDo___closed__11; +x_81 = l_Lake_DSL_elabRunIO___closed__11; lean_inc(x_28); x_82 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_82, 0, x_28); lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lake_DSL_elabRunIO___closed__9; +x_83 = l_Lake_DSL_elabRunIO___closed__12; x_84 = l_Lean_Syntax_node2(x_28, x_83, x_82, x_16); x_85 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_85, 0, x_80); @@ -3137,7 +2603,7 @@ lean_ctor_set(x_142, 11, x_138); lean_ctor_set(x_142, 12, x_140); lean_ctor_set_uint8(x_142, sizeof(void*)*13, x_137); lean_ctor_set_uint8(x_142, sizeof(void*)*13 + 1, x_139); -x_143 = l_Lake_DSL_elabRunIO___closed__3; +x_143 = l_Lake_DSL_elabRunIO___closed__5; x_144 = 0; x_145 = lean_box(0); lean_inc(x_5); @@ -3180,9 +2646,9 @@ if (lean_is_exclusive(x_152)) { lean_dec_ref(x_152); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_elabRunIO___closed__6; +x_156 = l_Lake_DSL_elabRunIO___closed__8; x_157 = l_Lean_Expr_app___override(x_156, x_153); -x_158 = l_Lake_DSL_cmdDo___closed__11; +x_158 = l_Lake_DSL_elabRunIO___closed__11; lean_inc(x_151); if (lean_is_scalar(x_155)) { x_159 = lean_alloc_ctor(2, 2, 0); @@ -3192,7 +2658,7 @@ if (lean_is_scalar(x_155)) { } lean_ctor_set(x_159, 0, x_151); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lake_DSL_elabRunIO___closed__9; +x_160 = l_Lake_DSL_elabRunIO___closed__12; x_161 = l_Lean_Syntax_node2(x_151, x_160, x_159, x_16); x_162 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_162, 0, x_157); @@ -3478,8 +2944,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabRunIO__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_cmdDo___closed__1; -x_2 = l_Lake_DSL_cmdDo___closed__2; +x_1 = l_Lake_DSL_expandCmdDo___closed__1; +x_2 = l_Lake_DSL_expandCmdDo___closed__2; x_3 = l___regBuiltin_Lake_DSL_elabRunIO__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -3506,7 +2972,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabRunIO__1___closed__3; -x_3 = l_Lake_DSL_runIO___closed__2; +x_3 = l_Lake_DSL_elabRunIO___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabRunIO__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabRunIO__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -3516,6 +2982,7 @@ return x_6; lean_object* initialize_Lean_Elab_Eval(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_ElabRules(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Util_FilePath(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Meta(uint8_t builtin, lean_object* w) { lean_object * res; @@ -3530,102 +2997,23 @@ lean_dec_ref(res); res = initialize_Lake_Util_FilePath(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_cmdDo___closed__1 = _init_l_Lake_DSL_cmdDo___closed__1(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__1); -l_Lake_DSL_cmdDo___closed__2 = _init_l_Lake_DSL_cmdDo___closed__2(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__2); -l_Lake_DSL_cmdDo___closed__3 = _init_l_Lake_DSL_cmdDo___closed__3(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__3); -l_Lake_DSL_cmdDo___closed__4 = _init_l_Lake_DSL_cmdDo___closed__4(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__4); -l_Lake_DSL_cmdDo___closed__5 = _init_l_Lake_DSL_cmdDo___closed__5(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__5); -l_Lake_DSL_cmdDo___closed__6 = _init_l_Lake_DSL_cmdDo___closed__6(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__6); -l_Lake_DSL_cmdDo___closed__7 = _init_l_Lake_DSL_cmdDo___closed__7(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__7); -l_Lake_DSL_cmdDo___closed__8 = _init_l_Lake_DSL_cmdDo___closed__8(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__8); -l_Lake_DSL_cmdDo___closed__9 = _init_l_Lake_DSL_cmdDo___closed__9(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__9); -l_Lake_DSL_cmdDo___closed__10 = _init_l_Lake_DSL_cmdDo___closed__10(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__10); -l_Lake_DSL_cmdDo___closed__11 = _init_l_Lake_DSL_cmdDo___closed__11(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__11); -l_Lake_DSL_cmdDo___closed__12 = _init_l_Lake_DSL_cmdDo___closed__12(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__12); -l_Lake_DSL_cmdDo___closed__13 = _init_l_Lake_DSL_cmdDo___closed__13(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__13); -l_Lake_DSL_cmdDo___closed__14 = _init_l_Lake_DSL_cmdDo___closed__14(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__14); -l_Lake_DSL_cmdDo___closed__15 = _init_l_Lake_DSL_cmdDo___closed__15(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__15); -l_Lake_DSL_cmdDo___closed__16 = _init_l_Lake_DSL_cmdDo___closed__16(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__16); -l_Lake_DSL_cmdDo___closed__17 = _init_l_Lake_DSL_cmdDo___closed__17(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__17); -l_Lake_DSL_cmdDo___closed__18 = _init_l_Lake_DSL_cmdDo___closed__18(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__18); -l_Lake_DSL_cmdDo___closed__19 = _init_l_Lake_DSL_cmdDo___closed__19(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__19); -l_Lake_DSL_cmdDo___closed__20 = _init_l_Lake_DSL_cmdDo___closed__20(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__20); -l_Lake_DSL_cmdDo___closed__21 = _init_l_Lake_DSL_cmdDo___closed__21(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__21); -l_Lake_DSL_cmdDo___closed__22 = _init_l_Lake_DSL_cmdDo___closed__22(); -lean_mark_persistent(l_Lake_DSL_cmdDo___closed__22); -l_Lake_DSL_cmdDo = _init_l_Lake_DSL_cmdDo(); -lean_mark_persistent(l_Lake_DSL_cmdDo); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lake_DSL_expandCmdDo___closed__1 = _init_l_Lake_DSL_expandCmdDo___closed__1(); lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__1); -l_Lake_DSL_metaIf___closed__1 = _init_l_Lake_DSL_metaIf___closed__1(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__1); -l_Lake_DSL_metaIf___closed__2 = _init_l_Lake_DSL_metaIf___closed__2(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__2); -l_Lake_DSL_metaIf___closed__3 = _init_l_Lake_DSL_metaIf___closed__3(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__3); -l_Lake_DSL_metaIf___closed__4 = _init_l_Lake_DSL_metaIf___closed__4(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__4); -l_Lake_DSL_metaIf___closed__5 = _init_l_Lake_DSL_metaIf___closed__5(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__5); -l_Lake_DSL_metaIf___closed__6 = _init_l_Lake_DSL_metaIf___closed__6(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__6); -l_Lake_DSL_metaIf___closed__7 = _init_l_Lake_DSL_metaIf___closed__7(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__7); -l_Lake_DSL_metaIf___closed__8 = _init_l_Lake_DSL_metaIf___closed__8(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__8); -l_Lake_DSL_metaIf___closed__9 = _init_l_Lake_DSL_metaIf___closed__9(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__9); -l_Lake_DSL_metaIf___closed__10 = _init_l_Lake_DSL_metaIf___closed__10(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__10); -l_Lake_DSL_metaIf___closed__11 = _init_l_Lake_DSL_metaIf___closed__11(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__11); -l_Lake_DSL_metaIf___closed__12 = _init_l_Lake_DSL_metaIf___closed__12(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__12); -l_Lake_DSL_metaIf___closed__13 = _init_l_Lake_DSL_metaIf___closed__13(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__13); -l_Lake_DSL_metaIf___closed__14 = _init_l_Lake_DSL_metaIf___closed__14(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__14); -l_Lake_DSL_metaIf___closed__15 = _init_l_Lake_DSL_metaIf___closed__15(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__15); -l_Lake_DSL_metaIf___closed__16 = _init_l_Lake_DSL_metaIf___closed__16(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__16); -l_Lake_DSL_metaIf___closed__17 = _init_l_Lake_DSL_metaIf___closed__17(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__17); -l_Lake_DSL_metaIf___closed__18 = _init_l_Lake_DSL_metaIf___closed__18(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__18); -l_Lake_DSL_metaIf___closed__19 = _init_l_Lake_DSL_metaIf___closed__19(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__19); -l_Lake_DSL_metaIf___closed__20 = _init_l_Lake_DSL_metaIf___closed__20(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__20); -l_Lake_DSL_metaIf___closed__21 = _init_l_Lake_DSL_metaIf___closed__21(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__21); -l_Lake_DSL_metaIf___closed__22 = _init_l_Lake_DSL_metaIf___closed__22(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__22); -l_Lake_DSL_metaIf___closed__23 = _init_l_Lake_DSL_metaIf___closed__23(); -lean_mark_persistent(l_Lake_DSL_metaIf___closed__23); -l_Lake_DSL_metaIf = _init_l_Lake_DSL_metaIf(); -lean_mark_persistent(l_Lake_DSL_metaIf); +l_Lake_DSL_expandCmdDo___closed__2 = _init_l_Lake_DSL_expandCmdDo___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__2); +l_Lake_DSL_expandCmdDo___closed__3 = _init_l_Lake_DSL_expandCmdDo___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__3); +l_Lake_DSL_expandCmdDo___closed__4 = _init_l_Lake_DSL_expandCmdDo___closed__4(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__4); +l_Lake_DSL_expandCmdDo___closed__5 = _init_l_Lake_DSL_expandCmdDo___closed__5(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__5); +l_Lake_DSL_expandCmdDo___closed__6 = _init_l_Lake_DSL_expandCmdDo___closed__6(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__6); +l_Lake_DSL_expandCmdDo___closed__7 = _init_l_Lake_DSL_expandCmdDo___closed__7(); +lean_mark_persistent(l_Lake_DSL_expandCmdDo___closed__7); l_Lake_DSL_elabMetaIf___lambda__1___closed__1 = _init_l_Lake_DSL_elabMetaIf___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_elabMetaIf___lambda__1___closed__1); l_Lake_DSL_elabMetaIf___lambda__1___closed__2 = _init_l_Lake_DSL_elabMetaIf___lambda__1___closed__2(); @@ -3640,6 +3028,10 @@ l_Lake_DSL_elabMetaIf___closed__1 = _init_l_Lake_DSL_elabMetaIf___closed__1(); lean_mark_persistent(l_Lake_DSL_elabMetaIf___closed__1); l_Lake_DSL_elabMetaIf___closed__2 = _init_l_Lake_DSL_elabMetaIf___closed__2(); lean_mark_persistent(l_Lake_DSL_elabMetaIf___closed__2); +l_Lake_DSL_elabMetaIf___closed__3 = _init_l_Lake_DSL_elabMetaIf___closed__3(); +lean_mark_persistent(l_Lake_DSL_elabMetaIf___closed__3); +l_Lake_DSL_elabMetaIf___closed__4 = _init_l_Lake_DSL_elabMetaIf___closed__4(); +lean_mark_persistent(l_Lake_DSL_elabMetaIf___closed__4); l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__1); l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__2(); @@ -3651,27 +3043,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabMetaIf__1___closed__4); if (builtin) {res = l___regBuiltin_Lake_DSL_elabMetaIf__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_runIO___closed__1 = _init_l_Lake_DSL_runIO___closed__1(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__1); -l_Lake_DSL_runIO___closed__2 = _init_l_Lake_DSL_runIO___closed__2(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__2); -l_Lake_DSL_runIO___closed__3 = _init_l_Lake_DSL_runIO___closed__3(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__3); -l_Lake_DSL_runIO___closed__4 = _init_l_Lake_DSL_runIO___closed__4(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__4); -l_Lake_DSL_runIO___closed__5 = _init_l_Lake_DSL_runIO___closed__5(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__5); -l_Lake_DSL_runIO___closed__6 = _init_l_Lake_DSL_runIO___closed__6(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__6); -l_Lake_DSL_runIO___closed__7 = _init_l_Lake_DSL_runIO___closed__7(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__7); -l_Lake_DSL_runIO___closed__8 = _init_l_Lake_DSL_runIO___closed__8(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__8); -l_Lake_DSL_runIO___closed__9 = _init_l_Lake_DSL_runIO___closed__9(); -lean_mark_persistent(l_Lake_DSL_runIO___closed__9); -l_Lake_DSL_runIO = _init_l_Lake_DSL_runIO(); -lean_mark_persistent(l_Lake_DSL_runIO); -l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1(); +}l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1(); lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__1); l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__2 = _init_l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__2(); lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__2); @@ -3709,6 +3081,12 @@ l_Lake_DSL_elabRunIO___closed__8 = _init_l_Lake_DSL_elabRunIO___closed__8(); lean_mark_persistent(l_Lake_DSL_elabRunIO___closed__8); l_Lake_DSL_elabRunIO___closed__9 = _init_l_Lake_DSL_elabRunIO___closed__9(); lean_mark_persistent(l_Lake_DSL_elabRunIO___closed__9); +l_Lake_DSL_elabRunIO___closed__10 = _init_l_Lake_DSL_elabRunIO___closed__10(); +lean_mark_persistent(l_Lake_DSL_elabRunIO___closed__10); +l_Lake_DSL_elabRunIO___closed__11 = _init_l_Lake_DSL_elabRunIO___closed__11(); +lean_mark_persistent(l_Lake_DSL_elabRunIO___closed__11); +l_Lake_DSL_elabRunIO___closed__12 = _init_l_Lake_DSL_elabRunIO___closed__12(); +lean_mark_persistent(l_Lake_DSL_elabRunIO___closed__12); l___regBuiltin_Lake_DSL_elabRunIO__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabRunIO__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabRunIO__1___closed__1); l___regBuiltin_Lake_DSL_elabRunIO__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabRunIO__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/Package.c b/stage0/stdlib/Lake/DSL/Package.c index 606b950b2d..1d2f287756 100644 --- a/stage0/stdlib/Lake/DSL/Package.c +++ b/stage0/stdlib/Lake/DSL/Package.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Package -// Imports: Lake.Config.Package Lake.DSL.Attributes Lake.DSL.DeclUtil +// Imports: Lake.Config.Package Lake.DSL.Attributes Lake.DSL.DeclUtil Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,7 +14,6 @@ extern "C" { #endif static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__31; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__4; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__5; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25,24 +24,19 @@ lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_o static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__29; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__5; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__3; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__3; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; -static lean_object* l_Lake_DSL_packageCommand___closed__16; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; static lean_object* l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__30; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__17; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__18; -static lean_object* l_Lake_DSL_packageCommand___closed__22; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +static lean_object* l_Lake_DSL_elabPackageCommand___closed__4; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__21; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__5; -static lean_object* l_Lake_DSL_packageCommand___closed__23; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__17; -static lean_object* l_Lake_DSL_packageCommand___closed__27; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabPackageCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__16; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__28; @@ -51,31 +45,25 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__2___boxed(lea static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__10; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__8; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__25; -static lean_object* l_Lake_DSL_packageCommand___closed__12; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__2___closed__1; +static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; -extern lean_object* l_Lake_DSL_simpleBinder; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__34; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__22; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__26; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__14; static lean_object* l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -extern lean_object* l_Lake_DSL_optConfig; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__5; +static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__3; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__12; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__5; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__23; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; -static lean_object* l_Lake_DSL_packageCommand___closed__8; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__7; -extern lean_object* l_Lake_DSL_identOrStr; -LEAN_EXPORT lean_object* l_Lake_DSL_packageCommand; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__14; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__22; @@ -86,62 +74,52 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__27; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__8; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__1; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__12; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__8; -static lean_object* l_Lake_DSL_packageCommand___closed__1; static lean_object* l_Lake_DSL_elabPackageCommand___closed__1; lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__13; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__4; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__25; +static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; LEAN_EXPORT lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__17; LEAN_EXPORT lean_object* l_Lake_DSL_elabPackageCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__20; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; -static lean_object* l_Lake_DSL_packageCommand___closed__3; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__3; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__9; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__17; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__33; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; LEAN_EXPORT lean_object* l_Lake_DSL_instCoePackageCommandCommand(lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; static lean_object* l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__3; -static lean_object* l_Lake_DSL_packageCommand___closed__14; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__15; lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__21; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_postUpdateDecl___closed__6; -LEAN_EXPORT lean_object* l_Lake_DSL_postUpdateDecl; -static lean_object* l_Lake_DSL_packageCommand___closed__26; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__19; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__6; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__9; +static lean_object* l_Lake_DSL_expandPostUpdateDecl___closed__1; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__13; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__9; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__2; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; -static lean_object* l_Lake_DSL_packageCommand___closed__6; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__1; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__2(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_Lake_DSL_postUpdateDecl___closed__2; +static lean_object* l_Lake_DSL_expandPostUpdateDecl___closed__2; +static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1(lean_object*); extern lean_object* l_Lake_PackageConfig_instConfigMeta; -static lean_object* l_Lake_DSL_packageCommand___closed__13; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__16; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__1; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; @@ -158,7 +136,6 @@ lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(lean_object* static lean_object* l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__4; extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__18; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,29 +148,21 @@ uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__2; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__18; -static lean_object* l_Lake_DSL_packageCommand___closed__10; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__47; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__28; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___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*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__12; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__7; -static lean_object* l_Lake_DSL_packageCommand___closed__18; +static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__24; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__10; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___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* l_Array_append___rarg(lean_object*, lean_object*); -extern lean_object* l_Lake_DSL_declValDo; -static lean_object* l_Lake_DSL_packageCommand___closed__19; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17; static lean_object* l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; -static lean_object* l_Lake_DSL_packageCommand___closed__11; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__17; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__8; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__4; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; @@ -201,13 +170,10 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__5___boxed(lea LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__49; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__21; -static lean_object* l_Lake_DSL_packageCommand___closed__7; static lean_object* l_Lake_DSL_elabPackageCommand___closed__2; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__3; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__15; -static lean_object* l_Lake_DSL_packageCommand___closed__2; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__11; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__36; @@ -222,26 +188,21 @@ static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spe static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__15; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; -static lean_object* l_Lake_DSL_packageCommand___closed__25; uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_DSL_mkConfigFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkArray1___rarg(lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__20; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__16; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__7; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__27; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__1; -static lean_object* l_Lake_DSL_packageCommand___closed__24; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabPackageCommand__1(lean_object*); lean_object* lean_array_mk(lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__11; -static lean_object* l_Lake_DSL_packageCommand___closed__15; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__9; -static lean_object* l_Lake_DSL_postUpdateDecl___closed__11; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__6; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__51; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; @@ -250,21 +211,21 @@ static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__4; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageCommand___closed__9; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*); lean_object* l_Lake_DSL_mkConfigDeclIdent(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_postUpdateDecl___closed__13; static lean_object* l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__2; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__15; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__11; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__24; +static lean_object* l_Lake_DSL_elabPackageCommand___closed__3; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__2; static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__46; +static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20; static lean_object* l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__1; lean_object* l_String_toSubstring_x27(lean_object*); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__14; @@ -276,291 +237,6 @@ lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; static lean_object* l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__26; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; -static lean_object* _init_l_Lake_DSL_packageCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("packageCommand", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; -x_3 = l_Lake_DSL_packageCommand___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_packageCommand___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_packageCommand___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docComment", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_packageCommand___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_packageCommand___closed__10; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__8; -x_2 = l_Lake_DSL_packageCommand___closed__11; -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_Lake_DSL_packageCommand___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Parser", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("attributes", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__17() { -_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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; -x_4 = l_Lake_DSL_packageCommand___closed__16; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_packageCommand___closed__17; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__8; -x_2 = l_Lake_DSL_packageCommand___closed__18; -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_Lake_DSL_packageCommand___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_packageCommand___closed__12; -x_3 = l_Lake_DSL_packageCommand___closed__19; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("package ", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_packageCommand___closed__21; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_packageCommand___closed__20; -x_3 = l_Lake_DSL_packageCommand___closed__22; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__8; -x_2 = l_Lake_DSL_identOrStr; -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_Lake_DSL_packageCommand___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_packageCommand___closed__23; -x_3 = l_Lake_DSL_packageCommand___closed__24; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_packageCommand___closed__25; -x_3 = l_Lake_DSL_optConfig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__4; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_packageCommand___closed__26; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_packageCommand___closed__27; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabPackageCommand___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -632,7 +308,7 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Command", 7, 7); +x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } @@ -640,27 +316,23 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("whereStructInst", 15, 15); +x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Command", 7, 7); +return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declaration", 11, 11); +x_1 = lean_mk_string_unchecked("whereStructInst", 15, 15); return x_1; } } @@ -668,9 +340,9 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -680,7 +352,7 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); +x_1 = lean_mk_string_unchecked("declaration", 11, 11); return x_1; } } @@ -688,9 +360,9 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__7; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -700,21 +372,41 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("null", 4, 4); +x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___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_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___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_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__9; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -723,7 +415,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -731,19 +423,19 @@ x_1 = lean_mk_string_unchecked("definition", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16() { _start: { lean_object* x_1; @@ -751,7 +443,7 @@ x_1 = lean_mk_string_unchecked("def", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17() { _start: { lean_object* x_1; @@ -759,19 +451,19 @@ x_1 = lean_mk_string_unchecked("declId", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -780,13 +472,13 @@ x_2 = lean_array_mk(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -794,19 +486,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__20; 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_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__20() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__22() { _start: { lean_object* x_1; @@ -814,19 +506,27 @@ x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__20; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__22; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__22() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25() { _start: { lean_object* x_1; @@ -834,19 +534,19 @@ x_1 = lean_mk_string_unchecked("typeSpec", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__22; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27() { _start: { lean_object* x_1; @@ -933,7 +633,7 @@ lean_ctor_set(x_30, 0, x_16); lean_ctor_set(x_30, 1, x_29); x_31 = lean_array_mk(x_30); x_32 = lean_box(2); -x_33 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_33 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; x_34 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); @@ -957,50 +657,50 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_41, 1); x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_45 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_46 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_45 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_46 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_36); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_36); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_48 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_47, 6); lean_inc(x_36); x_49 = l_Lean_Syntax_node6(x_36, x_48, x_47, x_47, x_47, x_47, x_47, x_47); -x_50 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_50 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_36); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_50); lean_ctor_set(x_41, 0, x_36); -x_51 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_51 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_51); lean_ctor_set(x_37, 0, x_4); x_52 = lean_array_mk(x_37); -x_53 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_53 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_32); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_55 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_36); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_36); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_57 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_36); x_58 = l_Lean_Syntax_node2(x_36, x_57, x_56, x_5); lean_inc(x_36); x_59 = l_Lean_Syntax_node1(x_36, x_45, x_58); -x_60 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_60 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_47); lean_inc(x_36); x_61 = l_Lean_Syntax_node2(x_36, x_60, x_47, x_59); -x_62 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_62 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_36); x_63 = l_Lean_Syntax_node5(x_36, x_62, x_41, x_54, x_61, x_34, x_47); -x_64 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_64 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_65 = l_Lean_Syntax_node2(x_36, x_64, x_49, x_63); lean_inc(x_65); x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1014,50 +714,50 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_41, 1); lean_inc(x_68); lean_dec(x_41); -x_69 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_70 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_69 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_70 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_36); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_36); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_72 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_71, 6); lean_inc(x_36); x_73 = l_Lean_Syntax_node6(x_36, x_72, x_71, x_71, x_71, x_71, x_71, x_71); -x_74 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_74 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_36); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_76 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_76); lean_ctor_set(x_37, 0, x_4); x_77 = lean_array_mk(x_37); -x_78 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_78 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_32); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_77); -x_80 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_80 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_36); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_82 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_36); x_83 = l_Lean_Syntax_node2(x_36, x_82, x_81, x_5); lean_inc(x_36); x_84 = l_Lean_Syntax_node1(x_36, x_69, x_83); -x_85 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_85 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_71); lean_inc(x_36); x_86 = l_Lean_Syntax_node2(x_36, x_85, x_71, x_84); -x_87 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_87 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_36); x_88 = l_Lean_Syntax_node5(x_36, x_87, x_75, x_79, x_86, x_34, x_71); -x_89 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_89 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_90 = l_Lean_Syntax_node2(x_36, x_89, x_73, x_88); lean_inc(x_90); x_91 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1083,18 +783,18 @@ if (lean_is_exclusive(x_94)) { lean_dec_ref(x_94); x_96 = lean_box(0); } -x_97 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_98 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_97 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_98 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_36); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_36); lean_ctor_set(x_99, 1, x_97); lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_100 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_99, 6); lean_inc(x_36); x_101 = l_Lean_Syntax_node6(x_36, x_100, x_99, x_99, x_99, x_99, x_99, x_99); -x_102 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_102 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_36); if (lean_is_scalar(x_96)) { x_103 = lean_alloc_ctor(2, 2, 0); @@ -1104,34 +804,34 @@ if (lean_is_scalar(x_96)) { } lean_ctor_set(x_103, 0, x_36); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_104 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_4); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_mk(x_105); -x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_32); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); -x_109 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_109 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_36); x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_36); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_111 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_36); x_112 = l_Lean_Syntax_node2(x_36, x_111, x_110, x_5); lean_inc(x_36); x_113 = l_Lean_Syntax_node1(x_36, x_97, x_112); -x_114 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_114 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_99); lean_inc(x_36); x_115 = l_Lean_Syntax_node2(x_36, x_114, x_99, x_113); -x_116 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_116 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_36); x_117 = l_Lean_Syntax_node5(x_36, x_116, x_103, x_108, x_115, x_34, x_99); -x_118 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_118 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_119 = l_Lean_Syntax_node2(x_36, x_118, x_101, x_117); lean_inc(x_119); x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1161,7 +861,7 @@ lean_ctor_set(x_127, 0, x_16); lean_ctor_set(x_127, 1, x_126); x_128 = lean_array_mk(x_127); x_129 = lean_box(2); -x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_129); lean_ctor_set(x_131, 1, x_130); @@ -1191,18 +891,18 @@ if (lean_is_exclusive(x_137)) { lean_dec_ref(x_137); x_139 = lean_box(0); } -x_140 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_141 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_140 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_141 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_133); x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_133); lean_ctor_set(x_142, 1, x_140); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_143 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_142, 6); lean_inc(x_133); x_144 = l_Lean_Syntax_node6(x_133, x_143, x_142, x_142, x_142, x_142, x_142, x_142); -x_145 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_145 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_133); if (lean_is_scalar(x_139)) { x_146 = lean_alloc_ctor(2, 2, 0); @@ -1212,7 +912,7 @@ if (lean_is_scalar(x_139)) { } lean_ctor_set(x_146, 0, x_133); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_147 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; if (lean_is_scalar(x_136)) { x_148 = lean_alloc_ctor(1, 2, 0); } else { @@ -1222,29 +922,29 @@ if (lean_is_scalar(x_136)) { lean_ctor_set(x_148, 0, x_4); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_mk(x_148); -x_150 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_150 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_129); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_133); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_133); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_133); x_155 = l_Lean_Syntax_node2(x_133, x_154, x_153, x_5); lean_inc(x_133); x_156 = l_Lean_Syntax_node1(x_133, x_140, x_155); -x_157 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_157 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_142); lean_inc(x_133); x_158 = l_Lean_Syntax_node2(x_133, x_157, x_142, x_156); -x_159 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_159 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_133); x_160 = l_Lean_Syntax_node5(x_133, x_159, x_146, x_151, x_158, x_131, x_142); -x_161 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_161 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_162 = l_Lean_Syntax_node2(x_133, x_161, x_144, x_160); lean_inc(x_162); x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1289,22 +989,38 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("optConfig", 9, 9); +x_1 = lean_mk_string_unchecked("Lake", 4, 4); return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DSL", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("optConfig", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__3() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__5() { _start: { lean_object* x_1; @@ -1312,16 +1028,16 @@ x_1 = lean_mk_string_unchecked("ill-formed configuration syntax", 31, 31); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__3; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__5() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__7() { _start: { lean_object* x_1; @@ -1329,31 +1045,12 @@ x_1 = lean_mk_string_unchecked("declValWhere", 12, 12); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__5; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("declValStruct", 13, 13); -return x_1; -} -} static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__7; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -1363,7 +1060,7 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("structVal", 9, 9); +x_1 = lean_mk_string_unchecked("declValStruct", 13, 13); return x_1; } } @@ -1371,8 +1068,8 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__9; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -1382,27 +1079,26 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("structInstFields", 16, 16); +x_1 = lean_mk_string_unchecked("structVal", 9, 9); return x_1; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___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_Lake_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; -x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__11; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__11; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__13() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); +x_1 = lean_mk_string_unchecked("structInstFields", 16, 16); return x_1; } } @@ -1410,9 +1106,9 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__13; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -1421,6 +1117,26 @@ return x_5; static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__15() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___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_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__15; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__17() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__1; @@ -1430,7 +1146,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16() { +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -1439,32 +1155,6 @@ x_2 = l_Lean_mkOptionalNode(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; -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_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17; -x_4 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19() { _start: { @@ -1477,11 +1167,37 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20; +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; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___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) { _start: { lean_object* x_8; uint8_t x_9; -x_8 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; +x_8 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; lean_inc(x_4); x_9 = l_Lean_Syntax_isOfKind(x_4, x_8); if (x_9 == 0) @@ -1490,7 +1206,7 @@ lean_object* x_10; lean_object* x_11; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_10 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_10 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_11 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_10, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1516,7 +1232,7 @@ lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_17 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_18 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_17, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1527,13 +1243,13 @@ else lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = l_Lean_Syntax_getArg(x_13, x_12); lean_dec(x_13); -x_20 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; +x_20 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__8; lean_inc(x_19); x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); if (x_21 == 0) { lean_object* x_22; uint8_t x_23; -x_22 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__8; +x_22 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__10; lean_inc(x_19); x_23 = l_Lean_Syntax_isOfKind(x_19, x_22); if (x_23 == 0) @@ -1543,7 +1259,7 @@ lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_25 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_24, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1553,7 +1269,7 @@ else { lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = l_Lean_Syntax_getArg(x_19, x_12); -x_27 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__10; +x_27 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; lean_inc(x_26); x_28 = l_Lean_Syntax_isOfKind(x_26, x_27); if (x_28 == 0) @@ -1564,7 +1280,7 @@ lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_29 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_30 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_29, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1576,7 +1292,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; x_31 = l_Lean_Syntax_getArg(x_26, x_12); x_32 = l_Lean_Syntax_getArg(x_26, x_15); lean_dec(x_26); -x_33 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_33 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_32); x_34 = l_Lean_Syntax_isOfKind(x_32, x_33); if (x_34 == 0) @@ -1588,7 +1304,7 @@ lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_35 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_35 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_36 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_35, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1616,7 +1332,7 @@ lean_dec(x_31); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_41 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_41 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_42 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_41, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1627,7 +1343,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_12); lean_dec(x_38); -x_44 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; +x_44 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -1639,7 +1355,7 @@ lean_dec(x_31); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_46 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_47 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_46, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1678,7 +1394,7 @@ else lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; x_54 = l_Lean_Syntax_getArg(x_19, x_12); x_55 = l_Lean_Syntax_getArg(x_19, x_15); -x_56 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_56 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_55); x_57 = l_Lean_Syntax_isOfKind(x_55, x_56); if (x_57 == 0) @@ -1690,7 +1406,7 @@ lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_58 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_58 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_59 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_58, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1719,7 +1435,7 @@ lean_dec(x_54); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_65 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_65 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_66 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_65, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1730,7 +1446,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_12); lean_dec(x_62); -x_68 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; +x_68 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -1742,7 +1458,7 @@ lean_dec(x_54); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_70 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__4; +x_70 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__6; x_71 = l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(x_4, x_70, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); @@ -1783,7 +1499,7 @@ lean_dec(x_13); x_78 = l_Lake_PackageConfig_instConfigMeta; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__17; +x_80 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; lean_inc(x_5); x_81 = l_Lake_DSL_mkConfigFields(x_1, x_79, x_80, x_5, x_6, x_7); lean_dec(x_79); @@ -1795,17 +1511,17 @@ lean_inc(x_82); x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); lean_dec(x_81); -x_84 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__17; +x_84 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_82); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__15; +x_86 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__17; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); x_88 = lean_array_mk(x_87); x_89 = lean_box(2); -x_90 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_90 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; x_91 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_91, 0, x_89); lean_ctor_set(x_91, 1, x_90); @@ -1836,50 +1552,50 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 1); x_105 = lean_ctor_get(x_102, 0); lean_dec(x_105); -x_106 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_106 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_97); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_106); lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_109 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_108, 6); lean_inc(x_97); x_110 = l_Lean_Syntax_node6(x_97, x_109, x_108, x_108, x_108, x_108, x_108, x_108); -x_111 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_111 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_97); lean_ctor_set_tag(x_102, 2); lean_ctor_set(x_102, 1, x_111); lean_ctor_set(x_102, 0, x_97); -x_112 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19; +x_112 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21; lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_112); lean_ctor_set(x_98, 0, x_2); x_113 = lean_array_mk(x_98); -x_114 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_114 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_89); lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_116 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_116); lean_ctor_set(x_92, 0, x_97); -x_117 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_117 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_97); x_118 = l_Lean_Syntax_node2(x_97, x_117, x_92, x_3); lean_inc(x_97); x_119 = l_Lean_Syntax_node1(x_97, x_106, x_118); -x_120 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_120 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_108); lean_inc(x_97); x_121 = l_Lean_Syntax_node2(x_97, x_120, x_108, x_119); -x_122 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_122 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_97); x_123 = l_Lean_Syntax_node5(x_97, x_122, x_102, x_115, x_121, x_91, x_108); -x_124 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_124 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_125 = l_Lean_Syntax_node2(x_97, x_124, x_110, x_123); lean_inc(x_125); x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1893,50 +1609,50 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_128 = lean_ctor_get(x_102, 1); lean_inc(x_128); lean_dec(x_102); -x_129 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_129 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_97); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_97); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_132 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_131, 6); lean_inc(x_97); x_133 = l_Lean_Syntax_node6(x_97, x_132, x_131, x_131, x_131, x_131, x_131, x_131); -x_134 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_134 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_97); x_135 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_135, 0, x_97); lean_ctor_set(x_135, 1, x_134); -x_136 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19; +x_136 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21; lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_136); lean_ctor_set(x_98, 0, x_2); x_137 = lean_array_mk(x_98); -x_138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_89); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_140 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_140); lean_ctor_set(x_92, 0, x_97); -x_141 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_141 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_97); x_142 = l_Lean_Syntax_node2(x_97, x_141, x_92, x_3); lean_inc(x_97); x_143 = l_Lean_Syntax_node1(x_97, x_129, x_142); -x_144 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_144 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_131); lean_inc(x_97); x_145 = l_Lean_Syntax_node2(x_97, x_144, x_131, x_143); -x_146 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_146 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_97); x_147 = l_Lean_Syntax_node5(x_97, x_146, x_135, x_139, x_145, x_91, x_131); -x_148 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_148 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_149 = l_Lean_Syntax_node2(x_97, x_148, x_133, x_147); lean_inc(x_149); x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -1962,18 +1678,18 @@ if (lean_is_exclusive(x_153)) { lean_dec_ref(x_153); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_157 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_156 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_157 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_97); x_158 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_158, 0, x_97); lean_ctor_set(x_158, 1, x_156); lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_159 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_158, 6); lean_inc(x_97); x_160 = l_Lean_Syntax_node6(x_97, x_159, x_158, x_158, x_158, x_158, x_158, x_158); -x_161 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_161 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_97); if (lean_is_scalar(x_155)) { x_162 = lean_alloc_ctor(2, 2, 0); @@ -1983,34 +1699,34 @@ if (lean_is_scalar(x_155)) { } lean_ctor_set(x_162, 0, x_97); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19; +x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21; x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_2); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_mk(x_164); -x_166 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_166 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_89); lean_ctor_set(x_167, 1, x_166); lean_ctor_set(x_167, 2, x_165); -x_168 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_168 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_168); lean_ctor_set(x_92, 0, x_97); -x_169 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_169 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_97); x_170 = l_Lean_Syntax_node2(x_97, x_169, x_92, x_3); lean_inc(x_97); x_171 = l_Lean_Syntax_node1(x_97, x_156, x_170); -x_172 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_172 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_158); lean_inc(x_97); x_173 = l_Lean_Syntax_node2(x_97, x_172, x_158, x_171); -x_174 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_174 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_97); x_175 = l_Lean_Syntax_node5(x_97, x_174, x_162, x_167, x_173, x_91, x_158); -x_176 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_176 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_177 = l_Lean_Syntax_node2(x_97, x_176, x_160, x_175); lean_inc(x_177); x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -2052,18 +1768,18 @@ if (lean_is_exclusive(x_187)) { lean_dec_ref(x_187); x_189 = lean_box(0); } -x_190 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_191 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_190 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_191 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_183); x_192 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_192, 0, x_183); lean_ctor_set(x_192, 1, x_190); lean_ctor_set(x_192, 2, x_191); -x_193 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_193 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_192, 6); lean_inc(x_183); x_194 = l_Lean_Syntax_node6(x_183, x_193, x_192, x_192, x_192, x_192, x_192, x_192); -x_195 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_195 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_183); if (lean_is_scalar(x_189)) { x_196 = lean_alloc_ctor(2, 2, 0); @@ -2073,7 +1789,7 @@ if (lean_is_scalar(x_189)) { } lean_ctor_set(x_196, 0, x_183); lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19; +x_197 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21; if (lean_is_scalar(x_186)) { x_198 = lean_alloc_ctor(1, 2, 0); } else { @@ -2083,29 +1799,29 @@ if (lean_is_scalar(x_186)) { lean_ctor_set(x_198, 0, x_2); lean_ctor_set(x_198, 1, x_197); x_199 = lean_array_mk(x_198); -x_200 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_200 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_89); lean_ctor_set(x_201, 1, x_200); lean_ctor_set(x_201, 2, x_199); -x_202 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_202 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_183); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_183); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_204 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_183); x_205 = l_Lean_Syntax_node2(x_183, x_204, x_203, x_3); lean_inc(x_183); x_206 = l_Lean_Syntax_node1(x_183, x_190, x_205); -x_207 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_207 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_192); lean_inc(x_183); x_208 = l_Lean_Syntax_node2(x_183, x_207, x_192, x_206); -x_209 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_209 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_183); x_210 = l_Lean_Syntax_node5(x_183, x_209, x_196, x_201, x_208, x_91, x_192); -x_211 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_211 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_212 = l_Lean_Syntax_node2(x_183, x_211, x_194, x_210); lean_inc(x_212); x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -2184,7 +1900,7 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__5( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__1; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__4; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -2202,9 +1918,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__7( _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2222,9 +1938,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__9( _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__8; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2250,8 +1966,8 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___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_Lake_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; x_3 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__10; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__11; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); @@ -2305,9 +2021,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__18 _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__17; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2333,9 +2049,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__21 _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__20; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2353,9 +2069,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__23 _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__22; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2400,9 +2116,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__28 _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__27; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2463,9 +2179,9 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__35 _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__34; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -2483,19 +2199,39 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__37 _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("@[", 2, 2); +x_1 = lean_mk_string_unchecked("attributes", 10, 10); return x_1; } } static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__38() { _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_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("@[", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__40() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("]", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__39() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__41() { _start: { lean_object* x_1; @@ -2503,19 +2239,19 @@ x_1 = lean_mk_string_unchecked("abbrev", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__40() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__42() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__41() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__43() { _start: { lean_object* x_1; @@ -2523,33 +2259,13 @@ x_1 = lean_mk_string_unchecked("PackageDecl", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; } } static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__45() { @@ -2557,21 +2273,19 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__46() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__47() { @@ -2589,16 +2303,38 @@ return x_3; static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__48() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__46; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__49() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; -x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__47; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +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_Lake_DSL_elabPackageCommand___lambda__1___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__47; +x_2 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__49; 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_Lake_DSL_elabPackageCommand___lambda__1___closed__49() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__51() { _start: { lean_object* x_1; @@ -2606,19 +2342,19 @@ x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__50() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__52() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; -x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__49; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__4; +x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__51; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__51() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__53() { _start: { lean_object* x_1; @@ -2626,7 +2362,7 @@ x_1 = lean_mk_string_unchecked("Termination", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__52() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__54() { _start: { lean_object* x_1; @@ -2634,23 +2370,23 @@ x_1 = lean_mk_string_unchecked("suffix", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__53() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__55() { _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__51; -x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_4 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__54() { +static lean_object* _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__56() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } @@ -2844,8 +2580,8 @@ if (x_61 == 0) 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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; x_62 = lean_ctor_get(x_60, 0); x_63 = lean_ctor_get(x_60, 1); -x_64 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_65 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_64 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_65 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_55); x_66 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_66, 0, x_55); @@ -2968,7 +2704,7 @@ lean_inc(x_86); x_117 = l_Lean_Syntax_node2(x_86, x_107, x_114, x_116); lean_inc(x_86); x_118 = l_Lean_Syntax_node3(x_86, x_64, x_108, x_82, x_117); -x_119 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_119 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_86); x_120 = l_Lean_Syntax_node1(x_86, x_119, x_118); x_121 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -3006,7 +2742,7 @@ if (x_136 == 0) lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; x_137 = lean_ctor_get(x_135, 0); x_138 = lean_ctor_get(x_135, 1); -x_139 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_139 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_130); lean_ctor_set_tag(x_135, 2); lean_ctor_set(x_135, 1, x_139); @@ -3020,12 +2756,12 @@ x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_130); lean_ctor_set(x_142, 1, x_64); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_143 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_130); lean_ctor_set_tag(x_131, 2); lean_ctor_set(x_131, 1, x_143); lean_ctor_set(x_131, 0, x_130); -x_144 = l_Lake_DSL_packageCommand___closed__17; +x_144 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_130); x_145 = l_Lean_Syntax_node3(x_130, x_144, x_135, x_142, x_131); lean_inc(x_130); @@ -3035,43 +2771,43 @@ x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_130); lean_ctor_set(x_147, 1, x_64); lean_ctor_set(x_147, 2, x_65); -x_148 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_148 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_130); lean_ctor_set_tag(x_126, 2); lean_ctor_set(x_126, 1, x_148); lean_ctor_set(x_126, 0, x_130); -x_149 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_149 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_149); lean_ctor_set(x_51, 0, x_81); x_150 = lean_array_mk(x_51); x_151 = lean_box(2); -x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_153 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_153, 0, x_151); lean_ctor_set(x_153, 1, x_152); lean_ctor_set(x_153, 2, x_150); -x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_130); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_154); lean_ctor_set(x_28, 0, x_130); -x_155 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_155 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_156 = l_Lean_addMacroScope(x_137, x_155, x_133); -x_157 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_158 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_157 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_158 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_130); x_159 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_159, 0, x_130); lean_ctor_set(x_159, 1, x_157); lean_ctor_set(x_159, 2, x_156); lean_ctor_set(x_159, 3, x_158); -x_160 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_160 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_130); x_161 = l_Lean_Syntax_node2(x_130, x_160, x_28, x_159); lean_inc(x_130); x_162 = l_Lean_Syntax_node1(x_130, x_64, x_161); -x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_147); lean_inc(x_130); x_164 = l_Lean_Syntax_node2(x_130, x_163, x_147, x_162); @@ -3079,31 +2815,31 @@ lean_inc(x_130); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_103); lean_ctor_set(x_22, 0, x_130); -x_165 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_165 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_147, 2); lean_inc(x_130); x_166 = l_Lean_Syntax_node2(x_130, x_165, x_147, x_147); -x_167 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_167 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_147); lean_inc(x_130); x_168 = l_Lean_Syntax_node4(x_130, x_167, x_22, x_125, x_166, x_147); -x_169 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_169 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_130); x_170 = l_Lean_Syntax_node4(x_130, x_169, x_126, x_153, x_164, x_168); if (lean_obj_tag(x_16) == 0) { lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_171 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_171 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_130); x_172 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_172, 0, x_130); lean_ctor_set(x_172, 1, x_64); lean_ctor_set(x_172, 2, x_171); -x_173 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_173 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_147, 3); lean_inc(x_130); x_174 = l_Lean_Syntax_node6(x_130, x_173, x_172, x_146, x_147, x_147, x_147, x_147); -x_175 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_175 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_176 = l_Lean_Syntax_node2(x_130, x_175, x_174, x_170); lean_inc(x_176); x_177 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3125,11 +2861,11 @@ x_182 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_182, 0, x_130); lean_ctor_set(x_182, 1, x_64); lean_ctor_set(x_182, 2, x_181); -x_183 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_183 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_147, 3); lean_inc(x_130); x_184 = l_Lean_Syntax_node6(x_130, x_183, x_182, x_146, x_147, x_147, x_147, x_147); -x_185 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_185 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_186 = l_Lean_Syntax_node2(x_130, x_185, x_184, x_170); lean_inc(x_186); x_187 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3146,7 +2882,7 @@ x_190 = lean_ctor_get(x_135, 1); lean_inc(x_190); lean_inc(x_189); lean_dec(x_135); -x_191 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_191 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_130); x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_130); @@ -3160,12 +2896,12 @@ x_195 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_195, 0, x_130); lean_ctor_set(x_195, 1, x_64); lean_ctor_set(x_195, 2, x_194); -x_196 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_196 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_130); lean_ctor_set_tag(x_131, 2); lean_ctor_set(x_131, 1, x_196); lean_ctor_set(x_131, 0, x_130); -x_197 = l_Lake_DSL_packageCommand___closed__17; +x_197 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_130); x_198 = l_Lean_Syntax_node3(x_130, x_197, x_192, x_195, x_131); lean_inc(x_130); @@ -3175,43 +2911,43 @@ x_200 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_200, 0, x_130); lean_ctor_set(x_200, 1, x_64); lean_ctor_set(x_200, 2, x_65); -x_201 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_201 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_130); lean_ctor_set_tag(x_126, 2); lean_ctor_set(x_126, 1, x_201); lean_ctor_set(x_126, 0, x_130); -x_202 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_202 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_202); lean_ctor_set(x_51, 0, x_81); x_203 = lean_array_mk(x_51); x_204 = lean_box(2); -x_205 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_205 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_206 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_206, 0, x_204); lean_ctor_set(x_206, 1, x_205); lean_ctor_set(x_206, 2, x_203); -x_207 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_207 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_130); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_207); lean_ctor_set(x_28, 0, x_130); -x_208 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_208 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_209 = l_Lean_addMacroScope(x_189, x_208, x_133); -x_210 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_211 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_210 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_211 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_130); x_212 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_212, 0, x_130); lean_ctor_set(x_212, 1, x_210); lean_ctor_set(x_212, 2, x_209); lean_ctor_set(x_212, 3, x_211); -x_213 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_213 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_130); x_214 = l_Lean_Syntax_node2(x_130, x_213, x_28, x_212); lean_inc(x_130); x_215 = l_Lean_Syntax_node1(x_130, x_64, x_214); -x_216 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_216 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_200); lean_inc(x_130); x_217 = l_Lean_Syntax_node2(x_130, x_216, x_200, x_215); @@ -3219,31 +2955,31 @@ lean_inc(x_130); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_103); lean_ctor_set(x_22, 0, x_130); -x_218 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_218 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_200, 2); lean_inc(x_130); x_219 = l_Lean_Syntax_node2(x_130, x_218, x_200, x_200); -x_220 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_220 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_200); lean_inc(x_130); x_221 = l_Lean_Syntax_node4(x_130, x_220, x_22, x_125, x_219, x_200); -x_222 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_222 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_130); x_223 = l_Lean_Syntax_node4(x_130, x_222, x_126, x_206, x_217, x_221); if (lean_obj_tag(x_16) == 0) { lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_224 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_224 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_130); x_225 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_225, 0, x_130); lean_ctor_set(x_225, 1, x_64); lean_ctor_set(x_225, 2, x_224); -x_226 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_226 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_200, 3); lean_inc(x_130); x_227 = l_Lean_Syntax_node6(x_130, x_226, x_225, x_199, x_200, x_200, x_200, x_200); -x_228 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_228 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_229 = l_Lean_Syntax_node2(x_130, x_228, x_227, x_223); lean_inc(x_229); x_230 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3265,11 +3001,11 @@ x_235 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_235, 0, x_130); lean_ctor_set(x_235, 1, x_64); lean_ctor_set(x_235, 2, x_234); -x_236 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_236 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_200, 3); lean_inc(x_130); x_237 = l_Lean_Syntax_node6(x_130, x_236, x_235, x_199, x_200, x_200, x_200, x_200); -x_238 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_238 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_239 = l_Lean_Syntax_node2(x_130, x_238, x_237, x_223); lean_inc(x_239); x_240 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3300,7 +3036,7 @@ if (lean_is_exclusive(x_244)) { lean_dec_ref(x_244); x_247 = lean_box(0); } -x_248 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_248 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_130); if (lean_is_scalar(x_247)) { x_249 = lean_alloc_ctor(2, 2, 0); @@ -3319,12 +3055,12 @@ x_252 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_252, 0, x_130); lean_ctor_set(x_252, 1, x_64); lean_ctor_set(x_252, 2, x_251); -x_253 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_253 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_130); x_254 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_254, 0, x_130); lean_ctor_set(x_254, 1, x_253); -x_255 = l_Lake_DSL_packageCommand___closed__17; +x_255 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_130); x_256 = l_Lean_Syntax_node3(x_130, x_255, x_249, x_252, x_254); lean_inc(x_130); @@ -3334,43 +3070,43 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_130); lean_ctor_set(x_258, 1, x_64); lean_ctor_set(x_258, 2, x_65); -x_259 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_259 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_130); lean_ctor_set_tag(x_126, 2); lean_ctor_set(x_126, 1, x_259); lean_ctor_set(x_126, 0, x_130); -x_260 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_260 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_260); lean_ctor_set(x_51, 0, x_81); x_261 = lean_array_mk(x_51); x_262 = lean_box(2); -x_263 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_263 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_264 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_264, 0, x_262); lean_ctor_set(x_264, 1, x_263); lean_ctor_set(x_264, 2, x_261); -x_265 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_265 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_130); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_265); lean_ctor_set(x_28, 0, x_130); -x_266 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_266 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_267 = l_Lean_addMacroScope(x_245, x_266, x_242); -x_268 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_269 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_268 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_269 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_130); x_270 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_270, 0, x_130); lean_ctor_set(x_270, 1, x_268); lean_ctor_set(x_270, 2, x_267); lean_ctor_set(x_270, 3, x_269); -x_271 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_271 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_130); x_272 = l_Lean_Syntax_node2(x_130, x_271, x_28, x_270); lean_inc(x_130); x_273 = l_Lean_Syntax_node1(x_130, x_64, x_272); -x_274 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_274 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_258); lean_inc(x_130); x_275 = l_Lean_Syntax_node2(x_130, x_274, x_258, x_273); @@ -3378,31 +3114,31 @@ lean_inc(x_130); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_103); lean_ctor_set(x_22, 0, x_130); -x_276 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_276 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_258, 2); lean_inc(x_130); x_277 = l_Lean_Syntax_node2(x_130, x_276, x_258, x_258); -x_278 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_278 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_258); lean_inc(x_130); x_279 = l_Lean_Syntax_node4(x_130, x_278, x_22, x_125, x_277, x_258); -x_280 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_280 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_130); x_281 = l_Lean_Syntax_node4(x_130, x_280, x_126, x_264, x_275, x_279); if (lean_obj_tag(x_16) == 0) { lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_282 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_282 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_130); x_283 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_283, 0, x_130); lean_ctor_set(x_283, 1, x_64); lean_ctor_set(x_283, 2, x_282); -x_284 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_284 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_258, 3); lean_inc(x_130); x_285 = l_Lean_Syntax_node6(x_130, x_284, x_283, x_257, x_258, x_258, x_258, x_258); -x_286 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_286 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_287 = l_Lean_Syntax_node2(x_130, x_286, x_285, x_281); lean_inc(x_287); x_288 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3424,11 +3160,11 @@ x_293 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_293, 0, x_130); lean_ctor_set(x_293, 1, x_64); lean_ctor_set(x_293, 2, x_292); -x_294 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_294 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_258, 3); lean_inc(x_130); x_295 = l_Lean_Syntax_node6(x_130, x_294, x_293, x_257, x_258, x_258, x_258, x_258); -x_296 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_296 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_297 = l_Lean_Syntax_node2(x_130, x_296, x_295, x_281); lean_inc(x_297); x_298 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3474,7 +3210,7 @@ if (lean_is_exclusive(x_307)) { lean_dec_ref(x_307); x_310 = lean_box(0); } -x_311 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_311 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_302); if (lean_is_scalar(x_310)) { x_312 = lean_alloc_ctor(2, 2, 0); @@ -3493,7 +3229,7 @@ x_315 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_315, 0, x_302); lean_ctor_set(x_315, 1, x_64); lean_ctor_set(x_315, 2, x_314); -x_316 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_316 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_302); if (lean_is_scalar(x_306)) { x_317 = lean_alloc_ctor(2, 2, 0); @@ -3503,7 +3239,7 @@ if (lean_is_scalar(x_306)) { } lean_ctor_set(x_317, 0, x_302); lean_ctor_set(x_317, 1, x_316); -x_318 = l_Lake_DSL_packageCommand___closed__17; +x_318 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_302); x_319 = l_Lean_Syntax_node3(x_302, x_318, x_312, x_315, x_317); lean_inc(x_302); @@ -3513,43 +3249,43 @@ x_321 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_321, 0, x_302); lean_ctor_set(x_321, 1, x_64); lean_ctor_set(x_321, 2, x_65); -x_322 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_322 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_302); x_323 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_323, 0, x_302); lean_ctor_set(x_323, 1, x_322); -x_324 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_324 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_324); lean_ctor_set(x_51, 0, x_81); x_325 = lean_array_mk(x_51); x_326 = lean_box(2); -x_327 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_327 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_328, 0, x_326); lean_ctor_set(x_328, 1, x_327); lean_ctor_set(x_328, 2, x_325); -x_329 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_329 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_302); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_329); lean_ctor_set(x_28, 0, x_302); -x_330 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_330 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_331 = l_Lean_addMacroScope(x_308, x_330, x_304); -x_332 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_333 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_332 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_333 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_302); x_334 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_334, 0, x_302); lean_ctor_set(x_334, 1, x_332); lean_ctor_set(x_334, 2, x_331); lean_ctor_set(x_334, 3, x_333); -x_335 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_335 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_302); x_336 = l_Lean_Syntax_node2(x_302, x_335, x_28, x_334); lean_inc(x_302); x_337 = l_Lean_Syntax_node1(x_302, x_64, x_336); -x_338 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_338 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_321); lean_inc(x_302); x_339 = l_Lean_Syntax_node2(x_302, x_338, x_321, x_337); @@ -3557,31 +3293,31 @@ lean_inc(x_302); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_103); lean_ctor_set(x_22, 0, x_302); -x_340 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_340 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_321, 2); lean_inc(x_302); x_341 = l_Lean_Syntax_node2(x_302, x_340, x_321, x_321); -x_342 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_342 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_321); lean_inc(x_302); x_343 = l_Lean_Syntax_node4(x_302, x_342, x_22, x_125, x_341, x_321); -x_344 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_344 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_302); x_345 = l_Lean_Syntax_node4(x_302, x_344, x_323, x_328, x_339, x_343); if (lean_obj_tag(x_16) == 0) { lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_346 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_346 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_302); x_347 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_347, 0, x_302); lean_ctor_set(x_347, 1, x_64); lean_ctor_set(x_347, 2, x_346); -x_348 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_348 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_321, 3); lean_inc(x_302); x_349 = l_Lean_Syntax_node6(x_302, x_348, x_347, x_320, x_321, x_321, x_321, x_321); -x_350 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_350 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_351 = l_Lean_Syntax_node2(x_302, x_350, x_349, x_345); lean_inc(x_351); x_352 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3603,11 +3339,11 @@ x_357 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_357, 0, x_302); lean_ctor_set(x_357, 1, x_64); lean_ctor_set(x_357, 2, x_356); -x_358 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_358 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_321, 3); lean_inc(x_302); x_359 = l_Lean_Syntax_node6(x_302, x_358, x_357, x_320, x_321, x_321, x_321, x_321); -x_360 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_360 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_361 = l_Lean_Syntax_node2(x_302, x_360, x_359, x_345); lean_inc(x_361); x_362 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3691,7 +3427,7 @@ lean_inc(x_86); x_389 = l_Lean_Syntax_node2(x_86, x_379, x_386, x_388); lean_inc(x_86); x_390 = l_Lean_Syntax_node3(x_86, x_64, x_380, x_82, x_389); -x_391 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_391 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_86); x_392 = l_Lean_Syntax_node1(x_86, x_391, x_390); x_393 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -3747,7 +3483,7 @@ if (lean_is_exclusive(x_407)) { lean_dec_ref(x_407); x_410 = lean_box(0); } -x_411 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_411 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_402); if (lean_is_scalar(x_410)) { x_412 = lean_alloc_ctor(2, 2, 0); @@ -3766,7 +3502,7 @@ x_415 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_415, 0, x_402); lean_ctor_set(x_415, 1, x_64); lean_ctor_set(x_415, 2, x_414); -x_416 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_416 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_402); if (lean_is_scalar(x_406)) { x_417 = lean_alloc_ctor(2, 2, 0); @@ -3776,7 +3512,7 @@ if (lean_is_scalar(x_406)) { } lean_ctor_set(x_417, 0, x_402); lean_ctor_set(x_417, 1, x_416); -x_418 = l_Lake_DSL_packageCommand___closed__17; +x_418 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_402); x_419 = l_Lean_Syntax_node3(x_402, x_418, x_412, x_415, x_417); lean_inc(x_402); @@ -3786,7 +3522,7 @@ x_421 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_421, 0, x_402); lean_ctor_set(x_421, 1, x_64); lean_ctor_set(x_421, 2, x_65); -x_422 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_422 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_402); if (lean_is_scalar(x_401)) { x_423 = lean_alloc_ctor(2, 2, 0); @@ -3796,38 +3532,38 @@ if (lean_is_scalar(x_401)) { } lean_ctor_set(x_423, 0, x_402); lean_ctor_set(x_423, 1, x_422); -x_424 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_424 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_424); lean_ctor_set(x_51, 0, x_81); x_425 = lean_array_mk(x_51); x_426 = lean_box(2); -x_427 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_427 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_428 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_428, 0, x_426); lean_ctor_set(x_428, 1, x_427); lean_ctor_set(x_428, 2, x_425); -x_429 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_429 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_402); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_429); lean_ctor_set(x_28, 0, x_402); -x_430 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_430 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_431 = l_Lean_addMacroScope(x_408, x_430, x_404); -x_432 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_433 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_432 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_433 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_402); x_434 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_434, 0, x_402); lean_ctor_set(x_434, 1, x_432); lean_ctor_set(x_434, 2, x_431); lean_ctor_set(x_434, 3, x_433); -x_435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_402); x_436 = l_Lean_Syntax_node2(x_402, x_435, x_28, x_434); lean_inc(x_402); x_437 = l_Lean_Syntax_node1(x_402, x_64, x_436); -x_438 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_438 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_421); lean_inc(x_402); x_439 = l_Lean_Syntax_node2(x_402, x_438, x_421, x_437); @@ -3835,31 +3571,31 @@ lean_inc(x_402); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_375); lean_ctor_set(x_22, 0, x_402); -x_440 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_440 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_421, 2); lean_inc(x_402); x_441 = l_Lean_Syntax_node2(x_402, x_440, x_421, x_421); -x_442 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_442 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_421); lean_inc(x_402); x_443 = l_Lean_Syntax_node4(x_402, x_442, x_22, x_397, x_441, x_421); -x_444 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_444 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_402); x_445 = l_Lean_Syntax_node4(x_402, x_444, x_423, x_428, x_439, x_443); if (lean_obj_tag(x_16) == 0) { lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -x_446 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_446 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_402); x_447 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_447, 0, x_402); lean_ctor_set(x_447, 1, x_64); lean_ctor_set(x_447, 2, x_446); -x_448 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_448 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_421, 3); lean_inc(x_402); x_449 = l_Lean_Syntax_node6(x_402, x_448, x_447, x_420, x_421, x_421, x_421, x_421); -x_450 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_450 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_451 = l_Lean_Syntax_node2(x_402, x_450, x_449, x_445); lean_inc(x_451); x_452 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3881,11 +3617,11 @@ x_457 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_457, 0, x_402); lean_ctor_set(x_457, 1, x_64); lean_ctor_set(x_457, 2, x_456); -x_458 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_458 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_421, 3); lean_inc(x_402); x_459 = l_Lean_Syntax_node6(x_402, x_458, x_457, x_420, x_421, x_421, x_421, x_421); -x_460 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_460 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_461 = l_Lean_Syntax_node2(x_402, x_460, x_459, x_445); lean_inc(x_461); x_462 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -3987,7 +3723,7 @@ lean_inc(x_86); x_494 = l_Lean_Syntax_node2(x_86, x_484, x_491, x_493); lean_inc(x_86); x_495 = l_Lean_Syntax_node3(x_86, x_64, x_485, x_82, x_494); -x_496 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_496 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_86); x_497 = l_Lean_Syntax_node1(x_86, x_496, x_495); x_498 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -4043,7 +3779,7 @@ if (lean_is_exclusive(x_512)) { lean_dec_ref(x_512); x_515 = lean_box(0); } -x_516 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_516 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_507); if (lean_is_scalar(x_515)) { x_517 = lean_alloc_ctor(2, 2, 0); @@ -4062,7 +3798,7 @@ x_520 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_520, 0, x_507); lean_ctor_set(x_520, 1, x_64); lean_ctor_set(x_520, 2, x_519); -x_521 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_521 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_507); if (lean_is_scalar(x_511)) { x_522 = lean_alloc_ctor(2, 2, 0); @@ -4072,7 +3808,7 @@ if (lean_is_scalar(x_511)) { } lean_ctor_set(x_522, 0, x_507); lean_ctor_set(x_522, 1, x_521); -x_523 = l_Lake_DSL_packageCommand___closed__17; +x_523 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_507); x_524 = l_Lean_Syntax_node3(x_507, x_523, x_517, x_520, x_522); lean_inc(x_507); @@ -4082,7 +3818,7 @@ x_526 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_526, 0, x_507); lean_ctor_set(x_526, 1, x_64); lean_ctor_set(x_526, 2, x_65); -x_527 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_527 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_507); if (lean_is_scalar(x_506)) { x_528 = lean_alloc_ctor(2, 2, 0); @@ -4092,38 +3828,38 @@ if (lean_is_scalar(x_506)) { } lean_ctor_set(x_528, 0, x_507); lean_ctor_set(x_528, 1, x_527); -x_529 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_529 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_529); lean_ctor_set(x_51, 0, x_81); x_530 = lean_array_mk(x_51); x_531 = lean_box(2); -x_532 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_532 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_533 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_533, 0, x_531); lean_ctor_set(x_533, 1, x_532); lean_ctor_set(x_533, 2, x_530); -x_534 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_534 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_507); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_534); lean_ctor_set(x_28, 0, x_507); -x_535 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_535 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_536 = l_Lean_addMacroScope(x_513, x_535, x_509); -x_537 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_538 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_537 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_538 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_507); x_539 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_539, 0, x_507); lean_ctor_set(x_539, 1, x_537); lean_ctor_set(x_539, 2, x_536); lean_ctor_set(x_539, 3, x_538); -x_540 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_540 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_507); x_541 = l_Lean_Syntax_node2(x_507, x_540, x_28, x_539); lean_inc(x_507); x_542 = l_Lean_Syntax_node1(x_507, x_64, x_541); -x_543 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_543 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_526); lean_inc(x_507); x_544 = l_Lean_Syntax_node2(x_507, x_543, x_526, x_542); @@ -4131,31 +3867,31 @@ lean_inc(x_507); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_479); lean_ctor_set(x_22, 0, x_507); -x_545 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_545 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_526, 2); lean_inc(x_507); x_546 = l_Lean_Syntax_node2(x_507, x_545, x_526, x_526); -x_547 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_547 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_526); lean_inc(x_507); x_548 = l_Lean_Syntax_node4(x_507, x_547, x_22, x_502, x_546, x_526); -x_549 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_549 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_507); x_550 = l_Lean_Syntax_node4(x_507, x_549, x_528, x_533, x_544, x_548); if (lean_obj_tag(x_16) == 0) { lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -x_551 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_551 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_507); x_552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_552, 0, x_507); lean_ctor_set(x_552, 1, x_64); lean_ctor_set(x_552, 2, x_551); -x_553 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_553 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_526, 3); lean_inc(x_507); x_554 = l_Lean_Syntax_node6(x_507, x_553, x_552, x_525, x_526, x_526, x_526, x_526); -x_555 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_555 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_556 = l_Lean_Syntax_node2(x_507, x_555, x_554, x_550); lean_inc(x_556); x_557 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4177,11 +3913,11 @@ x_562 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_562, 0, x_507); lean_ctor_set(x_562, 1, x_64); lean_ctor_set(x_562, 2, x_561); -x_563 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_563 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_526, 3); lean_inc(x_507); x_564 = l_Lean_Syntax_node6(x_507, x_563, x_562, x_525, x_526, x_526, x_526, x_526); -x_565 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_565 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_566 = l_Lean_Syntax_node2(x_507, x_565, x_564, x_550); lean_inc(x_566); x_567 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4303,7 +4039,7 @@ lean_inc(x_571); x_605 = l_Lean_Syntax_node2(x_571, x_594, x_602, x_604); lean_inc(x_571); x_606 = l_Lean_Syntax_node3(x_571, x_64, x_595, x_597, x_605); -x_607 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_607 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_571); x_608 = l_Lean_Syntax_node1(x_571, x_607, x_606); x_609 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -4359,7 +4095,7 @@ if (lean_is_exclusive(x_623)) { lean_dec_ref(x_623); x_626 = lean_box(0); } -x_627 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_627 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_618); if (lean_is_scalar(x_626)) { x_628 = lean_alloc_ctor(2, 2, 0); @@ -4378,7 +4114,7 @@ x_631 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_631, 0, x_618); lean_ctor_set(x_631, 1, x_64); lean_ctor_set(x_631, 2, x_630); -x_632 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_632 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_618); if (lean_is_scalar(x_622)) { x_633 = lean_alloc_ctor(2, 2, 0); @@ -4388,7 +4124,7 @@ if (lean_is_scalar(x_622)) { } lean_ctor_set(x_633, 0, x_618); lean_ctor_set(x_633, 1, x_632); -x_634 = l_Lake_DSL_packageCommand___closed__17; +x_634 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_618); x_635 = l_Lean_Syntax_node3(x_618, x_634, x_628, x_631, x_633); lean_inc(x_618); @@ -4398,7 +4134,7 @@ x_637 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_637, 0, x_618); lean_ctor_set(x_637, 1, x_64); lean_ctor_set(x_637, 2, x_65); -x_638 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_638 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_618); if (lean_is_scalar(x_617)) { x_639 = lean_alloc_ctor(2, 2, 0); @@ -4408,38 +4144,38 @@ if (lean_is_scalar(x_617)) { } lean_ctor_set(x_639, 0, x_618); lean_ctor_set(x_639, 1, x_638); -x_640 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_640 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_640); lean_ctor_set(x_51, 0, x_81); x_641 = lean_array_mk(x_51); x_642 = lean_box(2); -x_643 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_643 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_644 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_644, 0, x_642); lean_ctor_set(x_644, 1, x_643); lean_ctor_set(x_644, 2, x_641); -x_645 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_645 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_618); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_645); lean_ctor_set(x_28, 0, x_618); -x_646 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_646 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_647 = l_Lean_addMacroScope(x_624, x_646, x_620); -x_648 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_649 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_648 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_649 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_618); x_650 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_650, 0, x_618); lean_ctor_set(x_650, 1, x_648); lean_ctor_set(x_650, 2, x_647); lean_ctor_set(x_650, 3, x_649); -x_651 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_651 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_618); x_652 = l_Lean_Syntax_node2(x_618, x_651, x_28, x_650); lean_inc(x_618); x_653 = l_Lean_Syntax_node1(x_618, x_64, x_652); -x_654 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_654 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_637); lean_inc(x_618); x_655 = l_Lean_Syntax_node2(x_618, x_654, x_637, x_653); @@ -4447,31 +4183,31 @@ lean_inc(x_618); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_589); lean_ctor_set(x_22, 0, x_618); -x_656 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_656 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_637, 2); lean_inc(x_618); x_657 = l_Lean_Syntax_node2(x_618, x_656, x_637, x_637); -x_658 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_658 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_637); lean_inc(x_618); x_659 = l_Lean_Syntax_node4(x_618, x_658, x_22, x_613, x_657, x_637); -x_660 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_660 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_618); x_661 = l_Lean_Syntax_node4(x_618, x_660, x_639, x_644, x_655, x_659); if (lean_obj_tag(x_16) == 0) { lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_662 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_662 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_618); x_663 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_663, 0, x_618); lean_ctor_set(x_663, 1, x_64); lean_ctor_set(x_663, 2, x_662); -x_664 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_664 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_637, 3); lean_inc(x_618); x_665 = l_Lean_Syntax_node6(x_618, x_664, x_663, x_636, x_637, x_637, x_637, x_637); -x_666 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_666 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_667 = l_Lean_Syntax_node2(x_618, x_666, x_665, x_661); lean_inc(x_667); x_668 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4493,11 +4229,11 @@ x_673 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_673, 0, x_618); lean_ctor_set(x_673, 1, x_64); lean_ctor_set(x_673, 2, x_672); -x_674 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_674 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_637, 3); lean_inc(x_618); x_675 = l_Lean_Syntax_node6(x_618, x_674, x_673, x_636, x_637, x_637, x_637, x_637); -x_676 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_676 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_677 = l_Lean_Syntax_node2(x_618, x_676, x_675, x_661); lean_inc(x_677); x_678 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4515,8 +4251,8 @@ x_681 = lean_ctor_get(x_60, 1); lean_inc(x_681); lean_inc(x_680); lean_dec(x_60); -x_682 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_683 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_682 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_683 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_55); x_684 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_684, 0, x_55); @@ -4672,7 +4408,7 @@ lean_inc(x_705); x_739 = l_Lean_Syntax_node2(x_705, x_728, x_736, x_738); lean_inc(x_705); x_740 = l_Lean_Syntax_node3(x_705, x_682, x_729, x_731, x_739); -x_741 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_741 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_705); x_742 = l_Lean_Syntax_node1(x_705, x_741, x_740); x_743 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -4728,7 +4464,7 @@ if (lean_is_exclusive(x_757)) { lean_dec_ref(x_757); x_760 = lean_box(0); } -x_761 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_761 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_752); if (lean_is_scalar(x_760)) { x_762 = lean_alloc_ctor(2, 2, 0); @@ -4747,7 +4483,7 @@ x_765 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_765, 0, x_752); lean_ctor_set(x_765, 1, x_682); lean_ctor_set(x_765, 2, x_764); -x_766 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_766 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_752); if (lean_is_scalar(x_756)) { x_767 = lean_alloc_ctor(2, 2, 0); @@ -4757,7 +4493,7 @@ if (lean_is_scalar(x_756)) { } lean_ctor_set(x_767, 0, x_752); lean_ctor_set(x_767, 1, x_766); -x_768 = l_Lake_DSL_packageCommand___closed__17; +x_768 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_752); x_769 = l_Lean_Syntax_node3(x_752, x_768, x_762, x_765, x_767); lean_inc(x_752); @@ -4767,7 +4503,7 @@ x_771 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_771, 0, x_752); lean_ctor_set(x_771, 1, x_682); lean_ctor_set(x_771, 2, x_683); -x_772 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_772 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_752); if (lean_is_scalar(x_751)) { x_773 = lean_alloc_ctor(2, 2, 0); @@ -4777,38 +4513,38 @@ if (lean_is_scalar(x_751)) { } lean_ctor_set(x_773, 0, x_752); lean_ctor_set(x_773, 1, x_772); -x_774 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_774 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_774); lean_ctor_set(x_51, 0, x_700); x_775 = lean_array_mk(x_51); x_776 = lean_box(2); -x_777 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_777 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_778 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_778, 0, x_776); lean_ctor_set(x_778, 1, x_777); lean_ctor_set(x_778, 2, x_775); -x_779 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_779 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_752); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_779); lean_ctor_set(x_28, 0, x_752); -x_780 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_780 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_781 = l_Lean_addMacroScope(x_758, x_780, x_754); -x_782 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_783 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_782 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_783 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_752); x_784 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_784, 0, x_752); lean_ctor_set(x_784, 1, x_782); lean_ctor_set(x_784, 2, x_781); lean_ctor_set(x_784, 3, x_783); -x_785 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_785 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_752); x_786 = l_Lean_Syntax_node2(x_752, x_785, x_28, x_784); lean_inc(x_752); x_787 = l_Lean_Syntax_node1(x_752, x_682, x_786); -x_788 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_788 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_771); lean_inc(x_752); x_789 = l_Lean_Syntax_node2(x_752, x_788, x_771, x_787); @@ -4816,31 +4552,31 @@ lean_inc(x_752); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_723); lean_ctor_set(x_22, 0, x_752); -x_790 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_790 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_771, 2); lean_inc(x_752); x_791 = l_Lean_Syntax_node2(x_752, x_790, x_771, x_771); -x_792 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_792 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_771); lean_inc(x_752); x_793 = l_Lean_Syntax_node4(x_752, x_792, x_22, x_747, x_791, x_771); -x_794 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_794 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_752); x_795 = l_Lean_Syntax_node4(x_752, x_794, x_773, x_778, x_789, x_793); if (lean_obj_tag(x_16) == 0) { lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_796 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_796 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_752); x_797 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_797, 0, x_752); lean_ctor_set(x_797, 1, x_682); lean_ctor_set(x_797, 2, x_796); -x_798 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_798 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_771, 3); lean_inc(x_752); x_799 = l_Lean_Syntax_node6(x_752, x_798, x_797, x_770, x_771, x_771, x_771, x_771); -x_800 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_800 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_801 = l_Lean_Syntax_node2(x_752, x_800, x_799, x_795); lean_inc(x_801); x_802 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4862,11 +4598,11 @@ x_807 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_807, 0, x_752); lean_ctor_set(x_807, 1, x_682); lean_ctor_set(x_807, 2, x_806); -x_808 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_808 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_771, 3); lean_inc(x_752); x_809 = l_Lean_Syntax_node6(x_752, x_808, x_807, x_770, x_771, x_771, x_771, x_771); -x_810 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_810 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_811 = l_Lean_Syntax_node2(x_752, x_810, x_809, x_795); lean_inc(x_811); x_812 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -4897,8 +4633,8 @@ if (lean_is_exclusive(x_816)) { lean_dec_ref(x_816); x_819 = lean_box(0); } -x_820 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_821 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_820 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_821 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_55); x_822 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_822, 0, x_55); @@ -5059,7 +4795,7 @@ lean_inc(x_843); x_877 = l_Lean_Syntax_node2(x_843, x_866, x_874, x_876); lean_inc(x_843); x_878 = l_Lean_Syntax_node3(x_843, x_820, x_867, x_869, x_877); -x_879 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_879 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_843); x_880 = l_Lean_Syntax_node1(x_843, x_879, x_878); x_881 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -5115,7 +4851,7 @@ if (lean_is_exclusive(x_896)) { lean_dec_ref(x_896); x_899 = lean_box(0); } -x_900 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_900 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_891); if (lean_is_scalar(x_899)) { x_901 = lean_alloc_ctor(2, 2, 0); @@ -5134,7 +4870,7 @@ x_904 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_904, 0, x_891); lean_ctor_set(x_904, 1, x_820); lean_ctor_set(x_904, 2, x_903); -x_905 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_905 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_891); if (lean_is_scalar(x_895)) { x_906 = lean_alloc_ctor(2, 2, 0); @@ -5144,7 +4880,7 @@ if (lean_is_scalar(x_895)) { } lean_ctor_set(x_906, 0, x_891); lean_ctor_set(x_906, 1, x_905); -x_907 = l_Lake_DSL_packageCommand___closed__17; +x_907 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_891); x_908 = l_Lean_Syntax_node3(x_891, x_907, x_901, x_904, x_906); lean_inc(x_891); @@ -5154,7 +4890,7 @@ x_910 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_910, 0, x_891); lean_ctor_set(x_910, 1, x_820); lean_ctor_set(x_910, 2, x_821); -x_911 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_911 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_891); if (lean_is_scalar(x_890)) { x_912 = lean_alloc_ctor(2, 2, 0); @@ -5164,38 +4900,38 @@ if (lean_is_scalar(x_890)) { } lean_ctor_set(x_912, 0, x_891); lean_ctor_set(x_912, 1, x_911); -x_913 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_913 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; lean_ctor_set_tag(x_51, 1); lean_ctor_set(x_51, 1, x_913); lean_ctor_set(x_51, 0, x_838); x_914 = lean_array_mk(x_51); x_915 = lean_box(2); -x_916 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_916 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_917 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_917, 0, x_915); lean_ctor_set(x_917, 1, x_916); lean_ctor_set(x_917, 2, x_914); -x_918 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_918 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_891); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_918); lean_ctor_set(x_28, 0, x_891); -x_919 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_919 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_920 = l_Lean_addMacroScope(x_897, x_919, x_893); -x_921 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_922 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_921 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_922 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_891); x_923 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_923, 0, x_891); lean_ctor_set(x_923, 1, x_921); lean_ctor_set(x_923, 2, x_920); lean_ctor_set(x_923, 3, x_922); -x_924 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_924 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_891); x_925 = l_Lean_Syntax_node2(x_891, x_924, x_28, x_923); lean_inc(x_891); x_926 = l_Lean_Syntax_node1(x_891, x_820, x_925); -x_927 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_927 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_910); lean_inc(x_891); x_928 = l_Lean_Syntax_node2(x_891, x_927, x_910, x_926); @@ -5203,31 +4939,31 @@ lean_inc(x_891); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_861); lean_ctor_set(x_22, 0, x_891); -x_929 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_929 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_910, 2); lean_inc(x_891); x_930 = l_Lean_Syntax_node2(x_891, x_929, x_910, x_910); -x_931 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_931 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_910); lean_inc(x_891); x_932 = l_Lean_Syntax_node4(x_891, x_931, x_22, x_886, x_930, x_910); -x_933 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_933 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_891); x_934 = l_Lean_Syntax_node4(x_891, x_933, x_912, x_917, x_928, x_932); if (lean_obj_tag(x_16) == 0) { lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; -x_935 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_935 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_891); x_936 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_936, 0, x_891); lean_ctor_set(x_936, 1, x_820); lean_ctor_set(x_936, 2, x_935); -x_937 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_937 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_910, 3); lean_inc(x_891); x_938 = l_Lean_Syntax_node6(x_891, x_937, x_936, x_909, x_910, x_910, x_910, x_910); -x_939 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_939 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_940 = l_Lean_Syntax_node2(x_891, x_939, x_938, x_934); lean_inc(x_940); x_941 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -5249,11 +4985,11 @@ x_946 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_946, 0, x_891); lean_ctor_set(x_946, 1, x_820); lean_ctor_set(x_946, 2, x_945); -x_947 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_947 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_910, 3); lean_inc(x_891); x_948 = l_Lean_Syntax_node6(x_891, x_947, x_946, x_909, x_910, x_910, x_910, x_910); -x_949 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_949 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_950 = l_Lean_Syntax_node2(x_891, x_949, x_948, x_934); lean_inc(x_950); x_951 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -5299,8 +5035,8 @@ if (lean_is_exclusive(x_960)) { lean_dec_ref(x_960); x_963 = lean_box(0); } -x_964 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_965 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_964 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_965 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_955); x_966 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_966, 0, x_955); @@ -5461,7 +5197,7 @@ lean_inc(x_987); x_1021 = l_Lean_Syntax_node2(x_987, x_1010, x_1018, x_1020); lean_inc(x_987); x_1022 = l_Lean_Syntax_node3(x_987, x_964, x_1011, x_1013, x_1021); -x_1023 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_1023 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_987); x_1024 = l_Lean_Syntax_node1(x_987, x_1023, x_1022); x_1025 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -5522,7 +5258,7 @@ if (lean_is_exclusive(x_1040)) { lean_dec_ref(x_1040); x_1043 = lean_box(0); } -x_1044 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_1044 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_1035); if (lean_is_scalar(x_1043)) { x_1045 = lean_alloc_ctor(2, 2, 0); @@ -5541,7 +5277,7 @@ x_1048 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1048, 0, x_1035); lean_ctor_set(x_1048, 1, x_964); lean_ctor_set(x_1048, 2, x_1047); -x_1049 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_1049 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_1035); if (lean_is_scalar(x_1039)) { x_1050 = lean_alloc_ctor(2, 2, 0); @@ -5551,7 +5287,7 @@ if (lean_is_scalar(x_1039)) { } lean_ctor_set(x_1050, 0, x_1035); lean_ctor_set(x_1050, 1, x_1049); -x_1051 = l_Lake_DSL_packageCommand___closed__17; +x_1051 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_1035); x_1052 = l_Lean_Syntax_node3(x_1035, x_1051, x_1045, x_1048, x_1050); lean_inc(x_1035); @@ -5561,7 +5297,7 @@ x_1054 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1054, 0, x_1035); lean_ctor_set(x_1054, 1, x_964); lean_ctor_set(x_1054, 2, x_965); -x_1055 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1055 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_1035); if (lean_is_scalar(x_1034)) { x_1056 = lean_alloc_ctor(2, 2, 0); @@ -5571,38 +5307,38 @@ if (lean_is_scalar(x_1034)) { } lean_ctor_set(x_1056, 0, x_1035); lean_ctor_set(x_1056, 1, x_1055); -x_1057 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_1057 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; x_1058 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1058, 0, x_982); lean_ctor_set(x_1058, 1, x_1057); x_1059 = lean_array_mk(x_1058); x_1060 = lean_box(2); -x_1061 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_1061 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_1062 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1062, 0, x_1060); lean_ctor_set(x_1062, 1, x_1061); lean_ctor_set(x_1062, 2, x_1059); -x_1063 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_1063 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_1035); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_1063); lean_ctor_set(x_28, 0, x_1035); -x_1064 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_1064 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_1065 = l_Lean_addMacroScope(x_1041, x_1064, x_1037); -x_1066 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_1067 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_1066 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_1067 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_1035); x_1068 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1068, 0, x_1035); lean_ctor_set(x_1068, 1, x_1066); lean_ctor_set(x_1068, 2, x_1065); lean_ctor_set(x_1068, 3, x_1067); -x_1069 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_1069 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_1035); x_1070 = l_Lean_Syntax_node2(x_1035, x_1069, x_28, x_1068); lean_inc(x_1035); x_1071 = l_Lean_Syntax_node1(x_1035, x_964, x_1070); -x_1072 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_1072 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_1054); lean_inc(x_1035); x_1073 = l_Lean_Syntax_node2(x_1035, x_1072, x_1054, x_1071); @@ -5610,31 +5346,31 @@ lean_inc(x_1035); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_1005); lean_ctor_set(x_22, 0, x_1035); -x_1074 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_1074 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_1054, 2); lean_inc(x_1035); x_1075 = l_Lean_Syntax_node2(x_1035, x_1074, x_1054, x_1054); -x_1076 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_1076 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_1054); lean_inc(x_1035); x_1077 = l_Lean_Syntax_node4(x_1035, x_1076, x_22, x_1030, x_1075, x_1054); -x_1078 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_1078 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_1035); x_1079 = l_Lean_Syntax_node4(x_1035, x_1078, x_1056, x_1062, x_1073, x_1077); if (lean_obj_tag(x_16) == 0) { lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; -x_1080 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_1080 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_1035); x_1081 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1081, 0, x_1035); lean_ctor_set(x_1081, 1, x_964); lean_ctor_set(x_1081, 2, x_1080); -x_1082 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1082 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1054, 3); lean_inc(x_1035); x_1083 = l_Lean_Syntax_node6(x_1035, x_1082, x_1081, x_1053, x_1054, x_1054, x_1054, x_1054); -x_1084 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1084 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1085 = l_Lean_Syntax_node2(x_1035, x_1084, x_1083, x_1079); lean_inc(x_1085); x_1086 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -5656,11 +5392,11 @@ x_1091 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1091, 0, x_1035); lean_ctor_set(x_1091, 1, x_964); lean_ctor_set(x_1091, 2, x_1090); -x_1092 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1092 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1054, 3); lean_inc(x_1035); x_1093 = l_Lean_Syntax_node6(x_1035, x_1092, x_1091, x_1053, x_1054, x_1054, x_1054, x_1054); -x_1094 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1094 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1095 = l_Lean_Syntax_node2(x_1035, x_1094, x_1093, x_1079); lean_inc(x_1095); x_1096 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -5825,8 +5561,8 @@ if (lean_is_exclusive(x_1133)) { lean_dec_ref(x_1133); x_1136 = lean_box(0); } -x_1137 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_1138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_1137 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_1138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_1128); x_1139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1139, 0, x_1128); @@ -5987,7 +5723,7 @@ lean_inc(x_1160); x_1194 = l_Lean_Syntax_node2(x_1160, x_1183, x_1191, x_1193); lean_inc(x_1160); x_1195 = l_Lean_Syntax_node3(x_1160, x_1137, x_1184, x_1186, x_1194); -x_1196 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_1196 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_1160); x_1197 = l_Lean_Syntax_node1(x_1160, x_1196, x_1195); x_1198 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -6048,7 +5784,7 @@ if (lean_is_exclusive(x_1213)) { lean_dec_ref(x_1213); x_1216 = lean_box(0); } -x_1217 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_1217 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_1208); if (lean_is_scalar(x_1216)) { x_1218 = lean_alloc_ctor(2, 2, 0); @@ -6067,7 +5803,7 @@ x_1221 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1221, 0, x_1208); lean_ctor_set(x_1221, 1, x_1137); lean_ctor_set(x_1221, 2, x_1220); -x_1222 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_1222 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_1208); if (lean_is_scalar(x_1212)) { x_1223 = lean_alloc_ctor(2, 2, 0); @@ -6077,7 +5813,7 @@ if (lean_is_scalar(x_1212)) { } lean_ctor_set(x_1223, 0, x_1208); lean_ctor_set(x_1223, 1, x_1222); -x_1224 = l_Lake_DSL_packageCommand___closed__17; +x_1224 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_1208); x_1225 = l_Lean_Syntax_node3(x_1208, x_1224, x_1218, x_1221, x_1223); lean_inc(x_1208); @@ -6087,7 +5823,7 @@ x_1227 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1227, 0, x_1208); lean_ctor_set(x_1227, 1, x_1137); lean_ctor_set(x_1227, 2, x_1138); -x_1228 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1228 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_1208); if (lean_is_scalar(x_1207)) { x_1229 = lean_alloc_ctor(2, 2, 0); @@ -6097,7 +5833,7 @@ if (lean_is_scalar(x_1207)) { } lean_ctor_set(x_1229, 0, x_1208); lean_ctor_set(x_1229, 1, x_1228); -x_1230 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_1230 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; if (lean_is_scalar(x_1127)) { x_1231 = lean_alloc_ctor(1, 2, 0); } else { @@ -6108,32 +5844,32 @@ lean_ctor_set(x_1231, 0, x_1155); lean_ctor_set(x_1231, 1, x_1230); x_1232 = lean_array_mk(x_1231); x_1233 = lean_box(2); -x_1234 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_1234 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_1235 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1235, 0, x_1233); lean_ctor_set(x_1235, 1, x_1234); lean_ctor_set(x_1235, 2, x_1232); -x_1236 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_1236 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_1208); lean_ctor_set_tag(x_28, 2); lean_ctor_set(x_28, 1, x_1236); lean_ctor_set(x_28, 0, x_1208); -x_1237 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_1237 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_1238 = l_Lean_addMacroScope(x_1214, x_1237, x_1210); -x_1239 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_1240 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_1239 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_1240 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_1208); x_1241 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1241, 0, x_1208); lean_ctor_set(x_1241, 1, x_1239); lean_ctor_set(x_1241, 2, x_1238); lean_ctor_set(x_1241, 3, x_1240); -x_1242 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_1242 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_1208); x_1243 = l_Lean_Syntax_node2(x_1208, x_1242, x_28, x_1241); lean_inc(x_1208); x_1244 = l_Lean_Syntax_node1(x_1208, x_1137, x_1243); -x_1245 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_1245 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_1227); lean_inc(x_1208); x_1246 = l_Lean_Syntax_node2(x_1208, x_1245, x_1227, x_1244); @@ -6141,31 +5877,31 @@ lean_inc(x_1208); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_1178); lean_ctor_set(x_22, 0, x_1208); -x_1247 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_1247 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_1227, 2); lean_inc(x_1208); x_1248 = l_Lean_Syntax_node2(x_1208, x_1247, x_1227, x_1227); -x_1249 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_1249 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_1227); lean_inc(x_1208); x_1250 = l_Lean_Syntax_node4(x_1208, x_1249, x_22, x_1203, x_1248, x_1227); -x_1251 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_1251 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_1208); x_1252 = l_Lean_Syntax_node4(x_1208, x_1251, x_1229, x_1235, x_1246, x_1250); if (lean_obj_tag(x_16) == 0) { lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; -x_1253 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_1253 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_1208); x_1254 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1254, 0, x_1208); lean_ctor_set(x_1254, 1, x_1137); lean_ctor_set(x_1254, 2, x_1253); -x_1255 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1255 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1227, 3); lean_inc(x_1208); x_1256 = l_Lean_Syntax_node6(x_1208, x_1255, x_1254, x_1226, x_1227, x_1227, x_1227, x_1227); -x_1257 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1257 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1258 = l_Lean_Syntax_node2(x_1208, x_1257, x_1256, x_1252); lean_inc(x_1258); x_1259 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -6187,11 +5923,11 @@ x_1264 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1264, 0, x_1208); lean_ctor_set(x_1264, 1, x_1137); lean_ctor_set(x_1264, 2, x_1263); -x_1265 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1265 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1227, 3); lean_inc(x_1208); x_1266 = l_Lean_Syntax_node6(x_1208, x_1265, x_1264, x_1226, x_1227, x_1227, x_1227, x_1227); -x_1267 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1267 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1268 = l_Lean_Syntax_node2(x_1208, x_1267, x_1266, x_1252); lean_inc(x_1268); x_1269 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -6377,8 +6113,8 @@ if (lean_is_exclusive(x_1310)) { lean_dec_ref(x_1310); x_1313 = lean_box(0); } -x_1314 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_1315 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_1314 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_1315 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_1305); x_1316 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1316, 0, x_1305); @@ -6539,7 +6275,7 @@ lean_inc(x_1337); x_1371 = l_Lean_Syntax_node2(x_1337, x_1360, x_1368, x_1370); lean_inc(x_1337); x_1372 = l_Lean_Syntax_node3(x_1337, x_1314, x_1361, x_1363, x_1371); -x_1373 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_1373 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_1337); x_1374 = l_Lean_Syntax_node1(x_1337, x_1373, x_1372); x_1375 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -6600,7 +6336,7 @@ if (lean_is_exclusive(x_1390)) { lean_dec_ref(x_1390); x_1393 = lean_box(0); } -x_1394 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_1394 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_1385); if (lean_is_scalar(x_1393)) { x_1395 = lean_alloc_ctor(2, 2, 0); @@ -6619,7 +6355,7 @@ x_1398 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1398, 0, x_1385); lean_ctor_set(x_1398, 1, x_1314); lean_ctor_set(x_1398, 2, x_1397); -x_1399 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_1399 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_1385); if (lean_is_scalar(x_1389)) { x_1400 = lean_alloc_ctor(2, 2, 0); @@ -6629,7 +6365,7 @@ if (lean_is_scalar(x_1389)) { } lean_ctor_set(x_1400, 0, x_1385); lean_ctor_set(x_1400, 1, x_1399); -x_1401 = l_Lake_DSL_packageCommand___closed__17; +x_1401 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_1385); x_1402 = l_Lean_Syntax_node3(x_1385, x_1401, x_1395, x_1398, x_1400); lean_inc(x_1385); @@ -6639,7 +6375,7 @@ x_1404 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1404, 0, x_1385); lean_ctor_set(x_1404, 1, x_1314); lean_ctor_set(x_1404, 2, x_1315); -x_1405 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1405 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_1385); if (lean_is_scalar(x_1384)) { x_1406 = lean_alloc_ctor(2, 2, 0); @@ -6649,7 +6385,7 @@ if (lean_is_scalar(x_1384)) { } lean_ctor_set(x_1406, 0, x_1385); lean_ctor_set(x_1406, 1, x_1405); -x_1407 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_1407 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; if (lean_is_scalar(x_1304)) { x_1408 = lean_alloc_ctor(1, 2, 0); } else { @@ -6660,32 +6396,32 @@ lean_ctor_set(x_1408, 0, x_1332); lean_ctor_set(x_1408, 1, x_1407); x_1409 = lean_array_mk(x_1408); x_1410 = lean_box(2); -x_1411 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_1411 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_1412 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1412, 0, x_1410); lean_ctor_set(x_1412, 1, x_1411); lean_ctor_set(x_1412, 2, x_1409); -x_1413 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_1413 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_1385); x_1414 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1414, 0, x_1385); lean_ctor_set(x_1414, 1, x_1413); -x_1415 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_1415 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_1416 = l_Lean_addMacroScope(x_1391, x_1415, x_1387); -x_1417 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_1418 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_1417 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_1418 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_1385); x_1419 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1419, 0, x_1385); lean_ctor_set(x_1419, 1, x_1417); lean_ctor_set(x_1419, 2, x_1416); lean_ctor_set(x_1419, 3, x_1418); -x_1420 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_1420 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_1385); x_1421 = l_Lean_Syntax_node2(x_1385, x_1420, x_1414, x_1419); lean_inc(x_1385); x_1422 = l_Lean_Syntax_node1(x_1385, x_1314, x_1421); -x_1423 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_1423 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_1404); lean_inc(x_1385); x_1424 = l_Lean_Syntax_node2(x_1385, x_1423, x_1404, x_1422); @@ -6693,31 +6429,31 @@ lean_inc(x_1385); lean_ctor_set_tag(x_22, 2); lean_ctor_set(x_22, 1, x_1355); lean_ctor_set(x_22, 0, x_1385); -x_1425 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_1425 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_1404, 2); lean_inc(x_1385); x_1426 = l_Lean_Syntax_node2(x_1385, x_1425, x_1404, x_1404); -x_1427 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_1427 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_1404); lean_inc(x_1385); x_1428 = l_Lean_Syntax_node4(x_1385, x_1427, x_22, x_1380, x_1426, x_1404); -x_1429 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_1429 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_1385); x_1430 = l_Lean_Syntax_node4(x_1385, x_1429, x_1406, x_1412, x_1424, x_1428); if (lean_obj_tag(x_16) == 0) { lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -x_1431 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_1431 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_1385); x_1432 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1432, 0, x_1385); lean_ctor_set(x_1432, 1, x_1314); lean_ctor_set(x_1432, 2, x_1431); -x_1433 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1433 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1404, 3); lean_inc(x_1385); x_1434 = l_Lean_Syntax_node6(x_1385, x_1433, x_1432, x_1403, x_1404, x_1404, x_1404, x_1404); -x_1435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1436 = l_Lean_Syntax_node2(x_1385, x_1435, x_1434, x_1430); lean_inc(x_1436); x_1437 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -6739,11 +6475,11 @@ x_1442 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1442, 0, x_1385); lean_ctor_set(x_1442, 1, x_1314); lean_ctor_set(x_1442, 2, x_1441); -x_1443 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1443 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1404, 3); lean_inc(x_1385); x_1444 = l_Lean_Syntax_node6(x_1385, x_1443, x_1442, x_1403, x_1404, x_1404, x_1404, x_1404); -x_1445 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1445 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1446 = l_Lean_Syntax_node2(x_1385, x_1445, x_1444, x_1430); lean_inc(x_1446); x_1447 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -6944,8 +6680,8 @@ if (lean_is_exclusive(x_1494)) { lean_dec_ref(x_1494); x_1497 = lean_box(0); } -x_1498 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_1499 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_1498 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_1499 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_1489); x_1500 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1500, 0, x_1489); @@ -7106,7 +6842,7 @@ lean_inc(x_1521); x_1555 = l_Lean_Syntax_node2(x_1521, x_1544, x_1552, x_1554); lean_inc(x_1521); x_1556 = l_Lean_Syntax_node3(x_1521, x_1498, x_1545, x_1547, x_1555); -x_1557 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_1557 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_1521); x_1558 = l_Lean_Syntax_node1(x_1521, x_1557, x_1556); x_1559 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -7167,7 +6903,7 @@ if (lean_is_exclusive(x_1574)) { lean_dec_ref(x_1574); x_1577 = lean_box(0); } -x_1578 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_1578 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_1569); if (lean_is_scalar(x_1577)) { x_1579 = lean_alloc_ctor(2, 2, 0); @@ -7186,7 +6922,7 @@ x_1582 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1582, 0, x_1569); lean_ctor_set(x_1582, 1, x_1498); lean_ctor_set(x_1582, 2, x_1581); -x_1583 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_1583 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_1569); if (lean_is_scalar(x_1573)) { x_1584 = lean_alloc_ctor(2, 2, 0); @@ -7196,7 +6932,7 @@ if (lean_is_scalar(x_1573)) { } lean_ctor_set(x_1584, 0, x_1569); lean_ctor_set(x_1584, 1, x_1583); -x_1585 = l_Lake_DSL_packageCommand___closed__17; +x_1585 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_1569); x_1586 = l_Lean_Syntax_node3(x_1569, x_1585, x_1579, x_1582, x_1584); lean_inc(x_1569); @@ -7206,7 +6942,7 @@ x_1588 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1588, 0, x_1569); lean_ctor_set(x_1588, 1, x_1498); lean_ctor_set(x_1588, 2, x_1499); -x_1589 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1589 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_1569); if (lean_is_scalar(x_1568)) { x_1590 = lean_alloc_ctor(2, 2, 0); @@ -7216,7 +6952,7 @@ if (lean_is_scalar(x_1568)) { } lean_ctor_set(x_1590, 0, x_1569); lean_ctor_set(x_1590, 1, x_1589); -x_1591 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_1591 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; if (lean_is_scalar(x_1488)) { x_1592 = lean_alloc_ctor(1, 2, 0); } else { @@ -7227,12 +6963,12 @@ lean_ctor_set(x_1592, 0, x_1516); lean_ctor_set(x_1592, 1, x_1591); x_1593 = lean_array_mk(x_1592); x_1594 = lean_box(2); -x_1595 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_1595 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_1596 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1596, 0, x_1594); lean_ctor_set(x_1596, 1, x_1595); lean_ctor_set(x_1596, 2, x_1593); -x_1597 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_1597 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_1569); if (lean_is_scalar(x_1464)) { x_1598 = lean_alloc_ctor(2, 2, 0); @@ -7242,22 +6978,22 @@ if (lean_is_scalar(x_1464)) { } lean_ctor_set(x_1598, 0, x_1569); lean_ctor_set(x_1598, 1, x_1597); -x_1599 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_1599 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_1600 = l_Lean_addMacroScope(x_1575, x_1599, x_1571); -x_1601 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_1602 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_1601 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_1602 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_1569); x_1603 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1603, 0, x_1569); lean_ctor_set(x_1603, 1, x_1601); lean_ctor_set(x_1603, 2, x_1600); lean_ctor_set(x_1603, 3, x_1602); -x_1604 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_1604 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_1569); x_1605 = l_Lean_Syntax_node2(x_1569, x_1604, x_1598, x_1603); lean_inc(x_1569); x_1606 = l_Lean_Syntax_node1(x_1569, x_1498, x_1605); -x_1607 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_1607 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_1588); lean_inc(x_1569); x_1608 = l_Lean_Syntax_node2(x_1569, x_1607, x_1588, x_1606); @@ -7265,31 +7001,31 @@ lean_inc(x_1569); x_1609 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1609, 0, x_1569); lean_ctor_set(x_1609, 1, x_1539); -x_1610 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_1610 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_1588, 2); lean_inc(x_1569); x_1611 = l_Lean_Syntax_node2(x_1569, x_1610, x_1588, x_1588); -x_1612 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_1612 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_1588); lean_inc(x_1569); x_1613 = l_Lean_Syntax_node4(x_1569, x_1612, x_1609, x_1564, x_1611, x_1588); -x_1614 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_1614 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_1569); x_1615 = l_Lean_Syntax_node4(x_1569, x_1614, x_1590, x_1596, x_1608, x_1613); if (lean_obj_tag(x_16) == 0) { lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; -x_1616 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_1616 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_1569); x_1617 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1617, 0, x_1569); lean_ctor_set(x_1617, 1, x_1498); lean_ctor_set(x_1617, 2, x_1616); -x_1618 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1618 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1588, 3); lean_inc(x_1569); x_1619 = l_Lean_Syntax_node6(x_1569, x_1618, x_1617, x_1587, x_1588, x_1588, x_1588, x_1588); -x_1620 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1620 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1621 = l_Lean_Syntax_node2(x_1569, x_1620, x_1619, x_1615); lean_inc(x_1621); x_1622 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -7311,11 +7047,11 @@ x_1627 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1627, 0, x_1569); lean_ctor_set(x_1627, 1, x_1498); lean_ctor_set(x_1627, 2, x_1626); -x_1628 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1628 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1588, 3); lean_inc(x_1569); x_1629 = l_Lean_Syntax_node6(x_1569, x_1628, x_1627, x_1587, x_1588, x_1588, x_1588, x_1588); -x_1630 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1630 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1631 = l_Lean_Syntax_node2(x_1569, x_1630, x_1629, x_1615); lean_inc(x_1631); x_1632 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -7553,8 +7289,8 @@ if (lean_is_exclusive(x_1691)) { lean_dec_ref(x_1691); x_1694 = lean_box(0); } -x_1695 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_1696 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_1695 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_1696 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_1686); x_1697 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1697, 0, x_1686); @@ -7715,7 +7451,7 @@ lean_inc(x_1718); x_1752 = l_Lean_Syntax_node2(x_1718, x_1741, x_1749, x_1751); lean_inc(x_1718); x_1753 = l_Lean_Syntax_node3(x_1718, x_1695, x_1742, x_1744, x_1752); -x_1754 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_1754 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_1718); x_1755 = l_Lean_Syntax_node1(x_1718, x_1754, x_1753); x_1756 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -7776,7 +7512,7 @@ if (lean_is_exclusive(x_1771)) { lean_dec_ref(x_1771); x_1774 = lean_box(0); } -x_1775 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_1775 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_1766); if (lean_is_scalar(x_1774)) { x_1776 = lean_alloc_ctor(2, 2, 0); @@ -7795,7 +7531,7 @@ x_1779 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1779, 0, x_1766); lean_ctor_set(x_1779, 1, x_1695); lean_ctor_set(x_1779, 2, x_1778); -x_1780 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_1780 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_1766); if (lean_is_scalar(x_1770)) { x_1781 = lean_alloc_ctor(2, 2, 0); @@ -7805,7 +7541,7 @@ if (lean_is_scalar(x_1770)) { } lean_ctor_set(x_1781, 0, x_1766); lean_ctor_set(x_1781, 1, x_1780); -x_1782 = l_Lake_DSL_packageCommand___closed__17; +x_1782 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_1766); x_1783 = l_Lean_Syntax_node3(x_1766, x_1782, x_1776, x_1779, x_1781); lean_inc(x_1766); @@ -7815,7 +7551,7 @@ x_1785 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1785, 0, x_1766); lean_ctor_set(x_1785, 1, x_1695); lean_ctor_set(x_1785, 2, x_1696); -x_1786 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; +x_1786 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__41; lean_inc(x_1766); if (lean_is_scalar(x_1765)) { x_1787 = lean_alloc_ctor(2, 2, 0); @@ -7825,7 +7561,7 @@ if (lean_is_scalar(x_1765)) { } lean_ctor_set(x_1787, 0, x_1766); lean_ctor_set(x_1787, 1, x_1786); -x_1788 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__19; +x_1788 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; if (lean_is_scalar(x_1685)) { x_1789 = lean_alloc_ctor(1, 2, 0); } else { @@ -7836,12 +7572,12 @@ lean_ctor_set(x_1789, 0, x_1713); lean_ctor_set(x_1789, 1, x_1788); x_1790 = lean_array_mk(x_1789); x_1791 = lean_box(2); -x_1792 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_1792 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; x_1793 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1793, 0, x_1791); lean_ctor_set(x_1793, 1, x_1792); lean_ctor_set(x_1793, 2, x_1790); -x_1794 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_1794 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_1766); if (lean_is_scalar(x_1661)) { x_1795 = lean_alloc_ctor(2, 2, 0); @@ -7851,22 +7587,22 @@ if (lean_is_scalar(x_1661)) { } lean_ctor_set(x_1795, 0, x_1766); lean_ctor_set(x_1795, 1, x_1794); -x_1796 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__43; +x_1796 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__45; x_1797 = l_Lean_addMacroScope(x_1772, x_1796, x_1768); -x_1798 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; -x_1799 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__48; +x_1798 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__44; +x_1799 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; lean_inc(x_1766); x_1800 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1800, 0, x_1766); lean_ctor_set(x_1800, 1, x_1798); lean_ctor_set(x_1800, 2, x_1797); lean_ctor_set(x_1800, 3, x_1799); -x_1801 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_1801 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_1766); x_1802 = l_Lean_Syntax_node2(x_1766, x_1801, x_1795, x_1800); lean_inc(x_1766); x_1803 = l_Lean_Syntax_node1(x_1766, x_1695, x_1802); -x_1804 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_1804 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_1785); lean_inc(x_1766); x_1805 = l_Lean_Syntax_node2(x_1766, x_1804, x_1785, x_1803); @@ -7879,31 +7615,31 @@ if (lean_is_scalar(x_1655)) { } lean_ctor_set(x_1806, 0, x_1766); lean_ctor_set(x_1806, 1, x_1736); -x_1807 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_1807 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc_n(x_1785, 2); lean_inc(x_1766); x_1808 = l_Lean_Syntax_node2(x_1766, x_1807, x_1785, x_1785); -x_1809 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_1809 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_1785); lean_inc(x_1766); x_1810 = l_Lean_Syntax_node4(x_1766, x_1809, x_1806, x_1761, x_1808, x_1785); -x_1811 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; +x_1811 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__42; lean_inc(x_1766); x_1812 = l_Lean_Syntax_node4(x_1766, x_1811, x_1787, x_1793, x_1805, x_1810); if (lean_obj_tag(x_16) == 0) { lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; -x_1813 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_1813 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_1766); x_1814 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1814, 0, x_1766); lean_ctor_set(x_1814, 1, x_1695); lean_ctor_set(x_1814, 2, x_1813); -x_1815 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1815 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1785, 3); lean_inc(x_1766); x_1816 = l_Lean_Syntax_node6(x_1766, x_1815, x_1814, x_1784, x_1785, x_1785, x_1785, x_1785); -x_1817 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1817 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1818 = l_Lean_Syntax_node2(x_1766, x_1817, x_1816, x_1812); lean_inc(x_1818); x_1819 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -7925,11 +7661,11 @@ x_1824 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1824, 0, x_1766); lean_ctor_set(x_1824, 1, x_1695); lean_ctor_set(x_1824, 2, x_1823); -x_1825 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_1825 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_1785, 3); lean_inc(x_1766); x_1826 = l_Lean_Syntax_node6(x_1766, x_1825, x_1824, x_1784, x_1785, x_1785, x_1785, x_1785); -x_1827 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_1827 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_1828 = l_Lean_Syntax_node2(x_1766, x_1827, x_1826, x_1812); lean_inc(x_1828); x_1829 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -8016,15 +7752,34 @@ static lean_object* _init_l_Lake_DSL_elabPackageCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed package declaration", 30, 30); +x_1 = lean_mk_string_unchecked("packageCommand", 14, 14); return x_1; } } static lean_object* _init_l_Lake_DSL_elabPackageCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; +x_3 = l_Lake_DSL_elabPackageCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabPackageCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed package declaration", 30, 30); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabPackageCommand___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabPackageCommand___closed__1; +x_1 = l_Lake_DSL_elabPackageCommand___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -8033,13 +7788,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabPackageCommand(lean_object* x_1, lean_ob _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_packageCommand___closed__4; +x_5 = l_Lake_DSL_elabPackageCommand___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabPackageCommand___closed__2; +x_7 = l_Lake_DSL_elabPackageCommand___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabPackageCommand___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -8069,7 +7824,7 @@ lean_dec(x_16); lean_dec(x_14); lean_dec(x_12); lean_dec(x_10); -x_19 = l_Lake_DSL_elabPackageCommand___closed__2; +x_19 = l_Lake_DSL_elabPackageCommand___closed__4; x_20 = l_Lean_throwErrorAt___at_Lake_DSL_elabPackageCommand___spec__1(x_1, x_19, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -8150,8 +7905,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; x_3 = l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -8178,7 +7933,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__3; -x_3 = l_Lake_DSL_packageCommand___closed__4; +x_3 = l_Lake_DSL_elabPackageCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -8201,203 +7956,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("postUpdateDecl", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; -x_3 = l_Lake_DSL_postUpdateDecl___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("post_update ", 12, 12); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_postUpdateDecl___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_packageCommand___closed__20; -x_3 = l_Lake_DSL_postUpdateDecl___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ppSpace", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_postUpdateDecl___closed__6; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_postUpdateDecl___closed__7; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_postUpdateDecl___closed__8; -x_3 = l_Lake_DSL_simpleBinder; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__8; -x_2 = l_Lake_DSL_postUpdateDecl___closed__9; -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_Lake_DSL_postUpdateDecl___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_postUpdateDecl___closed__5; -x_3 = l_Lake_DSL_postUpdateDecl___closed__10; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("orelse", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_postUpdateDecl___closed__12; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_postUpdateDecl___closed__13; -x_2 = l_Lake_DSL_postUpdateDecl___closed__14; -x_3 = l_Lake_DSL_declValDo; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__6; -x_2 = l_Lake_DSL_postUpdateDecl___closed__11; -x_3 = l_Lake_DSL_postUpdateDecl___closed__15; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_postUpdateDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_postUpdateDecl___closed__16; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_postUpdateDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_postUpdateDecl___closed__17; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1() { _start: { @@ -8509,7 +8067,7 @@ static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_packageCommand___closed__1; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; x_2 = l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__10; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -8627,9 +8185,9 @@ static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__ _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__24; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -8647,9 +8205,9 @@ static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__ _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__26; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -8692,8 +8250,8 @@ x_21 = 0; x_22 = l_Lean_mkIdentFrom(x_19, x_20, x_21); x_23 = l_Lean_SourceInfo_fromRef(x_16, x_21); lean_dec(x_16); -x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_25 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_25 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_23); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_23); @@ -8729,7 +8287,7 @@ x_39 = lean_array_mk(x_38); x_40 = l_Lake_DSL_expandAttrs(x_3); x_41 = l_Array_append___rarg(x_39, x_40); lean_dec(x_40); -x_42 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_42 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_23); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_23); @@ -8744,17 +8302,17 @@ x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_23); lean_ctor_set(x_47, 1, x_24); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_48 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; 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_Lake_DSL_packageCommand___closed__17; +x_50 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_23); x_51 = l_Lean_Syntax_node3(x_23, x_50, x_43, x_47, x_49); lean_inc(x_23); x_52 = l_Lean_Syntax_node1(x_23, x_24, x_51); -x_53 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_53 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_23); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_23); @@ -8770,11 +8328,11 @@ lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); lean_ctor_set(x_58, 2, x_56); lean_ctor_set(x_58, 3, x_31); -x_59 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_59 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; lean_inc(x_26); lean_inc(x_23); x_60 = l_Lean_Syntax_node2(x_23, x_59, x_58, x_26); -x_61 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_61 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_23); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_23); @@ -8791,12 +8349,12 @@ lean_ctor_set(x_67, 0, x_23); lean_ctor_set(x_67, 1, x_65); lean_ctor_set(x_67, 2, x_64); lean_ctor_set(x_67, 3, x_66); -x_68 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_68 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_23); x_69 = l_Lean_Syntax_node2(x_23, x_68, x_62, x_67); lean_inc(x_23); x_70 = l_Lean_Syntax_node1(x_23, x_24, x_69); -x_71 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_71 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_26); lean_inc(x_23); x_72 = l_Lean_Syntax_node2(x_23, x_71, x_26, x_70); @@ -8880,7 +8438,7 @@ lean_inc(x_23); x_105 = l_Lean_Syntax_node2(x_23, x_86, x_93, x_104); lean_inc(x_23); x_106 = l_Lean_Syntax_node3(x_23, x_24, x_87, x_88, x_105); -x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_107 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_23); x_108 = l_Lean_Syntax_node1(x_23, x_107, x_106); x_109 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -8902,13 +8460,13 @@ x_115 = l_Lean_Syntax_node2(x_23, x_5, x_26, x_26); if (lean_obj_tag(x_6) == 0) { lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_116 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_23); x_117 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_117, 0, x_23); lean_ctor_set(x_117, 1, x_24); lean_ctor_set(x_117, 2, x_116); -x_118 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_118 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_26, 4); lean_inc(x_117); lean_inc(x_23); @@ -8918,10 +8476,10 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_inc(x_23); x_120 = l_Lean_Syntax_node4(x_23, x_7, x_74, x_114, x_115, x_117); -x_121 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_121 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_23); x_122 = l_Lean_Syntax_node5(x_23, x_121, x_54, x_60, x_72, x_120, x_26); -x_123 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_123 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_124 = l_Lean_Syntax_node2(x_23, x_123, x_119, x_122); lean_ctor_set(x_17, 0, x_124); return x_17; @@ -8943,10 +8501,10 @@ lean_ctor_set(x_128, 1, x_24); lean_ctor_set(x_128, 2, x_127); lean_inc(x_23); x_129 = l_Lean_Syntax_node4(x_23, x_7, x_74, x_114, x_115, x_128); -x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_130 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_23); x_131 = l_Lean_Syntax_node5(x_23, x_130, x_54, x_60, x_72, x_129, x_26); -x_132 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_132 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_133 = l_Lean_Syntax_node2(x_23, x_132, x_119, x_131); lean_ctor_set(x_17, 0, x_133); return x_17; @@ -8966,14 +8524,14 @@ x_137 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_137, 0, x_23); lean_ctor_set(x_137, 1, x_24); lean_ctor_set(x_137, 2, x_136); -x_138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_138 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_26, 4); lean_inc(x_23); x_139 = l_Lean_Syntax_node6(x_23, x_138, x_137, x_52, x_26, x_26, x_26, x_26); if (lean_obj_tag(x_9) == 0) { lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_140 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_140 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_23); x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_23); @@ -8981,10 +8539,10 @@ lean_ctor_set(x_141, 1, x_24); lean_ctor_set(x_141, 2, x_140); lean_inc(x_23); x_142 = l_Lean_Syntax_node4(x_23, x_7, x_74, x_114, x_115, x_141); -x_143 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_143 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_23); x_144 = l_Lean_Syntax_node5(x_23, x_143, x_54, x_60, x_72, x_142, x_26); -x_145 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_145 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_146 = l_Lean_Syntax_node2(x_23, x_145, x_139, x_144); lean_ctor_set(x_17, 0, x_146); return x_17; @@ -9005,10 +8563,10 @@ lean_ctor_set(x_150, 1, x_24); lean_ctor_set(x_150, 2, x_149); lean_inc(x_23); x_151 = l_Lean_Syntax_node4(x_23, x_7, x_74, x_114, x_115, x_150); -x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_152 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_23); x_153 = l_Lean_Syntax_node5(x_23, x_152, x_54, x_60, x_72, x_151, x_26); -x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_154 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_155 = l_Lean_Syntax_node2(x_23, x_154, x_139, x_153); lean_ctor_set(x_17, 0, x_155); return x_17; @@ -9028,8 +8586,8 @@ x_159 = 0; x_160 = l_Lean_mkIdentFrom(x_156, x_158, x_159); x_161 = l_Lean_SourceInfo_fromRef(x_16, x_159); lean_dec(x_16); -x_162 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_162 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_163 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_161); x_164 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_164, 0, x_161); @@ -9065,7 +8623,7 @@ x_177 = lean_array_mk(x_176); x_178 = l_Lake_DSL_expandAttrs(x_3); x_179 = l_Array_append___rarg(x_177, x_178); lean_dec(x_178); -x_180 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_180 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_161); x_181 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_181, 0, x_161); @@ -9080,17 +8638,17 @@ x_185 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_185, 0, x_161); lean_ctor_set(x_185, 1, x_162); lean_ctor_set(x_185, 2, x_184); -x_186 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_186 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_161); x_187 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_187, 0, x_161); lean_ctor_set(x_187, 1, x_186); -x_188 = l_Lake_DSL_packageCommand___closed__17; +x_188 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_161); x_189 = l_Lean_Syntax_node3(x_161, x_188, x_181, x_185, x_187); lean_inc(x_161); x_190 = l_Lean_Syntax_node1(x_161, x_162, x_189); -x_191 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_191 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_161); x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_161); @@ -9106,11 +8664,11 @@ lean_ctor_set(x_196, 0, x_161); lean_ctor_set(x_196, 1, x_195); lean_ctor_set(x_196, 2, x_194); lean_ctor_set(x_196, 3, x_169); -x_197 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_197 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; lean_inc(x_164); lean_inc(x_161); x_198 = l_Lean_Syntax_node2(x_161, x_197, x_196, x_164); -x_199 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_199 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_161); x_200 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_200, 0, x_161); @@ -9127,12 +8685,12 @@ lean_ctor_set(x_205, 0, x_161); lean_ctor_set(x_205, 1, x_203); lean_ctor_set(x_205, 2, x_202); lean_ctor_set(x_205, 3, x_204); -x_206 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_206 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_161); x_207 = l_Lean_Syntax_node2(x_161, x_206, x_200, x_205); lean_inc(x_161); x_208 = l_Lean_Syntax_node1(x_161, x_162, x_207); -x_209 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_209 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_164); lean_inc(x_161); x_210 = l_Lean_Syntax_node2(x_161, x_209, x_164, x_208); @@ -9216,7 +8774,7 @@ lean_inc(x_161); x_243 = l_Lean_Syntax_node2(x_161, x_224, x_231, x_242); lean_inc(x_161); x_244 = l_Lean_Syntax_node3(x_161, x_162, x_225, x_226, x_243); -x_245 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_245 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_161); x_246 = l_Lean_Syntax_node1(x_161, x_245, x_244); x_247 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -9238,13 +8796,13 @@ x_253 = l_Lean_Syntax_node2(x_161, x_5, x_164, x_164); if (lean_obj_tag(x_6) == 0) { lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_254 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_254 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_161); x_255 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_255, 0, x_161); lean_ctor_set(x_255, 1, x_162); lean_ctor_set(x_255, 2, x_254); -x_256 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_256 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_164, 4); lean_inc(x_255); lean_inc(x_161); @@ -9254,10 +8812,10 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_inc(x_161); x_258 = l_Lean_Syntax_node4(x_161, x_7, x_212, x_252, x_253, x_255); -x_259 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_259 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_161); x_260 = l_Lean_Syntax_node5(x_161, x_259, x_192, x_198, x_210, x_258, x_164); -x_261 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_261 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_262 = l_Lean_Syntax_node2(x_161, x_261, x_257, x_260); x_263 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_263, 0, x_262); @@ -9281,10 +8839,10 @@ lean_ctor_set(x_267, 1, x_162); lean_ctor_set(x_267, 2, x_266); lean_inc(x_161); x_268 = l_Lean_Syntax_node4(x_161, x_7, x_212, x_252, x_253, x_267); -x_269 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_269 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_161); x_270 = l_Lean_Syntax_node5(x_161, x_269, x_192, x_198, x_210, x_268, x_164); -x_271 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_271 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_272 = l_Lean_Syntax_node2(x_161, x_271, x_257, x_270); x_273 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_273, 0, x_272); @@ -9306,14 +8864,14 @@ x_277 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_277, 0, x_161); lean_ctor_set(x_277, 1, x_162); lean_ctor_set(x_277, 2, x_276); -x_278 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_278 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_164, 4); lean_inc(x_161); x_279 = l_Lean_Syntax_node6(x_161, x_278, x_277, x_190, x_164, x_164, x_164, x_164); if (lean_obj_tag(x_9) == 0) { lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_280 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_280 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_161); x_281 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_281, 0, x_161); @@ -9321,10 +8879,10 @@ lean_ctor_set(x_281, 1, x_162); lean_ctor_set(x_281, 2, x_280); lean_inc(x_161); x_282 = l_Lean_Syntax_node4(x_161, x_7, x_212, x_252, x_253, x_281); -x_283 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_283 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_161); x_284 = l_Lean_Syntax_node5(x_161, x_283, x_192, x_198, x_210, x_282, x_164); -x_285 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_285 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_286 = l_Lean_Syntax_node2(x_161, x_285, x_279, x_284); x_287 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_287, 0, x_286); @@ -9347,10 +8905,10 @@ lean_ctor_set(x_291, 1, x_162); lean_ctor_set(x_291, 2, x_290); lean_inc(x_161); x_292 = l_Lean_Syntax_node4(x_161, x_7, x_212, x_252, x_253, x_291); -x_293 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_293 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_161); x_294 = l_Lean_Syntax_node5(x_161, x_293, x_192, x_198, x_210, x_292, x_164); -x_295 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_295 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_296 = l_Lean_Syntax_node2(x_161, x_295, x_279, x_294); x_297 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_297, 0, x_296); @@ -9407,8 +8965,8 @@ x_311 = 0; x_312 = l_Lean_mkIdentFrom(x_307, x_310, x_311); x_313 = l_Lean_SourceInfo_fromRef(x_304, x_311); lean_dec(x_304); -x_314 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_315 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_314 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_315 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_313); x_316 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_316, 0, x_313); @@ -9444,7 +9002,7 @@ x_329 = lean_array_mk(x_328); x_330 = l_Lake_DSL_expandAttrs(x_3); x_331 = l_Array_append___rarg(x_329, x_330); lean_dec(x_330); -x_332 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__37; +x_332 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__39; lean_inc(x_313); x_333 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_333, 0, x_313); @@ -9459,17 +9017,17 @@ x_337 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_337, 0, x_313); lean_ctor_set(x_337, 1, x_314); lean_ctor_set(x_337, 2, x_336); -x_338 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; +x_338 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__40; lean_inc(x_313); x_339 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_339, 0, x_313); lean_ctor_set(x_339, 1, x_338); -x_340 = l_Lake_DSL_packageCommand___closed__17; +x_340 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__38; lean_inc(x_313); x_341 = l_Lean_Syntax_node3(x_313, x_340, x_333, x_337, x_339); lean_inc(x_313); x_342 = l_Lean_Syntax_node1(x_313, x_314, x_341); -x_343 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__14; +x_343 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; lean_inc(x_313); x_344 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_344, 0, x_313); @@ -9485,11 +9043,11 @@ lean_ctor_set(x_348, 0, x_313); lean_ctor_set(x_348, 1, x_347); lean_ctor_set(x_348, 2, x_346); lean_ctor_set(x_348, 3, x_321); -x_349 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__16; +x_349 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__18; lean_inc(x_316); lean_inc(x_313); x_350 = l_Lean_Syntax_node2(x_313, x_349, x_348, x_316); -x_351 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; +x_351 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27; lean_inc(x_313); x_352 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_352, 0, x_313); @@ -9506,12 +9064,12 @@ lean_ctor_set(x_357, 0, x_313); lean_ctor_set(x_357, 1, x_355); lean_ctor_set(x_357, 2, x_354); lean_ctor_set(x_357, 3, x_356); -x_358 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; +x_358 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26; lean_inc(x_313); x_359 = l_Lean_Syntax_node2(x_313, x_358, x_352, x_357); lean_inc(x_313); x_360 = l_Lean_Syntax_node1(x_313, x_314, x_359); -x_361 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__21; +x_361 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23; lean_inc(x_316); lean_inc(x_313); x_362 = l_Lean_Syntax_node2(x_313, x_361, x_316, x_360); @@ -9595,7 +9153,7 @@ lean_inc(x_313); x_395 = l_Lean_Syntax_node2(x_313, x_376, x_383, x_394); lean_inc(x_313); x_396 = l_Lean_Syntax_node3(x_313, x_314, x_377, x_378, x_395); -x_397 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__12; +x_397 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; lean_inc(x_313); x_398 = l_Lean_Syntax_node1(x_313, x_397, x_396); x_399 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__35; @@ -9617,13 +9175,13 @@ x_405 = l_Lean_Syntax_node2(x_313, x_5, x_316, x_316); if (lean_obj_tag(x_6) == 0) { lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_406 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_406 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_313); x_407 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_407, 0, x_313); lean_ctor_set(x_407, 1, x_314); lean_ctor_set(x_407, 2, x_406); -x_408 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_408 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_316, 4); lean_inc(x_407); lean_inc(x_313); @@ -9633,10 +9191,10 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_inc(x_313); x_410 = l_Lean_Syntax_node4(x_313, x_7, x_364, x_404, x_405, x_407); -x_411 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_411 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_313); x_412 = l_Lean_Syntax_node5(x_313, x_411, x_344, x_350, x_362, x_410, x_316); -x_413 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_413 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_414 = l_Lean_Syntax_node2(x_313, x_413, x_409, x_412); if (lean_is_scalar(x_309)) { x_415 = lean_alloc_ctor(0, 2, 0); @@ -9664,10 +9222,10 @@ lean_ctor_set(x_419, 1, x_314); lean_ctor_set(x_419, 2, x_418); lean_inc(x_313); x_420 = l_Lean_Syntax_node4(x_313, x_7, x_364, x_404, x_405, x_419); -x_421 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_421 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_313); x_422 = l_Lean_Syntax_node5(x_313, x_421, x_344, x_350, x_362, x_420, x_316); -x_423 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_423 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_424 = l_Lean_Syntax_node2(x_313, x_423, x_409, x_422); if (lean_is_scalar(x_309)) { x_425 = lean_alloc_ctor(0, 2, 0); @@ -9693,14 +9251,14 @@ x_429 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_429, 0, x_313); lean_ctor_set(x_429, 1, x_314); lean_ctor_set(x_429, 2, x_428); -x_430 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; +x_430 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; lean_inc_n(x_316, 4); lean_inc(x_313); x_431 = l_Lean_Syntax_node6(x_313, x_430, x_429, x_342, x_316, x_316, x_316, x_316); if (lean_obj_tag(x_9) == 0) { lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_432 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_432 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_313); x_433 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_433, 0, x_313); @@ -9708,10 +9266,10 @@ lean_ctor_set(x_433, 1, x_314); lean_ctor_set(x_433, 2, x_432); lean_inc(x_313); x_434 = l_Lean_Syntax_node4(x_313, x_7, x_364, x_404, x_405, x_433); -x_435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_435 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_313); x_436 = l_Lean_Syntax_node5(x_313, x_435, x_344, x_350, x_362, x_434, x_316); -x_437 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_437 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_438 = l_Lean_Syntax_node2(x_313, x_437, x_431, x_436); if (lean_is_scalar(x_309)) { x_439 = lean_alloc_ctor(0, 2, 0); @@ -9738,10 +9296,10 @@ lean_ctor_set(x_443, 1, x_314); lean_ctor_set(x_443, 2, x_442); lean_inc(x_313); x_444 = l_Lean_Syntax_node4(x_313, x_7, x_364, x_404, x_405, x_443); -x_445 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; +x_445 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__15; lean_inc(x_313); x_446 = l_Lean_Syntax_node5(x_313, x_445, x_344, x_350, x_362, x_444, x_316); -x_447 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__6; +x_447 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__8; x_448 = l_Lean_Syntax_node2(x_313, x_447, x_431, x_446); if (lean_is_scalar(x_309)) { x_449 = lean_alloc_ctor(0, 2, 0); @@ -9789,14 +9347,14 @@ lean_ctor_set(x_22, 0, x_14); lean_ctor_set(x_22, 1, x_21); lean_inc(x_14); x_23 = l_Lean_Syntax_node2(x_14, x_2, x_22, x_3); -x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__10; -x_25 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__11; +x_24 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__12; +x_25 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__13; lean_inc(x_14); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_14); lean_ctor_set(x_26, 1, x_24); lean_ctor_set(x_26, 2, x_25); -x_27 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_27 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc(x_26); lean_inc(x_14); x_28 = l_Lean_Syntax_node2(x_14, x_27, x_26, x_26); @@ -9853,7 +9411,7 @@ lean_ctor_set(x_34, 2, x_33); if (lean_obj_tag(x_4) == 0) { lean_object* x_35; lean_object* x_36; -x_35 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_35 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_14); x_36 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_36, 0, x_14); @@ -9862,7 +9420,7 @@ lean_ctor_set(x_36, 2, x_35); if (lean_obj_tag(x_9) == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_37 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_36); lean_inc(x_14); x_38 = l_Lean_Syntax_node4(x_14, x_37, x_20, x_23, x_28, x_36); @@ -9886,7 +9444,7 @@ x_44 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_44, 0, x_14); lean_ctor_set(x_44, 1, x_24); lean_ctor_set(x_44, 2, x_43); -x_45 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_45 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_14); x_46 = l_Lean_Syntax_node4(x_14, x_45, x_20, x_23, x_28, x_44); x_47 = l_Lean_Syntax_node5(x_14, x_5, x_31, x_34, x_18, x_36, x_46); @@ -9913,13 +9471,13 @@ lean_ctor_set(x_52, 2, x_51); if (lean_obj_tag(x_9) == 0) { lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_53 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__54; +x_53 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__56; lean_inc(x_14); x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_14); lean_ctor_set(x_54, 1, x_24); lean_ctor_set(x_54, 2, x_53); -x_55 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_55 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_14); x_56 = l_Lean_Syntax_node4(x_14, x_55, x_20, x_23, x_28, x_54); x_57 = l_Lean_Syntax_node5(x_14, x_5, x_31, x_34, x_18, x_52, x_56); @@ -9942,7 +9500,7 @@ x_62 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_62, 0, x_14); lean_ctor_set(x_62, 1, x_24); lean_ctor_set(x_62, 2, x_61); -x_63 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_63 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_14); x_64 = l_Lean_Syntax_node4(x_14, x_63, x_20, x_23, x_28, x_62); x_65 = l_Lean_Syntax_node5(x_14, x_5, x_31, x_34, x_18, x_52, x_64); @@ -9968,8 +9526,8 @@ static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; x_3 = l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -9987,9 +9545,9 @@ static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__ _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_DSL_packageCommand___closed__13; -x_2 = l_Lake_DSL_packageCommand___closed__14; -x_3 = l_Lake_DSL_packageCommand___closed__15; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__3; +x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24; x_4 = l_Lake_DSL_expandPostUpdateDecl___lambda__2___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -10008,7 +9566,7 @@ if (x_13 == 0) { lean_object* x_14; uint8_t x_15; lean_dec(x_5); -x_14 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__50; +x_14 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__52; lean_inc(x_11); x_15 = l_Lean_Syntax_isOfKind(x_11, x_14); if (x_15 == 0) @@ -10029,7 +9587,7 @@ x_18 = lean_unsigned_to_nat(1u); x_19 = l_Lean_Syntax_getArg(x_11, x_18); x_20 = lean_unsigned_to_nat(2u); x_21 = l_Lean_Syntax_getArg(x_11, x_20); -x_22 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__53; +x_22 = l_Lake_DSL_elabPackageCommand___lambda__1___closed__55; lean_inc(x_21); x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); if (x_23 == 0) @@ -10111,7 +9669,7 @@ else lean_object* x_41; lean_object* x_42; uint8_t x_43; x_41 = l_Lean_Syntax_getArg(x_36, x_26); lean_dec(x_36); -x_42 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; +x_42 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; lean_inc(x_41); x_43 = l_Lean_Syntax_isOfKind(x_41, x_42); if (x_43 == 0) @@ -10204,7 +9762,7 @@ else lean_object* x_65; lean_object* x_66; uint8_t x_67; x_65 = l_Lean_Syntax_getArg(x_60, x_52); lean_dec(x_60); -x_66 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__14; +x_66 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__16; lean_inc(x_65); x_67 = l_Lean_Syntax_isOfKind(x_65, x_66); if (x_67 == 0) @@ -10345,11 +9903,30 @@ return x_20; } } } +static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("postUpdateDecl", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandPostUpdateDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; +x_3 = l_Lake_DSL_expandPostUpdateDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandPostUpdateDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_postUpdateDecl___closed__2; +x_4 = l_Lake_DSL_expandPostUpdateDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -10471,8 +10048,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageCommand___closed__1; -x_2 = l_Lake_DSL_packageCommand___closed__2; +x_1 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1; +x_2 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2; x_3 = l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -10499,7 +10076,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__3; -x_3 = l_Lake_DSL_postUpdateDecl___closed__2; +x_3 = l_Lake_DSL_expandPostUpdateDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -10509,6 +10086,7 @@ return x_6; lean_object* initialize_Lake_Config_Package(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_Attributes(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Package(uint8_t builtin, lean_object* w) { lean_object * res; @@ -10523,62 +10101,9 @@ lean_dec_ref(res); res = initialize_Lake_DSL_DeclUtil(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_packageCommand___closed__1 = _init_l_Lake_DSL_packageCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__1); -l_Lake_DSL_packageCommand___closed__2 = _init_l_Lake_DSL_packageCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__2); -l_Lake_DSL_packageCommand___closed__3 = _init_l_Lake_DSL_packageCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__3); -l_Lake_DSL_packageCommand___closed__4 = _init_l_Lake_DSL_packageCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__4); -l_Lake_DSL_packageCommand___closed__5 = _init_l_Lake_DSL_packageCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__5); -l_Lake_DSL_packageCommand___closed__6 = _init_l_Lake_DSL_packageCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__6); -l_Lake_DSL_packageCommand___closed__7 = _init_l_Lake_DSL_packageCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__7); -l_Lake_DSL_packageCommand___closed__8 = _init_l_Lake_DSL_packageCommand___closed__8(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__8); -l_Lake_DSL_packageCommand___closed__9 = _init_l_Lake_DSL_packageCommand___closed__9(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__9); -l_Lake_DSL_packageCommand___closed__10 = _init_l_Lake_DSL_packageCommand___closed__10(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__10); -l_Lake_DSL_packageCommand___closed__11 = _init_l_Lake_DSL_packageCommand___closed__11(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__11); -l_Lake_DSL_packageCommand___closed__12 = _init_l_Lake_DSL_packageCommand___closed__12(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__12); -l_Lake_DSL_packageCommand___closed__13 = _init_l_Lake_DSL_packageCommand___closed__13(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__13); -l_Lake_DSL_packageCommand___closed__14 = _init_l_Lake_DSL_packageCommand___closed__14(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__14); -l_Lake_DSL_packageCommand___closed__15 = _init_l_Lake_DSL_packageCommand___closed__15(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__15); -l_Lake_DSL_packageCommand___closed__16 = _init_l_Lake_DSL_packageCommand___closed__16(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__16); -l_Lake_DSL_packageCommand___closed__17 = _init_l_Lake_DSL_packageCommand___closed__17(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__17); -l_Lake_DSL_packageCommand___closed__18 = _init_l_Lake_DSL_packageCommand___closed__18(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__18); -l_Lake_DSL_packageCommand___closed__19 = _init_l_Lake_DSL_packageCommand___closed__19(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__19); -l_Lake_DSL_packageCommand___closed__20 = _init_l_Lake_DSL_packageCommand___closed__20(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__20); -l_Lake_DSL_packageCommand___closed__21 = _init_l_Lake_DSL_packageCommand___closed__21(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__21); -l_Lake_DSL_packageCommand___closed__22 = _init_l_Lake_DSL_packageCommand___closed__22(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__22); -l_Lake_DSL_packageCommand___closed__23 = _init_l_Lake_DSL_packageCommand___closed__23(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__23); -l_Lake_DSL_packageCommand___closed__24 = _init_l_Lake_DSL_packageCommand___closed__24(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__24); -l_Lake_DSL_packageCommand___closed__25 = _init_l_Lake_DSL_packageCommand___closed__25(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__25); -l_Lake_DSL_packageCommand___closed__26 = _init_l_Lake_DSL_packageCommand___closed__26(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__26); -l_Lake_DSL_packageCommand___closed__27 = _init_l_Lake_DSL_packageCommand___closed__27(); -lean_mark_persistent(l_Lake_DSL_packageCommand___closed__27); -l_Lake_DSL_packageCommand = _init_l_Lake_DSL_packageCommand(); -lean_mark_persistent(l_Lake_DSL_packageCommand); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__1 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__1); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__2(); @@ -10627,6 +10152,12 @@ l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___c lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__23); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24(); lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__24); +l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25(); +lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__25); +l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26(); +lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__26); +l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27(); +lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___lambda__1___closed__27); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1(); lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__1); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__2(); @@ -10665,6 +10196,10 @@ l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__18 = lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__18); l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19(); lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__19); +l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20(); +lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__20); +l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21(); +lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabPackageCommand___spec__2___closed__21); l_Lake_DSL_elabPackageCommand___lambda__1___closed__1 = _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_elabPackageCommand___lambda__1___closed__1); l_Lake_DSL_elabPackageCommand___lambda__1___closed__2 = _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__2(); @@ -10773,10 +10308,18 @@ l_Lake_DSL_elabPackageCommand___lambda__1___closed__53 = _init_l_Lake_DSL_elabPa lean_mark_persistent(l_Lake_DSL_elabPackageCommand___lambda__1___closed__53); l_Lake_DSL_elabPackageCommand___lambda__1___closed__54 = _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__54(); lean_mark_persistent(l_Lake_DSL_elabPackageCommand___lambda__1___closed__54); +l_Lake_DSL_elabPackageCommand___lambda__1___closed__55 = _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__55(); +lean_mark_persistent(l_Lake_DSL_elabPackageCommand___lambda__1___closed__55); +l_Lake_DSL_elabPackageCommand___lambda__1___closed__56 = _init_l_Lake_DSL_elabPackageCommand___lambda__1___closed__56(); +lean_mark_persistent(l_Lake_DSL_elabPackageCommand___lambda__1___closed__56); l_Lake_DSL_elabPackageCommand___closed__1 = _init_l_Lake_DSL_elabPackageCommand___closed__1(); lean_mark_persistent(l_Lake_DSL_elabPackageCommand___closed__1); l_Lake_DSL_elabPackageCommand___closed__2 = _init_l_Lake_DSL_elabPackageCommand___closed__2(); lean_mark_persistent(l_Lake_DSL_elabPackageCommand___closed__2); +l_Lake_DSL_elabPackageCommand___closed__3 = _init_l_Lake_DSL_elabPackageCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_elabPackageCommand___closed__3); +l_Lake_DSL_elabPackageCommand___closed__4 = _init_l_Lake_DSL_elabPackageCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_elabPackageCommand___closed__4); l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__1); l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__2(); @@ -10788,43 +10331,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabPackageCommand__1___closed__4); if (builtin) {res = l___regBuiltin_Lake_DSL_elabPackageCommand__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_postUpdateDecl___closed__1 = _init_l_Lake_DSL_postUpdateDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__1); -l_Lake_DSL_postUpdateDecl___closed__2 = _init_l_Lake_DSL_postUpdateDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__2); -l_Lake_DSL_postUpdateDecl___closed__3 = _init_l_Lake_DSL_postUpdateDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__3); -l_Lake_DSL_postUpdateDecl___closed__4 = _init_l_Lake_DSL_postUpdateDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__4); -l_Lake_DSL_postUpdateDecl___closed__5 = _init_l_Lake_DSL_postUpdateDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__5); -l_Lake_DSL_postUpdateDecl___closed__6 = _init_l_Lake_DSL_postUpdateDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__6); -l_Lake_DSL_postUpdateDecl___closed__7 = _init_l_Lake_DSL_postUpdateDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__7); -l_Lake_DSL_postUpdateDecl___closed__8 = _init_l_Lake_DSL_postUpdateDecl___closed__8(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__8); -l_Lake_DSL_postUpdateDecl___closed__9 = _init_l_Lake_DSL_postUpdateDecl___closed__9(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__9); -l_Lake_DSL_postUpdateDecl___closed__10 = _init_l_Lake_DSL_postUpdateDecl___closed__10(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__10); -l_Lake_DSL_postUpdateDecl___closed__11 = _init_l_Lake_DSL_postUpdateDecl___closed__11(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__11); -l_Lake_DSL_postUpdateDecl___closed__12 = _init_l_Lake_DSL_postUpdateDecl___closed__12(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__12); -l_Lake_DSL_postUpdateDecl___closed__13 = _init_l_Lake_DSL_postUpdateDecl___closed__13(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__13); -l_Lake_DSL_postUpdateDecl___closed__14 = _init_l_Lake_DSL_postUpdateDecl___closed__14(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__14); -l_Lake_DSL_postUpdateDecl___closed__15 = _init_l_Lake_DSL_postUpdateDecl___closed__15(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__15); -l_Lake_DSL_postUpdateDecl___closed__16 = _init_l_Lake_DSL_postUpdateDecl___closed__16(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__16); -l_Lake_DSL_postUpdateDecl___closed__17 = _init_l_Lake_DSL_postUpdateDecl___closed__17(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__17); -l_Lake_DSL_postUpdateDecl = _init_l_Lake_DSL_postUpdateDecl(); -lean_mark_persistent(l_Lake_DSL_postUpdateDecl); -l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1(); +}l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__1); l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__2 = _init_l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__2(); lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___lambda__1___closed__2); @@ -10890,6 +10397,10 @@ l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__3 = _init_l_Lake_DSL_expan lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__3); l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__4 = _init_l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__4(); lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___lambda__3___closed__4); +l_Lake_DSL_expandPostUpdateDecl___closed__1 = _init_l_Lake_DSL_expandPostUpdateDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___closed__1); +l_Lake_DSL_expandPostUpdateDecl___closed__2 = _init_l_Lake_DSL_expandPostUpdateDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandPostUpdateDecl___closed__2); l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandPostUpdateDecl__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/Require.c b/stage0/stdlib/Lake/DSL/Require.c index 845b801e7d..bff359e8ec 100644 --- a/stage0/stdlib/Lake/DSL/Require.c +++ b/stage0/stdlib/Lake/DSL/Require.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Require -// Imports: Lean.Parser.Command Lake.Config.Dependency Lake.DSL.Extensions Lake.DSL.DeclUtil +// Imports: Lean.Parser.Command Lake.Config.Dependency Lake.DSL.Extensions Lake.DSL.DeclUtil Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,62 +14,43 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_depSpec; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__13; -static lean_object* l_Lake_DSL_fromGit___closed__8; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_withClause___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__73; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__6; -static lean_object* l_Lake_DSL_depSpec___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__26; lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__19; -LEAN_EXPORT lean_object* l_Lake_DSL_fromClause; -static lean_object* l_Lake_DSL_depSpec___closed__9; -static lean_object* l_Lake_DSL_requireDecl___closed__6; -static lean_object* l_Lake_DSL_requireDecl___closed__11; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__65; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__5; -static lean_object* l_Lake_DSL_fromClause___closed__5; -static lean_object* l_Lake_DSL_depName___closed__2; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__18; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__63; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__11; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__62; -static lean_object* l_Lake_DSL_verSpec___closed__3; -static lean_object* l_Lake_DSL_verClause___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__53; +static lean_object* l_Lake_DSL_expandRequireDecl___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__41; -static lean_object* l_Lake_DSL_fromGit___closed__18; lean_object* l_Lean_Syntax_getId(lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_requireDecl; -static lean_object* l_Lake_DSL_fromPath___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__23; -static lean_object* l_Lake_DSL_fromClause___closed__1; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__10; -static lean_object* l_Lake_DSL_depSpec___closed__8; -static lean_object* l_Lake_DSL_depSpec___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__67; -static lean_object* l_Lake_DSL_fromSource___closed__5; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__9; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__17; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__42; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__3; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__9; +static lean_object* l_Lake_DSL_expandDepSpec___closed__1; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__81; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__69; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__7___closed__1; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__58; -static lean_object* l_Lake_DSL_verClause___closed__6; -LEAN_EXPORT lean_object* l_Lake_DSL_verSpec; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__48; -static lean_object* l_Lake_DSL_fromGit___closed__2; -static lean_object* l_Lake_DSL_verSpec___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__6; -extern lean_object* l_Lake_DSL_identOrStr; +static lean_object* l_Lake_DSL_expandDepSpec___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__35; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__75; @@ -78,75 +59,55 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__3___boxed(lean_objec uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandRequireDecl__1(lean_object*); -static lean_object* l_Lake_DSL_requireDecl___closed__5; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__47; -static lean_object* l_Lake_DSL_depName___closed__13; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__24; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__55; -static lean_object* l_Lake_DSL_depName___closed__8; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__59; -static lean_object* l_Lake_DSL_requireDecl___closed__9; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__36; -static lean_object* l_Lake_DSL_fromGit___closed__12; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__12; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__28; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__78; -static lean_object* l_Lake_DSL_fromGit___closed__20; -static lean_object* l_Lake_DSL_requireDecl___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__16; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__66; -static lean_object* l_Lake_DSL_fromGit___closed__5; -static lean_object* l_Lake_DSL_verClause___closed__1; -static lean_object* l_Lake_DSL_requireDecl___closed__2; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__6___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__4___closed__1; -static lean_object* l_Lake_DSL_depName___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__10; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__29; -static lean_object* l_Lake_DSL_fromSource___closed__3; -static lean_object* l_Lake_DSL_fromPath___closed__5; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromPath___closed__4; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__8; -static lean_object* l_Lake_DSL_depSpec___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__7; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__17; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__56; -static lean_object* l_Lake_DSL_requireDecl___closed__10; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__4; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depName___closed__9; -static lean_object* l_Lake_DSL_fromGit___closed__14; -static lean_object* l_Lake_DSL_verClause___closed__5; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__71; lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromPath___closed__1; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__5; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__1; -static lean_object* l_Lake_DSL_withClause___closed__6; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__12; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromSource___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__3; -static lean_object* l_Lake_DSL_fromGit___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__38; -static lean_object* l_Lake_DSL_fromGit___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__10; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__44; -static lean_object* l_Lake_DSL_fromGit___closed__10; static lean_object* l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__1; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__7___closed__2; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__5; lean_object* l_Lean_quoteNameMk(lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__10; @@ -163,11 +124,10 @@ lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_ static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__50; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__77; -static lean_object* l_Lake_DSL_verSpec___closed__4; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; -LEAN_EXPORT lean_object* l_Lake_DSL_fromGit; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depName___closed__12; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__11; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__14; static lean_object* l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__34; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -175,126 +135,91 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__9; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__15; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__5; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__11; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__16; extern lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__40; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__22; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__14; -static lean_object* l_Lake_DSL_withClause___closed__5; -static lean_object* l_Lake_DSL_depName___closed__14; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depSpec___closed__6; +static lean_object* l_Lake_DSL_expandRequireDecl___closed__2; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__3; -static lean_object* l_Lake_DSL_requireDecl___closed__4; -static lean_object* l_Lake_DSL_fromClause___closed__4; -static lean_object* l_Lake_DSL_fromPath___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__43; lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_fromSource; -static lean_object* l_Lake_DSL_depName___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__8; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__4; -static lean_object* l_Lake_DSL_fromGit___closed__1; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__4; -LEAN_EXPORT lean_object* l_Lake_DSL_fromPath; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__14; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depName___closed__3; -static lean_object* l_Lake_DSL_fromGit___closed__15; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__5; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__64; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandRequireDecl(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_withClause___closed__2; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__15; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__9; static lean_object* l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__21; -static lean_object* l_Lake_DSL_fromGit___closed__13; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__74; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__46; -static lean_object* l_Lake_DSL_requireDecl___closed__8; -static lean_object* l_Lake_DSL_fromGit___closed__21; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__3; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromClause___closed__3; -static lean_object* l_Lake_DSL_depName___closed__5; -static lean_object* l_Lake_DSL_fromClause___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__6___closed__1; -static lean_object* l_Lake_DSL_fromPath___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__32; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__57; -static lean_object* l_Lake_DSL_verClause___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depName___closed__6; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__79; -LEAN_EXPORT lean_object* l_Lake_DSL_depName; -static lean_object* l_Lake_DSL_fromGit___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__72; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__11; uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__52; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__60; lean_object* l_Array_mkArray1___rarg(lean_object*); -static lean_object* l_Lake_DSL_withClause___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depName___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__31; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__9; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__12; -static lean_object* l_Lake_DSL_fromSource___closed__2; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__30; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__6; -static lean_object* l_Lake_DSL_verClause___closed__4; lean_object* l_String_intercalate(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromPath___closed__8; lean_object* lean_array_mk(lean_object*); +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__16; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__8; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__25; -static lean_object* l_Lake_DSL_withClause___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__13; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__6___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_fromGit___closed__17; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__19; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_verSpec___closed__2; +static lean_object* l_Lake_DSL_expandDepSpec___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__54; -static lean_object* l_Lake_DSL_fromPath___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__18; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__61; static lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__37; -LEAN_EXPORT lean_object* l_Lake_DSL_withClause; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_depSpec___closed__3; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__7; static lean_object* l_Lake_DSL_expandDepSpec___lambda__3___closed__1; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__45; static lean_object* l_Lake_DSL_expandRequireDecl___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__13; static lean_object* l_Lake_DSL_expandDepSpec___lambda__5___closed__7; LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm(lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_verClause; -static lean_object* l_Lake_DSL_depSpec___closed__1; -static lean_object* l_Lake_DSL_depName___closed__11; -static lean_object* l_Lake_DSL_requireDecl___closed__1; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__13; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__27; -static lean_object* l_Lake_DSL_depSpec___closed__4; static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__9; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__68; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__51; @@ -308,977 +233,12 @@ static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__20; lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_instCoeRequireDeclCommand(lean_object*); -static lean_object* l_Lake_DSL_fromSource___closed__1; -static lean_object* l_Lake_DSL_requireDecl___closed__3; -static lean_object* l_Lake_DSL_depName___closed__10; static lean_object* l_Lake_DSL_expandDepSpec___lambda__1___closed__39; -static lean_object* l_Lake_DSL_verSpec___closed__5; +static lean_object* l_Lake_DSL_expandDepSpec___lambda__2___closed__15; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__2; -static lean_object* l_Lake_DSL_fromSource___closed__4; -static lean_object* l_Lake_DSL_fromClause___closed__2; +static lean_object* l_Lake_DSL_expandDepSpec___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeRequireDeclCommand___boxed(lean_object*); -static lean_object* _init_l_Lake_DSL_fromPath___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fromPath", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_fromPath___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_fromPath___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_fromPath___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromPath___closed__6; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(7, 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_DSL_fromPath___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__3; -x_2 = l_Lake_DSL_fromPath___closed__4; -x_3 = l_Lake_DSL_fromPath___closed__7; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromPath() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_fromPath___closed__8; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fromGit", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_fromGit___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_fromGit___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("git ", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__6() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__5; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromPath___closed__6; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = lean_alloc_ctor(7, 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_DSL_fromGit___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromGit___closed__6; -x_3 = l_Lake_DSL_fromGit___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_fromGit___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("@", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_fromGit___closed__11; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromGit___closed__12; -x_3 = l_Lake_DSL_fromGit___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_fromGit___closed__13; -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_Lake_DSL_fromGit___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromGit___closed__8; -x_3 = l_Lake_DSL_fromGit___closed__14; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("/", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_fromGit___closed__16; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromGit___closed__17; -x_3 = l_Lake_DSL_fromPath___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_fromGit___closed__18; -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_Lake_DSL_fromGit___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromGit___closed__15; -x_3 = l_Lake_DSL_fromGit___closed__19; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__1; -x_2 = l_Lake_DSL_fromGit___closed__2; -x_3 = l_Lake_DSL_fromGit___closed__20; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromGit() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_fromGit___closed__21; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fromSource", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_fromSource___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("orelse", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_fromSource___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromSource___closed__4; -x_2 = l_Lake_DSL_fromGit; -x_3 = l_Lake_DSL_fromPath; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromSource___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromSource___closed__1; -x_2 = l_Lake_DSL_fromSource___closed__2; -x_3 = l_Lake_DSL_fromSource___closed__5; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromSource() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_fromSource___closed__6; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fromClause", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_fromClause___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" from ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_fromClause___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_fromClause___closed__4; -x_3 = l_Lake_DSL_fromSource; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromClause___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromClause___closed__1; -x_2 = l_Lake_DSL_fromClause___closed__2; -x_3 = l_Lake_DSL_fromClause___closed__5; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_fromClause() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_fromClause___closed__6; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("withClause", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_withClause___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" with ", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_withClause___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_withClause___closed__4; -x_3 = l_Lake_DSL_fromPath___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_withClause___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_withClause___closed__1; -x_2 = l_Lake_DSL_withClause___closed__2; -x_3 = l_Lake_DSL_withClause___closed__5; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_withClause() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_withClause___closed__6; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_verSpec___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("verSpec", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_verSpec___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_verSpec___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verSpec___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_fromGit___closed__6; -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_Lake_DSL_verSpec___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_verSpec___closed__3; -x_3 = l_Lake_DSL_fromGit___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verSpec___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_verSpec___closed__1; -x_2 = l_Lake_DSL_verSpec___closed__2; -x_3 = l_Lake_DSL_verSpec___closed__4; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verSpec() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_verSpec___closed__5; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("verClause", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_verClause___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" @ ", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_verClause___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_verClause___closed__4; -x_3 = l_Lake_DSL_verSpec; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verClause___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_verClause___closed__1; -x_2 = l_Lake_DSL_verClause___closed__2; -x_3 = l_Lake_DSL_verClause___closed__5; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_verClause() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_verClause___closed__6; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("depName", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_depName___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("atomic", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_depName___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("str", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_depName___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_depName___closed__6; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" / ", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_depName___closed__8; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_depName___closed__7; -x_3 = l_Lake_DSL_depName___closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_depName___closed__4; -x_2 = l_Lake_DSL_depName___closed__10; -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_Lake_DSL_depName___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_depName___closed__11; -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_Lake_DSL_depName___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_depName___closed__12; -x_3 = l_Lake_DSL_identOrStr; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depName___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_depName___closed__1; -x_2 = l_Lake_DSL_depName___closed__2; -x_3 = l_Lake_DSL_depName___closed__13; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depName() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_depName___closed__14; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("depSpec", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_depSpec___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_verClause; -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_Lake_DSL_depSpec___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_depName; -x_3 = l_Lake_DSL_depSpec___closed__3; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_fromClause; -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_Lake_DSL_depSpec___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_depSpec___closed__4; -x_3 = l_Lake_DSL_depSpec___closed__5; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_withClause; -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_Lake_DSL_depSpec___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_depSpec___closed__6; -x_3 = l_Lake_DSL_depSpec___closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depSpec___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_depSpec___closed__1; -x_2 = l_Lake_DSL_depSpec___closed__2; -x_3 = l_Lake_DSL_depSpec___closed__8; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_depSpec() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_depSpec___closed__9; -return x_1; -} -} LEAN_EXPORT lean_object* l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -2139,32 +1099,40 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__46() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Dependency", 10, 10); +x_1 = lean_mk_string_unchecked("Lake", 4, 4); return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__47() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Dependency", 10, 10); +return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__48() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__47; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__49() { +_start: +{ lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__47; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__48; x_3 = 0; x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__49() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__50() { _start: { lean_object* x_1; @@ -2172,19 +1140,19 @@ x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__50() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; x_3 = l_Lake_DSL_expandDepSpec___lambda__1___closed__14; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__49; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__50; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__51() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__52() { _start: { lean_object* x_1; @@ -2192,7 +1160,7 @@ x_1 = lean_mk_string_unchecked(":=", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__52() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__53() { _start: { lean_object* x_1; @@ -2200,19 +1168,19 @@ x_1 = lean_mk_string_unchecked("structInstField", 15, 15); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__53() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__52; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__53; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__54() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__55() { _start: { lean_object* x_1; @@ -2220,19 +1188,19 @@ x_1 = lean_mk_string_unchecked("structInstLVal", 14, 14); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__55() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__56() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__54; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__55; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__56() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__57() { _start: { lean_object* x_1; @@ -2240,26 +1208,26 @@ x_1 = lean_mk_string_unchecked("name", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__57() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__58() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__56; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__57; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__58() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__59() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__56; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__57; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__59() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__60() { _start: { lean_object* x_1; @@ -2267,19 +1235,19 @@ x_1 = lean_mk_string_unchecked("structInstFieldDef", 18, 18); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__60() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__61() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__59; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__60; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__61() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__62() { _start: { lean_object* x_1; @@ -2287,7 +1255,7 @@ x_1 = lean_mk_string_unchecked(",", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__62() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__63() { _start: { lean_object* x_1; @@ -2295,26 +1263,26 @@ x_1 = lean_mk_string_unchecked("scope", 5, 5); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__63() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__64() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__62; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__63; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__64() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__65() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__62; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__63; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__65() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__66() { _start: { lean_object* x_1; @@ -2322,26 +1290,26 @@ x_1 = lean_mk_string_unchecked("version\?", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__66() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__67() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__65; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__66; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__67() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__68() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__65; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__66; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__68() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__69() { _start: { lean_object* x_1; @@ -2349,26 +1317,26 @@ x_1 = lean_mk_string_unchecked("src\?", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__69() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__70() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__68; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__69; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__70() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__71() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__68; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__69; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__71() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__72() { _start: { lean_object* x_1; @@ -2376,26 +1344,26 @@ x_1 = lean_mk_string_unchecked("opts", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__72() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__73() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__71; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__72; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__73() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__74() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__71; +x_2 = l_Lake_DSL_expandDepSpec___lambda__1___closed__72; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__74() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__75() { _start: { lean_object* x_1; @@ -2403,7 +1371,7 @@ x_1 = lean_mk_string_unchecked("Termination", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__75() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__76() { _start: { lean_object* x_1; @@ -2411,19 +1379,19 @@ x_1 = lean_mk_string_unchecked("suffix", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__76() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__77() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; -x_3 = l_Lake_DSL_expandDepSpec___lambda__1___closed__74; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__75; +x_3 = l_Lake_DSL_expandDepSpec___lambda__1___closed__75; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__76; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__77() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__78() { _start: { lean_object* x_1; @@ -2431,19 +1399,19 @@ x_1 = lean_mk_string_unchecked("quotedName", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__78() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__79() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; -x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__77; +x_4 = l_Lake_DSL_expandDepSpec___lambda__1___closed__78; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__79() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__80() { _start: { lean_object* x_1; @@ -2451,7 +1419,7 @@ x_1 = lean_mk_string_unchecked(".", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__80() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__81() { _start: { lean_object* x_1; @@ -2641,7 +1609,7 @@ x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_14); lean_ctor_set(x_62, 1, x_61); x_63 = l_Lake_DSL_expandDepSpec___lambda__1___closed__44; -x_64 = l_Lake_DSL_expandDepSpec___lambda__1___closed__48; +x_64 = l_Lake_DSL_expandDepSpec___lambda__1___closed__49; lean_inc(x_14); x_65 = l_Lean_Syntax_node2(x_14, x_63, x_62, x_64); lean_inc(x_14); @@ -2650,23 +1618,23 @@ x_67 = l_Lake_DSL_expandDepSpec___lambda__1___closed__42; lean_inc(x_23); lean_inc(x_14); x_68 = l_Lean_Syntax_node2(x_14, x_67, x_23, x_66); -x_69 = l_Lake_DSL_expandDepSpec___lambda__1___closed__51; +x_69 = l_Lake_DSL_expandDepSpec___lambda__1___closed__52; lean_inc(x_14); x_70 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_70, 0, x_14); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lake_DSL_expandDepSpec___lambda__1___closed__58; +x_71 = l_Lake_DSL_expandDepSpec___lambda__1___closed__59; lean_inc(x_32); lean_inc(x_33); x_72 = l_Lean_addMacroScope(x_33, x_71, x_32); -x_73 = l_Lake_DSL_expandDepSpec___lambda__1___closed__57; +x_73 = l_Lake_DSL_expandDepSpec___lambda__1___closed__58; lean_inc(x_14); x_74 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_74, 0, x_14); lean_ctor_set(x_74, 1, x_73); lean_ctor_set(x_74, 2, x_72); lean_ctor_set(x_74, 3, x_40); -x_75 = l_Lake_DSL_expandDepSpec___lambda__1___closed__55; +x_75 = l_Lake_DSL_expandDepSpec___lambda__1___closed__56; lean_inc(x_23); lean_inc(x_14); x_76 = l_Lean_Syntax_node2(x_14, x_75, x_74, x_23); @@ -2674,16 +1642,16 @@ x_77 = l_Lean_Syntax_getId(x_9); lean_dec(x_9); lean_inc(x_77); x_78 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_40, x_77); -x_79 = l_Lake_DSL_expandDepSpec___lambda__1___closed__61; +x_79 = l_Lake_DSL_expandDepSpec___lambda__1___closed__62; lean_inc(x_14); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_14); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lake_DSL_expandDepSpec___lambda__1___closed__64; +x_81 = l_Lake_DSL_expandDepSpec___lambda__1___closed__65; lean_inc(x_32); lean_inc(x_33); x_82 = l_Lean_addMacroScope(x_33, x_81, x_32); -x_83 = l_Lake_DSL_expandDepSpec___lambda__1___closed__63; +x_83 = l_Lake_DSL_expandDepSpec___lambda__1___closed__64; lean_inc(x_14); x_84 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_84, 0, x_14); @@ -2693,21 +1661,21 @@ lean_ctor_set(x_84, 3, x_40); lean_inc(x_23); lean_inc(x_14); x_85 = l_Lean_Syntax_node2(x_14, x_75, x_84, x_23); -x_86 = l_Lake_DSL_expandDepSpec___lambda__1___closed__60; +x_86 = l_Lake_DSL_expandDepSpec___lambda__1___closed__61; lean_inc(x_70); lean_inc(x_14); x_87 = l_Lean_Syntax_node2(x_14, x_86, x_70, x_2); lean_inc_n(x_23, 2); lean_inc(x_14); x_88 = l_Lean_Syntax_node3(x_14, x_21, x_23, x_23, x_87); -x_89 = l_Lake_DSL_expandDepSpec___lambda__1___closed__53; +x_89 = l_Lake_DSL_expandDepSpec___lambda__1___closed__54; lean_inc(x_14); x_90 = l_Lean_Syntax_node2(x_14, x_89, x_85, x_88); -x_91 = l_Lake_DSL_expandDepSpec___lambda__1___closed__67; +x_91 = l_Lake_DSL_expandDepSpec___lambda__1___closed__68; lean_inc(x_32); lean_inc(x_33); x_92 = l_Lean_addMacroScope(x_33, x_91, x_32); -x_93 = l_Lake_DSL_expandDepSpec___lambda__1___closed__66; +x_93 = l_Lake_DSL_expandDepSpec___lambda__1___closed__67; lean_inc(x_14); x_94 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_94, 0, x_14); @@ -2725,11 +1693,11 @@ lean_inc(x_14); x_97 = l_Lean_Syntax_node3(x_14, x_21, x_23, x_23, x_96); lean_inc(x_14); x_98 = l_Lean_Syntax_node2(x_14, x_89, x_95, x_97); -x_99 = l_Lake_DSL_expandDepSpec___lambda__1___closed__70; +x_99 = l_Lake_DSL_expandDepSpec___lambda__1___closed__71; lean_inc(x_32); lean_inc(x_33); x_100 = l_Lean_addMacroScope(x_33, x_99, x_32); -x_101 = l_Lake_DSL_expandDepSpec___lambda__1___closed__69; +x_101 = l_Lake_DSL_expandDepSpec___lambda__1___closed__70; lean_inc(x_14); x_102 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_102, 0, x_14); @@ -2747,9 +1715,9 @@ lean_inc(x_14); x_105 = l_Lean_Syntax_node3(x_14, x_21, x_23, x_23, x_104); lean_inc(x_14); x_106 = l_Lean_Syntax_node2(x_14, x_89, x_103, x_105); -x_107 = l_Lake_DSL_expandDepSpec___lambda__1___closed__73; +x_107 = l_Lake_DSL_expandDepSpec___lambda__1___closed__74; x_108 = l_Lean_addMacroScope(x_33, x_107, x_32); -x_109 = l_Lake_DSL_expandDepSpec___lambda__1___closed__72; +x_109 = l_Lake_DSL_expandDepSpec___lambda__1___closed__73; lean_inc(x_14); x_110 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_110, 0, x_14); @@ -2763,7 +1731,7 @@ lean_inc(x_80); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_80); lean_ctor_set(x_112, 1, x_40); -x_113 = l_Lake_DSL_expandDepSpec___lambda__1___closed__76; +x_113 = l_Lake_DSL_expandDepSpec___lambda__1___closed__77; lean_inc_n(x_23, 2); lean_inc(x_14); x_114 = l_Lean_Syntax_node2(x_14, x_113, x_23, x_23); @@ -2810,9 +1778,9 @@ lean_dec(x_77); x_152 = lean_ctor_get(x_78, 0); lean_inc(x_152); lean_dec(x_78); -x_153 = l_Lake_DSL_expandDepSpec___lambda__1___closed__79; +x_153 = l_Lake_DSL_expandDepSpec___lambda__1___closed__80; x_154 = l_String_intercalate(x_153, x_152); -x_155 = l_Lake_DSL_expandDepSpec___lambda__1___closed__80; +x_155 = l_Lake_DSL_expandDepSpec___lambda__1___closed__81; x_156 = lean_string_append(x_155, x_154); lean_dec(x_154); x_157 = l_Lean_Syntax_mkNameLit(x_156, x_58); @@ -2820,7 +1788,7 @@ x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_40); x_159 = lean_array_mk(x_158); -x_160 = l_Lake_DSL_expandDepSpec___lambda__1___closed__78; +x_160 = l_Lake_DSL_expandDepSpec___lambda__1___closed__79; x_161 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_161, 0, x_58); lean_ctor_set(x_161, 1, x_160); @@ -2906,7 +1874,7 @@ x_139 = l_Lean_Syntax_node1(x_14, x_24, x_138); lean_inc_n(x_23, 2); lean_inc(x_14); x_140 = l_Lean_Syntax_node6(x_14, x_28, x_16, x_23, x_139, x_27, x_23, x_18); -x_141 = l_Lake_DSL_expandDepSpec___lambda__1___closed__50; +x_141 = l_Lake_DSL_expandDepSpec___lambda__1___closed__51; lean_inc(x_23); lean_inc(x_14); x_142 = l_Lean_Syntax_node4(x_14, x_141, x_70, x_140, x_114, x_23); @@ -2929,7 +1897,7 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed version syntax", 25, 25); +x_1 = lean_mk_string_unchecked("DSL", 3, 3); return x_1; } } @@ -2937,27 +1905,26 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("paren", 5, 5); +x_1 = lean_mk_string_unchecked("verSpec", 7, 7); return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___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___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; -x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; -x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; -x_4 = l_Lake_DSL_expandDepSpec___lambda__2___closed__2; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__2___closed__2; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("(", 1, 1); +x_1 = lean_mk_string_unchecked("ill-formed version syntax", 25, 25); return x_1; } } @@ -2965,25 +1932,27 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("term_++_", 8, 8); +x_1 = lean_mk_string_unchecked("paren", 5, 5); return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__1; +x_2 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__2; +x_3 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__3; +x_4 = l_Lake_DSL_expandDepSpec___lambda__2___closed__5; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__7() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("\"git#\"", 6, 6); +x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } @@ -2991,19 +1960,63 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("++", 2, 2); +x_1 = lean_mk_string_unchecked("term_++_", 8, 8); return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("str", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__10; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\"git#\"", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("++", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__14() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked(")", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__10() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__15() { _start: { lean_object* x_1; @@ -3022,7 +2035,7 @@ if (lean_obj_tag(x_7) == 0) uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; x_96 = 0; x_97 = l_Lean_SourceInfo_fromRef(x_1, x_96); -x_98 = l_Lake_DSL_expandDepSpec___lambda__2___closed__10; +x_98 = l_Lake_DSL_expandDepSpec___lambda__2___closed__15; x_99 = l_Lean_Syntax_mkStrLit(x_98, x_97); x_12 = x_99; goto block_95; @@ -3068,7 +2081,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; x_24 = lean_ctor_get(x_5, 0); lean_inc(x_24); lean_dec(x_5); -x_25 = l_Lake_DSL_verSpec___closed__2; +x_25 = l_Lake_DSL_expandDepSpec___lambda__2___closed__3; lean_inc(x_24); x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); if (x_26 == 0) @@ -3124,7 +2137,7 @@ lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_36 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_36 = l_Lake_DSL_expandDepSpec___lambda__2___closed__4; x_37 = l_Lean_Macro_throwErrorAt___rarg(x_24, x_36, x_35, x_9); lean_dec(x_24); x_38 = !lean_is_exclusive(x_37); @@ -3169,7 +2182,7 @@ lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_46 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_46 = l_Lake_DSL_expandDepSpec___lambda__2___closed__4; x_47 = l_Lean_Macro_throwErrorAt___rarg(x_24, x_46, x_35, x_9); lean_dec(x_24); x_48 = !lean_is_exclusive(x_47); @@ -3239,33 +2252,33 @@ lean_ctor_set(x_72, 0, x_67); lean_ctor_set(x_72, 1, x_70); lean_ctor_set(x_72, 2, x_69); lean_ctor_set(x_72, 3, x_71); -x_73 = l_Lake_DSL_expandDepSpec___lambda__2___closed__4; +x_73 = l_Lake_DSL_expandDepSpec___lambda__2___closed__7; lean_inc(x_67); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_67); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lake_DSL_expandDepSpec___lambda__2___closed__7; +x_75 = l_Lake_DSL_expandDepSpec___lambda__2___closed__12; lean_inc(x_67); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_67); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lake_DSL_depName___closed__6; +x_77 = l_Lake_DSL_expandDepSpec___lambda__2___closed__11; lean_inc(x_67); x_78 = l_Lean_Syntax_node1(x_67, x_77, x_76); -x_79 = l_Lake_DSL_expandDepSpec___lambda__2___closed__8; +x_79 = l_Lake_DSL_expandDepSpec___lambda__2___closed__13; lean_inc(x_67); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_67); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lake_DSL_expandDepSpec___lambda__2___closed__6; +x_81 = l_Lake_DSL_expandDepSpec___lambda__2___closed__9; lean_inc(x_67); x_82 = l_Lean_Syntax_node3(x_67, x_81, x_78, x_80, x_65); -x_83 = l_Lake_DSL_expandDepSpec___lambda__2___closed__9; +x_83 = l_Lake_DSL_expandDepSpec___lambda__2___closed__14; lean_inc(x_67); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_67); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lake_DSL_expandDepSpec___lambda__2___closed__3; +x_85 = l_Lake_DSL_expandDepSpec___lambda__2___closed__6; lean_inc(x_67); x_86 = l_Lean_Syntax_node3(x_67, x_85, x_74, x_82, x_84); x_87 = l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__5___closed__13; @@ -3329,7 +2342,7 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; x_2 = l_Lake_DSL_expandDepSpec___lambda__3___closed__3; x_3 = l_Lake_DSL_expandDepSpec___lambda__3___closed__4; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); @@ -3595,28 +2608,104 @@ static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed name syntax", 22, 22); +x_1 = lean_mk_string_unchecked("depName", 7, 7); return x_1; } } static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed name syntax", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromSource", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__4; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromGit", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__6; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromPath", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__8; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__10() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("DependencySrc.path", 18, 18); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__3() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__2; +x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__10; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__4() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__12() { _start: { lean_object* x_1; @@ -3624,67 +2713,67 @@ x_1 = lean_mk_string_unchecked("path", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__5() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lake_DSL_expandDepSpec___lambda__3___closed__3; -x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__4; +x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__12; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__6() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; x_2 = l_Lake_DSL_expandDepSpec___lambda__3___closed__3; -x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__4; +x_3 = l_Lake_DSL_expandDepSpec___lambda__5___closed__12; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__7() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__6; +x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__14; 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_Lake_DSL_expandDepSpec___lambda__5___closed__8() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__6; +x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__14; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__9() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__8; +x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__16; 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_Lake_DSL_expandDepSpec___lambda__5___closed__10() { +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__7; -x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__9; +x_1 = l_Lake_DSL_expandDepSpec___lambda__5___closed__15; +x_2 = l_Lake_DSL_expandDepSpec___lambda__5___closed__17; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -3715,7 +2804,7 @@ if (lean_is_exclusive(x_4)) { lean_dec_ref(x_4); x_32 = lean_box(0); } -x_33 = l_Lake_DSL_fromSource___closed__2; +x_33 = l_Lake_DSL_expandDepSpec___lambda__5___closed__5; lean_inc(x_31); x_34 = l_Lean_Syntax_isOfKind(x_31, x_33); if (x_34 == 0) @@ -3769,13 +2858,13 @@ else lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; x_42 = lean_unsigned_to_nat(0u); x_43 = l_Lean_Syntax_getArg(x_31, x_42); -x_44 = l_Lake_DSL_fromGit___closed__2; +x_44 = l_Lake_DSL_expandDepSpec___lambda__5___closed__7; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) { lean_object* x_46; uint8_t x_47; -x_46 = l_Lake_DSL_fromPath___closed__4; +x_46 = l_Lake_DSL_expandDepSpec___lambda__5___closed__9; lean_inc(x_43); x_47 = l_Lean_Syntax_isOfKind(x_43, x_46); if (x_47 == 0) @@ -3826,10 +2915,10 @@ lean_inc(x_58); x_59 = 0; x_60 = l_Lean_SourceInfo_fromRef(x_56, x_59); lean_dec(x_56); -x_61 = l_Lake_DSL_expandDepSpec___lambda__5___closed__5; +x_61 = l_Lake_DSL_expandDepSpec___lambda__5___closed__13; x_62 = l_Lean_addMacroScope(x_57, x_61, x_58); -x_63 = l_Lake_DSL_expandDepSpec___lambda__5___closed__3; -x_64 = l_Lake_DSL_expandDepSpec___lambda__5___closed__10; +x_63 = l_Lake_DSL_expandDepSpec___lambda__5___closed__11; +x_64 = l_Lake_DSL_expandDepSpec___lambda__5___closed__18; lean_inc(x_60); x_65 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_65, 0, x_60); @@ -4025,7 +3114,7 @@ return x_104; block_29: { lean_object* x_11; uint8_t x_12; -x_11 = l_Lake_DSL_depName___closed__2; +x_11 = l_Lake_DSL_expandDepSpec___lambda__5___closed__2; lean_inc(x_1); x_12 = l_Lean_Syntax_isOfKind(x_1, x_11); if (x_12 == 0) @@ -4035,7 +3124,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_13 = l_Lake_DSL_expandDepSpec___lambda__5___closed__1; +x_13 = l_Lake_DSL_expandDepSpec___lambda__5___closed__3; x_14 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_13, x_7, x_10); lean_dec(x_1); return x_14; @@ -4060,7 +3149,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_20 = l_Lake_DSL_expandDepSpec___lambda__5___closed__1; +x_20 = l_Lake_DSL_expandDepSpec___lambda__5___closed__3; x_21 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_20, x_7, x_10); lean_dec(x_1); return x_21; @@ -4100,6 +3189,25 @@ x_1 = lean_mk_string_unchecked("ill-formed require syntax", 25, 25); return x_1; } } +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withClause", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__6___closed__2; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__6(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: { @@ -4131,7 +3239,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_16 = lean_unsigned_to_nat(0u); x_17 = l_Lean_Syntax_getArg(x_10, x_16); lean_dec(x_10); -x_18 = l_Lake_DSL_withClause___closed__2; +x_18 = l_Lake_DSL_expandDepSpec___lambda__6___closed__3; lean_inc(x_17); x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); if (x_19 == 0) @@ -4170,6 +3278,25 @@ return x_28; } } } +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromClause", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___lambda__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___lambda__7___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec___lambda__7(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: { @@ -4200,7 +3327,7 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_unsigned_to_nat(0u); x_16 = l_Lean_Syntax_getArg(x_9, x_15); lean_dec(x_9); -x_17 = l_Lake_DSL_fromClause___closed__2; +x_17 = l_Lake_DSL_expandDepSpec___lambda__7___closed__2; lean_inc(x_16); x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); if (x_18 == 0) @@ -4238,11 +3365,49 @@ return x_27; } } } +static lean_object* _init_l_Lake_DSL_expandDepSpec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depSpec", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("verClause", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandDepSpec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandDepSpec___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandDepSpec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_depSpec___closed__2; +x_5 = l_Lake_DSL_expandDepSpec___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -4283,7 +3448,7 @@ else lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = l_Lean_Syntax_getArg(x_12, x_9); lean_dec(x_12); -x_18 = l_Lake_DSL_verClause___closed__2; +x_18 = l_Lake_DSL_expandDepSpec___closed__4; lean_inc(x_17); x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); if (x_19 == 0) @@ -4385,7 +3550,7 @@ lean_dec(x_1); return x_8; } } -static lean_object* _init_l_Lake_DSL_requireDecl___closed__1() { +static lean_object* _init_l_Lake_DSL_expandRequireDecl___closed__1() { _start: { lean_object* x_1; @@ -4393,126 +3558,18 @@ x_1 = lean_mk_string_unchecked("requireDecl", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_requireDecl___closed__2() { +static lean_object* _init_l_Lake_DSL_expandRequireDecl___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; -x_3 = l_Lake_DSL_requireDecl___closed__1; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; +x_3 = l_Lake_DSL_expandRequireDecl___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_requireDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docComment", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_requireDecl___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_requireDecl___closed__4; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_fromGit___closed__10; -x_2 = l_Lake_DSL_requireDecl___closed__5; -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_Lake_DSL_requireDecl___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("require ", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_requireDecl___closed__7; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_requireDecl___closed__6; -x_3 = l_Lake_DSL_requireDecl___closed__8; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromGit___closed__4; -x_2 = l_Lake_DSL_requireDecl___closed__9; -x_3 = l_Lake_DSL_depSpec; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_requireDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_requireDecl___closed__10; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_requireDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_requireDecl___closed__11; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_expandRequireDecl___closed__1() { +static lean_object* _init_l_Lake_DSL_expandRequireDecl___closed__3() { _start: { lean_object* x_1; @@ -4524,13 +3581,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandRequireDecl(lean_object* x_1, lean_obj _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_requireDecl___closed__2; +x_4 = l_Lake_DSL_expandRequireDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandRequireDecl___closed__1; +x_6 = l_Lake_DSL_expandRequireDecl___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -4934,8 +3991,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_fromPath___closed__1; -x_2 = l_Lake_DSL_fromPath___closed__2; +x_1 = l_Lake_DSL_expandDepSpec___lambda__1___closed__46; +x_2 = l_Lake_DSL_expandDepSpec___lambda__2___closed__1; x_3 = l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -4962,7 +4019,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__3; -x_3 = l_Lake_DSL_requireDecl___closed__2; +x_3 = l_Lake_DSL_expandRequireDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -4989,6 +4046,7 @@ lean_object* initialize_Lean_Parser_Command(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Config_Dependency(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_Extensions(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Require(uint8_t builtin, lean_object* w) { lean_object * res; @@ -5006,186 +4064,9 @@ lean_dec_ref(res); res = initialize_Lake_DSL_DeclUtil(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_fromPath___closed__1 = _init_l_Lake_DSL_fromPath___closed__1(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__1); -l_Lake_DSL_fromPath___closed__2 = _init_l_Lake_DSL_fromPath___closed__2(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__2); -l_Lake_DSL_fromPath___closed__3 = _init_l_Lake_DSL_fromPath___closed__3(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__3); -l_Lake_DSL_fromPath___closed__4 = _init_l_Lake_DSL_fromPath___closed__4(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__4); -l_Lake_DSL_fromPath___closed__5 = _init_l_Lake_DSL_fromPath___closed__5(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__5); -l_Lake_DSL_fromPath___closed__6 = _init_l_Lake_DSL_fromPath___closed__6(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__6); -l_Lake_DSL_fromPath___closed__7 = _init_l_Lake_DSL_fromPath___closed__7(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__7); -l_Lake_DSL_fromPath___closed__8 = _init_l_Lake_DSL_fromPath___closed__8(); -lean_mark_persistent(l_Lake_DSL_fromPath___closed__8); -l_Lake_DSL_fromPath = _init_l_Lake_DSL_fromPath(); -lean_mark_persistent(l_Lake_DSL_fromPath); -l_Lake_DSL_fromGit___closed__1 = _init_l_Lake_DSL_fromGit___closed__1(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__1); -l_Lake_DSL_fromGit___closed__2 = _init_l_Lake_DSL_fromGit___closed__2(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__2); -l_Lake_DSL_fromGit___closed__3 = _init_l_Lake_DSL_fromGit___closed__3(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__3); -l_Lake_DSL_fromGit___closed__4 = _init_l_Lake_DSL_fromGit___closed__4(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__4); -l_Lake_DSL_fromGit___closed__5 = _init_l_Lake_DSL_fromGit___closed__5(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__5); -l_Lake_DSL_fromGit___closed__6 = _init_l_Lake_DSL_fromGit___closed__6(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__6); -l_Lake_DSL_fromGit___closed__7 = _init_l_Lake_DSL_fromGit___closed__7(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__7); -l_Lake_DSL_fromGit___closed__8 = _init_l_Lake_DSL_fromGit___closed__8(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__8); -l_Lake_DSL_fromGit___closed__9 = _init_l_Lake_DSL_fromGit___closed__9(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__9); -l_Lake_DSL_fromGit___closed__10 = _init_l_Lake_DSL_fromGit___closed__10(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__10); -l_Lake_DSL_fromGit___closed__11 = _init_l_Lake_DSL_fromGit___closed__11(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__11); -l_Lake_DSL_fromGit___closed__12 = _init_l_Lake_DSL_fromGit___closed__12(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__12); -l_Lake_DSL_fromGit___closed__13 = _init_l_Lake_DSL_fromGit___closed__13(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__13); -l_Lake_DSL_fromGit___closed__14 = _init_l_Lake_DSL_fromGit___closed__14(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__14); -l_Lake_DSL_fromGit___closed__15 = _init_l_Lake_DSL_fromGit___closed__15(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__15); -l_Lake_DSL_fromGit___closed__16 = _init_l_Lake_DSL_fromGit___closed__16(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__16); -l_Lake_DSL_fromGit___closed__17 = _init_l_Lake_DSL_fromGit___closed__17(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__17); -l_Lake_DSL_fromGit___closed__18 = _init_l_Lake_DSL_fromGit___closed__18(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__18); -l_Lake_DSL_fromGit___closed__19 = _init_l_Lake_DSL_fromGit___closed__19(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__19); -l_Lake_DSL_fromGit___closed__20 = _init_l_Lake_DSL_fromGit___closed__20(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__20); -l_Lake_DSL_fromGit___closed__21 = _init_l_Lake_DSL_fromGit___closed__21(); -lean_mark_persistent(l_Lake_DSL_fromGit___closed__21); -l_Lake_DSL_fromGit = _init_l_Lake_DSL_fromGit(); -lean_mark_persistent(l_Lake_DSL_fromGit); -l_Lake_DSL_fromSource___closed__1 = _init_l_Lake_DSL_fromSource___closed__1(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__1); -l_Lake_DSL_fromSource___closed__2 = _init_l_Lake_DSL_fromSource___closed__2(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__2); -l_Lake_DSL_fromSource___closed__3 = _init_l_Lake_DSL_fromSource___closed__3(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__3); -l_Lake_DSL_fromSource___closed__4 = _init_l_Lake_DSL_fromSource___closed__4(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__4); -l_Lake_DSL_fromSource___closed__5 = _init_l_Lake_DSL_fromSource___closed__5(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__5); -l_Lake_DSL_fromSource___closed__6 = _init_l_Lake_DSL_fromSource___closed__6(); -lean_mark_persistent(l_Lake_DSL_fromSource___closed__6); -l_Lake_DSL_fromSource = _init_l_Lake_DSL_fromSource(); -lean_mark_persistent(l_Lake_DSL_fromSource); -l_Lake_DSL_fromClause___closed__1 = _init_l_Lake_DSL_fromClause___closed__1(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__1); -l_Lake_DSL_fromClause___closed__2 = _init_l_Lake_DSL_fromClause___closed__2(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__2); -l_Lake_DSL_fromClause___closed__3 = _init_l_Lake_DSL_fromClause___closed__3(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__3); -l_Lake_DSL_fromClause___closed__4 = _init_l_Lake_DSL_fromClause___closed__4(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__4); -l_Lake_DSL_fromClause___closed__5 = _init_l_Lake_DSL_fromClause___closed__5(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__5); -l_Lake_DSL_fromClause___closed__6 = _init_l_Lake_DSL_fromClause___closed__6(); -lean_mark_persistent(l_Lake_DSL_fromClause___closed__6); -l_Lake_DSL_fromClause = _init_l_Lake_DSL_fromClause(); -lean_mark_persistent(l_Lake_DSL_fromClause); -l_Lake_DSL_withClause___closed__1 = _init_l_Lake_DSL_withClause___closed__1(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__1); -l_Lake_DSL_withClause___closed__2 = _init_l_Lake_DSL_withClause___closed__2(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__2); -l_Lake_DSL_withClause___closed__3 = _init_l_Lake_DSL_withClause___closed__3(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__3); -l_Lake_DSL_withClause___closed__4 = _init_l_Lake_DSL_withClause___closed__4(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__4); -l_Lake_DSL_withClause___closed__5 = _init_l_Lake_DSL_withClause___closed__5(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__5); -l_Lake_DSL_withClause___closed__6 = _init_l_Lake_DSL_withClause___closed__6(); -lean_mark_persistent(l_Lake_DSL_withClause___closed__6); -l_Lake_DSL_withClause = _init_l_Lake_DSL_withClause(); -lean_mark_persistent(l_Lake_DSL_withClause); -l_Lake_DSL_verSpec___closed__1 = _init_l_Lake_DSL_verSpec___closed__1(); -lean_mark_persistent(l_Lake_DSL_verSpec___closed__1); -l_Lake_DSL_verSpec___closed__2 = _init_l_Lake_DSL_verSpec___closed__2(); -lean_mark_persistent(l_Lake_DSL_verSpec___closed__2); -l_Lake_DSL_verSpec___closed__3 = _init_l_Lake_DSL_verSpec___closed__3(); -lean_mark_persistent(l_Lake_DSL_verSpec___closed__3); -l_Lake_DSL_verSpec___closed__4 = _init_l_Lake_DSL_verSpec___closed__4(); -lean_mark_persistent(l_Lake_DSL_verSpec___closed__4); -l_Lake_DSL_verSpec___closed__5 = _init_l_Lake_DSL_verSpec___closed__5(); -lean_mark_persistent(l_Lake_DSL_verSpec___closed__5); -l_Lake_DSL_verSpec = _init_l_Lake_DSL_verSpec(); -lean_mark_persistent(l_Lake_DSL_verSpec); -l_Lake_DSL_verClause___closed__1 = _init_l_Lake_DSL_verClause___closed__1(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__1); -l_Lake_DSL_verClause___closed__2 = _init_l_Lake_DSL_verClause___closed__2(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__2); -l_Lake_DSL_verClause___closed__3 = _init_l_Lake_DSL_verClause___closed__3(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__3); -l_Lake_DSL_verClause___closed__4 = _init_l_Lake_DSL_verClause___closed__4(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__4); -l_Lake_DSL_verClause___closed__5 = _init_l_Lake_DSL_verClause___closed__5(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__5); -l_Lake_DSL_verClause___closed__6 = _init_l_Lake_DSL_verClause___closed__6(); -lean_mark_persistent(l_Lake_DSL_verClause___closed__6); -l_Lake_DSL_verClause = _init_l_Lake_DSL_verClause(); -lean_mark_persistent(l_Lake_DSL_verClause); -l_Lake_DSL_depName___closed__1 = _init_l_Lake_DSL_depName___closed__1(); -lean_mark_persistent(l_Lake_DSL_depName___closed__1); -l_Lake_DSL_depName___closed__2 = _init_l_Lake_DSL_depName___closed__2(); -lean_mark_persistent(l_Lake_DSL_depName___closed__2); -l_Lake_DSL_depName___closed__3 = _init_l_Lake_DSL_depName___closed__3(); -lean_mark_persistent(l_Lake_DSL_depName___closed__3); -l_Lake_DSL_depName___closed__4 = _init_l_Lake_DSL_depName___closed__4(); -lean_mark_persistent(l_Lake_DSL_depName___closed__4); -l_Lake_DSL_depName___closed__5 = _init_l_Lake_DSL_depName___closed__5(); -lean_mark_persistent(l_Lake_DSL_depName___closed__5); -l_Lake_DSL_depName___closed__6 = _init_l_Lake_DSL_depName___closed__6(); -lean_mark_persistent(l_Lake_DSL_depName___closed__6); -l_Lake_DSL_depName___closed__7 = _init_l_Lake_DSL_depName___closed__7(); -lean_mark_persistent(l_Lake_DSL_depName___closed__7); -l_Lake_DSL_depName___closed__8 = _init_l_Lake_DSL_depName___closed__8(); -lean_mark_persistent(l_Lake_DSL_depName___closed__8); -l_Lake_DSL_depName___closed__9 = _init_l_Lake_DSL_depName___closed__9(); -lean_mark_persistent(l_Lake_DSL_depName___closed__9); -l_Lake_DSL_depName___closed__10 = _init_l_Lake_DSL_depName___closed__10(); -lean_mark_persistent(l_Lake_DSL_depName___closed__10); -l_Lake_DSL_depName___closed__11 = _init_l_Lake_DSL_depName___closed__11(); -lean_mark_persistent(l_Lake_DSL_depName___closed__11); -l_Lake_DSL_depName___closed__12 = _init_l_Lake_DSL_depName___closed__12(); -lean_mark_persistent(l_Lake_DSL_depName___closed__12); -l_Lake_DSL_depName___closed__13 = _init_l_Lake_DSL_depName___closed__13(); -lean_mark_persistent(l_Lake_DSL_depName___closed__13); -l_Lake_DSL_depName___closed__14 = _init_l_Lake_DSL_depName___closed__14(); -lean_mark_persistent(l_Lake_DSL_depName___closed__14); -l_Lake_DSL_depName = _init_l_Lake_DSL_depName(); -lean_mark_persistent(l_Lake_DSL_depName); -l_Lake_DSL_depSpec___closed__1 = _init_l_Lake_DSL_depSpec___closed__1(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__1); -l_Lake_DSL_depSpec___closed__2 = _init_l_Lake_DSL_depSpec___closed__2(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__2); -l_Lake_DSL_depSpec___closed__3 = _init_l_Lake_DSL_depSpec___closed__3(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__3); -l_Lake_DSL_depSpec___closed__4 = _init_l_Lake_DSL_depSpec___closed__4(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__4); -l_Lake_DSL_depSpec___closed__5 = _init_l_Lake_DSL_depSpec___closed__5(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__5); -l_Lake_DSL_depSpec___closed__6 = _init_l_Lake_DSL_depSpec___closed__6(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__6); -l_Lake_DSL_depSpec___closed__7 = _init_l_Lake_DSL_depSpec___closed__7(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__7); -l_Lake_DSL_depSpec___closed__8 = _init_l_Lake_DSL_depSpec___closed__8(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__8); -l_Lake_DSL_depSpec___closed__9 = _init_l_Lake_DSL_depSpec___closed__9(); -lean_mark_persistent(l_Lake_DSL_depSpec___closed__9); -l_Lake_DSL_depSpec = _init_l_Lake_DSL_depSpec(); -lean_mark_persistent(l_Lake_DSL_depSpec); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__1 = _init_l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__1(); lean_mark_persistent(l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__1); l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__2 = _init_l___private_Lake_DSL_Require_0__Lake_DSL_quoteOptTerm___rarg___lambda__2___closed__2(); @@ -5386,6 +4267,8 @@ l_Lake_DSL_expandDepSpec___lambda__1___closed__79 = _init_l_Lake_DSL_expandDepSp lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__1___closed__79); l_Lake_DSL_expandDepSpec___lambda__1___closed__80 = _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__80(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__1___closed__80); +l_Lake_DSL_expandDepSpec___lambda__1___closed__81 = _init_l_Lake_DSL_expandDepSpec___lambda__1___closed__81(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__1___closed__81); l_Lake_DSL_expandDepSpec___lambda__2___closed__1 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__1(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__1); l_Lake_DSL_expandDepSpec___lambda__2___closed__2 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__2(); @@ -5406,6 +4289,16 @@ l_Lake_DSL_expandDepSpec___lambda__2___closed__9 = _init_l_Lake_DSL_expandDepSpe lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__9); l_Lake_DSL_expandDepSpec___lambda__2___closed__10 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__10(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__10); +l_Lake_DSL_expandDepSpec___lambda__2___closed__11 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__11(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__11); +l_Lake_DSL_expandDepSpec___lambda__2___closed__12 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__12(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__12); +l_Lake_DSL_expandDepSpec___lambda__2___closed__13 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__13(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__13); +l_Lake_DSL_expandDepSpec___lambda__2___closed__14 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__14(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__14); +l_Lake_DSL_expandDepSpec___lambda__2___closed__15 = _init_l_Lake_DSL_expandDepSpec___lambda__2___closed__15(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__2___closed__15); l_Lake_DSL_expandDepSpec___lambda__3___closed__1 = _init_l_Lake_DSL_expandDepSpec___lambda__3___closed__1(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__3___closed__1); l_Lake_DSL_expandDepSpec___lambda__3___closed__2 = _init_l_Lake_DSL_expandDepSpec___lambda__3___closed__2(); @@ -5448,34 +4341,46 @@ l_Lake_DSL_expandDepSpec___lambda__5___closed__9 = _init_l_Lake_DSL_expandDepSpe lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__9); l_Lake_DSL_expandDepSpec___lambda__5___closed__10 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__10(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__10); +l_Lake_DSL_expandDepSpec___lambda__5___closed__11 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__11(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__11); +l_Lake_DSL_expandDepSpec___lambda__5___closed__12 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__12(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__12); +l_Lake_DSL_expandDepSpec___lambda__5___closed__13 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__13(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__13); +l_Lake_DSL_expandDepSpec___lambda__5___closed__14 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__14(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__14); +l_Lake_DSL_expandDepSpec___lambda__5___closed__15 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__15(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__15); +l_Lake_DSL_expandDepSpec___lambda__5___closed__16 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__16(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__16); +l_Lake_DSL_expandDepSpec___lambda__5___closed__17 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__17(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__17); +l_Lake_DSL_expandDepSpec___lambda__5___closed__18 = _init_l_Lake_DSL_expandDepSpec___lambda__5___closed__18(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__5___closed__18); l_Lake_DSL_expandDepSpec___lambda__6___closed__1 = _init_l_Lake_DSL_expandDepSpec___lambda__6___closed__1(); lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__6___closed__1); -l_Lake_DSL_requireDecl___closed__1 = _init_l_Lake_DSL_requireDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__1); -l_Lake_DSL_requireDecl___closed__2 = _init_l_Lake_DSL_requireDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__2); -l_Lake_DSL_requireDecl___closed__3 = _init_l_Lake_DSL_requireDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__3); -l_Lake_DSL_requireDecl___closed__4 = _init_l_Lake_DSL_requireDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__4); -l_Lake_DSL_requireDecl___closed__5 = _init_l_Lake_DSL_requireDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__5); -l_Lake_DSL_requireDecl___closed__6 = _init_l_Lake_DSL_requireDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__6); -l_Lake_DSL_requireDecl___closed__7 = _init_l_Lake_DSL_requireDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__7); -l_Lake_DSL_requireDecl___closed__8 = _init_l_Lake_DSL_requireDecl___closed__8(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__8); -l_Lake_DSL_requireDecl___closed__9 = _init_l_Lake_DSL_requireDecl___closed__9(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__9); -l_Lake_DSL_requireDecl___closed__10 = _init_l_Lake_DSL_requireDecl___closed__10(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__10); -l_Lake_DSL_requireDecl___closed__11 = _init_l_Lake_DSL_requireDecl___closed__11(); -lean_mark_persistent(l_Lake_DSL_requireDecl___closed__11); -l_Lake_DSL_requireDecl = _init_l_Lake_DSL_requireDecl(); -lean_mark_persistent(l_Lake_DSL_requireDecl); +l_Lake_DSL_expandDepSpec___lambda__6___closed__2 = _init_l_Lake_DSL_expandDepSpec___lambda__6___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__6___closed__2); +l_Lake_DSL_expandDepSpec___lambda__6___closed__3 = _init_l_Lake_DSL_expandDepSpec___lambda__6___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__6___closed__3); +l_Lake_DSL_expandDepSpec___lambda__7___closed__1 = _init_l_Lake_DSL_expandDepSpec___lambda__7___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__7___closed__1); +l_Lake_DSL_expandDepSpec___lambda__7___closed__2 = _init_l_Lake_DSL_expandDepSpec___lambda__7___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___lambda__7___closed__2); +l_Lake_DSL_expandDepSpec___closed__1 = _init_l_Lake_DSL_expandDepSpec___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___closed__1); +l_Lake_DSL_expandDepSpec___closed__2 = _init_l_Lake_DSL_expandDepSpec___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___closed__2); +l_Lake_DSL_expandDepSpec___closed__3 = _init_l_Lake_DSL_expandDepSpec___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___closed__3); +l_Lake_DSL_expandDepSpec___closed__4 = _init_l_Lake_DSL_expandDepSpec___closed__4(); +lean_mark_persistent(l_Lake_DSL_expandDepSpec___closed__4); l_Lake_DSL_expandRequireDecl___closed__1 = _init_l_Lake_DSL_expandRequireDecl___closed__1(); lean_mark_persistent(l_Lake_DSL_expandRequireDecl___closed__1); +l_Lake_DSL_expandRequireDecl___closed__2 = _init_l_Lake_DSL_expandRequireDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandRequireDecl___closed__2); +l_Lake_DSL_expandRequireDecl___closed__3 = _init_l_Lake_DSL_expandRequireDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandRequireDecl___closed__3); l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandRequireDecl__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/Script.c b/stage0/stdlib/Lake/DSL/Script.c index 699c388ee6..e10b2409f4 100644 --- a/stage0/stdlib/Lake/DSL/Script.c +++ b/stage0/stdlib/Lake/DSL/Script.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Script -// Imports: Lake.Config.Package Lake.DSL.Attributes Lake.DSL.DeclUtil +// Imports: Lake.Config.Package Lake.DSL.Attributes Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -16,61 +16,48 @@ extern "C" { static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__15; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__6; lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__21; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__13; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__1; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__12; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___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*, lean_object*); -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__24; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; -static lean_object* l_Lake_DSL_scriptDecl___closed__15; -static lean_object* l_Lake_DSL_scriptDecl___closed__6; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___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*, lean_object*); -extern lean_object* l_Lake_DSL_simpleBinder; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__25; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__45; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__17; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__2; -extern lean_object* l_Lake_DSL_identOrStr; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__51; lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__52; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__39; static lean_object* l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__2; -static lean_object* l_Lake_DSL_scriptDecl___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___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* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__12; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__11; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__2; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__14; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__33; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__12; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__18; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__8; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__34; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__5; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__16; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__48; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; -LEAN_EXPORT lean_object* l_Lake_DSL_scriptDeclSpec; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__10; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__4; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__5; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__8; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__14; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__4___closed__1; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; @@ -81,21 +68,15 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__4; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__53; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__14; lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__3; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__38; -static lean_object* l_Lake_DSL_scriptDecl___closed__4; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__7; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; -static lean_object* l_Lake_DSL_scriptDecl___closed__13; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -extern lean_object* l_Lake_DSL_declValDo; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__27; -static lean_object* l_Lake_DSL_scriptDecl___closed__1; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__49; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__28; -LEAN_EXPORT lean_object* l_Lake_DSL_scriptDecl; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; @@ -104,14 +85,9 @@ static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; -static lean_object* l_Lake_DSL_scriptDecl___closed__11; -static lean_object* l_Lake_DSL_scriptDecl___closed__7; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__20; -static lean_object* l_Lake_DSL_scriptDecl___closed__9; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__5; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__25; static lean_object* l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__3; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__5; @@ -124,202 +100,36 @@ static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__19; uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__19; +static lean_object* l_Lake_DSL_expandScriptDecl___closed__1; lean_object* l_Array_mkArray1___rarg(lean_object*); -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__21; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__4___closed__2; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__31; +static lean_object* l_Lake_DSL_expandScriptDecl___closed__2; lean_object* lean_array_mk(lean_object*); -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__15; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__9; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__2___closed__4; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__30; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__6; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__11; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__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___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__1; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandScriptDecl__1(lean_object*); static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__4; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__46; +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__3___closed__7; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -static lean_object* l_Lake_DSL_scriptDecl___closed__10; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__23; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__50; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__32; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__8; lean_object* l_String_toSubstring_x27(lean_object*); -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__22; -static lean_object* l_Lake_DSL_scriptDecl___closed__17; static lean_object* l_Lake_DSL_expandScriptDecl___lambda__1___closed__36; -static lean_object* l_Lake_DSL_scriptDeclSpec___closed__17; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lake_DSL_scriptDecl___closed__16; -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("scriptDeclSpec", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__2; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_scriptDeclSpec___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_scriptDeclSpec___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ppSpace", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_scriptDeclSpec___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__10; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__11; -x_3 = l_Lake_DSL_simpleBinder; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__8; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__12; -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_Lake_DSL_scriptDeclSpec___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_identOrStr; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("orelse", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_scriptDeclSpec___closed__15; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__17() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -327,7 +137,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__18() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -335,154 +145,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Command", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__21() { -_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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_scriptDeclSpec___closed__20; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__21; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__16; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__22; -x_3 = l_Lake_DSL_declValDo; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__14; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__23; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__3; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__4; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__24; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDeclSpec() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__25; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("scriptDecl", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__2; -x_3 = l_Lake_DSL_scriptDecl___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docComment", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_scriptDecl___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_scriptDecl___closed__4; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__8; -x_2 = l_Lake_DSL_scriptDecl___closed__5; -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_Lake_DSL_scriptDecl___closed__7() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -490,131 +153,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("attributes", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__9() { -_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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_scriptDecl___closed__8; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_scriptDecl___closed__9; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__8; -x_2 = l_Lake_DSL_scriptDecl___closed__10; -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_Lake_DSL_scriptDecl___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_scriptDecl___closed__6; -x_3 = l_Lake_DSL_scriptDecl___closed__11; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("script ", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_scriptDecl___closed__13; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_scriptDecl___closed__12; -x_3 = l_Lake_DSL_scriptDecl___closed__14; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__6; -x_2 = l_Lake_DSL_scriptDecl___closed__15; -x_3 = l_Lake_DSL_scriptDeclSpec; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_scriptDecl___closed__16; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_scriptDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_scriptDecl___closed__17; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__1() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -622,19 +161,19 @@ x_1 = lean_mk_string_unchecked("attrInstance", 12, 12); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__2() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___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_Lake_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___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_Lake_DSL_expandScriptDecl___lambda__1___closed__3() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -642,19 +181,19 @@ x_1 = lean_mk_string_unchecked("attrKind", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__4() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__7() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__5() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__8() { _start: { lean_object* x_1; @@ -662,17 +201,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__6() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__5; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__7() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -681,7 +220,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__8() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__11() { _start: { lean_object* x_1; @@ -689,7 +228,7 @@ x_1 = lean_mk_string_unchecked("Attr", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__9() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__12() { _start: { lean_object* x_1; @@ -697,19 +236,19 @@ x_1 = lean_mk_string_unchecked("simple", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__10() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__13() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__8; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__11; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__12; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__11() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -717,16 +256,16 @@ x_1 = lean_mk_string_unchecked("«script»", 10, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__12() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__11; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__14; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__13() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__16() { _start: { lean_object* x_1; @@ -734,17 +273,25 @@ x_1 = lean_mk_string_unchecked("script", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__14() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__15() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Command", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__19() { _start: { lean_object* x_1; @@ -752,19 +299,19 @@ x_1 = lean_mk_string_unchecked("declaration", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__16() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__20() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__15; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__19; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__17() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__21() { _start: { lean_object* x_1; @@ -772,19 +319,39 @@ x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__18() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__22() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__17; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__21; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__19() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("attributes", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__24() { +_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_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__25() { _start: { lean_object* x_1; @@ -792,7 +359,7 @@ x_1 = lean_mk_string_unchecked("@[", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__20() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__26() { _start: { lean_object* x_1; @@ -800,7 +367,7 @@ x_1 = lean_mk_string_unchecked(",", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__21() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__27() { _start: { lean_object* x_1; @@ -808,7 +375,7 @@ x_1 = lean_mk_string_unchecked("]", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__22() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__28() { _start: { lean_object* x_1; @@ -816,19 +383,19 @@ x_1 = lean_mk_string_unchecked("definition", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__23() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__29() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__28; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__24() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__30() { _start: { lean_object* x_1; @@ -836,7 +403,7 @@ x_1 = lean_mk_string_unchecked("def", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__25() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__31() { _start: { lean_object* x_1; @@ -844,19 +411,19 @@ x_1 = lean_mk_string_unchecked("declId", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__26() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__32() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__25; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__31; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__27() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__33() { _start: { lean_object* x_1; lean_object* x_2; @@ -865,13 +432,13 @@ x_2 = lean_array_mk(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__28() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__27; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__33; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -879,19 +446,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__29() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__28; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__34; 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_Lake_DSL_expandScriptDecl___lambda__1___closed__30() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__36() { _start: { lean_object* x_1; @@ -899,19 +466,19 @@ x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__31() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__37() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDeclSpec___closed__19; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__30; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__36; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__32() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__38() { _start: { lean_object* x_1; @@ -919,19 +486,19 @@ x_1 = lean_mk_string_unchecked("typeSpec", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__33() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__39() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__32; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__38; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__34() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__40() { _start: { lean_object* x_1; @@ -939,7 +506,7 @@ x_1 = lean_mk_string_unchecked(":", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__35() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__41() { _start: { lean_object* x_1; @@ -947,60 +514,68 @@ x_1 = lean_mk_string_unchecked("ScriptFn", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__36() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__37() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__38() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lake", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__39() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__38; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__45; 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_Lake_DSL_expandScriptDecl___lambda__1___closed__40() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__39; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__46; 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_Lake_DSL_expandScriptDecl___lambda__1___closed__41() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__48() { _start: { lean_object* x_1; @@ -1008,7 +583,7 @@ x_1 = lean_mk_string_unchecked(":=", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__42() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__49() { _start: { lean_object* x_1; @@ -1016,19 +591,19 @@ x_1 = lean_mk_string_unchecked("fun", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__43() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__50() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__49; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__44() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__51() { _start: { lean_object* x_1; @@ -1036,19 +611,19 @@ x_1 = lean_mk_string_unchecked("basicFun", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__45() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__52() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__51; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__46() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__53() { _start: { lean_object* x_1; @@ -1056,11 +631,11 @@ x_1 = lean_mk_string_unchecked("=>", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__47() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__54() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } @@ -1093,34 +668,34 @@ x_21 = lean_ctor_get(x_19, 0); x_22 = 0; x_23 = l_Lean_SourceInfo_fromRef(x_18, x_22); lean_dec(x_18); -x_24 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -x_25 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; +x_24 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_25 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; lean_inc(x_23); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_23); lean_ctor_set(x_26, 1, x_24); lean_ctor_set(x_26, 2, x_25); -x_27 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__4; +x_27 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; lean_inc(x_26); lean_inc(x_23); x_28 = l_Lean_Syntax_node1(x_23, x_27, x_26); -x_29 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__14; +x_29 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__17; lean_inc(x_16); lean_inc(x_15); x_30 = l_Lean_addMacroScope(x_15, x_29, x_16); x_31 = lean_box(0); -x_32 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__12; +x_32 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__15; lean_inc(x_23); x_33 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_33, 0, x_23); lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_33, 2, x_30); lean_ctor_set(x_33, 3, x_31); -x_34 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; +x_34 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; lean_inc(x_26); lean_inc(x_23); x_35 = l_Lean_Syntax_node2(x_23, x_34, x_33, x_26); -x_36 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_36 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__5; lean_inc(x_23); x_37 = l_Lean_Syntax_node2(x_23, x_36, x_28, x_35); x_38 = lean_alloc_ctor(1, 2, 0); @@ -1130,12 +705,12 @@ x_39 = lean_array_mk(x_38); x_40 = l_Lake_DSL_expandAttrs(x_4); x_41 = l_Array_append___rarg(x_39, x_40); lean_dec(x_40); -x_42 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__19; +x_42 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__25; lean_inc(x_23); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_23); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; +x_44 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; x_45 = l_Lean_Syntax_SepArray_ofElems(x_44, x_41); lean_dec(x_41); x_46 = l_Array_append___rarg(x_25, x_45); @@ -1145,78 +720,78 @@ x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_23); lean_ctor_set(x_47, 1, x_24); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__21; +x_48 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__27; 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_Lake_DSL_scriptDecl___closed__9; +x_50 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; lean_inc(x_23); x_51 = l_Lean_Syntax_node3(x_23, x_50, x_43, x_47, x_49); lean_inc(x_23); x_52 = l_Lean_Syntax_node1(x_23, x_24, x_51); -x_53 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; +x_53 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__30; lean_inc(x_23); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_23); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; +x_55 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_13); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_mk(x_56); x_58 = lean_box(2); -x_59 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; +x_59 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__32; x_60 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); lean_ctor_set(x_60, 2, x_57); -x_61 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__34; +x_61 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; lean_inc(x_23); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_23); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; +x_63 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; x_64 = l_Lean_addMacroScope(x_15, x_63, x_16); -x_65 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__36; -x_66 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; +x_65 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_66 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; lean_inc(x_23); x_67 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_67, 0, x_23); lean_ctor_set(x_67, 1, x_65); lean_ctor_set(x_67, 2, x_64); lean_ctor_set(x_67, 3, x_66); -x_68 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__33; +x_68 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__39; lean_inc(x_23); x_69 = l_Lean_Syntax_node2(x_23, x_68, x_62, x_67); lean_inc(x_23); x_70 = l_Lean_Syntax_node1(x_23, x_24, x_69); -x_71 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__31; +x_71 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; lean_inc(x_26); lean_inc(x_23); x_72 = l_Lean_Syntax_node2(x_23, x_71, x_26, x_70); -x_73 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; +x_73 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__48; 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_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_75 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__49; lean_inc(x_23); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_23); lean_ctor_set(x_76, 1, x_75); lean_inc(x_23); x_77 = l_Lean_Syntax_node1(x_23, x_24, x_21); -x_78 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__46; +x_78 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__53; lean_inc(x_23); x_79 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_79, 0, x_23); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__45; +x_80 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__52; lean_inc(x_26); lean_inc(x_23); x_81 = l_Lean_Syntax_node4(x_23, x_80, x_77, x_26, x_79, x_5); -x_82 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; +x_82 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__50; lean_inc(x_23); x_83 = l_Lean_Syntax_node2(x_23, x_82, x_76, x_81); lean_inc_n(x_26, 2); @@ -1225,13 +800,13 @@ x_84 = l_Lean_Syntax_node2(x_23, x_6, x_26, x_26); if (lean_obj_tag(x_7) == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_85 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_23); x_86 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_86, 0, x_23); lean_ctor_set(x_86, 1, x_24); lean_ctor_set(x_86, 2, x_85); -x_87 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_87 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_26, 4); lean_inc(x_86); lean_inc(x_23); @@ -1241,10 +816,10 @@ if (lean_obj_tag(x_10) == 0) lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_inc(x_23); x_89 = l_Lean_Syntax_node4(x_23, x_8, x_74, x_83, x_84, x_86); -x_90 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_90 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_23); x_91 = l_Lean_Syntax_node5(x_23, x_90, x_54, x_60, x_72, x_89, x_26); -x_92 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_92 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_93 = l_Lean_Syntax_node2(x_23, x_92, x_88, x_91); lean_ctor_set(x_19, 0, x_93); return x_19; @@ -1266,10 +841,10 @@ lean_ctor_set(x_97, 1, x_24); lean_ctor_set(x_97, 2, x_96); lean_inc(x_23); x_98 = l_Lean_Syntax_node4(x_23, x_8, x_74, x_83, x_84, x_97); -x_99 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_99 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_23); x_100 = l_Lean_Syntax_node5(x_23, x_99, x_54, x_60, x_72, x_98, x_26); -x_101 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_101 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_102 = l_Lean_Syntax_node2(x_23, x_101, x_88, x_100); lean_ctor_set(x_19, 0, x_102); return x_19; @@ -1289,14 +864,14 @@ x_106 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_106, 0, x_23); lean_ctor_set(x_106, 1, x_24); lean_ctor_set(x_106, 2, x_105); -x_107 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_107 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_26, 4); lean_inc(x_23); x_108 = l_Lean_Syntax_node6(x_23, x_107, x_106, x_52, x_26, x_26, x_26, x_26); if (lean_obj_tag(x_10) == 0) { 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; -x_109 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_109 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_23); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_23); @@ -1304,10 +879,10 @@ lean_ctor_set(x_110, 1, x_24); lean_ctor_set(x_110, 2, x_109); lean_inc(x_23); x_111 = l_Lean_Syntax_node4(x_23, x_8, x_74, x_83, x_84, x_110); -x_112 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_112 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_23); x_113 = l_Lean_Syntax_node5(x_23, x_112, x_54, x_60, x_72, x_111, x_26); -x_114 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_114 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_115 = l_Lean_Syntax_node2(x_23, x_114, x_108, x_113); lean_ctor_set(x_19, 0, x_115); return x_19; @@ -1328,10 +903,10 @@ lean_ctor_set(x_119, 1, x_24); lean_ctor_set(x_119, 2, x_118); lean_inc(x_23); x_120 = l_Lean_Syntax_node4(x_23, x_8, x_74, x_83, x_84, x_119); -x_121 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_121 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_23); x_122 = l_Lean_Syntax_node5(x_23, x_121, x_54, x_60, x_72, x_120, x_26); -x_123 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_123 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_124 = l_Lean_Syntax_node2(x_23, x_123, x_108, x_122); lean_ctor_set(x_19, 0, x_124); return x_19; @@ -1349,34 +924,34 @@ lean_dec(x_19); x_127 = 0; x_128 = l_Lean_SourceInfo_fromRef(x_18, x_127); lean_dec(x_18); -x_129 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -x_130 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; +x_129 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_130 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; lean_inc(x_128); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_128); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__4; +x_132 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; lean_inc(x_131); lean_inc(x_128); x_133 = l_Lean_Syntax_node1(x_128, x_132, x_131); -x_134 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__14; +x_134 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__17; lean_inc(x_16); lean_inc(x_15); x_135 = l_Lean_addMacroScope(x_15, x_134, x_16); x_136 = lean_box(0); -x_137 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__12; +x_137 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__15; lean_inc(x_128); x_138 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_138, 0, x_128); lean_ctor_set(x_138, 1, x_137); lean_ctor_set(x_138, 2, x_135); lean_ctor_set(x_138, 3, x_136); -x_139 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; +x_139 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; lean_inc(x_131); lean_inc(x_128); x_140 = l_Lean_Syntax_node2(x_128, x_139, x_138, x_131); -x_141 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_141 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__5; lean_inc(x_128); x_142 = l_Lean_Syntax_node2(x_128, x_141, x_133, x_140); x_143 = lean_alloc_ctor(1, 2, 0); @@ -1386,12 +961,12 @@ x_144 = lean_array_mk(x_143); x_145 = l_Lake_DSL_expandAttrs(x_4); x_146 = l_Array_append___rarg(x_144, x_145); lean_dec(x_145); -x_147 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__19; +x_147 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__25; lean_inc(x_128); x_148 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_148, 0, x_128); lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; +x_149 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; x_150 = l_Lean_Syntax_SepArray_ofElems(x_149, x_146); lean_dec(x_146); x_151 = l_Array_append___rarg(x_130, x_150); @@ -1401,78 +976,78 @@ x_152 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_152, 0, x_128); lean_ctor_set(x_152, 1, x_129); lean_ctor_set(x_152, 2, x_151); -x_153 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__21; +x_153 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__27; lean_inc(x_128); x_154 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_154, 0, x_128); lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lake_DSL_scriptDecl___closed__9; +x_155 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; lean_inc(x_128); x_156 = l_Lean_Syntax_node3(x_128, x_155, x_148, x_152, x_154); lean_inc(x_128); x_157 = l_Lean_Syntax_node1(x_128, x_129, x_156); -x_158 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; +x_158 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__30; lean_inc(x_128); x_159 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_159, 0, x_128); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; +x_160 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; x_161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_161, 0, x_13); lean_ctor_set(x_161, 1, x_160); x_162 = lean_array_mk(x_161); x_163 = lean_box(2); -x_164 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; +x_164 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__32; x_165 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_165, 0, x_163); lean_ctor_set(x_165, 1, x_164); lean_ctor_set(x_165, 2, x_162); -x_166 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__34; +x_166 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; lean_inc(x_128); x_167 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_167, 0, x_128); lean_ctor_set(x_167, 1, x_166); -x_168 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; +x_168 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; x_169 = l_Lean_addMacroScope(x_15, x_168, x_16); -x_170 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__36; -x_171 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; +x_170 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_171 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; lean_inc(x_128); x_172 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_172, 0, x_128); lean_ctor_set(x_172, 1, x_170); lean_ctor_set(x_172, 2, x_169); lean_ctor_set(x_172, 3, x_171); -x_173 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__33; +x_173 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__39; lean_inc(x_128); x_174 = l_Lean_Syntax_node2(x_128, x_173, x_167, x_172); lean_inc(x_128); x_175 = l_Lean_Syntax_node1(x_128, x_129, x_174); -x_176 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__31; +x_176 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; lean_inc(x_131); lean_inc(x_128); x_177 = l_Lean_Syntax_node2(x_128, x_176, x_131, x_175); -x_178 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; +x_178 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__48; lean_inc(x_128); x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_128); lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_180 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__49; lean_inc(x_128); x_181 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_181, 0, x_128); lean_ctor_set(x_181, 1, x_180); lean_inc(x_128); x_182 = l_Lean_Syntax_node1(x_128, x_129, x_125); -x_183 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__46; +x_183 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__53; lean_inc(x_128); x_184 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_184, 0, x_128); lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__45; +x_185 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__52; lean_inc(x_131); lean_inc(x_128); x_186 = l_Lean_Syntax_node4(x_128, x_185, x_182, x_131, x_184, x_5); -x_187 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; +x_187 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__50; lean_inc(x_128); x_188 = l_Lean_Syntax_node2(x_128, x_187, x_181, x_186); lean_inc_n(x_131, 2); @@ -1481,13 +1056,13 @@ x_189 = l_Lean_Syntax_node2(x_128, x_6, x_131, x_131); if (lean_obj_tag(x_7) == 0) { lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_190 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_190 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_128); x_191 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_191, 0, x_128); lean_ctor_set(x_191, 1, x_129); lean_ctor_set(x_191, 2, x_190); -x_192 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_192 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_131, 4); lean_inc(x_191); lean_inc(x_128); @@ -1497,10 +1072,10 @@ if (lean_obj_tag(x_10) == 0) lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_inc(x_128); x_194 = l_Lean_Syntax_node4(x_128, x_8, x_179, x_188, x_189, x_191); -x_195 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_195 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_128); x_196 = l_Lean_Syntax_node5(x_128, x_195, x_159, x_165, x_177, x_194, x_131); -x_197 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_197 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_198 = l_Lean_Syntax_node2(x_128, x_197, x_193, x_196); x_199 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_199, 0, x_198); @@ -1524,10 +1099,10 @@ lean_ctor_set(x_203, 1, x_129); lean_ctor_set(x_203, 2, x_202); lean_inc(x_128); x_204 = l_Lean_Syntax_node4(x_128, x_8, x_179, x_188, x_189, x_203); -x_205 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_205 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_128); x_206 = l_Lean_Syntax_node5(x_128, x_205, x_159, x_165, x_177, x_204, x_131); -x_207 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_207 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_208 = l_Lean_Syntax_node2(x_128, x_207, x_193, x_206); x_209 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_209, 0, x_208); @@ -1549,14 +1124,14 @@ x_213 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_213, 0, x_128); lean_ctor_set(x_213, 1, x_129); lean_ctor_set(x_213, 2, x_212); -x_214 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_214 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_131, 4); lean_inc(x_128); x_215 = l_Lean_Syntax_node6(x_128, x_214, x_213, x_157, x_131, x_131, x_131, x_131); if (lean_obj_tag(x_10) == 0) { lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_216 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_216 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_128); x_217 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_217, 0, x_128); @@ -1564,10 +1139,10 @@ lean_ctor_set(x_217, 1, x_129); lean_ctor_set(x_217, 2, x_216); lean_inc(x_128); x_218 = l_Lean_Syntax_node4(x_128, x_8, x_179, x_188, x_189, x_217); -x_219 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_219 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_128); x_220 = l_Lean_Syntax_node5(x_128, x_219, x_159, x_165, x_177, x_218, x_131); -x_221 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_221 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_222 = l_Lean_Syntax_node2(x_128, x_221, x_215, x_220); x_223 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_223, 0, x_222); @@ -1590,10 +1165,10 @@ lean_ctor_set(x_227, 1, x_129); lean_ctor_set(x_227, 2, x_226); lean_inc(x_128); x_228 = l_Lean_Syntax_node4(x_128, x_8, x_179, x_188, x_189, x_227); -x_229 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_229 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_128); x_230 = l_Lean_Syntax_node5(x_128, x_229, x_159, x_165, x_177, x_228, x_131); -x_231 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_231 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_232 = l_Lean_Syntax_node2(x_128, x_231, x_215, x_230); x_233 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_233, 0, x_232); @@ -1648,34 +1223,34 @@ if (lean_is_exclusive(x_242)) { x_246 = 0; x_247 = l_Lean_SourceInfo_fromRef(x_240, x_246); lean_dec(x_240); -x_248 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -x_249 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; +x_248 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_249 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; lean_inc(x_247); x_250 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_250, 0, x_247); lean_ctor_set(x_250, 1, x_248); lean_ctor_set(x_250, 2, x_249); -x_251 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__4; +x_251 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; lean_inc(x_250); lean_inc(x_247); x_252 = l_Lean_Syntax_node1(x_247, x_251, x_250); -x_253 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__14; +x_253 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__17; lean_inc(x_236); lean_inc(x_235); x_254 = l_Lean_addMacroScope(x_235, x_253, x_236); x_255 = lean_box(0); -x_256 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__12; +x_256 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__15; lean_inc(x_247); x_257 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_257, 0, x_247); lean_ctor_set(x_257, 1, x_256); lean_ctor_set(x_257, 2, x_254); lean_ctor_set(x_257, 3, x_255); -x_258 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; +x_258 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; lean_inc(x_250); lean_inc(x_247); x_259 = l_Lean_Syntax_node2(x_247, x_258, x_257, x_250); -x_260 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_260 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__5; lean_inc(x_247); x_261 = l_Lean_Syntax_node2(x_247, x_260, x_252, x_259); x_262 = lean_alloc_ctor(1, 2, 0); @@ -1685,12 +1260,12 @@ x_263 = lean_array_mk(x_262); x_264 = l_Lake_DSL_expandAttrs(x_4); x_265 = l_Array_append___rarg(x_263, x_264); lean_dec(x_264); -x_266 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__19; +x_266 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__25; lean_inc(x_247); x_267 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_267, 0, x_247); lean_ctor_set(x_267, 1, x_266); -x_268 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; +x_268 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; x_269 = l_Lean_Syntax_SepArray_ofElems(x_268, x_265); lean_dec(x_265); x_270 = l_Array_append___rarg(x_249, x_269); @@ -1700,78 +1275,78 @@ x_271 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_271, 0, x_247); lean_ctor_set(x_271, 1, x_248); lean_ctor_set(x_271, 2, x_270); -x_272 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__21; +x_272 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__27; lean_inc(x_247); x_273 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_273, 0, x_247); lean_ctor_set(x_273, 1, x_272); -x_274 = l_Lake_DSL_scriptDecl___closed__9; +x_274 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; lean_inc(x_247); x_275 = l_Lean_Syntax_node3(x_247, x_274, x_267, x_271, x_273); lean_inc(x_247); x_276 = l_Lean_Syntax_node1(x_247, x_248, x_275); -x_277 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__24; +x_277 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__30; lean_inc(x_247); x_278 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_278, 0, x_247); lean_ctor_set(x_278, 1, x_277); -x_279 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; +x_279 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__35; x_280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_280, 0, x_13); lean_ctor_set(x_280, 1, x_279); x_281 = lean_array_mk(x_280); x_282 = lean_box(2); -x_283 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__26; +x_283 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__32; x_284 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_284, 0, x_282); lean_ctor_set(x_284, 1, x_283); lean_ctor_set(x_284, 2, x_281); -x_285 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__34; +x_285 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; lean_inc(x_247); x_286 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_286, 0, x_247); lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; +x_287 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; x_288 = l_Lean_addMacroScope(x_235, x_287, x_236); -x_289 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__36; -x_290 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__40; +x_289 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_290 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; lean_inc(x_247); x_291 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_291, 0, x_247); lean_ctor_set(x_291, 1, x_289); lean_ctor_set(x_291, 2, x_288); lean_ctor_set(x_291, 3, x_290); -x_292 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__33; +x_292 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__39; lean_inc(x_247); x_293 = l_Lean_Syntax_node2(x_247, x_292, x_286, x_291); lean_inc(x_247); x_294 = l_Lean_Syntax_node1(x_247, x_248, x_293); -x_295 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__31; +x_295 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__37; lean_inc(x_250); lean_inc(x_247); x_296 = l_Lean_Syntax_node2(x_247, x_295, x_250, x_294); -x_297 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; +x_297 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__48; lean_inc(x_247); x_298 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_298, 0, x_247); lean_ctor_set(x_298, 1, x_297); -x_299 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__42; +x_299 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__49; lean_inc(x_247); x_300 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_300, 0, x_247); lean_ctor_set(x_300, 1, x_299); lean_inc(x_247); x_301 = l_Lean_Syntax_node1(x_247, x_248, x_243); -x_302 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__46; +x_302 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__53; lean_inc(x_247); x_303 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_303, 0, x_247); lean_ctor_set(x_303, 1, x_302); -x_304 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__45; +x_304 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__52; lean_inc(x_250); lean_inc(x_247); x_305 = l_Lean_Syntax_node4(x_247, x_304, x_301, x_250, x_303, x_5); -x_306 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__43; +x_306 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__50; lean_inc(x_247); x_307 = l_Lean_Syntax_node2(x_247, x_306, x_300, x_305); lean_inc_n(x_250, 2); @@ -1780,13 +1355,13 @@ x_308 = l_Lean_Syntax_node2(x_247, x_6, x_250, x_250); if (lean_obj_tag(x_7) == 0) { lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_309 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_309 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_247); x_310 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_310, 0, x_247); lean_ctor_set(x_310, 1, x_248); lean_ctor_set(x_310, 2, x_309); -x_311 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_311 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_250, 4); lean_inc(x_310); lean_inc(x_247); @@ -1796,10 +1371,10 @@ if (lean_obj_tag(x_10) == 0) lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_inc(x_247); x_313 = l_Lean_Syntax_node4(x_247, x_8, x_298, x_307, x_308, x_310); -x_314 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_314 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_247); x_315 = l_Lean_Syntax_node5(x_247, x_314, x_278, x_284, x_296, x_313, x_250); -x_316 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_316 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_317 = l_Lean_Syntax_node2(x_247, x_316, x_312, x_315); if (lean_is_scalar(x_245)) { x_318 = lean_alloc_ctor(0, 2, 0); @@ -1827,10 +1402,10 @@ lean_ctor_set(x_322, 1, x_248); lean_ctor_set(x_322, 2, x_321); lean_inc(x_247); x_323 = l_Lean_Syntax_node4(x_247, x_8, x_298, x_307, x_308, x_322); -x_324 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_324 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_247); x_325 = l_Lean_Syntax_node5(x_247, x_324, x_278, x_284, x_296, x_323, x_250); -x_326 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_326 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_327 = l_Lean_Syntax_node2(x_247, x_326, x_312, x_325); if (lean_is_scalar(x_245)) { x_328 = lean_alloc_ctor(0, 2, 0); @@ -1856,14 +1431,14 @@ x_332 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_332, 0, x_247); lean_ctor_set(x_332, 1, x_248); lean_ctor_set(x_332, 2, x_331); -x_333 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_333 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__22; lean_inc_n(x_250, 4); lean_inc(x_247); x_334 = l_Lean_Syntax_node6(x_247, x_333, x_332, x_276, x_250, x_250, x_250, x_250); if (lean_obj_tag(x_10) == 0) { lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_335 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_335 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_247); x_336 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_336, 0, x_247); @@ -1871,10 +1446,10 @@ lean_ctor_set(x_336, 1, x_248); lean_ctor_set(x_336, 2, x_335); lean_inc(x_247); x_337 = l_Lean_Syntax_node4(x_247, x_8, x_298, x_307, x_308, x_336); -x_338 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_338 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_247); x_339 = l_Lean_Syntax_node5(x_247, x_338, x_278, x_284, x_296, x_337, x_250); -x_340 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_340 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_341 = l_Lean_Syntax_node2(x_247, x_340, x_334, x_339); if (lean_is_scalar(x_245)) { x_342 = lean_alloc_ctor(0, 2, 0); @@ -1901,10 +1476,10 @@ lean_ctor_set(x_346, 1, x_248); lean_ctor_set(x_346, 2, x_345); lean_inc(x_247); x_347 = l_Lean_Syntax_node4(x_247, x_8, x_298, x_307, x_308, x_346); -x_348 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__23; +x_348 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__29; lean_inc(x_247); x_349 = l_Lean_Syntax_node5(x_247, x_348, x_278, x_284, x_296, x_347, x_250); -x_350 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; +x_350 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__20; x_351 = l_Lean_Syntax_node2(x_247, x_350, x_334, x_349); if (lean_is_scalar(x_245)) { x_352 = lean_alloc_ctor(0, 2, 0); @@ -1923,19 +1498,39 @@ static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__1() _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("do", 2, 2); +x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); return x_1; } } static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___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_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__18; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("do", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__4() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("Termination", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__3() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -1943,14 +1538,14 @@ x_1 = lean_mk_string_unchecked("suffix", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__4() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__6() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__3; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__4; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -1964,30 +1559,30 @@ x_15 = 0; x_16 = l_Lean_SourceInfo_fromRef(x_14, x_15); x_17 = 1; x_18 = l_Lean_SourceInfo_fromRef(x_1, x_17); -x_19 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__13; +x_19 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__16; x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__41; +x_21 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__48; lean_inc(x_16); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_16); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__1; +x_23 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__3; lean_inc(x_16); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_16); lean_ctor_set(x_24, 1, x_23); lean_inc(x_16); x_25 = l_Lean_Syntax_node2(x_16, x_2, x_24, x_3); -x_26 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__6; -x_27 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__7; +x_26 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__9; +x_27 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__10; lean_inc(x_16); x_28 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_27); -x_29 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__4; +x_29 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__6; lean_inc(x_28); lean_inc(x_16); x_30 = l_Lean_Syntax_node2(x_16, x_29, x_28, x_28); @@ -2044,7 +1639,7 @@ lean_ctor_set(x_36, 2, x_35); if (lean_obj_tag(x_4) == 0) { lean_object* x_37; lean_object* x_38; -x_37 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_37 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_16); x_38 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_38, 0, x_16); @@ -2053,7 +1648,7 @@ lean_ctor_set(x_38, 2, x_37); if (lean_obj_tag(x_11) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = l_Lake_DSL_scriptDeclSpec___closed__21; +x_39 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; lean_inc(x_38); lean_inc(x_16); x_40 = l_Lean_Syntax_node4(x_16, x_39, x_22, x_25, x_30, x_38); @@ -2079,7 +1674,7 @@ x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_16); lean_ctor_set(x_47, 1, x_26); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_scriptDeclSpec___closed__21; +x_48 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; lean_inc(x_16); x_49 = l_Lean_Syntax_node4(x_16, x_48, x_22, x_25, x_30, x_47); lean_inc(x_16); @@ -2108,13 +1703,13 @@ lean_ctor_set(x_56, 2, x_55); if (lean_obj_tag(x_11) == 0) { 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; -x_57 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__47; +x_57 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__54; lean_inc(x_16); x_58 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_58, 0, x_16); lean_ctor_set(x_58, 1, x_26); lean_ctor_set(x_58, 2, x_57); -x_59 = l_Lake_DSL_scriptDeclSpec___closed__21; +x_59 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; lean_inc(x_16); x_60 = l_Lean_Syntax_node4(x_16, x_59, x_22, x_25, x_30, x_58); lean_inc(x_16); @@ -2139,7 +1734,7 @@ x_67 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_67, 0, x_16); lean_ctor_set(x_67, 1, x_26); lean_ctor_set(x_67, 2, x_66); -x_68 = l_Lake_DSL_scriptDeclSpec___closed__21; +x_68 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; lean_inc(x_16); x_69 = l_Lean_Syntax_node4(x_16, x_68, x_22, x_25, x_30, x_67); lean_inc(x_16); @@ -2159,22 +1754,30 @@ static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__1() _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declValDo", 9, 9); +x_1 = lean_mk_string_unchecked("DSL", 3, 3); return x_1; } } static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("declValDo", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__2; -x_3 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__3() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -2182,7 +1785,7 @@ x_1 = lean_mk_string_unchecked("ill-formed script declaration", 29, 29); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__4() { +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -2190,26 +1793,26 @@ x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___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_Lake_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__6() { _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_DSL_scriptDeclSpec___closed__17; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__18; -x_3 = l_Lake_DSL_scriptDecl___closed__7; -x_4 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__1; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__5; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__7() { +_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_DSL_expandScriptDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -2220,7 +1823,7 @@ _start: lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_13 = lean_unsigned_to_nat(2u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__2; +x_15 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; lean_inc(x_14); x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); if (x_16 == 0) @@ -2228,7 +1831,7 @@ if (x_16 == 0) lean_object* x_17; uint8_t x_18; lean_dec(x_8); lean_dec(x_7); -x_17 = l_Lake_DSL_scriptDeclSpec___closed__21; +x_17 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__2; lean_inc(x_14); x_18 = l_Lean_Syntax_isOfKind(x_14, x_17); if (x_18 == 0) @@ -2239,7 +1842,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_19 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_19 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_20 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_19, x_11, x_12); return x_20; } @@ -2249,7 +1852,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint x_21 = lean_unsigned_to_nat(1u); x_22 = l_Lean_Syntax_getArg(x_14, x_21); x_23 = l_Lean_Syntax_getArg(x_14, x_13); -x_24 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__4; +x_24 = l_Lake_DSL_expandScriptDecl___lambda__2___closed__6; lean_inc(x_23); x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); if (x_25 == 0) @@ -2262,7 +1865,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_26 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_26 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_27 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_26, x_11, x_12); return x_27; } @@ -2282,7 +1885,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_31 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_31 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_32 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_31, x_11, x_12); return x_32; } @@ -2301,7 +1904,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_35 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_35 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_36 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_35, x_11, x_12); return x_36; } @@ -2326,7 +1929,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_41 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_41 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_42 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_41, x_11, x_12); return x_42; } @@ -2335,7 +1938,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_28); lean_dec(x_38); -x_44 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__5; +x_44 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__6; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -2347,7 +1950,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_46 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_46 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_47 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_46, x_11, x_12); return x_47; } @@ -2381,7 +1984,7 @@ else lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; x_54 = lean_unsigned_to_nat(0u); x_55 = l_Lean_Syntax_getArg(x_14, x_54); -x_56 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__6; +x_56 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__7; lean_inc(x_55); x_57 = l_Lean_Syntax_isOfKind(x_55, x_56); if (x_57 == 0) @@ -2395,7 +1998,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_58 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_58 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_59 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_58, x_11, x_12); return x_59; } @@ -2424,7 +2027,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_65 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_65 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_66 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_65, x_11, x_12); return x_66; } @@ -2433,7 +2036,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_54); lean_dec(x_62); -x_68 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__5; +x_68 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__6; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -2447,7 +2050,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_70 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_70 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_71 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_70, x_11, x_12); return x_71; } @@ -2477,6 +2080,25 @@ return x_77; } } } +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scriptDeclSpec", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; +x_3 = l_Lake_DSL_expandScriptDecl___lambda__4___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl___lambda__4(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: { @@ -2485,7 +2107,7 @@ x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_scriptDeclSpec___closed__4; +x_12 = l_Lake_DSL_expandScriptDecl___lambda__4___closed__2; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -2496,7 +2118,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_14 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_14 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_15 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_14, x_6, x_7); return x_15; } @@ -2523,7 +2145,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_22 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_22 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_23 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_22, x_6, x_7); return x_23; } @@ -2573,7 +2195,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_8); lean_dec(x_4); lean_dec(x_2); -x_11 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_11 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_12 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_11, x_5, x_6); return x_12; } @@ -2601,17 +2223,36 @@ return x_20; } } } +static lean_object* _init_l_Lake_DSL_expandScriptDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scriptDecl", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandScriptDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; +x_3 = l_Lake_DSL_expandScriptDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandScriptDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_scriptDecl___closed__2; +x_4 = l_Lake_DSL_expandScriptDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_6 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -2632,7 +2273,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_dec(x_9); -x_13 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__3; +x_13 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__4; x_14 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_13, x_2, x_3); lean_dec(x_1); return x_14; @@ -2728,8 +2369,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; -x_2 = l_Lake_DSL_scriptDeclSpec___closed__2; +x_1 = l_Lake_DSL_expandScriptDecl___lambda__1___closed__44; +x_2 = l_Lake_DSL_expandScriptDecl___lambda__3___closed__1; x_3 = l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -2756,7 +2397,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__3; -x_3 = l_Lake_DSL_scriptDecl___closed__2; +x_3 = l_Lake_DSL_expandScriptDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -2765,7 +2406,7 @@ return x_6; } lean_object* initialize_Lake_Config_Package(uint8_t builtin, lean_object*); lean_object* initialize_Lake_DSL_Attributes(uint8_t builtin, lean_object*); -lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_Script(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2777,97 +2418,9 @@ lean_dec_ref(res); res = initialize_Lake_DSL_Attributes(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lake_DSL_DeclUtil(builtin, lean_io_mk_world()); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_scriptDeclSpec___closed__1 = _init_l_Lake_DSL_scriptDeclSpec___closed__1(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__1); -l_Lake_DSL_scriptDeclSpec___closed__2 = _init_l_Lake_DSL_scriptDeclSpec___closed__2(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__2); -l_Lake_DSL_scriptDeclSpec___closed__3 = _init_l_Lake_DSL_scriptDeclSpec___closed__3(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__3); -l_Lake_DSL_scriptDeclSpec___closed__4 = _init_l_Lake_DSL_scriptDeclSpec___closed__4(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__4); -l_Lake_DSL_scriptDeclSpec___closed__5 = _init_l_Lake_DSL_scriptDeclSpec___closed__5(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__5); -l_Lake_DSL_scriptDeclSpec___closed__6 = _init_l_Lake_DSL_scriptDeclSpec___closed__6(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__6); -l_Lake_DSL_scriptDeclSpec___closed__7 = _init_l_Lake_DSL_scriptDeclSpec___closed__7(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__7); -l_Lake_DSL_scriptDeclSpec___closed__8 = _init_l_Lake_DSL_scriptDeclSpec___closed__8(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__8); -l_Lake_DSL_scriptDeclSpec___closed__9 = _init_l_Lake_DSL_scriptDeclSpec___closed__9(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__9); -l_Lake_DSL_scriptDeclSpec___closed__10 = _init_l_Lake_DSL_scriptDeclSpec___closed__10(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__10); -l_Lake_DSL_scriptDeclSpec___closed__11 = _init_l_Lake_DSL_scriptDeclSpec___closed__11(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__11); -l_Lake_DSL_scriptDeclSpec___closed__12 = _init_l_Lake_DSL_scriptDeclSpec___closed__12(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__12); -l_Lake_DSL_scriptDeclSpec___closed__13 = _init_l_Lake_DSL_scriptDeclSpec___closed__13(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__13); -l_Lake_DSL_scriptDeclSpec___closed__14 = _init_l_Lake_DSL_scriptDeclSpec___closed__14(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__14); -l_Lake_DSL_scriptDeclSpec___closed__15 = _init_l_Lake_DSL_scriptDeclSpec___closed__15(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__15); -l_Lake_DSL_scriptDeclSpec___closed__16 = _init_l_Lake_DSL_scriptDeclSpec___closed__16(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__16); -l_Lake_DSL_scriptDeclSpec___closed__17 = _init_l_Lake_DSL_scriptDeclSpec___closed__17(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__17); -l_Lake_DSL_scriptDeclSpec___closed__18 = _init_l_Lake_DSL_scriptDeclSpec___closed__18(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__18); -l_Lake_DSL_scriptDeclSpec___closed__19 = _init_l_Lake_DSL_scriptDeclSpec___closed__19(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__19); -l_Lake_DSL_scriptDeclSpec___closed__20 = _init_l_Lake_DSL_scriptDeclSpec___closed__20(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__20); -l_Lake_DSL_scriptDeclSpec___closed__21 = _init_l_Lake_DSL_scriptDeclSpec___closed__21(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__21); -l_Lake_DSL_scriptDeclSpec___closed__22 = _init_l_Lake_DSL_scriptDeclSpec___closed__22(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__22); -l_Lake_DSL_scriptDeclSpec___closed__23 = _init_l_Lake_DSL_scriptDeclSpec___closed__23(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__23); -l_Lake_DSL_scriptDeclSpec___closed__24 = _init_l_Lake_DSL_scriptDeclSpec___closed__24(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__24); -l_Lake_DSL_scriptDeclSpec___closed__25 = _init_l_Lake_DSL_scriptDeclSpec___closed__25(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__25); -l_Lake_DSL_scriptDeclSpec = _init_l_Lake_DSL_scriptDeclSpec(); -lean_mark_persistent(l_Lake_DSL_scriptDeclSpec); -l_Lake_DSL_scriptDecl___closed__1 = _init_l_Lake_DSL_scriptDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__1); -l_Lake_DSL_scriptDecl___closed__2 = _init_l_Lake_DSL_scriptDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__2); -l_Lake_DSL_scriptDecl___closed__3 = _init_l_Lake_DSL_scriptDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__3); -l_Lake_DSL_scriptDecl___closed__4 = _init_l_Lake_DSL_scriptDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__4); -l_Lake_DSL_scriptDecl___closed__5 = _init_l_Lake_DSL_scriptDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__5); -l_Lake_DSL_scriptDecl___closed__6 = _init_l_Lake_DSL_scriptDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__6); -l_Lake_DSL_scriptDecl___closed__7 = _init_l_Lake_DSL_scriptDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__7); -l_Lake_DSL_scriptDecl___closed__8 = _init_l_Lake_DSL_scriptDecl___closed__8(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__8); -l_Lake_DSL_scriptDecl___closed__9 = _init_l_Lake_DSL_scriptDecl___closed__9(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__9); -l_Lake_DSL_scriptDecl___closed__10 = _init_l_Lake_DSL_scriptDecl___closed__10(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__10); -l_Lake_DSL_scriptDecl___closed__11 = _init_l_Lake_DSL_scriptDecl___closed__11(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__11); -l_Lake_DSL_scriptDecl___closed__12 = _init_l_Lake_DSL_scriptDecl___closed__12(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__12); -l_Lake_DSL_scriptDecl___closed__13 = _init_l_Lake_DSL_scriptDecl___closed__13(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__13); -l_Lake_DSL_scriptDecl___closed__14 = _init_l_Lake_DSL_scriptDecl___closed__14(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__14); -l_Lake_DSL_scriptDecl___closed__15 = _init_l_Lake_DSL_scriptDecl___closed__15(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__15); -l_Lake_DSL_scriptDecl___closed__16 = _init_l_Lake_DSL_scriptDecl___closed__16(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__16); -l_Lake_DSL_scriptDecl___closed__17 = _init_l_Lake_DSL_scriptDecl___closed__17(); -lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__17); -l_Lake_DSL_scriptDecl = _init_l_Lake_DSL_scriptDecl(); -lean_mark_persistent(l_Lake_DSL_scriptDecl); l_Lake_DSL_expandScriptDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__1); l_Lake_DSL_expandScriptDecl___lambda__1___closed__2 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__2(); @@ -2962,6 +2515,20 @@ l_Lake_DSL_expandScriptDecl___lambda__1___closed__46 = _init_l_Lake_DSL_expandSc lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__46); l_Lake_DSL_expandScriptDecl___lambda__1___closed__47 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__47(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__47); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__48 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__48(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__48); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__49 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__49(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__49); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__50 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__50(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__50); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__51 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__51(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__51); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__52 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__52(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__52); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__53 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__53(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__53); +l_Lake_DSL_expandScriptDecl___lambda__1___closed__54 = _init_l_Lake_DSL_expandScriptDecl___lambda__1___closed__54(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__1___closed__54); l_Lake_DSL_expandScriptDecl___lambda__2___closed__1 = _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__1(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__2___closed__1); l_Lake_DSL_expandScriptDecl___lambda__2___closed__2 = _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__2(); @@ -2970,6 +2537,10 @@ l_Lake_DSL_expandScriptDecl___lambda__2___closed__3 = _init_l_Lake_DSL_expandScr lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__2___closed__3); l_Lake_DSL_expandScriptDecl___lambda__2___closed__4 = _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__4(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__2___closed__4); +l_Lake_DSL_expandScriptDecl___lambda__2___closed__5 = _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__5(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__2___closed__5); +l_Lake_DSL_expandScriptDecl___lambda__2___closed__6 = _init_l_Lake_DSL_expandScriptDecl___lambda__2___closed__6(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__2___closed__6); l_Lake_DSL_expandScriptDecl___lambda__3___closed__1 = _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__1(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__3___closed__1); l_Lake_DSL_expandScriptDecl___lambda__3___closed__2 = _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__2(); @@ -2982,6 +2553,16 @@ l_Lake_DSL_expandScriptDecl___lambda__3___closed__5 = _init_l_Lake_DSL_expandScr lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__3___closed__5); l_Lake_DSL_expandScriptDecl___lambda__3___closed__6 = _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__6(); lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__3___closed__6); +l_Lake_DSL_expandScriptDecl___lambda__3___closed__7 = _init_l_Lake_DSL_expandScriptDecl___lambda__3___closed__7(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__3___closed__7); +l_Lake_DSL_expandScriptDecl___lambda__4___closed__1 = _init_l_Lake_DSL_expandScriptDecl___lambda__4___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__4___closed__1); +l_Lake_DSL_expandScriptDecl___lambda__4___closed__2 = _init_l_Lake_DSL_expandScriptDecl___lambda__4___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___lambda__4___closed__2); +l_Lake_DSL_expandScriptDecl___closed__1 = _init_l_Lake_DSL_expandScriptDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___closed__1); +l_Lake_DSL_expandScriptDecl___closed__2 = _init_l_Lake_DSL_expandScriptDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandScriptDecl___closed__2); l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandScriptDecl__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/Syntax.c b/stage0/stdlib/Lake/DSL/Syntax.c new file mode 100644 index 0000000000..2a7ef78441 --- /dev/null +++ b/stage0/stdlib/Lake/DSL/Syntax.c @@ -0,0 +1,5133 @@ +// Lean compiler output +// Module: Lake.DSL.Syntax +// Imports: Lake.DSL.DeclUtil Lean.Parser.Term +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lake_DSL_facetSuffix___closed__5; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__4; +static lean_object* l_Lake_DSL_facetSuffix___closed__8; +LEAN_EXPORT lean_object* l_Lake_DSL_depSpec; +static lean_object* l_Lake_DSL_inputFileCommand___closed__3; +static lean_object* l_Lake_DSL_fromGit___closed__8; +static lean_object* l_Lake_DSL_withClause___closed__3; +static lean_object* l_Lake_DSL_depSpec___closed__2; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__1; +static lean_object* l_Lake_DSL_metaIf___closed__4; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__3; +LEAN_EXPORT lean_object* l_Lake_DSL_fromClause; +static lean_object* l_Lake_DSL_buildDeclSig___closed__3; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__12; +LEAN_EXPORT lean_object* l_Lake_DSL_runIO; +static lean_object* l_Lake_DSL_depSpec___closed__9; +static lean_object* l_Lake_DSL_packageCommand___closed__16; +static lean_object* l_Lake_DSL_requireDecl___closed__6; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__3; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__10; +static lean_object* l_Lake_DSL_fromClause___closed__5; +static lean_object* l_Lake_DSL_depName___closed__2; +static lean_object* l_Lake_DSL_getConfig___closed__1; +static lean_object* l_Lake_DSL_packageCommand___closed__22; +static lean_object* l_Lake_DSL_getConfig___closed__7; +static lean_object* l_Lake_DSL_externLibDeclSpec___closed__1; +static lean_object* l_Lake_verLit___closed__8; +static lean_object* l_Lake_DSL_verSpec___closed__3; +static lean_object* l_Lake_DSL_verClause___closed__2; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__15; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__5; +static lean_object* l_Lake_DSL_packageCommand___closed__23; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__8; +static lean_object* l_Lake_DSL_runIO___closed__3; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__13; +LEAN_EXPORT lean_object* l_Lake_DSL_leanExeCommand; +static lean_object* l_Lake_DSL_cmdDo___closed__8; +static lean_object* l_Lake_DSL_scriptDecl___closed__6; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__3; +static lean_object* l_Lake_verLit___closed__7; +LEAN_EXPORT lean_object* l_Lake_DSL_requireDecl; +static lean_object* l_Lake_DSL_packageCommand___closed__12; +static lean_object* l_Lake_DSL_fromClause___closed__1; +static lean_object* l_Lake_DSL_facetSuffix___closed__2; +static lean_object* l_Lake_DSL_dirConst___closed__2; +extern lean_object* l_Lake_DSL_simpleBinder; +static lean_object* l_Lake_DSL_depSpec___closed__8; +static lean_object* l_Lake_DSL_cmdDo___closed__6; +static lean_object* l_Lake_DSL_cmdDo___closed__13; +static lean_object* l_Lake_DSL_depSpec___closed__7; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__14; +static lean_object* l_Lake_DSL_inputFileCommand___closed__5; +extern lean_object* l_Lake_DSL_optConfig; +static lean_object* l_Lake_DSL_packageTargetLit___closed__9; +static lean_object* l_Lake_verLit___closed__2; +static lean_object* l_Lake_DSL_cmdDo___closed__7; +static lean_object* l_Lake_verLit___closed__13; +static lean_object* l_Lake_DSL_runIO___closed__6; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__7; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__18; +static lean_object* l_Lake_DSL_packageCommand___closed__5; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__2; +static lean_object* l_Lake_DSL_verClause___closed__6; +LEAN_EXPORT lean_object* l_Lake_DSL_verSpec; +static lean_object* l_Lake_DSL_runIO___closed__8; +static lean_object* l_Lake_DSL_packageCommand___closed__8; +static lean_object* l_Lake_DSL_fromGit___closed__2; +static lean_object* l_Lake_DSL_verSpec___closed__1; +extern lean_object* l_Lake_DSL_identOrStr; +LEAN_EXPORT lean_object* l_Lake_DSL_packageCommand; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__1; +static lean_object* l_Lake_DSL_facetSuffix___closed__6; +static lean_object* l_Lake_DSL_buildDeclSig___closed__1; +static lean_object* l_Lake_DSL_metaIf___closed__7; +static lean_object* l_Lake_DSL_buildDeclSig___closed__8; +static lean_object* l_Lake_DSL_dirConst___closed__3; +static lean_object* l_Lake_DSL_requireDecl___closed__5; +static lean_object* l_Lake_DSL_depName___closed__13; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__8; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__4; +static lean_object* l_Lake_DSL_buildDeclSig___closed__5; +static lean_object* l_Lake_DSL_runIO___closed__5; +static lean_object* l_Lake_DSL_depName___closed__8; +static lean_object* l_Lake_DSL_packageCommand___closed__1; +static lean_object* l_Lake_DSL_inputDirCommand___closed__3; +static lean_object* l_Lake_DSL_leanExeCommand___closed__1; +static lean_object* l_Lake_DSL_leanExeCommand___closed__2; +LEAN_EXPORT lean_object* l_Lake_DSL_cmdDo; +static lean_object* l_Lake_DSL_fromGit___closed__12; +static lean_object* l_Lake_DSL_metaIf___closed__15; +static lean_object* l_Lake_DSL_requireDecl___closed__7; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__2; +static lean_object* l_Lake_DSL_dirConst___closed__5; +static lean_object* l_Lake_DSL_scriptDecl___closed__2; +static lean_object* l_Lake_DSL_fromGit___closed__5; +static lean_object* l_Lake_DSL_verClause___closed__1; +static lean_object* l_Lake_DSL_inputFileCommand___closed__2; +static lean_object* l_Lake_DSL_runIO___closed__9; +static lean_object* l_Lake_DSL_requireDecl___closed__2; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__8; +static lean_object* l_Lake_DSL_depName___closed__4; +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_packageCommand___closed__20; +static lean_object* l_Lake_DSL_cmdDo___closed__14; +static lean_object* l_Lake_DSL_metaIf___closed__6; +static lean_object* l_Lake_DSL_inputFileCommand___closed__1; +static lean_object* l_Lake_DSL_fromSource___closed__3; +static lean_object* l_Lake_DSL_fromPath___closed__5; +static lean_object* l_Lake_DSL_metaIf___closed__8; +static lean_object* l_Lake_DSL_fromPath___closed__4; +static lean_object* l_Lake_DSL_packageCommand___closed__3; +static lean_object* l_Lake_verLit___closed__3; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__7; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__17; +static lean_object* l_Lake_DSL_depSpec___closed__5; +static lean_object* l_Lake_DSL_cmdDo___closed__5; +static lean_object* l_Lake_DSL_inputFileCommand___closed__8; +static lean_object* l_Lake_DSL_scriptDeclSpec___closed__2; +static lean_object* l_Lake_DSL_getConfig___closed__6; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__17; +static lean_object* l_Lake_DSL_leanLibCommand___closed__6; +static lean_object* l_Lake_DSL_cmdDo___closed__12; +LEAN_EXPORT lean_object* l_Lake_DSL_packageTargetLit; +static lean_object* l_Lake_DSL_metaIf___closed__16; +static lean_object* l_Lake_DSL_targetCommand___closed__7; +static lean_object* l_Lake_DSL_packageCommand___closed__14; +static lean_object* l_Lake_DSL_cmdDo___closed__1; +static lean_object* l_Lake_DSL_depName___closed__9; +static lean_object* l_Lake_DSL_fromGit___closed__14; +static lean_object* l_Lake_DSL_scriptDeclSpec___closed__1; +static lean_object* l_Lake_DSL_verClause___closed__5; +LEAN_EXPORT lean_object* l_Lake_DSL_getConfig; +static lean_object* l_Lake_DSL_fromPath___closed__1; +static lean_object* l_Lake_DSL_metaIf___closed__11; +static lean_object* l_Lake_DSL_withClause___closed__6; +static lean_object* l_Lake_DSL_packageCommand___closed__21; +static lean_object* l_Lake_DSL_packageTargetLit___closed__4; +static lean_object* l_Lake_DSL_runIO___closed__1; +LEAN_EXPORT lean_object* l_Lake_DSL_packageFacetDecl; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__5; +static lean_object* l_Lake_DSL_fromGit___closed__6; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__6; +LEAN_EXPORT lean_object* l_Lake_DSL_postUpdateDecl; +static lean_object* l_Lake_DSL_packageTargetLit___closed__6; +static lean_object* l_Lake_DSL_fromGit___closed__3; +static lean_object* l_Lake_verLit___closed__11; +static lean_object* l_Lake_verLit___closed__9; +static lean_object* l_Lake_DSL_fromGit___closed__10; +static lean_object* l_Lake_DSL_inputDirCommand___closed__2; +static lean_object* l_Lake_DSL_metaIf___closed__9; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__9; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__16; +LEAN_EXPORT lean_object* l_Lake_DSL_term_x60_x40_______x2f________; +static lean_object* l_Lake_DSL_inputFileCommand___closed__7; +static lean_object* l_Lake_verLit___closed__12; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__4; +static lean_object* l_Lake_DSL_metaIf___closed__1; +LEAN_EXPORT lean_object* l_Lake_DSL_facetSuffix; +static lean_object* l_Lake_DSL_leanExeCommand___closed__3; +LEAN_EXPORT lean_object* l_Lake_DSL_scriptDeclSpec; +static lean_object* l_Lake_DSL_metaIf___closed__3; +static lean_object* l_Lake_DSL_getConfig___closed__8; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__1; +static lean_object* l_Lake_DSL_packageCommand___closed__6; +LEAN_EXPORT lean_object* l_Lake_DSL_inputDirCommand; +static lean_object* l_Lake_DSL_inputDirCommand___closed__7; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__1; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__5; +static lean_object* l_Lake_DSL_metaIf___closed__12; +static lean_object* l_Lake_verLit___closed__1; +static lean_object* l_Lake_DSL_scriptDeclSpec___closed__4; +static lean_object* l_Lake_DSL_leanLibCommand___closed__8; +LEAN_EXPORT lean_object* l_Lake_verLit; +static lean_object* l_Lake_DSL_dirConst___closed__6; +static lean_object* l_Lake_DSL_buildDeclSig___closed__2; +static lean_object* l_Lake_DSL_verSpec___closed__4; +static lean_object* l_Lake_DSL_cmdDo___closed__10; +static lean_object* l_Lake_DSL_cmdDo___closed__3; +LEAN_EXPORT lean_object* l_Lake_DSL_fromGit; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__2; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__2; +static lean_object* l_Lake_DSL_packageCommand___closed__13; +static lean_object* l_Lake_DSL_externLibCommand___closed__4; +static lean_object* l_Lake_DSL_facetSuffix___closed__1; +static lean_object* l_Lake_DSL_depName___closed__12; +static lean_object* l_Lake_DSL_runIO___closed__4; +static lean_object* l_Lake_DSL_getConfig___closed__10; +static lean_object* l_Lake_DSL_leanLibCommand___closed__1; +static lean_object* l_Lake_DSL_inputDirCommand___closed__8; +static lean_object* l_Lake_DSL_getConfig___closed__9; +LEAN_EXPORT lean_object* l_Lake_DSL_externLibCommand; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__6; +static lean_object* l_Lake_DSL_packageTargetLit___closed__5; +static lean_object* l_Lake_DSL_getConfig___closed__5; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__14; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__1; +static lean_object* l_Lake_DSL_fromGit___closed__16; +static lean_object* l_Lake_DSL_packageCommand___closed__4; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__19; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__6; +static lean_object* l_Lake_DSL_withClause___closed__5; +static lean_object* l_Lake_DSL_depName___closed__14; +static lean_object* l_Lake_DSL_inputDirCommand___closed__1; +static lean_object* l_Lake_DSL_buildDeclSig___closed__4; +static lean_object* l_Lake_DSL_depSpec___closed__6; +static lean_object* l_Lake_DSL_packageTargetLit___closed__7; +static lean_object* l_Lake_DSL_cmdDo___closed__16; +LEAN_EXPORT lean_object* l_Lake_DSL_inputFileCommand; +static lean_object* l_Lake_DSL_requireDecl___closed__4; +static lean_object* l_Lake_DSL_packageCommand___closed__10; +static lean_object* l_Lake_DSL_fromClause___closed__4; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__20; +static lean_object* l_Lake_DSL_fromPath___closed__6; +static lean_object* l_Lake_DSL_buildDeclSig___closed__6; +static lean_object* l_Lake_DSL_packageTargetLit___closed__3; +static lean_object* l_Lake_DSL_leanLibCommand___closed__7; +LEAN_EXPORT lean_object* l_Lake_DSL_fromSource; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__12; +static lean_object* l_Lake_DSL_depName___closed__7; +static lean_object* l_Lake_DSL_scriptDecl___closed__3; +static lean_object* l_Lake_DSL_inputFileCommand___closed__4; +static lean_object* l_Lake_DSL_scriptDecl___closed__4; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__7; +static lean_object* l_Lake_DSL_metaIf___closed__17; +static lean_object* l_Lake_DSL_cmdDo___closed__4; +static lean_object* l_Lake_DSL_fromGit___closed__1; +static lean_object* l_Lake_DSL_packageCommand___closed__18; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__10; +static lean_object* l_Lake_DSL_targetCommand___closed__3; +LEAN_EXPORT lean_object* l_Lake_DSL_fromPath; +extern lean_object* l_Lake_DSL_declValDo; +static lean_object* l_Lake_DSL_packageCommand___closed__19; +static lean_object* l_Lake_DSL_scriptDecl___closed__1; +LEAN_EXPORT lean_object* l_Lake_DSL_moduleFacetDecl; +static lean_object* l_Lake_DSL_depName___closed__3; +static lean_object* l_Lake_DSL_inputDirCommand___closed__4; +static lean_object* l_Lake_DSL_fromGit___closed__15; +static lean_object* l_Lake_DSL_packageTargetLit___closed__2; +static lean_object* l_Lake_DSL_withClause___closed__2; +LEAN_EXPORT lean_object* l_Lake_DSL_scriptDecl; +static lean_object* l_Lake_DSL_packageCommand___closed__11; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__4; +static lean_object* l_Lake_DSL_packageCommand___closed__17; +static lean_object* l_Lake_DSL_fromGit___closed__9; +LEAN_EXPORT lean_object* l_Lake_DSL_leanLibCommand; +static lean_object* l_Lake_verLit___closed__10; +static lean_object* l_Lake_DSL_buildDeclSig___closed__9; +static lean_object* l_Lake_DSL_cmdDo___closed__15; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__7; +static lean_object* l_Lake_DSL_fromGit___closed__13; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__7; +static lean_object* l_Lake_DSL_scriptDecl___closed__7; +static lean_object* l_Lake_DSL_externLibDeclSpec___closed__4; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__6; +static lean_object* l_Lake_DSL_packageCommand___closed__7; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__11; +LEAN_EXPORT lean_object* l_Lake_DSL_libraryFacetDecl; +static lean_object* l_Lake_DSL_fromClause___closed__3; +static lean_object* l_Lake_DSL_depName___closed__5; +static lean_object* l_Lake_DSL_fromClause___closed__6; +static lean_object* l_Lake_DSL_cmdDo___closed__9; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__4; +static lean_object* l_Lake_DSL_externLibCommand___closed__2; +static lean_object* l_Lake_DSL_inputFileCommand___closed__6; +static lean_object* l_Lake_verLit___closed__5; +LEAN_EXPORT lean_object* l_Lake_DSL_externLibDeclSpec; +static lean_object* l_Lake_DSL_getConfig___closed__11; +static lean_object* l_Lake_DSL_dirConst___closed__7; +static lean_object* l_Lake_DSL_fromPath___closed__2; +static lean_object* l_Lake_DSL_metaIf___closed__18; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__15; +static lean_object* l_Lake_DSL_packageCommand___closed__2; +static lean_object* l_Lake_DSL_externLibCommand___closed__7; +static lean_object* l_Lake_DSL_getConfig___closed__2; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__9; +static lean_object* l_Lake_DSL_verClause___closed__3; +static lean_object* l_Lake_DSL_metaIf___closed__10; +LEAN_EXPORT lean_object* l_Lake_DSL_targetCommand; +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l_Lake_DSL_getConfig___closed__3; +static lean_object* l_Lake_DSL_depName___closed__6; +static lean_object* l_Lake_DSL_facetSuffix___closed__4; +LEAN_EXPORT lean_object* l_Lake_DSL_depName; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__1; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__3; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__6; +static lean_object* l_Lake_DSL_buildDeclSig___closed__7; +static lean_object* l_Lake_DSL_fromGit___closed__7; +static lean_object* l_Lake_DSL_fromGit___closed__11; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__9; +static lean_object* l_Lake_DSL_targetCommand___closed__2; +static lean_object* l_Lake_DSL_packageTargetLit___closed__8; +static lean_object* l_Lake_DSL_facetSuffix___closed__3; +LEAN_EXPORT lean_object* l_Lake_DSL_term_x60_x2b______; +LEAN_EXPORT lean_object* l_Lake_DSL_buildDeclSig; +static lean_object* l_Lake_DSL_fromGit___closed__4; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__11; +static lean_object* l_Lake_DSL_leanExeCommand___closed__4; +static lean_object* l_Lake_DSL_dirConst___closed__4; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__5; +static lean_object* l_Lake_DSL_inputDirCommand___closed__5; +static lean_object* l_Lake_DSL_withClause___closed__4; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__4; +static lean_object* l_Lake_DSL_packageFacetDecl___closed__3; +static lean_object* l_Lake_DSL_externLibCommand___closed__1; +static lean_object* l_Lake_DSL_depName___closed__1; +static lean_object* l_Lake_DSL_dirConst___closed__1; +static lean_object* l_Lake_DSL_leanLibCommand___closed__2; +static lean_object* l_Lake_DSL_inputDirCommand___closed__6; +LEAN_EXPORT lean_object* l_Lake_DSL_metaIf; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__16; +static lean_object* l_Lake_DSL_externLibCommand___closed__6; +LEAN_EXPORT lean_object* l_Lake_DSL_dirConst; +static lean_object* l_Lake_DSL_fromSource___closed__2; +static lean_object* l_Lake_DSL_verClause___closed__4; +static lean_object* l_Lake_DSL_leanLibCommand___closed__4; +static lean_object* l_Lake_DSL_externLibCommand___closed__5; +static lean_object* l_Lake_DSL_withClause___closed__1; +static lean_object* l_Lake_DSL_packageCommand___closed__15; +static lean_object* l_Lake_DSL_cmdDo___closed__11; +static lean_object* l_Lake_DSL_fromGit___closed__17; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__11; +static lean_object* l_Lake_DSL_scriptDeclSpec___closed__3; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__5; +static lean_object* l_Lake_DSL_leanExeCommand___closed__5; +static lean_object* l_Lake_DSL_externLibDeclSpec___closed__3; +static lean_object* l_Lake_DSL_verSpec___closed__2; +static lean_object* l_Lake_DSL_fromPath___closed__3; +static lean_object* l_Lake_DSL_metaIf___closed__13; +static lean_object* l_Lake_DSL_leanExeCommand___closed__7; +static lean_object* l_Lake_DSL_metaIf___closed__5; +LEAN_EXPORT lean_object* l_Lake_DSL_withClause; +static lean_object* l_Lake_DSL_leanLibCommand___closed__3; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_metaIf___closed__14; +static lean_object* l_Lake_DSL_depSpec___closed__3; +static lean_object* l_Lake_DSL_scriptDecl___closed__5; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__5; +static lean_object* l_Lake_DSL_runIO___closed__2; +static lean_object* l_Lake_DSL_packageCommand___closed__9; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__10; +static lean_object* l_Lake_DSL_metaIf___closed__2; +static lean_object* l_Lake_DSL_getConfig___closed__4; +static lean_object* l_Lake_DSL_facetSuffix___closed__7; +LEAN_EXPORT lean_object* l_Lake_DSL_verClause; +static lean_object* l_Lake_DSL_moduleFacetDecl___closed__2; +static lean_object* l_Lake_DSL_depSpec___closed__1; +static lean_object* l_Lake_DSL_depName___closed__11; +static lean_object* l_Lake_DSL_requireDecl___closed__1; +static lean_object* l_Lake_DSL_libraryFacetDecl___closed__7; +static lean_object* l_Lake_DSL_depSpec___closed__4; +static lean_object* l_Lake_DSL_runIO___closed__7; +static lean_object* l_Lake_DSL_targetCommand___closed__6; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__3; +static lean_object* l_Lake_DSL_postUpdateDecl___closed__13; +static lean_object* l_Lake_DSL_cmdDo___closed__2; +static lean_object* l_Lake_DSL_externLibDeclSpec___closed__2; +static lean_object* l_Lake_verLit___closed__4; +static lean_object* l_Lake_DSL_targetCommand___closed__4; +static lean_object* l_Lake_verLit___closed__6; +static lean_object* l_Lake_DSL_fromSource___closed__1; +static lean_object* l_Lake_DSL_requireDecl___closed__3; +static lean_object* l_Lake_DSL_depName___closed__10; +static lean_object* l_Lake_DSL_packageTargetLit___closed__1; +static lean_object* l_Lake_DSL_leanLibCommand___closed__5; +static lean_object* l_Lake_DSL_verSpec___closed__5; +static lean_object* l_Lake_DSL_targetCommand___closed__5; +static lean_object* l_Lake_DSL_leanExeCommand___closed__6; +static lean_object* l_Lake_DSL_leanExeCommand___closed__8; +static lean_object* l_Lake_DSL_term_x60_x2b_________closed__2; +static lean_object* l_Lake_DSL_term_x60_x40_______x2f___________closed__6; +static lean_object* l_Lake_DSL_fromSource___closed__4; +static lean_object* l_Lake_DSL_externLibCommand___closed__3; +static lean_object* l_Lake_DSL_targetCommand___closed__1; +static lean_object* l_Lake_DSL_fromClause___closed__2; +static lean_object* _init_l_Lake_DSL_dirConst___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lake", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DSL", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("dirConst", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_dirConst___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("__dir__", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_dirConst___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_dirConst___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lake_DSL_dirConst___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_dirConst() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_dirConst___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("getConfig", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_getConfig___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("andthen", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_getConfig___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("get_config\? ", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_getConfig___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ident", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_getConfig___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_getConfig___closed__8; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_getConfig___closed__6; +x_3 = l_Lake_DSL_getConfig___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_getConfig___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_getConfig___closed__10; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_getConfig() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_getConfig___closed__11; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("packageCommand", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_packageCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("optional", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_packageCommand___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("docComment", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_packageCommand___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_packageCommand___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_packageCommand___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_Lake_DSL_packageCommand___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("attributes", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__13() { +_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_DSL_packageCommand___closed__9; +x_2 = l_Lake_DSL_packageCommand___closed__10; +x_3 = l_Lake_DSL_packageCommand___closed__11; +x_4 = l_Lake_DSL_packageCommand___closed__12; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_packageCommand___closed__13; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__14; +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_Lake_DSL_packageCommand___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__8; +x_3 = l_Lake_DSL_packageCommand___closed__15; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("package ", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_packageCommand___closed__17; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_packageCommand___closed__18; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_identOrStr; +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_Lake_DSL_packageCommand___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__19; +x_3 = l_Lake_DSL_packageCommand___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__21; +x_3 = l_Lake_DSL_optConfig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_packageCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_packageCommand___closed__22; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_packageCommand___closed__23; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("postUpdateDecl", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_postUpdateDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("post_update ", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_postUpdateDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_postUpdateDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ppSpace", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_postUpdateDecl___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_postUpdateDecl___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_postUpdateDecl___closed__8; +x_3 = l_Lake_DSL_simpleBinder; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_postUpdateDecl___closed__9; +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_Lake_DSL_postUpdateDecl___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_postUpdateDecl___closed__5; +x_3 = l_Lake_DSL_postUpdateDecl___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("orelse", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_postUpdateDecl___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Command", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___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_Lake_DSL_packageCommand___closed__9; +x_2 = l_Lake_DSL_packageCommand___closed__10; +x_3 = l_Lake_DSL_postUpdateDecl___closed__14; +x_4 = l_Lake_DSL_postUpdateDecl___closed__15; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_postUpdateDecl___closed__16; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_postUpdateDecl___closed__13; +x_2 = l_Lake_DSL_postUpdateDecl___closed__17; +x_3 = l_Lake_DSL_declValDo; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_postUpdateDecl___closed__11; +x_3 = l_Lake_DSL_postUpdateDecl___closed__18; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_postUpdateDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_postUpdateDecl___closed__19; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_postUpdateDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_postUpdateDecl___closed__20; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromPath___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromPath", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromPath___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_fromPath___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromPath___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromPath___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_fromPath___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_fromPath___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_fromPath___closed__4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 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_DSL_fromPath___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_fromPath___closed__1; +x_2 = l_Lake_DSL_fromPath___closed__2; +x_3 = l_Lake_DSL_fromPath___closed__5; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromPath() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_fromPath___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromGit", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_fromGit___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("git ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lake_DSL_fromGit___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_fromPath___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = lean_alloc_ctor(7, 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_DSL_fromGit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__4; +x_3 = l_Lake_DSL_fromGit___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("@", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_fromGit___closed__7; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__8; +x_3 = l_Lake_DSL_fromGit___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__9; +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_Lake_DSL_fromGit___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__6; +x_3 = l_Lake_DSL_fromGit___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("/", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_fromGit___closed__12; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__13; +x_3 = l_Lake_DSL_fromPath___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__14; +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_Lake_DSL_fromGit___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__11; +x_3 = l_Lake_DSL_fromGit___closed__15; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_fromGit___closed__1; +x_2 = l_Lake_DSL_fromGit___closed__2; +x_3 = l_Lake_DSL_fromGit___closed__16; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromGit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_fromGit___closed__17; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromSource___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromSource", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromSource___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_fromSource___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromSource___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_postUpdateDecl___closed__13; +x_2 = l_Lake_DSL_fromGit; +x_3 = l_Lake_DSL_fromPath; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromSource___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_fromSource___closed__1; +x_2 = l_Lake_DSL_fromSource___closed__2; +x_3 = l_Lake_DSL_fromSource___closed__3; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromSource() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_fromSource___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("fromClause", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_fromClause___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" from ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_fromClause___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_fromClause___closed__4; +x_3 = l_Lake_DSL_fromSource; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromClause___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_fromClause___closed__1; +x_2 = l_Lake_DSL_fromClause___closed__2; +x_3 = l_Lake_DSL_fromClause___closed__5; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_fromClause() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_fromClause___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("withClause", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_withClause___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" with ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_withClause___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_withClause___closed__4; +x_3 = l_Lake_DSL_fromPath___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_withClause___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_withClause___closed__1; +x_2 = l_Lake_DSL_withClause___closed__2; +x_3 = l_Lake_DSL_withClause___closed__5; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_withClause() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_withClause___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_verSpec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("verSpec", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_verSpec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_verSpec___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verSpec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_fromGit___closed__4; +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_Lake_DSL_verSpec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_verSpec___closed__3; +x_3 = l_Lake_DSL_fromGit___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verSpec___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_verSpec___closed__1; +x_2 = l_Lake_DSL_verSpec___closed__2; +x_3 = l_Lake_DSL_verSpec___closed__4; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verSpec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_verSpec___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("verClause", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_verClause___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" @ ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_verClause___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_verClause___closed__4; +x_3 = l_Lake_DSL_verSpec; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verClause___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_verClause___closed__1; +x_2 = l_Lake_DSL_verClause___closed__2; +x_3 = l_Lake_DSL_verClause___closed__5; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_verClause() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_verClause___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depName", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_depName___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("atomic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_depName___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("str", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_depName___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_depName___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" / ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_depName___closed__8; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_depName___closed__7; +x_3 = l_Lake_DSL_depName___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_depName___closed__4; +x_2 = l_Lake_DSL_depName___closed__10; +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_Lake_DSL_depName___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_depName___closed__11; +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_Lake_DSL_depName___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_depName___closed__12; +x_3 = l_Lake_DSL_identOrStr; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depName___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_depName___closed__1; +x_2 = l_Lake_DSL_depName___closed__2; +x_3 = l_Lake_DSL_depName___closed__13; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depName() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_depName___closed__14; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depSpec", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_depSpec___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_verClause; +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_Lake_DSL_depSpec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_depName; +x_3 = l_Lake_DSL_depSpec___closed__3; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_fromClause; +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_Lake_DSL_depSpec___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_depSpec___closed__4; +x_3 = l_Lake_DSL_depSpec___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_withClause; +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_Lake_DSL_depSpec___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_depSpec___closed__6; +x_3 = l_Lake_DSL_depSpec___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depSpec___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_depSpec___closed__1; +x_2 = l_Lake_DSL_depSpec___closed__2; +x_3 = l_Lake_DSL_depSpec___closed__8; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_depSpec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_depSpec___closed__9; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("requireDecl", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_requireDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("require ", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_requireDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__8; +x_3 = l_Lake_DSL_requireDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_requireDecl___closed__5; +x_3 = l_Lake_DSL_depSpec; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_requireDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_requireDecl___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_requireDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_requireDecl___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("buildDeclSig", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_buildDeclSig___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_identOrStr; +x_3 = l_Lake_DSL_postUpdateDecl___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("typeSpec", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___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_Lake_DSL_packageCommand___closed__9; +x_2 = l_Lake_DSL_packageCommand___closed__10; +x_3 = l_Lake_DSL_packageCommand___closed__11; +x_4 = l_Lake_DSL_buildDeclSig___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_buildDeclSig___closed__5; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_buildDeclSig___closed__3; +x_3 = l_Lake_DSL_buildDeclSig___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_buildDeclSig___closed__7; +x_3 = l_Lake_DSL_postUpdateDecl___closed__17; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_3 = l_Lake_DSL_buildDeclSig___closed__8; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_buildDeclSig() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_buildDeclSig___closed__9; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("moduleFacetDecl", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_moduleFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("module_facet ", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_moduleFacetDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_moduleFacetDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_moduleFacetDecl___closed__5; +x_3 = l_Lake_DSL_buildDeclSig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_moduleFacetDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_moduleFacetDecl___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_moduleFacetDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_moduleFacetDecl___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("packageFacetDecl", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_packageFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("package_facet ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_packageFacetDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_packageFacetDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageFacetDecl___closed__5; +x_3 = l_Lake_DSL_buildDeclSig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_packageFacetDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_packageFacetDecl___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageFacetDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_packageFacetDecl___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("libraryFacetDecl", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_libraryFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("library_facet ", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_libraryFacetDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_libraryFacetDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_libraryFacetDecl___closed__5; +x_3 = l_Lake_DSL_buildDeclSig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_libraryFacetDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_libraryFacetDecl___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_libraryFacetDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_libraryFacetDecl___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("targetCommand", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_targetCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("target ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_targetCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_targetCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_targetCommand___closed__5; +x_3 = l_Lake_DSL_buildDeclSig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_targetCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_targetCommand___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_targetCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_targetCommand___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leanLibCommand", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_leanLibCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("lean_lib ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_leanLibCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_leanLibCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_leanLibCommand___closed__5; +x_3 = l_Lake_DSL_packageCommand___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_leanLibCommand___closed__6; +x_3 = l_Lake_DSL_optConfig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_leanLibCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_leanLibCommand___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanLibCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_leanLibCommand___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("leanExeCommand", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_leanExeCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("lean_exe ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_leanExeCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_leanExeCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_leanExeCommand___closed__5; +x_3 = l_Lake_DSL_packageCommand___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_leanExeCommand___closed__6; +x_3 = l_Lake_DSL_optConfig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_leanExeCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_leanExeCommand___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_leanExeCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_leanExeCommand___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("inputFileCommand", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_inputFileCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("input_file ", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_inputFileCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_inputFileCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_inputFileCommand___closed__5; +x_3 = l_Lake_DSL_packageCommand___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_inputFileCommand___closed__6; +x_3 = l_Lake_DSL_optConfig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_inputFileCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_inputFileCommand___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputFileCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_inputFileCommand___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("inputDirCommand", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_inputDirCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("input_dir ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_inputDirCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_inputDirCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_inputDirCommand___closed__5; +x_3 = l_Lake_DSL_packageCommand___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_inputDirCommand___closed__6; +x_3 = l_Lake_DSL_optConfig; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_inputDirCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_inputDirCommand___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_inputDirCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_inputDirCommand___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("externLibDeclSpec", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_externLibDeclSpec___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_buildDeclSig___closed__3; +x_3 = l_Lake_DSL_postUpdateDecl___closed__17; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_externLibDeclSpec___closed__1; +x_2 = l_Lake_DSL_externLibDeclSpec___closed__2; +x_3 = l_Lake_DSL_externLibDeclSpec___closed__3; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibDeclSpec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_externLibDeclSpec___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("externLibCommand", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_externLibCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("extern_lib ", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_externLibCommand___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_externLibCommand___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_externLibCommand___closed__5; +x_3 = l_Lake_DSL_externLibDeclSpec; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_externLibCommand___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_externLibCommand___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_externLibCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_externLibCommand___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scriptDeclSpec", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_scriptDeclSpec___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_buildDeclSig___closed__3; +x_3 = l_Lake_DSL_postUpdateDecl___closed__18; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDeclSpec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_scriptDeclSpec___closed__1; +x_2 = l_Lake_DSL_scriptDeclSpec___closed__2; +x_3 = l_Lake_DSL_scriptDeclSpec___closed__3; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDeclSpec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_scriptDeclSpec___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scriptDecl", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_scriptDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("script ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_scriptDecl___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageCommand___closed__16; +x_3 = l_Lake_DSL_scriptDecl___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_scriptDecl___closed__5; +x_3 = l_Lake_DSL_scriptDeclSpec; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_scriptDecl___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_scriptDecl___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_scriptDecl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_scriptDecl___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lake_verLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("verLit", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_verLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_verLit___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_verLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("v!", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_verLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_verLit___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_verLit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("noWs", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_verLit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_verLit___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_verLit___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_verLit___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_verLit___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_verLit___closed__4; +x_3 = l_Lake_verLit___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_verLit___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("interpolatedStr", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lake_verLit___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_verLit___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_verLit___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_verLit___closed__10; +x_2 = l_Lake_DSL_fromPath___closed__5; +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_Lake_verLit___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_verLit___closed__8; +x_3 = l_Lake_verLit___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_verLit___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_verLit___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lake_verLit___closed__12; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_verLit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_verLit___closed__13; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("facetSuffix", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_facetSuffix___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_facetSuffix___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_facetSuffix___closed__4; +x_3 = l_Lake_verLit___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_depName___closed__4; +x_2 = l_Lake_DSL_facetSuffix___closed__5; +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_Lake_DSL_facetSuffix___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_facetSuffix___closed__6; +x_3 = l_Lake_DSL_getConfig___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_facetSuffix___closed__1; +x_2 = l_Lake_DSL_facetSuffix___closed__2; +x_3 = l_Lake_DSL_facetSuffix___closed__7; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_facetSuffix() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_facetSuffix___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("packageTargetLit", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_packageTargetLit___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("+", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_packageTargetLit___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageTargetLit___closed__4; +x_3 = l_Lake_verLit___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_depName___closed__4; +x_2 = l_Lake_DSL_packageTargetLit___closed__5; +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_Lake_DSL_packageTargetLit___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_packageTargetLit___closed__6; +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_Lake_DSL_packageTargetLit___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_packageTargetLit___closed__7; +x_3 = l_Lake_DSL_getConfig___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_packageTargetLit___closed__1; +x_2 = l_Lake_DSL_packageTargetLit___closed__2; +x_3 = l_Lake_DSL_packageTargetLit___closed__8; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_packageTargetLit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_packageTargetLit___closed__9; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term`+___", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_term_x60_x2b_________closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`+", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_term_x60_x2b_________closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x2b_________closed__4; +x_3 = l_Lake_verLit___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x2b_________closed__5; +x_3 = l_Lake_DSL_getConfig___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("many", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_term_x60_x2b_________closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_term_x60_x2b_________closed__8; +x_2 = l_Lake_DSL_facetSuffix; +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_Lake_DSL_term_x60_x2b_________closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x2b_________closed__6; +x_3 = l_Lake_DSL_term_x60_x2b_________closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b_________closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_term_x60_x2b_________closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lake_DSL_term_x60_x2b_________closed__10; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x2b______() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_term_x60_x2b_________closed__11; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("term`@___/____", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`@", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_verLit___closed__7; +x_3 = l_Lake_DSL_getConfig___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__5; +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_Lake_DSL_term_x60_x40_______x2f___________closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__4; +x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_verLit___closed__7; +x_3 = l_Lake_DSL_fromGit___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__8; +x_3 = l_Lake_verLit___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_depName___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__9; +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_Lake_DSL_term_x60_x40_______x2f___________closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__10; +x_3 = l_Lake_DSL_packageTargetLit; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__11; +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_Lake_DSL_term_x60_x40_______x2f___________closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__7; +x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__12; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_verLit___closed__7; +x_3 = l_Lake_DSL_facetSuffix; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_term_x60_x2b_________closed__8; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__14; +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_Lake_DSL_term_x60_x40_______x2f___________closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_term_x60_x40_______x2f___________closed__13; +x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__15; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lake_DSL_term_x60_x40_______x2f___________closed__16; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_term_x60_x40_______x2f________() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_term_x60_x40_______x2f___________closed__17; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cmdDo", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_cmdDo___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("group", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_cmdDo___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("do", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_cmdDo___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("many1Indent", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_cmdDo___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("command", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_cmdDo___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_cmdDo___closed__10; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 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_DSL_cmdDo___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_cmdDo___closed__8; +x_2 = l_Lake_DSL_cmdDo___closed__11; +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_Lake_DSL_cmdDo___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_cmdDo___closed__6; +x_3 = l_Lake_DSL_cmdDo___closed__12; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_cmdDo___closed__4; +x_2 = l_Lake_DSL_cmdDo___closed__13; +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_Lake_DSL_cmdDo___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_postUpdateDecl___closed__13; +x_2 = l_Lake_DSL_cmdDo___closed__14; +x_3 = l_Lake_DSL_cmdDo___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_cmdDo___closed__1; +x_2 = l_Lake_DSL_cmdDo___closed__2; +x_3 = l_Lake_DSL_cmdDo___closed__15; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_cmdDo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_cmdDo___closed__16; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("metaIf", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_metaIf___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("meta ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_metaIf___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("if ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_metaIf___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__4; +x_3 = l_Lake_DSL_metaIf___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__7; +x_3 = l_Lake_DSL_fromPath___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" then ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_metaIf___closed__9; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__8; +x_3 = l_Lake_DSL_metaIf___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__11; +x_3 = l_Lake_DSL_cmdDo; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" else ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_metaIf___closed__13; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__14; +x_3 = l_Lake_DSL_cmdDo; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_packageCommand___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__15; +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_Lake_DSL_metaIf___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_metaIf___closed__12; +x_3 = l_Lake_DSL_metaIf___closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_metaIf___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_metaIf___closed__17; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_metaIf() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_metaIf___closed__18; +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("runIO", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_dirConst___closed__1; +x_2 = l_Lake_DSL_dirConst___closed__2; +x_3 = l_Lake_DSL_runIO___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("run_io ", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_runIO___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("doSeq", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_runIO___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_DSL_runIO___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_getConfig___closed__4; +x_2 = l_Lake_DSL_runIO___closed__4; +x_3 = l_Lake_DSL_runIO___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_runIO___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_runIO___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lake_DSL_runIO___closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_runIO() { +_start: +{ +lean_object* x_1; +x_1 = l_Lake_DSL_runIO___closed__9; +return x_1; +} +} +lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Parser_Term(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lake_DSL_DeclUtil(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Term(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lake_DSL_dirConst___closed__1 = _init_l_Lake_DSL_dirConst___closed__1(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__1); +l_Lake_DSL_dirConst___closed__2 = _init_l_Lake_DSL_dirConst___closed__2(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__2); +l_Lake_DSL_dirConst___closed__3 = _init_l_Lake_DSL_dirConst___closed__3(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__3); +l_Lake_DSL_dirConst___closed__4 = _init_l_Lake_DSL_dirConst___closed__4(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__4); +l_Lake_DSL_dirConst___closed__5 = _init_l_Lake_DSL_dirConst___closed__5(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__5); +l_Lake_DSL_dirConst___closed__6 = _init_l_Lake_DSL_dirConst___closed__6(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__6); +l_Lake_DSL_dirConst___closed__7 = _init_l_Lake_DSL_dirConst___closed__7(); +lean_mark_persistent(l_Lake_DSL_dirConst___closed__7); +l_Lake_DSL_dirConst = _init_l_Lake_DSL_dirConst(); +lean_mark_persistent(l_Lake_DSL_dirConst); +l_Lake_DSL_getConfig___closed__1 = _init_l_Lake_DSL_getConfig___closed__1(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__1); +l_Lake_DSL_getConfig___closed__2 = _init_l_Lake_DSL_getConfig___closed__2(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__2); +l_Lake_DSL_getConfig___closed__3 = _init_l_Lake_DSL_getConfig___closed__3(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__3); +l_Lake_DSL_getConfig___closed__4 = _init_l_Lake_DSL_getConfig___closed__4(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__4); +l_Lake_DSL_getConfig___closed__5 = _init_l_Lake_DSL_getConfig___closed__5(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__5); +l_Lake_DSL_getConfig___closed__6 = _init_l_Lake_DSL_getConfig___closed__6(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__6); +l_Lake_DSL_getConfig___closed__7 = _init_l_Lake_DSL_getConfig___closed__7(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__7); +l_Lake_DSL_getConfig___closed__8 = _init_l_Lake_DSL_getConfig___closed__8(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__8); +l_Lake_DSL_getConfig___closed__9 = _init_l_Lake_DSL_getConfig___closed__9(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__9); +l_Lake_DSL_getConfig___closed__10 = _init_l_Lake_DSL_getConfig___closed__10(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__10); +l_Lake_DSL_getConfig___closed__11 = _init_l_Lake_DSL_getConfig___closed__11(); +lean_mark_persistent(l_Lake_DSL_getConfig___closed__11); +l_Lake_DSL_getConfig = _init_l_Lake_DSL_getConfig(); +lean_mark_persistent(l_Lake_DSL_getConfig); +l_Lake_DSL_packageCommand___closed__1 = _init_l_Lake_DSL_packageCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__1); +l_Lake_DSL_packageCommand___closed__2 = _init_l_Lake_DSL_packageCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__2); +l_Lake_DSL_packageCommand___closed__3 = _init_l_Lake_DSL_packageCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__3); +l_Lake_DSL_packageCommand___closed__4 = _init_l_Lake_DSL_packageCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__4); +l_Lake_DSL_packageCommand___closed__5 = _init_l_Lake_DSL_packageCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__5); +l_Lake_DSL_packageCommand___closed__6 = _init_l_Lake_DSL_packageCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__6); +l_Lake_DSL_packageCommand___closed__7 = _init_l_Lake_DSL_packageCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__7); +l_Lake_DSL_packageCommand___closed__8 = _init_l_Lake_DSL_packageCommand___closed__8(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__8); +l_Lake_DSL_packageCommand___closed__9 = _init_l_Lake_DSL_packageCommand___closed__9(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__9); +l_Lake_DSL_packageCommand___closed__10 = _init_l_Lake_DSL_packageCommand___closed__10(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__10); +l_Lake_DSL_packageCommand___closed__11 = _init_l_Lake_DSL_packageCommand___closed__11(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__11); +l_Lake_DSL_packageCommand___closed__12 = _init_l_Lake_DSL_packageCommand___closed__12(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__12); +l_Lake_DSL_packageCommand___closed__13 = _init_l_Lake_DSL_packageCommand___closed__13(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__13); +l_Lake_DSL_packageCommand___closed__14 = _init_l_Lake_DSL_packageCommand___closed__14(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__14); +l_Lake_DSL_packageCommand___closed__15 = _init_l_Lake_DSL_packageCommand___closed__15(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__15); +l_Lake_DSL_packageCommand___closed__16 = _init_l_Lake_DSL_packageCommand___closed__16(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__16); +l_Lake_DSL_packageCommand___closed__17 = _init_l_Lake_DSL_packageCommand___closed__17(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__17); +l_Lake_DSL_packageCommand___closed__18 = _init_l_Lake_DSL_packageCommand___closed__18(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__18); +l_Lake_DSL_packageCommand___closed__19 = _init_l_Lake_DSL_packageCommand___closed__19(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__19); +l_Lake_DSL_packageCommand___closed__20 = _init_l_Lake_DSL_packageCommand___closed__20(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__20); +l_Lake_DSL_packageCommand___closed__21 = _init_l_Lake_DSL_packageCommand___closed__21(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__21); +l_Lake_DSL_packageCommand___closed__22 = _init_l_Lake_DSL_packageCommand___closed__22(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__22); +l_Lake_DSL_packageCommand___closed__23 = _init_l_Lake_DSL_packageCommand___closed__23(); +lean_mark_persistent(l_Lake_DSL_packageCommand___closed__23); +l_Lake_DSL_packageCommand = _init_l_Lake_DSL_packageCommand(); +lean_mark_persistent(l_Lake_DSL_packageCommand); +l_Lake_DSL_postUpdateDecl___closed__1 = _init_l_Lake_DSL_postUpdateDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__1); +l_Lake_DSL_postUpdateDecl___closed__2 = _init_l_Lake_DSL_postUpdateDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__2); +l_Lake_DSL_postUpdateDecl___closed__3 = _init_l_Lake_DSL_postUpdateDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__3); +l_Lake_DSL_postUpdateDecl___closed__4 = _init_l_Lake_DSL_postUpdateDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__4); +l_Lake_DSL_postUpdateDecl___closed__5 = _init_l_Lake_DSL_postUpdateDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__5); +l_Lake_DSL_postUpdateDecl___closed__6 = _init_l_Lake_DSL_postUpdateDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__6); +l_Lake_DSL_postUpdateDecl___closed__7 = _init_l_Lake_DSL_postUpdateDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__7); +l_Lake_DSL_postUpdateDecl___closed__8 = _init_l_Lake_DSL_postUpdateDecl___closed__8(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__8); +l_Lake_DSL_postUpdateDecl___closed__9 = _init_l_Lake_DSL_postUpdateDecl___closed__9(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__9); +l_Lake_DSL_postUpdateDecl___closed__10 = _init_l_Lake_DSL_postUpdateDecl___closed__10(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__10); +l_Lake_DSL_postUpdateDecl___closed__11 = _init_l_Lake_DSL_postUpdateDecl___closed__11(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__11); +l_Lake_DSL_postUpdateDecl___closed__12 = _init_l_Lake_DSL_postUpdateDecl___closed__12(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__12); +l_Lake_DSL_postUpdateDecl___closed__13 = _init_l_Lake_DSL_postUpdateDecl___closed__13(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__13); +l_Lake_DSL_postUpdateDecl___closed__14 = _init_l_Lake_DSL_postUpdateDecl___closed__14(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__14); +l_Lake_DSL_postUpdateDecl___closed__15 = _init_l_Lake_DSL_postUpdateDecl___closed__15(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__15); +l_Lake_DSL_postUpdateDecl___closed__16 = _init_l_Lake_DSL_postUpdateDecl___closed__16(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__16); +l_Lake_DSL_postUpdateDecl___closed__17 = _init_l_Lake_DSL_postUpdateDecl___closed__17(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__17); +l_Lake_DSL_postUpdateDecl___closed__18 = _init_l_Lake_DSL_postUpdateDecl___closed__18(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__18); +l_Lake_DSL_postUpdateDecl___closed__19 = _init_l_Lake_DSL_postUpdateDecl___closed__19(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__19); +l_Lake_DSL_postUpdateDecl___closed__20 = _init_l_Lake_DSL_postUpdateDecl___closed__20(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl___closed__20); +l_Lake_DSL_postUpdateDecl = _init_l_Lake_DSL_postUpdateDecl(); +lean_mark_persistent(l_Lake_DSL_postUpdateDecl); +l_Lake_DSL_fromPath___closed__1 = _init_l_Lake_DSL_fromPath___closed__1(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__1); +l_Lake_DSL_fromPath___closed__2 = _init_l_Lake_DSL_fromPath___closed__2(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__2); +l_Lake_DSL_fromPath___closed__3 = _init_l_Lake_DSL_fromPath___closed__3(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__3); +l_Lake_DSL_fromPath___closed__4 = _init_l_Lake_DSL_fromPath___closed__4(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__4); +l_Lake_DSL_fromPath___closed__5 = _init_l_Lake_DSL_fromPath___closed__5(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__5); +l_Lake_DSL_fromPath___closed__6 = _init_l_Lake_DSL_fromPath___closed__6(); +lean_mark_persistent(l_Lake_DSL_fromPath___closed__6); +l_Lake_DSL_fromPath = _init_l_Lake_DSL_fromPath(); +lean_mark_persistent(l_Lake_DSL_fromPath); +l_Lake_DSL_fromGit___closed__1 = _init_l_Lake_DSL_fromGit___closed__1(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__1); +l_Lake_DSL_fromGit___closed__2 = _init_l_Lake_DSL_fromGit___closed__2(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__2); +l_Lake_DSL_fromGit___closed__3 = _init_l_Lake_DSL_fromGit___closed__3(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__3); +l_Lake_DSL_fromGit___closed__4 = _init_l_Lake_DSL_fromGit___closed__4(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__4); +l_Lake_DSL_fromGit___closed__5 = _init_l_Lake_DSL_fromGit___closed__5(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__5); +l_Lake_DSL_fromGit___closed__6 = _init_l_Lake_DSL_fromGit___closed__6(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__6); +l_Lake_DSL_fromGit___closed__7 = _init_l_Lake_DSL_fromGit___closed__7(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__7); +l_Lake_DSL_fromGit___closed__8 = _init_l_Lake_DSL_fromGit___closed__8(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__8); +l_Lake_DSL_fromGit___closed__9 = _init_l_Lake_DSL_fromGit___closed__9(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__9); +l_Lake_DSL_fromGit___closed__10 = _init_l_Lake_DSL_fromGit___closed__10(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__10); +l_Lake_DSL_fromGit___closed__11 = _init_l_Lake_DSL_fromGit___closed__11(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__11); +l_Lake_DSL_fromGit___closed__12 = _init_l_Lake_DSL_fromGit___closed__12(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__12); +l_Lake_DSL_fromGit___closed__13 = _init_l_Lake_DSL_fromGit___closed__13(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__13); +l_Lake_DSL_fromGit___closed__14 = _init_l_Lake_DSL_fromGit___closed__14(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__14); +l_Lake_DSL_fromGit___closed__15 = _init_l_Lake_DSL_fromGit___closed__15(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__15); +l_Lake_DSL_fromGit___closed__16 = _init_l_Lake_DSL_fromGit___closed__16(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__16); +l_Lake_DSL_fromGit___closed__17 = _init_l_Lake_DSL_fromGit___closed__17(); +lean_mark_persistent(l_Lake_DSL_fromGit___closed__17); +l_Lake_DSL_fromGit = _init_l_Lake_DSL_fromGit(); +lean_mark_persistent(l_Lake_DSL_fromGit); +l_Lake_DSL_fromSource___closed__1 = _init_l_Lake_DSL_fromSource___closed__1(); +lean_mark_persistent(l_Lake_DSL_fromSource___closed__1); +l_Lake_DSL_fromSource___closed__2 = _init_l_Lake_DSL_fromSource___closed__2(); +lean_mark_persistent(l_Lake_DSL_fromSource___closed__2); +l_Lake_DSL_fromSource___closed__3 = _init_l_Lake_DSL_fromSource___closed__3(); +lean_mark_persistent(l_Lake_DSL_fromSource___closed__3); +l_Lake_DSL_fromSource___closed__4 = _init_l_Lake_DSL_fromSource___closed__4(); +lean_mark_persistent(l_Lake_DSL_fromSource___closed__4); +l_Lake_DSL_fromSource = _init_l_Lake_DSL_fromSource(); +lean_mark_persistent(l_Lake_DSL_fromSource); +l_Lake_DSL_fromClause___closed__1 = _init_l_Lake_DSL_fromClause___closed__1(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__1); +l_Lake_DSL_fromClause___closed__2 = _init_l_Lake_DSL_fromClause___closed__2(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__2); +l_Lake_DSL_fromClause___closed__3 = _init_l_Lake_DSL_fromClause___closed__3(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__3); +l_Lake_DSL_fromClause___closed__4 = _init_l_Lake_DSL_fromClause___closed__4(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__4); +l_Lake_DSL_fromClause___closed__5 = _init_l_Lake_DSL_fromClause___closed__5(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__5); +l_Lake_DSL_fromClause___closed__6 = _init_l_Lake_DSL_fromClause___closed__6(); +lean_mark_persistent(l_Lake_DSL_fromClause___closed__6); +l_Lake_DSL_fromClause = _init_l_Lake_DSL_fromClause(); +lean_mark_persistent(l_Lake_DSL_fromClause); +l_Lake_DSL_withClause___closed__1 = _init_l_Lake_DSL_withClause___closed__1(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__1); +l_Lake_DSL_withClause___closed__2 = _init_l_Lake_DSL_withClause___closed__2(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__2); +l_Lake_DSL_withClause___closed__3 = _init_l_Lake_DSL_withClause___closed__3(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__3); +l_Lake_DSL_withClause___closed__4 = _init_l_Lake_DSL_withClause___closed__4(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__4); +l_Lake_DSL_withClause___closed__5 = _init_l_Lake_DSL_withClause___closed__5(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__5); +l_Lake_DSL_withClause___closed__6 = _init_l_Lake_DSL_withClause___closed__6(); +lean_mark_persistent(l_Lake_DSL_withClause___closed__6); +l_Lake_DSL_withClause = _init_l_Lake_DSL_withClause(); +lean_mark_persistent(l_Lake_DSL_withClause); +l_Lake_DSL_verSpec___closed__1 = _init_l_Lake_DSL_verSpec___closed__1(); +lean_mark_persistent(l_Lake_DSL_verSpec___closed__1); +l_Lake_DSL_verSpec___closed__2 = _init_l_Lake_DSL_verSpec___closed__2(); +lean_mark_persistent(l_Lake_DSL_verSpec___closed__2); +l_Lake_DSL_verSpec___closed__3 = _init_l_Lake_DSL_verSpec___closed__3(); +lean_mark_persistent(l_Lake_DSL_verSpec___closed__3); +l_Lake_DSL_verSpec___closed__4 = _init_l_Lake_DSL_verSpec___closed__4(); +lean_mark_persistent(l_Lake_DSL_verSpec___closed__4); +l_Lake_DSL_verSpec___closed__5 = _init_l_Lake_DSL_verSpec___closed__5(); +lean_mark_persistent(l_Lake_DSL_verSpec___closed__5); +l_Lake_DSL_verSpec = _init_l_Lake_DSL_verSpec(); +lean_mark_persistent(l_Lake_DSL_verSpec); +l_Lake_DSL_verClause___closed__1 = _init_l_Lake_DSL_verClause___closed__1(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__1); +l_Lake_DSL_verClause___closed__2 = _init_l_Lake_DSL_verClause___closed__2(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__2); +l_Lake_DSL_verClause___closed__3 = _init_l_Lake_DSL_verClause___closed__3(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__3); +l_Lake_DSL_verClause___closed__4 = _init_l_Lake_DSL_verClause___closed__4(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__4); +l_Lake_DSL_verClause___closed__5 = _init_l_Lake_DSL_verClause___closed__5(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__5); +l_Lake_DSL_verClause___closed__6 = _init_l_Lake_DSL_verClause___closed__6(); +lean_mark_persistent(l_Lake_DSL_verClause___closed__6); +l_Lake_DSL_verClause = _init_l_Lake_DSL_verClause(); +lean_mark_persistent(l_Lake_DSL_verClause); +l_Lake_DSL_depName___closed__1 = _init_l_Lake_DSL_depName___closed__1(); +lean_mark_persistent(l_Lake_DSL_depName___closed__1); +l_Lake_DSL_depName___closed__2 = _init_l_Lake_DSL_depName___closed__2(); +lean_mark_persistent(l_Lake_DSL_depName___closed__2); +l_Lake_DSL_depName___closed__3 = _init_l_Lake_DSL_depName___closed__3(); +lean_mark_persistent(l_Lake_DSL_depName___closed__3); +l_Lake_DSL_depName___closed__4 = _init_l_Lake_DSL_depName___closed__4(); +lean_mark_persistent(l_Lake_DSL_depName___closed__4); +l_Lake_DSL_depName___closed__5 = _init_l_Lake_DSL_depName___closed__5(); +lean_mark_persistent(l_Lake_DSL_depName___closed__5); +l_Lake_DSL_depName___closed__6 = _init_l_Lake_DSL_depName___closed__6(); +lean_mark_persistent(l_Lake_DSL_depName___closed__6); +l_Lake_DSL_depName___closed__7 = _init_l_Lake_DSL_depName___closed__7(); +lean_mark_persistent(l_Lake_DSL_depName___closed__7); +l_Lake_DSL_depName___closed__8 = _init_l_Lake_DSL_depName___closed__8(); +lean_mark_persistent(l_Lake_DSL_depName___closed__8); +l_Lake_DSL_depName___closed__9 = _init_l_Lake_DSL_depName___closed__9(); +lean_mark_persistent(l_Lake_DSL_depName___closed__9); +l_Lake_DSL_depName___closed__10 = _init_l_Lake_DSL_depName___closed__10(); +lean_mark_persistent(l_Lake_DSL_depName___closed__10); +l_Lake_DSL_depName___closed__11 = _init_l_Lake_DSL_depName___closed__11(); +lean_mark_persistent(l_Lake_DSL_depName___closed__11); +l_Lake_DSL_depName___closed__12 = _init_l_Lake_DSL_depName___closed__12(); +lean_mark_persistent(l_Lake_DSL_depName___closed__12); +l_Lake_DSL_depName___closed__13 = _init_l_Lake_DSL_depName___closed__13(); +lean_mark_persistent(l_Lake_DSL_depName___closed__13); +l_Lake_DSL_depName___closed__14 = _init_l_Lake_DSL_depName___closed__14(); +lean_mark_persistent(l_Lake_DSL_depName___closed__14); +l_Lake_DSL_depName = _init_l_Lake_DSL_depName(); +lean_mark_persistent(l_Lake_DSL_depName); +l_Lake_DSL_depSpec___closed__1 = _init_l_Lake_DSL_depSpec___closed__1(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__1); +l_Lake_DSL_depSpec___closed__2 = _init_l_Lake_DSL_depSpec___closed__2(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__2); +l_Lake_DSL_depSpec___closed__3 = _init_l_Lake_DSL_depSpec___closed__3(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__3); +l_Lake_DSL_depSpec___closed__4 = _init_l_Lake_DSL_depSpec___closed__4(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__4); +l_Lake_DSL_depSpec___closed__5 = _init_l_Lake_DSL_depSpec___closed__5(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__5); +l_Lake_DSL_depSpec___closed__6 = _init_l_Lake_DSL_depSpec___closed__6(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__6); +l_Lake_DSL_depSpec___closed__7 = _init_l_Lake_DSL_depSpec___closed__7(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__7); +l_Lake_DSL_depSpec___closed__8 = _init_l_Lake_DSL_depSpec___closed__8(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__8); +l_Lake_DSL_depSpec___closed__9 = _init_l_Lake_DSL_depSpec___closed__9(); +lean_mark_persistent(l_Lake_DSL_depSpec___closed__9); +l_Lake_DSL_depSpec = _init_l_Lake_DSL_depSpec(); +lean_mark_persistent(l_Lake_DSL_depSpec); +l_Lake_DSL_requireDecl___closed__1 = _init_l_Lake_DSL_requireDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__1); +l_Lake_DSL_requireDecl___closed__2 = _init_l_Lake_DSL_requireDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__2); +l_Lake_DSL_requireDecl___closed__3 = _init_l_Lake_DSL_requireDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__3); +l_Lake_DSL_requireDecl___closed__4 = _init_l_Lake_DSL_requireDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__4); +l_Lake_DSL_requireDecl___closed__5 = _init_l_Lake_DSL_requireDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__5); +l_Lake_DSL_requireDecl___closed__6 = _init_l_Lake_DSL_requireDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__6); +l_Lake_DSL_requireDecl___closed__7 = _init_l_Lake_DSL_requireDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_requireDecl___closed__7); +l_Lake_DSL_requireDecl = _init_l_Lake_DSL_requireDecl(); +lean_mark_persistent(l_Lake_DSL_requireDecl); +l_Lake_DSL_buildDeclSig___closed__1 = _init_l_Lake_DSL_buildDeclSig___closed__1(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__1); +l_Lake_DSL_buildDeclSig___closed__2 = _init_l_Lake_DSL_buildDeclSig___closed__2(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__2); +l_Lake_DSL_buildDeclSig___closed__3 = _init_l_Lake_DSL_buildDeclSig___closed__3(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__3); +l_Lake_DSL_buildDeclSig___closed__4 = _init_l_Lake_DSL_buildDeclSig___closed__4(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__4); +l_Lake_DSL_buildDeclSig___closed__5 = _init_l_Lake_DSL_buildDeclSig___closed__5(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__5); +l_Lake_DSL_buildDeclSig___closed__6 = _init_l_Lake_DSL_buildDeclSig___closed__6(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__6); +l_Lake_DSL_buildDeclSig___closed__7 = _init_l_Lake_DSL_buildDeclSig___closed__7(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__7); +l_Lake_DSL_buildDeclSig___closed__8 = _init_l_Lake_DSL_buildDeclSig___closed__8(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__8); +l_Lake_DSL_buildDeclSig___closed__9 = _init_l_Lake_DSL_buildDeclSig___closed__9(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__9); +l_Lake_DSL_buildDeclSig = _init_l_Lake_DSL_buildDeclSig(); +lean_mark_persistent(l_Lake_DSL_buildDeclSig); +l_Lake_DSL_moduleFacetDecl___closed__1 = _init_l_Lake_DSL_moduleFacetDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__1); +l_Lake_DSL_moduleFacetDecl___closed__2 = _init_l_Lake_DSL_moduleFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__2); +l_Lake_DSL_moduleFacetDecl___closed__3 = _init_l_Lake_DSL_moduleFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__3); +l_Lake_DSL_moduleFacetDecl___closed__4 = _init_l_Lake_DSL_moduleFacetDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__4); +l_Lake_DSL_moduleFacetDecl___closed__5 = _init_l_Lake_DSL_moduleFacetDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__5); +l_Lake_DSL_moduleFacetDecl___closed__6 = _init_l_Lake_DSL_moduleFacetDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__6); +l_Lake_DSL_moduleFacetDecl___closed__7 = _init_l_Lake_DSL_moduleFacetDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__7); +l_Lake_DSL_moduleFacetDecl = _init_l_Lake_DSL_moduleFacetDecl(); +lean_mark_persistent(l_Lake_DSL_moduleFacetDecl); +l_Lake_DSL_packageFacetDecl___closed__1 = _init_l_Lake_DSL_packageFacetDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__1); +l_Lake_DSL_packageFacetDecl___closed__2 = _init_l_Lake_DSL_packageFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__2); +l_Lake_DSL_packageFacetDecl___closed__3 = _init_l_Lake_DSL_packageFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__3); +l_Lake_DSL_packageFacetDecl___closed__4 = _init_l_Lake_DSL_packageFacetDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__4); +l_Lake_DSL_packageFacetDecl___closed__5 = _init_l_Lake_DSL_packageFacetDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__5); +l_Lake_DSL_packageFacetDecl___closed__6 = _init_l_Lake_DSL_packageFacetDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__6); +l_Lake_DSL_packageFacetDecl___closed__7 = _init_l_Lake_DSL_packageFacetDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__7); +l_Lake_DSL_packageFacetDecl = _init_l_Lake_DSL_packageFacetDecl(); +lean_mark_persistent(l_Lake_DSL_packageFacetDecl); +l_Lake_DSL_libraryFacetDecl___closed__1 = _init_l_Lake_DSL_libraryFacetDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__1); +l_Lake_DSL_libraryFacetDecl___closed__2 = _init_l_Lake_DSL_libraryFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__2); +l_Lake_DSL_libraryFacetDecl___closed__3 = _init_l_Lake_DSL_libraryFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__3); +l_Lake_DSL_libraryFacetDecl___closed__4 = _init_l_Lake_DSL_libraryFacetDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__4); +l_Lake_DSL_libraryFacetDecl___closed__5 = _init_l_Lake_DSL_libraryFacetDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__5); +l_Lake_DSL_libraryFacetDecl___closed__6 = _init_l_Lake_DSL_libraryFacetDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__6); +l_Lake_DSL_libraryFacetDecl___closed__7 = _init_l_Lake_DSL_libraryFacetDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__7); +l_Lake_DSL_libraryFacetDecl = _init_l_Lake_DSL_libraryFacetDecl(); +lean_mark_persistent(l_Lake_DSL_libraryFacetDecl); +l_Lake_DSL_targetCommand___closed__1 = _init_l_Lake_DSL_targetCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__1); +l_Lake_DSL_targetCommand___closed__2 = _init_l_Lake_DSL_targetCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__2); +l_Lake_DSL_targetCommand___closed__3 = _init_l_Lake_DSL_targetCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__3); +l_Lake_DSL_targetCommand___closed__4 = _init_l_Lake_DSL_targetCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__4); +l_Lake_DSL_targetCommand___closed__5 = _init_l_Lake_DSL_targetCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__5); +l_Lake_DSL_targetCommand___closed__6 = _init_l_Lake_DSL_targetCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__6); +l_Lake_DSL_targetCommand___closed__7 = _init_l_Lake_DSL_targetCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_targetCommand___closed__7); +l_Lake_DSL_targetCommand = _init_l_Lake_DSL_targetCommand(); +lean_mark_persistent(l_Lake_DSL_targetCommand); +l_Lake_DSL_leanLibCommand___closed__1 = _init_l_Lake_DSL_leanLibCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__1); +l_Lake_DSL_leanLibCommand___closed__2 = _init_l_Lake_DSL_leanLibCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__2); +l_Lake_DSL_leanLibCommand___closed__3 = _init_l_Lake_DSL_leanLibCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__3); +l_Lake_DSL_leanLibCommand___closed__4 = _init_l_Lake_DSL_leanLibCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__4); +l_Lake_DSL_leanLibCommand___closed__5 = _init_l_Lake_DSL_leanLibCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__5); +l_Lake_DSL_leanLibCommand___closed__6 = _init_l_Lake_DSL_leanLibCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__6); +l_Lake_DSL_leanLibCommand___closed__7 = _init_l_Lake_DSL_leanLibCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__7); +l_Lake_DSL_leanLibCommand___closed__8 = _init_l_Lake_DSL_leanLibCommand___closed__8(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__8); +l_Lake_DSL_leanLibCommand = _init_l_Lake_DSL_leanLibCommand(); +lean_mark_persistent(l_Lake_DSL_leanLibCommand); +l_Lake_DSL_leanExeCommand___closed__1 = _init_l_Lake_DSL_leanExeCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__1); +l_Lake_DSL_leanExeCommand___closed__2 = _init_l_Lake_DSL_leanExeCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__2); +l_Lake_DSL_leanExeCommand___closed__3 = _init_l_Lake_DSL_leanExeCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__3); +l_Lake_DSL_leanExeCommand___closed__4 = _init_l_Lake_DSL_leanExeCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__4); +l_Lake_DSL_leanExeCommand___closed__5 = _init_l_Lake_DSL_leanExeCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__5); +l_Lake_DSL_leanExeCommand___closed__6 = _init_l_Lake_DSL_leanExeCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__6); +l_Lake_DSL_leanExeCommand___closed__7 = _init_l_Lake_DSL_leanExeCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__7); +l_Lake_DSL_leanExeCommand___closed__8 = _init_l_Lake_DSL_leanExeCommand___closed__8(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__8); +l_Lake_DSL_leanExeCommand = _init_l_Lake_DSL_leanExeCommand(); +lean_mark_persistent(l_Lake_DSL_leanExeCommand); +l_Lake_DSL_inputFileCommand___closed__1 = _init_l_Lake_DSL_inputFileCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__1); +l_Lake_DSL_inputFileCommand___closed__2 = _init_l_Lake_DSL_inputFileCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__2); +l_Lake_DSL_inputFileCommand___closed__3 = _init_l_Lake_DSL_inputFileCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__3); +l_Lake_DSL_inputFileCommand___closed__4 = _init_l_Lake_DSL_inputFileCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__4); +l_Lake_DSL_inputFileCommand___closed__5 = _init_l_Lake_DSL_inputFileCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__5); +l_Lake_DSL_inputFileCommand___closed__6 = _init_l_Lake_DSL_inputFileCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__6); +l_Lake_DSL_inputFileCommand___closed__7 = _init_l_Lake_DSL_inputFileCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__7); +l_Lake_DSL_inputFileCommand___closed__8 = _init_l_Lake_DSL_inputFileCommand___closed__8(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__8); +l_Lake_DSL_inputFileCommand = _init_l_Lake_DSL_inputFileCommand(); +lean_mark_persistent(l_Lake_DSL_inputFileCommand); +l_Lake_DSL_inputDirCommand___closed__1 = _init_l_Lake_DSL_inputDirCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__1); +l_Lake_DSL_inputDirCommand___closed__2 = _init_l_Lake_DSL_inputDirCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__2); +l_Lake_DSL_inputDirCommand___closed__3 = _init_l_Lake_DSL_inputDirCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__3); +l_Lake_DSL_inputDirCommand___closed__4 = _init_l_Lake_DSL_inputDirCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__4); +l_Lake_DSL_inputDirCommand___closed__5 = _init_l_Lake_DSL_inputDirCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__5); +l_Lake_DSL_inputDirCommand___closed__6 = _init_l_Lake_DSL_inputDirCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__6); +l_Lake_DSL_inputDirCommand___closed__7 = _init_l_Lake_DSL_inputDirCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__7); +l_Lake_DSL_inputDirCommand___closed__8 = _init_l_Lake_DSL_inputDirCommand___closed__8(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__8); +l_Lake_DSL_inputDirCommand = _init_l_Lake_DSL_inputDirCommand(); +lean_mark_persistent(l_Lake_DSL_inputDirCommand); +l_Lake_DSL_externLibDeclSpec___closed__1 = _init_l_Lake_DSL_externLibDeclSpec___closed__1(); +lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__1); +l_Lake_DSL_externLibDeclSpec___closed__2 = _init_l_Lake_DSL_externLibDeclSpec___closed__2(); +lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__2); +l_Lake_DSL_externLibDeclSpec___closed__3 = _init_l_Lake_DSL_externLibDeclSpec___closed__3(); +lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__3); +l_Lake_DSL_externLibDeclSpec___closed__4 = _init_l_Lake_DSL_externLibDeclSpec___closed__4(); +lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__4); +l_Lake_DSL_externLibDeclSpec = _init_l_Lake_DSL_externLibDeclSpec(); +lean_mark_persistent(l_Lake_DSL_externLibDeclSpec); +l_Lake_DSL_externLibCommand___closed__1 = _init_l_Lake_DSL_externLibCommand___closed__1(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__1); +l_Lake_DSL_externLibCommand___closed__2 = _init_l_Lake_DSL_externLibCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__2); +l_Lake_DSL_externLibCommand___closed__3 = _init_l_Lake_DSL_externLibCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__3); +l_Lake_DSL_externLibCommand___closed__4 = _init_l_Lake_DSL_externLibCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__4); +l_Lake_DSL_externLibCommand___closed__5 = _init_l_Lake_DSL_externLibCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__5); +l_Lake_DSL_externLibCommand___closed__6 = _init_l_Lake_DSL_externLibCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__6); +l_Lake_DSL_externLibCommand___closed__7 = _init_l_Lake_DSL_externLibCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__7); +l_Lake_DSL_externLibCommand = _init_l_Lake_DSL_externLibCommand(); +lean_mark_persistent(l_Lake_DSL_externLibCommand); +l_Lake_DSL_scriptDeclSpec___closed__1 = _init_l_Lake_DSL_scriptDeclSpec___closed__1(); +lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__1); +l_Lake_DSL_scriptDeclSpec___closed__2 = _init_l_Lake_DSL_scriptDeclSpec___closed__2(); +lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__2); +l_Lake_DSL_scriptDeclSpec___closed__3 = _init_l_Lake_DSL_scriptDeclSpec___closed__3(); +lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__3); +l_Lake_DSL_scriptDeclSpec___closed__4 = _init_l_Lake_DSL_scriptDeclSpec___closed__4(); +lean_mark_persistent(l_Lake_DSL_scriptDeclSpec___closed__4); +l_Lake_DSL_scriptDeclSpec = _init_l_Lake_DSL_scriptDeclSpec(); +lean_mark_persistent(l_Lake_DSL_scriptDeclSpec); +l_Lake_DSL_scriptDecl___closed__1 = _init_l_Lake_DSL_scriptDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__1); +l_Lake_DSL_scriptDecl___closed__2 = _init_l_Lake_DSL_scriptDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__2); +l_Lake_DSL_scriptDecl___closed__3 = _init_l_Lake_DSL_scriptDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__3); +l_Lake_DSL_scriptDecl___closed__4 = _init_l_Lake_DSL_scriptDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__4); +l_Lake_DSL_scriptDecl___closed__5 = _init_l_Lake_DSL_scriptDecl___closed__5(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__5); +l_Lake_DSL_scriptDecl___closed__6 = _init_l_Lake_DSL_scriptDecl___closed__6(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__6); +l_Lake_DSL_scriptDecl___closed__7 = _init_l_Lake_DSL_scriptDecl___closed__7(); +lean_mark_persistent(l_Lake_DSL_scriptDecl___closed__7); +l_Lake_DSL_scriptDecl = _init_l_Lake_DSL_scriptDecl(); +lean_mark_persistent(l_Lake_DSL_scriptDecl); +l_Lake_verLit___closed__1 = _init_l_Lake_verLit___closed__1(); +lean_mark_persistent(l_Lake_verLit___closed__1); +l_Lake_verLit___closed__2 = _init_l_Lake_verLit___closed__2(); +lean_mark_persistent(l_Lake_verLit___closed__2); +l_Lake_verLit___closed__3 = _init_l_Lake_verLit___closed__3(); +lean_mark_persistent(l_Lake_verLit___closed__3); +l_Lake_verLit___closed__4 = _init_l_Lake_verLit___closed__4(); +lean_mark_persistent(l_Lake_verLit___closed__4); +l_Lake_verLit___closed__5 = _init_l_Lake_verLit___closed__5(); +lean_mark_persistent(l_Lake_verLit___closed__5); +l_Lake_verLit___closed__6 = _init_l_Lake_verLit___closed__6(); +lean_mark_persistent(l_Lake_verLit___closed__6); +l_Lake_verLit___closed__7 = _init_l_Lake_verLit___closed__7(); +lean_mark_persistent(l_Lake_verLit___closed__7); +l_Lake_verLit___closed__8 = _init_l_Lake_verLit___closed__8(); +lean_mark_persistent(l_Lake_verLit___closed__8); +l_Lake_verLit___closed__9 = _init_l_Lake_verLit___closed__9(); +lean_mark_persistent(l_Lake_verLit___closed__9); +l_Lake_verLit___closed__10 = _init_l_Lake_verLit___closed__10(); +lean_mark_persistent(l_Lake_verLit___closed__10); +l_Lake_verLit___closed__11 = _init_l_Lake_verLit___closed__11(); +lean_mark_persistent(l_Lake_verLit___closed__11); +l_Lake_verLit___closed__12 = _init_l_Lake_verLit___closed__12(); +lean_mark_persistent(l_Lake_verLit___closed__12); +l_Lake_verLit___closed__13 = _init_l_Lake_verLit___closed__13(); +lean_mark_persistent(l_Lake_verLit___closed__13); +l_Lake_verLit = _init_l_Lake_verLit(); +lean_mark_persistent(l_Lake_verLit); +l_Lake_DSL_facetSuffix___closed__1 = _init_l_Lake_DSL_facetSuffix___closed__1(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__1); +l_Lake_DSL_facetSuffix___closed__2 = _init_l_Lake_DSL_facetSuffix___closed__2(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__2); +l_Lake_DSL_facetSuffix___closed__3 = _init_l_Lake_DSL_facetSuffix___closed__3(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__3); +l_Lake_DSL_facetSuffix___closed__4 = _init_l_Lake_DSL_facetSuffix___closed__4(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__4); +l_Lake_DSL_facetSuffix___closed__5 = _init_l_Lake_DSL_facetSuffix___closed__5(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__5); +l_Lake_DSL_facetSuffix___closed__6 = _init_l_Lake_DSL_facetSuffix___closed__6(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__6); +l_Lake_DSL_facetSuffix___closed__7 = _init_l_Lake_DSL_facetSuffix___closed__7(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__7); +l_Lake_DSL_facetSuffix___closed__8 = _init_l_Lake_DSL_facetSuffix___closed__8(); +lean_mark_persistent(l_Lake_DSL_facetSuffix___closed__8); +l_Lake_DSL_facetSuffix = _init_l_Lake_DSL_facetSuffix(); +lean_mark_persistent(l_Lake_DSL_facetSuffix); +l_Lake_DSL_packageTargetLit___closed__1 = _init_l_Lake_DSL_packageTargetLit___closed__1(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__1); +l_Lake_DSL_packageTargetLit___closed__2 = _init_l_Lake_DSL_packageTargetLit___closed__2(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__2); +l_Lake_DSL_packageTargetLit___closed__3 = _init_l_Lake_DSL_packageTargetLit___closed__3(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__3); +l_Lake_DSL_packageTargetLit___closed__4 = _init_l_Lake_DSL_packageTargetLit___closed__4(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__4); +l_Lake_DSL_packageTargetLit___closed__5 = _init_l_Lake_DSL_packageTargetLit___closed__5(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__5); +l_Lake_DSL_packageTargetLit___closed__6 = _init_l_Lake_DSL_packageTargetLit___closed__6(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__6); +l_Lake_DSL_packageTargetLit___closed__7 = _init_l_Lake_DSL_packageTargetLit___closed__7(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__7); +l_Lake_DSL_packageTargetLit___closed__8 = _init_l_Lake_DSL_packageTargetLit___closed__8(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__8); +l_Lake_DSL_packageTargetLit___closed__9 = _init_l_Lake_DSL_packageTargetLit___closed__9(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit___closed__9); +l_Lake_DSL_packageTargetLit = _init_l_Lake_DSL_packageTargetLit(); +lean_mark_persistent(l_Lake_DSL_packageTargetLit); +l_Lake_DSL_term_x60_x2b_________closed__1 = _init_l_Lake_DSL_term_x60_x2b_________closed__1(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__1); +l_Lake_DSL_term_x60_x2b_________closed__2 = _init_l_Lake_DSL_term_x60_x2b_________closed__2(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__2); +l_Lake_DSL_term_x60_x2b_________closed__3 = _init_l_Lake_DSL_term_x60_x2b_________closed__3(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__3); +l_Lake_DSL_term_x60_x2b_________closed__4 = _init_l_Lake_DSL_term_x60_x2b_________closed__4(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__4); +l_Lake_DSL_term_x60_x2b_________closed__5 = _init_l_Lake_DSL_term_x60_x2b_________closed__5(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__5); +l_Lake_DSL_term_x60_x2b_________closed__6 = _init_l_Lake_DSL_term_x60_x2b_________closed__6(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__6); +l_Lake_DSL_term_x60_x2b_________closed__7 = _init_l_Lake_DSL_term_x60_x2b_________closed__7(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__7); +l_Lake_DSL_term_x60_x2b_________closed__8 = _init_l_Lake_DSL_term_x60_x2b_________closed__8(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__8); +l_Lake_DSL_term_x60_x2b_________closed__9 = _init_l_Lake_DSL_term_x60_x2b_________closed__9(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__9); +l_Lake_DSL_term_x60_x2b_________closed__10 = _init_l_Lake_DSL_term_x60_x2b_________closed__10(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__10); +l_Lake_DSL_term_x60_x2b_________closed__11 = _init_l_Lake_DSL_term_x60_x2b_________closed__11(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b_________closed__11); +l_Lake_DSL_term_x60_x2b______ = _init_l_Lake_DSL_term_x60_x2b______(); +lean_mark_persistent(l_Lake_DSL_term_x60_x2b______); +l_Lake_DSL_term_x60_x40_______x2f___________closed__1 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__1(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__1); +l_Lake_DSL_term_x60_x40_______x2f___________closed__2 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__2(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__2); +l_Lake_DSL_term_x60_x40_______x2f___________closed__3 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__3(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__3); +l_Lake_DSL_term_x60_x40_______x2f___________closed__4 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__4(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__4); +l_Lake_DSL_term_x60_x40_______x2f___________closed__5 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__5(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__5); +l_Lake_DSL_term_x60_x40_______x2f___________closed__6 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__6(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__6); +l_Lake_DSL_term_x60_x40_______x2f___________closed__7 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__7(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__7); +l_Lake_DSL_term_x60_x40_______x2f___________closed__8 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__8(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__8); +l_Lake_DSL_term_x60_x40_______x2f___________closed__9 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__9(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__9); +l_Lake_DSL_term_x60_x40_______x2f___________closed__10 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__10(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__10); +l_Lake_DSL_term_x60_x40_______x2f___________closed__11 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__11(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__11); +l_Lake_DSL_term_x60_x40_______x2f___________closed__12 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__12(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__12); +l_Lake_DSL_term_x60_x40_______x2f___________closed__13 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__13(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__13); +l_Lake_DSL_term_x60_x40_______x2f___________closed__14 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__14(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__14); +l_Lake_DSL_term_x60_x40_______x2f___________closed__15 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__15(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__15); +l_Lake_DSL_term_x60_x40_______x2f___________closed__16 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__16(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__16); +l_Lake_DSL_term_x60_x40_______x2f___________closed__17 = _init_l_Lake_DSL_term_x60_x40_______x2f___________closed__17(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f___________closed__17); +l_Lake_DSL_term_x60_x40_______x2f________ = _init_l_Lake_DSL_term_x60_x40_______x2f________(); +lean_mark_persistent(l_Lake_DSL_term_x60_x40_______x2f________); +l_Lake_DSL_cmdDo___closed__1 = _init_l_Lake_DSL_cmdDo___closed__1(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__1); +l_Lake_DSL_cmdDo___closed__2 = _init_l_Lake_DSL_cmdDo___closed__2(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__2); +l_Lake_DSL_cmdDo___closed__3 = _init_l_Lake_DSL_cmdDo___closed__3(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__3); +l_Lake_DSL_cmdDo___closed__4 = _init_l_Lake_DSL_cmdDo___closed__4(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__4); +l_Lake_DSL_cmdDo___closed__5 = _init_l_Lake_DSL_cmdDo___closed__5(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__5); +l_Lake_DSL_cmdDo___closed__6 = _init_l_Lake_DSL_cmdDo___closed__6(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__6); +l_Lake_DSL_cmdDo___closed__7 = _init_l_Lake_DSL_cmdDo___closed__7(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__7); +l_Lake_DSL_cmdDo___closed__8 = _init_l_Lake_DSL_cmdDo___closed__8(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__8); +l_Lake_DSL_cmdDo___closed__9 = _init_l_Lake_DSL_cmdDo___closed__9(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__9); +l_Lake_DSL_cmdDo___closed__10 = _init_l_Lake_DSL_cmdDo___closed__10(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__10); +l_Lake_DSL_cmdDo___closed__11 = _init_l_Lake_DSL_cmdDo___closed__11(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__11); +l_Lake_DSL_cmdDo___closed__12 = _init_l_Lake_DSL_cmdDo___closed__12(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__12); +l_Lake_DSL_cmdDo___closed__13 = _init_l_Lake_DSL_cmdDo___closed__13(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__13); +l_Lake_DSL_cmdDo___closed__14 = _init_l_Lake_DSL_cmdDo___closed__14(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__14); +l_Lake_DSL_cmdDo___closed__15 = _init_l_Lake_DSL_cmdDo___closed__15(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__15); +l_Lake_DSL_cmdDo___closed__16 = _init_l_Lake_DSL_cmdDo___closed__16(); +lean_mark_persistent(l_Lake_DSL_cmdDo___closed__16); +l_Lake_DSL_cmdDo = _init_l_Lake_DSL_cmdDo(); +lean_mark_persistent(l_Lake_DSL_cmdDo); +l_Lake_DSL_metaIf___closed__1 = _init_l_Lake_DSL_metaIf___closed__1(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__1); +l_Lake_DSL_metaIf___closed__2 = _init_l_Lake_DSL_metaIf___closed__2(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__2); +l_Lake_DSL_metaIf___closed__3 = _init_l_Lake_DSL_metaIf___closed__3(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__3); +l_Lake_DSL_metaIf___closed__4 = _init_l_Lake_DSL_metaIf___closed__4(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__4); +l_Lake_DSL_metaIf___closed__5 = _init_l_Lake_DSL_metaIf___closed__5(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__5); +l_Lake_DSL_metaIf___closed__6 = _init_l_Lake_DSL_metaIf___closed__6(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__6); +l_Lake_DSL_metaIf___closed__7 = _init_l_Lake_DSL_metaIf___closed__7(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__7); +l_Lake_DSL_metaIf___closed__8 = _init_l_Lake_DSL_metaIf___closed__8(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__8); +l_Lake_DSL_metaIf___closed__9 = _init_l_Lake_DSL_metaIf___closed__9(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__9); +l_Lake_DSL_metaIf___closed__10 = _init_l_Lake_DSL_metaIf___closed__10(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__10); +l_Lake_DSL_metaIf___closed__11 = _init_l_Lake_DSL_metaIf___closed__11(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__11); +l_Lake_DSL_metaIf___closed__12 = _init_l_Lake_DSL_metaIf___closed__12(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__12); +l_Lake_DSL_metaIf___closed__13 = _init_l_Lake_DSL_metaIf___closed__13(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__13); +l_Lake_DSL_metaIf___closed__14 = _init_l_Lake_DSL_metaIf___closed__14(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__14); +l_Lake_DSL_metaIf___closed__15 = _init_l_Lake_DSL_metaIf___closed__15(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__15); +l_Lake_DSL_metaIf___closed__16 = _init_l_Lake_DSL_metaIf___closed__16(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__16); +l_Lake_DSL_metaIf___closed__17 = _init_l_Lake_DSL_metaIf___closed__17(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__17); +l_Lake_DSL_metaIf___closed__18 = _init_l_Lake_DSL_metaIf___closed__18(); +lean_mark_persistent(l_Lake_DSL_metaIf___closed__18); +l_Lake_DSL_metaIf = _init_l_Lake_DSL_metaIf(); +lean_mark_persistent(l_Lake_DSL_metaIf); +l_Lake_DSL_runIO___closed__1 = _init_l_Lake_DSL_runIO___closed__1(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__1); +l_Lake_DSL_runIO___closed__2 = _init_l_Lake_DSL_runIO___closed__2(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__2); +l_Lake_DSL_runIO___closed__3 = _init_l_Lake_DSL_runIO___closed__3(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__3); +l_Lake_DSL_runIO___closed__4 = _init_l_Lake_DSL_runIO___closed__4(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__4); +l_Lake_DSL_runIO___closed__5 = _init_l_Lake_DSL_runIO___closed__5(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__5); +l_Lake_DSL_runIO___closed__6 = _init_l_Lake_DSL_runIO___closed__6(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__6); +l_Lake_DSL_runIO___closed__7 = _init_l_Lake_DSL_runIO___closed__7(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__7); +l_Lake_DSL_runIO___closed__8 = _init_l_Lake_DSL_runIO___closed__8(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__8); +l_Lake_DSL_runIO___closed__9 = _init_l_Lake_DSL_runIO___closed__9(); +lean_mark_persistent(l_Lake_DSL_runIO___closed__9); +l_Lake_DSL_runIO = _init_l_Lake_DSL_runIO(); +lean_mark_persistent(l_Lake_DSL_runIO); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lake/DSL/Targets.c b/stage0/stdlib/Lake/DSL/Targets.c index df19e48271..da5774af17 100644 --- a/stage0/stdlib/Lake/DSL/Targets.c +++ b/stage0/stdlib/Lake/DSL/Targets.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.Targets -// Imports: Lake.DSL.DeclUtil Lake.Config.FacetConfig Lake.Config.TargetConfig Lake.Build.Job +// Imports: Lake.DSL.DeclUtil Lake.DSL.Syntax Lake.Config.FacetConfig Lake.Config.TargetConfig Lake.Build.Job #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -18,7 +18,6 @@ static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__1; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__8; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__2; -static lean_object* l_Lake_DSL_inputFileCommand___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,16 +32,17 @@ static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__12; static lean_object* l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__1; -static lean_object* l_Lake_DSL_buildDeclSig___closed__3; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__3; +static lean_object* l_Lake_DSL_expandPackageFacetDecl___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__23; extern lean_object* l_Lake_InputFile_keyword; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__13; -static lean_object* l_Lake_DSL_buildDeclSig___closed__24; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__8; +static lean_object* l_Lake_DSL_expandPackageFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandPackageFacetDecl___closed__1; +static lean_object* l_Lake_DSL_expandTargetCommand___closed__7; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__1; +static lean_object* l_Lake_DSL_expandExternLibCommand___closed__5; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__15; static lean_object* l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclDef___at_Lake_DSL_elabLeanExeCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,19 +51,17 @@ static lean_object* l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__3; static lean_object* l_Lake_DSL_elabInputfileCommand___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeInputFileCommandCommand(lean_object*); static lean_object* l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__1; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; static lean_object* l_Lake_DSL_elabInputfileCommand___closed__2; -static lean_object* l_Lake_DSL_buildDeclSig___closed__19; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); -static lean_object* l_Lake_DSL_externLibDeclSpec___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeInputDirCommandCommand___boxed(lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__39; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_buildDeclSig___closed__12; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49; -LEAN_EXPORT lean_object* l_Lake_DSL_leanExeCommand; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__13; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__2; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__12; @@ -77,20 +75,16 @@ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__7; extern lean_object* l_Lake_LeanLib_keyword; static lean_object* l_Lake_DSL_elabLeanExeCommand___closed__2; -static lean_object* l_Lake_DSL_buildDeclSig___closed__26; -static lean_object* l_Lake_DSL_buildDeclSig___closed__27; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___closed__1; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__31; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__17; -extern lean_object* l_Lake_DSL_simpleBinder; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclDef(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_Lake_DSL_inputFileCommand___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclDef___at_Lake_DSL_elabInputDirCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -extern lean_object* l_Lake_DSL_optConfig; LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; @@ -103,21 +97,17 @@ static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__44; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__11; extern lean_object* l_Lake_Package_keyword; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__24; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__7; -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__18; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; static lean_object* l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__1; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__40; -extern lean_object* l_Lake_DSL_identOrStr; -static lean_object* l_Lake_DSL_buildDeclSig___closed__21; lean_object* l_Lake_Job_renew___rarg(lean_object*); -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__1; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputfileCommand___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__13; -static lean_object* l_Lake_DSL_buildDeclSig___closed__1; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__5; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__36; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__11; @@ -131,34 +121,28 @@ static lean_object* l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__1 LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl___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*); -static lean_object* l_Lake_DSL_buildDeclSig___closed__8; +static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__5; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lake_DSL_buildDeclSig___closed__13; static lean_object* l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__4; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__9; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__4; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__16; lean_object* l_Lake_ensureJob___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__16; LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__12; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; -static lean_object* l_Lake_DSL_buildDeclSig___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandModuleFacetDecl(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__14; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__16; +static lean_object* l_Lake_DSL_elabInputDirCommand___closed__5; static lean_object* l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputfileCommand___spec__2___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*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__21; -static lean_object* l_Lake_DSL_inputDirCommand___closed__3; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__10; lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_leanExeCommand___closed__1; -static lean_object* l_Lake_DSL_leanExeCommand___closed__2; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__5; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__10; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__15; LEAN_EXPORT lean_object* l_Lake_DSL_mkTargetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,41 +150,35 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1(lean_o static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__4; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__4; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__27; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__17; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__11; +static lean_object* l_Lake_DSL_expandTargetCommand___closed__6; extern lean_object* l_Lake_InputDirConfig_instConfigMeta; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__10; -static lean_object* l_Lake_DSL_inputFileCommand___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_expandModuleFacetDecl___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*); static lean_object* l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__1; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__1; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; static lean_object* l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__2; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__25; -static lean_object* l_Lake_DSL_inputFileCommand___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputDirCommand___spec__2___lambda__1(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___regBuiltin_Lake_DSL_elabInputDirCommand__1(lean_object*); static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__19; -static lean_object* l_Lake_DSL_inputFileCommand___closed__8; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__2___closed__1; -static lean_object* l_Lake_DSL_buildDeclSig___closed__23; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__14; static lean_object* l_Lake_DSL_elabInputDirCommand___closed__1; -static lean_object* l_Lake_DSL_buildDeclSig___closed__10; LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl___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*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__2; -static lean_object* l_Lake_DSL_leanLibCommand___closed__6; static lean_object* l_Lake_DSL_elabLeanExeCommand___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; -static lean_object* l_Lake_DSL_targetCommand___closed__7; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__43; LEAN_EXPORT lean_object* l_Lake_DSL_mkPackageFacetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__3; @@ -217,79 +195,65 @@ static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__26; LEAN_EXPORT lean_object* l_Lake_DSL_mkLibraryFacetDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand___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*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_packageFacetDecl; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__5; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__2; static lean_object* l_Lake_DSL_expandExternLibCommand___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___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*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__32; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclDef___at_Lake_DSL_elabLeanLibCommand___spec__2(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_Lake_DSL_elabInputDirCommand___closed__4; -static lean_object* l_Lake_DSL_inputDirCommand___closed__2; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__3; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeInputFileCommandCommand___boxed(lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__9; -static lean_object* l_Lake_DSL_inputFileCommand___closed__7; -static lean_object* l_Lake_DSL_buildDeclSig___closed__14; -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__4; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__35; -static lean_object* l_Lake_DSL_buildDeclSig___closed__11; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputDirCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__3; -static lean_object* l_Lake_DSL_leanExeCommand___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeLeanExeCommandCommand(lean_object*); static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__13; -LEAN_EXPORT lean_object* l_Lake_DSL_inputDirCommand; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__18; -static lean_object* l_Lake_DSL_inputDirCommand___closed__7; static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__3; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__41; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__38; -static lean_object* l_Lake_DSL_leanLibCommand___closed__8; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__29; lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__34; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___closed__4; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__21; -static lean_object* l_Lake_DSL_buildDeclSig___closed__2; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; lean_object* l_Lake_BuildKey_toSimpleString(lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__15; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__17; static lean_object* l_Lake_DSL_mkExternLibDecl___closed__1; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__16; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; -static lean_object* l_Lake_DSL_buildDeclSig___closed__18; -static lean_object* l_Lake_DSL_externLibCommand___closed__4; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__5; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__21; LEAN_EXPORT lean_object* l_Lake_DSL_mkModuleFacetDecl(lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; -static lean_object* l_Lake_DSL_leanLibCommand___closed__1; +static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__6; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; -static lean_object* l_Lake_DSL_inputDirCommand___closed__8; extern lean_object* l_Lake_instTypeNameInputFileDecl; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_externLibCommand; +static lean_object* l_Lake_DSL_elabLeanExeCommand___closed__6; lean_object* l_Lean_extractMacroScopes(lean_object*); -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__6; +static lean_object* l_Lake_DSL_elabInputDirCommand___closed__6; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___closed__1; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabConfig___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandTargetCommand__1(lean_object*); static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__8; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__8; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__16; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__4; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lake_DSL_packageFacetDecl___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; static lean_object* l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__1; @@ -299,18 +263,14 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand___lambda__2(lean_obje lean_object* l_Lean_mkOptionalNode(lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__46; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputfileCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lake_DSL_packageDeclName; static lean_object* l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__2; -static lean_object* l_Lake_DSL_inputDirCommand___closed__1; -static lean_object* l_Lake_DSL_buildDeclSig___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandExternLibCommand__1(lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__5; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lake_DSL_inputFileCommand; static lean_object* l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__3; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__7; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__23; @@ -321,34 +281,29 @@ static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__9; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__42; extern lean_object* l_Lake_instTypeNameInputDirDecl; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__9; -static lean_object* l_Lake_DSL_buildDeclSig___closed__6; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__2; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__9; -static lean_object* l_Lake_DSL_leanLibCommand___closed__7; static lean_object* l_Lake_DSL_expandTargetCommand___closed__1; lean_object* l_Lake_DSL_expandIdentOrStrAsIdent(lean_object*); lean_object* l_Lake_Job_toOpaque___rarg(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); -static lean_object* l_Lake_DSL_inputFileCommand___closed__4; lean_object* l_Lake_DSL_elabConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__6; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__10; +static lean_object* l_Lake_DSL_expandLibraryFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__38; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; static lean_object* l_Lake_DSL_expandTargetCommand___closed__3; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__13; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__11; static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__1; -static lean_object* l_Lake_DSL_targetCommand___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDeclDef___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* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_moduleFacetDecl; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__20; -static lean_object* l_Lake_DSL_buildDeclSig___closed__22; -static lean_object* l_Lake_DSL_inputDirCommand___closed__4; static lean_object* l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__3; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__16; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -356,38 +311,28 @@ LEAN_EXPORT lean_object* l_Lake_DSL_instCoeLeanLibCommandCommand(lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; static lean_object* l_Lake_DSL_elabLeanExeCommand___closed__3; -static lean_object* l_Lake_DSL_leanLibCommand___closed__9; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__30; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__14; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__6; -LEAN_EXPORT lean_object* l_Lake_DSL_leanLibCommand; -static lean_object* l_Lake_DSL_buildDeclSig___closed__16; -static lean_object* l_Lake_DSL_buildDeclSig___closed__9; LEAN_EXPORT lean_object* l_Lake_DSL_mkLibraryFacetDecl(lean_object*); static lean_object* l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_mkModuleFacetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__7; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); -static lean_object* l_Lake_DSL_externLibDeclSpec___closed__4; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__2___closed__1; static lean_object* l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__2; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__12; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeInputDirCommandCommand(lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__7; -LEAN_EXPORT lean_object* l_Lake_DSL_libraryFacetDecl; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__12; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__22; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1(lean_object*); -static lean_object* l_Lake_DSL_buildDeclSig___closed__15; -static lean_object* l_Lake_DSL_externLibCommand___closed__2; -static lean_object* l_Lake_DSL_inputFileCommand___closed__6; +static lean_object* l_Lake_DSL_expandExternLibCommand___closed__4; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__12; -LEAN_EXPORT lean_object* l_Lake_DSL_externLibDeclSpec; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; @@ -395,35 +340,25 @@ static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__45; LEAN_EXPORT lean_object* l_Lake_DSL_mkPackageFacetDecl(lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__3; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__6; -static lean_object* l_Lake_DSL_externLibCommand___closed__7; -LEAN_EXPORT lean_object* l_Lake_DSL_targetCommand; static lean_object* l_Lake_DSL_elabInputDirCommand___closed__2; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__3; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__9; lean_object* l_Lake_DSL_expandAttrs(lean_object*); static lean_object* l_Lake_DSL_elabInputDirCommand___closed__3; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__1; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__3; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__6; -static lean_object* l_Lake_DSL_buildDeclSig___closed__7; LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabInputfileCommand___closed__1; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1(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_Lake_DSL_elabLeanExeCommand___closed__4; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__2; -static lean_object* l_Lake_DSL_targetCommand___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_instCoeLeanLibCommandCommand___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanExeCommand___spec__2___lambda__1(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_Lake_DSL_elabInputfileCommand___closed__3; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lake_DSL_mkConfigDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -LEAN_EXPORT lean_object* l_Lake_DSL_buildDeclSig; static lean_object* l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__1; -static lean_object* l_Lake_DSL_leanExeCommand___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__33; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__5; @@ -432,16 +367,9 @@ static lean_object* l_Lake_DSL_expandTargetCommand___closed__2; LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_mkConfigDeclDef___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__19; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabLeanLibCommand__1(lean_object*); -static lean_object* l_Lake_DSL_inputDirCommand___closed__5; lean_object* l_Array_mkArray1___rarg(lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__8; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__4; -static lean_object* l_Lake_DSL_packageFacetDecl___closed__3; -static lean_object* l_Lake_DSL_externLibCommand___closed__1; -static lean_object* l_Lake_DSL_leanLibCommand___closed__2; -static lean_object* l_Lake_DSL_inputDirCommand___closed__6; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__14; -static lean_object* l_Lake_DSL_externLibCommand___closed__6; extern lean_object* l_Lake_instTypeNameLeanLibDecl; LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__2; @@ -449,41 +377,35 @@ static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__19; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__14; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1(lean_object*); static lean_object* l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__3; +static lean_object* l_Lake_DSL_elabInputfileCommand___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand___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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__24; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__11; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__19; -static lean_object* l_Lake_DSL_leanLibCommand___closed__4; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__6; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__7; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43; lean_object* lean_array_mk(lean_object*); -static lean_object* l_Lake_DSL_externLibCommand___closed__5; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__1; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__10; -static lean_object* l_Lake_DSL_buildDeclSig___closed__20; static lean_object* l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__2; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__17; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__4; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__3; lean_object* l_Lean_Syntax_node8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__5; -static lean_object* l_Lake_DSL_leanExeCommand___closed__5; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; -static lean_object* l_Lake_DSL_externLibDeclSpec___closed__3; +static lean_object* l_Lake_DSL_expandModuleFacetDecl___closed__3; static lean_object* l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__2; -static lean_object* l_Lake_DSL_buildDeclSig___closed__25; LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanExeCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanExeCommand___spec__2___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*); extern lean_object* l_Lake_Module_keyword; static lean_object* l_Lake_DSL_expandTargetCommand___closed__5; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_DSL_leanExeCommand___closed__7; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__10; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__15; -static lean_object* l_Lake_DSL_leanLibCommand___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lake_DSL_mkConfigDeclDef___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_mkModuleFacetDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -491,16 +413,14 @@ static lean_object* l_Lake_DSL_expandTargetCommand___closed__4; lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__37; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__13; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__5; static lean_object* l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__2; -static lean_object* l_Lake_DSL_buildDeclSig___closed__17; LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__15; static lean_object* l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__3; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__14; static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__9; +static lean_object* l_Lake_DSL_elabInputfileCommand___closed__6; static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__7; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__12; extern lean_object* l_Lake_InputDir_keyword; @@ -508,11 +428,10 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl(lean_object*, lean_ob static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lake_LeanLibConfig_instConfigMeta; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__2; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__28; +static lean_object* l_Lake_DSL_expandExternLibCommand___closed__2; LEAN_EXPORT lean_object* l_Lake_DSL_mkPackageFacetDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; -static lean_object* l_Lake_DSL_libraryFacetDecl___closed__7; static lean_object* l_Lake_DSL_mkConfigDeclDef___closed__4; LEAN_EXPORT lean_object* l_Lake_DSL_mkLibraryFacetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; @@ -521,7 +440,6 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1(lean_objec extern lean_object* l_Lake_LeanExeConfig_instConfigMeta; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__22; static lean_object* l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__2; -static lean_object* l_Lake_DSL_targetCommand___closed__6; lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputDirCommand___spec__2___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* l_Lake_DSL_mkConfigDeclIdent(lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,15 +447,16 @@ static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__20; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__15; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__11; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; -static lean_object* l_Lake_DSL_externLibDeclSpec___closed__2; +static lean_object* l_Lake_DSL_expandLibraryFacetDecl___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_mkTargetDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_elabLeanLibCommand___closed__4; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__2; -static lean_object* l_Lake_DSL_targetCommand___closed__4; static lean_object* l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__18; lean_object* l_String_toSubstring_x27(lean_object*); LEAN_EXPORT lean_object* l_Lake_DSL_elabLeanLibCommand(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_DSL_expandExternLibCommand___closed__3; +static lean_object* l_Lake_DSL_elabLeanExeCommand___closed__5; LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lake_ExternLib_keyword; LEAN_EXPORT lean_object* l_Lake_DSL_elabInputDirCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -545,302 +464,14 @@ static lean_object* l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__8; static lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lake_DSL_mkExternLibDecl___lambda__1(lean_object*); static lean_object* l_Lake_DSL_expandExternLibCommand___lambda__1___closed__20; -static lean_object* l_Lake_DSL_leanLibCommand___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__28; lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lake_DSL_targetCommand___closed__5; static lean_object* l_Lake_DSL_expandTargetCommand___lambda__1___closed__5; -static lean_object* l_Lake_DSL_leanExeCommand___closed__6; -static lean_object* l_Lake_DSL_leanExeCommand___closed__8; LEAN_EXPORT lean_object* l_Lake_DSL_mkExternLibDecl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14; -static lean_object* l_Lake_DSL_externLibCommand___closed__3; static lean_object* l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16; -static lean_object* l_Lake_DSL_targetCommand___closed__1; -static lean_object* l_Lake_DSL_moduleFacetDecl___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lake_DSL_elabLeanExeCommand__1(lean_object*); -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lake", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("buildDeclSig", 12, 12); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_buildDeclSig___closed__3; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_buildDeclSig___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("optional", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_buildDeclSig___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ppSpace", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_buildDeclSig___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_buildDeclSig___closed__10; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_buildDeclSig___closed__11; -x_3 = l_Lake_DSL_simpleBinder; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__8; -x_2 = l_Lake_DSL_buildDeclSig___closed__12; -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_Lake_DSL_buildDeclSig___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_identOrStr; -x_3 = l_Lake_DSL_buildDeclSig___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Parser", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("typeSpec", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__19() { -_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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_buildDeclSig___closed__18; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_buildDeclSig___closed__19; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_buildDeclSig___closed__14; -x_3 = l_Lake_DSL_buildDeclSig___closed__20; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Command", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__24() { -_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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; -x_4 = l_Lake_DSL_buildDeclSig___closed__23; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_buildDeclSig___closed__24; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_buildDeclSig___closed__21; -x_3 = l_Lake_DSL_buildDeclSig___closed__25; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__3; -x_2 = l_Lake_DSL_buildDeclSig___closed__4; -x_3 = l_Lake_DSL_buildDeclSig___closed__26; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_buildDeclSig() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_buildDeclSig___closed__27; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_DSL_mkModuleFacetDecl___rarg___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, lean_object* x_10) { _start: { @@ -1167,210 +798,51 @@ x_2 = lean_alloc_closure((void*)(l_Lake_DSL_mkModuleFacetDecl___rarg), 5, 0); return x_2; } } -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("moduleFacetDecl", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_moduleFacetDecl___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("docComment", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_moduleFacetDecl___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_moduleFacetDecl___closed__4; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__8; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__5; -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_Lake_DSL_moduleFacetDecl___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("attributes", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__8() { -_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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_moduleFacetDecl___closed__7; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_moduleFacetDecl___closed__8; -x_2 = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__8; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__9; -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_Lake_DSL_moduleFacetDecl___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__6; -x_3 = l_Lake_DSL_moduleFacetDecl___closed__10; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("module_facet ", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_moduleFacetDecl___closed__12; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_moduleFacetDecl___closed__13; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__14; -x_3 = l_Lake_DSL_buildDeclSig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_moduleFacetDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_moduleFacetDecl___closed__15; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_moduleFacetDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_moduleFacetDecl___closed__16; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___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_DSL_expandModuleFacetDecl___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("attrInstance", 12, 12); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___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_Lake_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -1378,19 +850,19 @@ x_1 = lean_mk_string_unchecked("attrKind", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__8() { _start: { lean_object* x_1; @@ -1398,17 +870,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -1417,7 +889,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__8() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__11() { _start: { lean_object* x_1; @@ -1425,7 +897,7 @@ x_1 = lean_mk_string_unchecked("Attr", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12() { _start: { lean_object* x_1; @@ -1433,19 +905,19 @@ x_1 = lean_mk_string_unchecked("simple", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__8; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__11; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__11() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -1453,16 +925,16 @@ x_1 = lean_mk_string_unchecked("«module_facet»", 16, 14); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__11; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16() { _start: { lean_object* x_1; @@ -1470,47 +942,21 @@ x_1 = lean_mk_string_unchecked("module_facet", 12, 12); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("moduleDataDecl", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("module_data", 11, 11); -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(":", 1, 1); +x_1 = lean_mk_string_unchecked("Lake", 4, 4); return x_1; } } @@ -1518,47 +964,41 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declaration", 11, 11); +x_1 = lean_mk_string_unchecked("moduleDataDecl", 14, 14); return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__19; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__19; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__21() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); +x_1 = lean_mk_string_unchecked("module_data", 11, 11); return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__21; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":", 1, 1); +return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("@[", 2, 2); +x_1 = lean_mk_string_unchecked("Command", 7, 7); return x_1; } } @@ -1566,23 +1006,27 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(",", 1, 1); +x_1 = lean_mk_string_unchecked("declaration", 11, 11); return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("]", 1, 1); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("abbrev", 6, 6); +x_1 = lean_mk_string_unchecked("declModifiers", 13, 13); return x_1; } } @@ -1590,9 +1034,9 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -1602,7 +1046,7 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("declId", 6, 6); +x_1 = lean_mk_string_unchecked("attributes", 10, 10); return x_1; } } @@ -1610,9 +1054,9 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__28; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -1621,43 +1065,32 @@ return x_5; static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_array_mk(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("@[", 2, 2); +return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; -x_4 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string_unchecked(",", 1, 1); +return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; -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; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10); +x_1 = lean_mk_string_unchecked("abbrev", 6, 6); return x_1; } } @@ -1665,9 +1098,9 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -1677,31 +1110,106 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(":=", 2, 2); +x_1 = lean_mk_string_unchecked("declId", 6, 6); return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36() { _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_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__38; +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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41() { +_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_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__40; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(":=", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("app", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__38() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45() { _start: { lean_object* x_1; @@ -1709,16 +1217,24 @@ x_1 = lean_mk_string_unchecked("Lake.DSL.mkModuleFacetDecl", 26, 26); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__38; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__40() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("DSL", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48() { _start: { lean_object* x_1; @@ -1726,42 +1242,42 @@ x_1 = lean_mk_string_unchecked("mkModuleFacetDecl", 17, 17); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__40; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49; 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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; 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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52() { _start: { lean_object* x_1; @@ -1769,19 +1285,19 @@ x_1 = lean_mk_string_unchecked("paren", 5, 5); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54() { _start: { lean_object* x_1; @@ -1789,7 +1305,7 @@ x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55() { _start: { lean_object* x_1; @@ -1797,19 +1313,19 @@ x_1 = lean_mk_string_unchecked("fun", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57() { _start: { lean_object* x_1; @@ -1817,19 +1333,19 @@ x_1 = lean_mk_string_unchecked("basicFun", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59() { _start: { lean_object* x_1; @@ -1837,7 +1353,7 @@ x_1 = lean_mk_string_unchecked("=>", 2, 2); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60() { _start: { lean_object* x_1; @@ -1845,16 +1361,16 @@ x_1 = lean_mk_string_unchecked(")", 1, 1); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62() { _start: { lean_object* x_1; @@ -1882,34 +1398,34 @@ lean_ctor_set(x_12, 5, x_18); x_19 = 0; x_20 = l_Lean_SourceInfo_fromRef(x_18, x_19); lean_dec(x_18); -x_21 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_21 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_20); x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_20); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_22); -x_24 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_24 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_23); lean_inc(x_20); x_25 = l_Lean_Syntax_node1(x_20, x_24, x_23); -x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14; +x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17; lean_inc(x_16); lean_inc(x_15); x_27 = l_Lean_addMacroScope(x_15, x_26, x_16); x_28 = lean_box(0); -x_29 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12; +x_29 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15; lean_inc(x_20); x_30 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_30, 0, x_20); lean_ctor_set(x_30, 1, x_29); lean_ctor_set(x_30, 2, x_27); lean_ctor_set(x_30, 3, x_28); -x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_23); lean_inc(x_20); x_32 = l_Lean_Syntax_node2(x_20, x_31, x_30, x_23); -x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_20); x_34 = l_Lean_Syntax_node2(x_20, x_33, x_25, x_32); x_35 = lean_alloc_ctor(1, 2, 0); @@ -1930,7 +1446,7 @@ lean_dec(x_12); if (x_42 == 0) { lean_object* x_131; lean_object* x_132; -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; x_132 = l_Lean_Name_str___override(x_40, x_131); x_44 = x_132; goto block_130; @@ -1944,7 +1460,7 @@ if (x_134 == 0) { lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; x_135 = lean_ctor_get(x_133, 0); -x_136 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; +x_136 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; x_137 = l_Lean_Name_str___override(x_135, x_136); lean_ctor_set(x_133, 0, x_137); x_138 = l_Lean_MacroScopesView_review(x_133); @@ -1963,7 +1479,7 @@ lean_inc(x_141); lean_inc(x_140); lean_inc(x_139); lean_dec(x_133); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; x_144 = l_Lean_Name_str___override(x_139, x_143); x_145 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_145, 0, x_144); @@ -1991,27 +1507,27 @@ if (lean_is_exclusive(x_43)) { x_47 = lean_box(0); } x_48 = l_Lean_mkIdentFrom(x_39, x_44, x_19); -x_49 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17; +x_49 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__21; lean_inc(x_20); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_20); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_20); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_20); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16; +x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; lean_inc(x_5); lean_inc(x_23); lean_inc(x_20); x_54 = l_Lean_Syntax_node5(x_20, x_53, x_23, x_50, x_39, x_52, x_5); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_20); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_20); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_58 = l_Lean_Syntax_SepArray_ofElems(x_57, x_38); lean_dec(x_38); x_59 = l_Array_append___rarg(x_22, x_58); @@ -2021,86 +1537,86 @@ x_60 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_60, 0, x_20); lean_ctor_set(x_60, 1, x_21); lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_20); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_20); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_20); x_64 = l_Lean_Syntax_node3(x_20, x_63, x_56, x_60, x_62); lean_inc(x_20); x_65 = l_Lean_Syntax_node1(x_20, x_21, x_64); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_20); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_20); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_48); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_mk(x_69); x_71 = lean_box(2); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_73 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); lean_ctor_set(x_73, 2, x_70); -x_74 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_74 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_23, 2); lean_inc(x_20); x_75 = l_Lean_Syntax_node2(x_20, x_74, x_23, x_23); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_20); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_20); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; +x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49; x_79 = l_Lean_addMacroScope(x_15, x_78, x_16); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; -x_81 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_81 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; lean_inc(x_20); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_20); lean_ctor_set(x_82, 1, x_80); lean_ctor_set(x_82, 2, x_79); lean_ctor_set(x_82, 3, x_81); -x_83 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_83 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_20); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_20); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_20); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_20); lean_ctor_set(x_86, 1, x_85); lean_inc(x_20); x_87 = l_Lean_Syntax_node1(x_20, x_21, x_45); -x_88 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_88 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_20); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_20); lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_90 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_23); lean_inc(x_20); x_91 = l_Lean_Syntax_node4(x_20, x_90, x_87, x_23, x_89, x_6); -x_92 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_92 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_20); x_93 = l_Lean_Syntax_node2(x_20, x_92, x_86, x_91); -x_94 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_94 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_20); x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_20); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_20); x_97 = l_Lean_Syntax_node3(x_20, x_96, x_84, x_93, x_95); lean_inc(x_20); x_98 = l_Lean_Syntax_node3(x_20, x_21, x_5, x_41, x_97); -x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_20); x_100 = l_Lean_Syntax_node2(x_20, x_99, x_82, x_98); lean_inc_n(x_23, 2); @@ -2131,14 +1647,14 @@ x_104 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_104, 0, x_20); lean_ctor_set(x_104, 1, x_21); lean_ctor_set(x_104, 2, x_103); -x_105 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_105 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_23, 3); lean_inc(x_20); x_106 = l_Lean_Syntax_node6(x_20, x_105, x_104, x_65, x_23, x_23, x_23, x_23); if (lean_obj_tag(x_11) == 0) { lean_object* x_107; 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; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_20); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_20); @@ -2146,10 +1662,10 @@ lean_ctor_set(x_108, 1, x_21); lean_ctor_set(x_108, 2, x_107); lean_inc(x_20); x_109 = l_Lean_Syntax_node4(x_20, x_8, x_77, x_100, x_101, x_108); -x_110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_20); x_111 = l_Lean_Syntax_node4(x_20, x_110, x_67, x_73, x_75, x_109); -x_112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_20); x_113 = l_Lean_Syntax_node2(x_20, x_112, x_106, x_111); x_114 = l_Lean_Syntax_node2(x_20, x_21, x_54, x_113); @@ -2178,10 +1694,10 @@ lean_ctor_set(x_119, 1, x_21); lean_ctor_set(x_119, 2, x_118); lean_inc(x_20); x_120 = l_Lean_Syntax_node4(x_20, x_8, x_77, x_100, x_101, x_119); -x_121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_20); x_122 = l_Lean_Syntax_node4(x_20, x_121, x_67, x_73, x_75, x_120); -x_123 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_123 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_20); x_124 = l_Lean_Syntax_node2(x_20, x_123, x_106, x_122); x_125 = l_Lean_Syntax_node2(x_20, x_21, x_54, x_124); @@ -2228,34 +1744,34 @@ lean_ctor_set(x_154, 5, x_153); x_155 = 0; x_156 = l_Lean_SourceInfo_fromRef(x_153, x_155); lean_dec(x_153); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_158 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_158 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_156); x_159 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_159, 0, x_156); lean_ctor_set(x_159, 1, x_157); lean_ctor_set(x_159, 2, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_159); lean_inc(x_156); x_161 = l_Lean_Syntax_node1(x_156, x_160, x_159); -x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__14; +x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17; lean_inc(x_149); lean_inc(x_148); x_163 = l_Lean_addMacroScope(x_148, x_162, x_149); x_164 = lean_box(0); -x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__12; +x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__15; lean_inc(x_156); x_166 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_166, 0, x_156); lean_ctor_set(x_166, 1, x_165); lean_ctor_set(x_166, 2, x_163); lean_ctor_set(x_166, 3, x_164); -x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_159); lean_inc(x_156); x_168 = l_Lean_Syntax_node2(x_156, x_167, x_166, x_159); -x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_156); x_170 = l_Lean_Syntax_node2(x_156, x_169, x_161, x_168); x_171 = lean_alloc_ctor(1, 2, 0); @@ -2276,7 +1792,7 @@ lean_dec(x_154); if (x_178 == 0) { lean_object* x_267; lean_object* x_268; -x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; +x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; x_268 = l_Lean_Name_str___override(x_176, x_267); x_180 = x_268; goto block_266; @@ -2303,7 +1819,7 @@ if (lean_is_exclusive(x_269)) { lean_dec_ref(x_269); x_274 = lean_box(0); } -x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; +x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62; x_276 = l_Lean_Name_str___override(x_270, x_275); if (lean_is_scalar(x_274)) { x_277 = lean_alloc_ctor(0, 4, 0); @@ -2334,27 +1850,27 @@ if (lean_is_exclusive(x_179)) { x_183 = lean_box(0); } x_184 = l_Lean_mkIdentFrom(x_175, x_180, x_155); -x_185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__17; +x_185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__21; lean_inc(x_156); x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_156); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_156); x_188 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_188, 0, x_156); lean_ctor_set(x_188, 1, x_187); -x_189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__16; +x_189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; lean_inc(x_5); lean_inc(x_159); lean_inc(x_156); x_190 = l_Lean_Syntax_node5(x_156, x_189, x_159, x_186, x_175, x_188, x_5); -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_156); x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_156); lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_194 = l_Lean_Syntax_SepArray_ofElems(x_193, x_174); lean_dec(x_174); x_195 = l_Array_append___rarg(x_158, x_194); @@ -2364,86 +1880,86 @@ x_196 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_196, 0, x_156); lean_ctor_set(x_196, 1, x_157); lean_ctor_set(x_196, 2, x_195); -x_197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_156); x_198 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_198, 0, x_156); lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_199 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_156); x_200 = l_Lean_Syntax_node3(x_156, x_199, x_192, x_196, x_198); lean_inc(x_156); x_201 = l_Lean_Syntax_node1(x_156, x_157, x_200); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_156); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_156); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_184); lean_ctor_set(x_205, 1, x_204); x_206 = lean_array_mk(x_205); x_207 = lean_box(2); -x_208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_209 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_209, 0, x_207); lean_ctor_set(x_209, 1, x_208); lean_ctor_set(x_209, 2, x_206); -x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_159, 2); lean_inc(x_156); x_211 = l_Lean_Syntax_node2(x_156, x_210, x_159, x_159); -x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_156); x_213 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_213, 0, x_156); lean_ctor_set(x_213, 1, x_212); -x_214 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; +x_214 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__49; x_215 = l_Lean_addMacroScope(x_148, x_214, x_149); -x_216 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; -x_217 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__43; +x_216 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_217 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; lean_inc(x_156); x_218 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_218, 0, x_156); lean_ctor_set(x_218, 1, x_216); lean_ctor_set(x_218, 2, x_215); lean_ctor_set(x_218, 3, x_217); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_156); x_220 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_220, 0, x_156); lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_221 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_156); x_222 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_222, 0, x_156); lean_ctor_set(x_222, 1, x_221); lean_inc(x_156); x_223 = l_Lean_Syntax_node1(x_156, x_157, x_181); -x_224 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_224 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_156); x_225 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_225, 0, x_156); lean_ctor_set(x_225, 1, x_224); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_159); lean_inc(x_156); x_227 = l_Lean_Syntax_node4(x_156, x_226, x_223, x_159, x_225, x_6); -x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_156); x_229 = l_Lean_Syntax_node2(x_156, x_228, x_222, x_227); -x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_156); x_231 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_231, 0, x_156); lean_ctor_set(x_231, 1, x_230); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_156); x_233 = l_Lean_Syntax_node3(x_156, x_232, x_220, x_229, x_231); lean_inc(x_156); x_234 = l_Lean_Syntax_node3(x_156, x_157, x_5, x_177, x_233); -x_235 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_235 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_156); x_236 = l_Lean_Syntax_node2(x_156, x_235, x_218, x_234); lean_inc_n(x_159, 2); @@ -2474,14 +1990,14 @@ x_240 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_240, 0, x_156); lean_ctor_set(x_240, 1, x_157); lean_ctor_set(x_240, 2, x_239); -x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_159, 3); lean_inc(x_156); x_242 = l_Lean_Syntax_node6(x_156, x_241, x_240, x_201, x_159, x_159, x_159, x_159); if (lean_obj_tag(x_11) == 0) { lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_156); x_244 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_244, 0, x_156); @@ -2489,10 +2005,10 @@ lean_ctor_set(x_244, 1, x_157); lean_ctor_set(x_244, 2, x_243); lean_inc(x_156); x_245 = l_Lean_Syntax_node4(x_156, x_8, x_213, x_236, x_237, x_244); -x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_156); x_247 = l_Lean_Syntax_node4(x_156, x_246, x_203, x_209, x_211, x_245); -x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_156); x_249 = l_Lean_Syntax_node2(x_156, x_248, x_242, x_247); x_250 = l_Lean_Syntax_node2(x_156, x_157, x_190, x_249); @@ -2521,10 +2037,10 @@ lean_ctor_set(x_255, 1, x_157); lean_ctor_set(x_255, 2, x_254); lean_inc(x_156); x_256 = l_Lean_Syntax_node4(x_156, x_8, x_213, x_236, x_237, x_255); -x_257 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_257 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_156); x_258 = l_Lean_Syntax_node4(x_156, x_257, x_203, x_209, x_211, x_256); -x_259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_156); x_260 = l_Lean_Syntax_node2(x_156, x_259, x_242, x_258); x_261 = l_Lean_Syntax_node2(x_156, x_157, x_190, x_260); @@ -2546,19 +2062,59 @@ static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed module facet declaration", 35, 35); +x_1 = lean_mk_string_unchecked("typeSpec", 8, 8); return x_1; } } static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___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_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed module facet declaration", 35, 35); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("declValSimple", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___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_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("Termination", 11, 11); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -2566,19 +2122,19 @@ x_1 = lean_mk_string_unchecked("suffix", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8() { _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9() { _start: { lean_object* x_1; @@ -2586,14 +2142,14 @@ x_1 = lean_mk_string_unchecked("whereDecls", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6() { +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___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_Lake_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; -x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; +x_4 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } @@ -2604,7 +2160,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_buildDeclSig___closed__19; +x_12 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -2615,7 +2171,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_14 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_14 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_15 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_14, x_8, x_9); return x_15; } @@ -2627,7 +2183,7 @@ x_17 = l_Lean_Syntax_getArg(x_11, x_16); lean_dec(x_11); x_18 = lean_unsigned_to_nat(3u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lake_DSL_buildDeclSig___closed__24; +x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_19); x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); if (x_21 == 0) @@ -2639,7 +2195,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_23 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_22, x_8, x_9); return x_23; } @@ -2648,7 +2204,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = l_Lean_Syntax_getArg(x_19, x_16); x_25 = l_Lean_Syntax_getArg(x_19, x_10); -x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc(x_25); x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); if (x_27 == 0) @@ -2662,7 +2218,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_28 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_28 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_29 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_28, x_8, x_9); return x_29; } @@ -2683,7 +2239,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_34 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_33, x_8, x_9); return x_34; } @@ -2703,7 +2259,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_37 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_37 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_38 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_37, x_8, x_9); return x_38; } @@ -2728,7 +2284,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_42 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_42 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_43 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_42, x_8, x_9); return x_43; } @@ -2737,7 +2293,7 @@ else lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = l_Lean_Syntax_getArg(x_39, x_30); lean_dec(x_39); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -2750,7 +2306,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_47 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_47 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_48 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_47, x_8, x_9); return x_48; } @@ -2781,17 +2337,55 @@ return x_54; } } } +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("moduleFacetDecl", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandModuleFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("buildDeclSig", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandModuleFacetDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandModuleFacetDecl___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandModuleFacetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_moduleFacetDecl___closed__2; +x_4 = l_Lake_DSL_expandModuleFacetDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_6 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -2812,7 +2406,7 @@ x_16 = l_Lean_Syntax_getOptional_x3f(x_11); lean_dec(x_11); x_17 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_18 = l_Lake_DSL_buildDeclSig___closed__4; +x_18 = l_Lake_DSL_expandModuleFacetDecl___closed__4; lean_inc(x_15); x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (lean_obj_tag(x_16) == 0) @@ -2882,7 +2476,7 @@ lean_object* x_22; lean_object* x_23; lean_dec(x_21); lean_dec(x_20); lean_dec(x_13); -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_23 = l_Lean_Macro_throwErrorAt___rarg(x_15, x_22, x_2, x_3); lean_dec(x_15); return x_23; @@ -2906,7 +2500,7 @@ lean_dec(x_24); lean_dec(x_21); lean_dec(x_20); lean_dec(x_13); -x_28 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1; +x_28 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__3; x_29 = l_Lean_Macro_throwErrorAt___rarg(x_15, x_28, x_2, x_3); lean_dec(x_15); return x_29; @@ -2975,8 +2569,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -3003,7 +2597,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; -x_3 = l_Lake_DSL_moduleFacetDecl___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -3336,93 +2930,6 @@ x_2 = lean_alloc_closure((void*)(l_Lake_DSL_mkPackageFacetDecl___rarg), 5, 0); return x_2; } } -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("packageFacetDecl", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_packageFacetDecl___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("package_facet ", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_packageFacetDecl___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_packageFacetDecl___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_packageFacetDecl___closed__5; -x_3 = l_Lake_DSL_buildDeclSig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_packageFacetDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_packageFacetDecl___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_packageFacetDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_packageFacetDecl___closed__7; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1() { _start: { @@ -3470,7 +2977,7 @@ static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -3513,8 +3020,8 @@ static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__10; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -3572,14 +3079,14 @@ lean_ctor_set(x_12, 5, x_18); x_19 = 0; x_20 = l_Lean_SourceInfo_fromRef(x_18, x_19); lean_dec(x_18); -x_21 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_21 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_20); x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_20); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_22); -x_24 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_24 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_23); lean_inc(x_20); x_25 = l_Lean_Syntax_node1(x_20, x_24, x_23); @@ -3595,11 +3102,11 @@ lean_ctor_set(x_30, 0, x_20); lean_ctor_set(x_30, 1, x_29); lean_ctor_set(x_30, 2, x_27); lean_ctor_set(x_30, 3, x_28); -x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_23); lean_inc(x_20); x_32 = l_Lean_Syntax_node2(x_20, x_31, x_30, x_23); -x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_33 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_20); x_34 = l_Lean_Syntax_node2(x_20, x_33, x_25, x_32); x_35 = lean_alloc_ctor(1, 2, 0); @@ -3686,7 +3193,7 @@ lean_inc(x_20); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_20); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_20); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_20); @@ -3696,12 +3203,12 @@ lean_inc(x_5); lean_inc(x_23); lean_inc(x_20); x_54 = l_Lean_Syntax_node5(x_20, x_53, x_23, x_50, x_39, x_52, x_5); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_20); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_20); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_58 = l_Lean_Syntax_SepArray_ofElems(x_57, x_38); lean_dec(x_38); x_59 = l_Array_append___rarg(x_22, x_58); @@ -3711,37 +3218,37 @@ x_60 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_60, 0, x_20); lean_ctor_set(x_60, 1, x_21); lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_20); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_20); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_20); x_64 = l_Lean_Syntax_node3(x_20, x_63, x_56, x_60, x_62); lean_inc(x_20); x_65 = l_Lean_Syntax_node1(x_20, x_21, x_64); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_20); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_20); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_48); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_mk(x_69); x_71 = lean_box(2); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_73 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); lean_ctor_set(x_73, 2, x_70); -x_74 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_74 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_23, 2); lean_inc(x_20); x_75 = l_Lean_Syntax_node2(x_20, x_74, x_23, x_23); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_20); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_20); @@ -3756,41 +3263,41 @@ lean_ctor_set(x_82, 0, x_20); lean_ctor_set(x_82, 1, x_80); lean_ctor_set(x_82, 2, x_79); lean_ctor_set(x_82, 3, x_81); -x_83 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_83 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_20); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_20); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_20); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_20); lean_ctor_set(x_86, 1, x_85); lean_inc(x_20); x_87 = l_Lean_Syntax_node1(x_20, x_21, x_45); -x_88 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_88 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_20); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_20); lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_90 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_23); lean_inc(x_20); x_91 = l_Lean_Syntax_node4(x_20, x_90, x_87, x_23, x_89, x_6); -x_92 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_92 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_20); x_93 = l_Lean_Syntax_node2(x_20, x_92, x_86, x_91); -x_94 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_94 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_20); x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_20); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_20); x_97 = l_Lean_Syntax_node3(x_20, x_96, x_84, x_93, x_95); lean_inc(x_20); x_98 = l_Lean_Syntax_node3(x_20, x_21, x_5, x_41, x_97); -x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_20); x_100 = l_Lean_Syntax_node2(x_20, x_99, x_82, x_98); lean_inc_n(x_23, 2); @@ -3821,14 +3328,14 @@ x_104 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_104, 0, x_20); lean_ctor_set(x_104, 1, x_21); lean_ctor_set(x_104, 2, x_103); -x_105 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_105 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_23, 3); lean_inc(x_20); x_106 = l_Lean_Syntax_node6(x_20, x_105, x_104, x_65, x_23, x_23, x_23, x_23); if (lean_obj_tag(x_11) == 0) { lean_object* x_107; 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; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_20); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_20); @@ -3836,10 +3343,10 @@ lean_ctor_set(x_108, 1, x_21); lean_ctor_set(x_108, 2, x_107); lean_inc(x_20); x_109 = l_Lean_Syntax_node4(x_20, x_8, x_77, x_100, x_101, x_108); -x_110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_20); x_111 = l_Lean_Syntax_node4(x_20, x_110, x_67, x_73, x_75, x_109); -x_112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_20); x_113 = l_Lean_Syntax_node2(x_20, x_112, x_106, x_111); x_114 = l_Lean_Syntax_node2(x_20, x_21, x_54, x_113); @@ -3868,10 +3375,10 @@ lean_ctor_set(x_119, 1, x_21); lean_ctor_set(x_119, 2, x_118); lean_inc(x_20); x_120 = l_Lean_Syntax_node4(x_20, x_8, x_77, x_100, x_101, x_119); -x_121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_20); x_122 = l_Lean_Syntax_node4(x_20, x_121, x_67, x_73, x_75, x_120); -x_123 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_123 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_20); x_124 = l_Lean_Syntax_node2(x_20, x_123, x_106, x_122); x_125 = l_Lean_Syntax_node2(x_20, x_21, x_54, x_124); @@ -3918,14 +3425,14 @@ lean_ctor_set(x_154, 5, x_153); x_155 = 0; x_156 = l_Lean_SourceInfo_fromRef(x_153, x_155); lean_dec(x_153); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_158 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_158 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_156); x_159 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_159, 0, x_156); lean_ctor_set(x_159, 1, x_157); lean_ctor_set(x_159, 2, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_159); lean_inc(x_156); x_161 = l_Lean_Syntax_node1(x_156, x_160, x_159); @@ -3941,11 +3448,11 @@ lean_ctor_set(x_166, 0, x_156); lean_ctor_set(x_166, 1, x_165); lean_ctor_set(x_166, 2, x_163); lean_ctor_set(x_166, 3, x_164); -x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_159); lean_inc(x_156); x_168 = l_Lean_Syntax_node2(x_156, x_167, x_166, x_159); -x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_156); x_170 = l_Lean_Syntax_node2(x_156, x_169, x_161, x_168); x_171 = lean_alloc_ctor(1, 2, 0); @@ -4029,7 +3536,7 @@ lean_inc(x_156); x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_156); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_156); x_188 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_188, 0, x_156); @@ -4039,12 +3546,12 @@ lean_inc(x_5); lean_inc(x_159); lean_inc(x_156); x_190 = l_Lean_Syntax_node5(x_156, x_189, x_159, x_186, x_175, x_188, x_5); -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_156); x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_156); lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_194 = l_Lean_Syntax_SepArray_ofElems(x_193, x_174); lean_dec(x_174); x_195 = l_Array_append___rarg(x_158, x_194); @@ -4054,37 +3561,37 @@ x_196 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_196, 0, x_156); lean_ctor_set(x_196, 1, x_157); lean_ctor_set(x_196, 2, x_195); -x_197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_156); x_198 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_198, 0, x_156); lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_199 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_156); x_200 = l_Lean_Syntax_node3(x_156, x_199, x_192, x_196, x_198); lean_inc(x_156); x_201 = l_Lean_Syntax_node1(x_156, x_157, x_200); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_156); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_156); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_184); lean_ctor_set(x_205, 1, x_204); x_206 = lean_array_mk(x_205); x_207 = lean_box(2); -x_208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_209 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_209, 0, x_207); lean_ctor_set(x_209, 1, x_208); lean_ctor_set(x_209, 2, x_206); -x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_159, 2); lean_inc(x_156); x_211 = l_Lean_Syntax_node2(x_156, x_210, x_159, x_159); -x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_156); x_213 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_213, 0, x_156); @@ -4099,41 +3606,41 @@ lean_ctor_set(x_218, 0, x_156); lean_ctor_set(x_218, 1, x_216); lean_ctor_set(x_218, 2, x_215); lean_ctor_set(x_218, 3, x_217); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_156); x_220 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_220, 0, x_156); lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_221 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_156); x_222 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_222, 0, x_156); lean_ctor_set(x_222, 1, x_221); lean_inc(x_156); x_223 = l_Lean_Syntax_node1(x_156, x_157, x_181); -x_224 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_224 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_156); x_225 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_225, 0, x_156); lean_ctor_set(x_225, 1, x_224); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_159); lean_inc(x_156); x_227 = l_Lean_Syntax_node4(x_156, x_226, x_223, x_159, x_225, x_6); -x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_156); x_229 = l_Lean_Syntax_node2(x_156, x_228, x_222, x_227); -x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_156); x_231 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_231, 0, x_156); lean_ctor_set(x_231, 1, x_230); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_156); x_233 = l_Lean_Syntax_node3(x_156, x_232, x_220, x_229, x_231); lean_inc(x_156); x_234 = l_Lean_Syntax_node3(x_156, x_157, x_5, x_177, x_233); -x_235 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_235 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_156); x_236 = l_Lean_Syntax_node2(x_156, x_235, x_218, x_234); lean_inc_n(x_159, 2); @@ -4164,14 +3671,14 @@ x_240 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_240, 0, x_156); lean_ctor_set(x_240, 1, x_157); lean_ctor_set(x_240, 2, x_239); -x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_159, 3); lean_inc(x_156); x_242 = l_Lean_Syntax_node6(x_156, x_241, x_240, x_201, x_159, x_159, x_159, x_159); if (lean_obj_tag(x_11) == 0) { lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_156); x_244 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_244, 0, x_156); @@ -4179,10 +3686,10 @@ lean_ctor_set(x_244, 1, x_157); lean_ctor_set(x_244, 2, x_243); lean_inc(x_156); x_245 = l_Lean_Syntax_node4(x_156, x_8, x_213, x_236, x_237, x_244); -x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_156); x_247 = l_Lean_Syntax_node4(x_156, x_246, x_203, x_209, x_211, x_245); -x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_156); x_249 = l_Lean_Syntax_node2(x_156, x_248, x_242, x_247); x_250 = l_Lean_Syntax_node2(x_156, x_157, x_190, x_249); @@ -4211,10 +3718,10 @@ lean_ctor_set(x_255, 1, x_157); lean_ctor_set(x_255, 2, x_254); lean_inc(x_156); x_256 = l_Lean_Syntax_node4(x_156, x_8, x_213, x_236, x_237, x_255); -x_257 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_257 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_156); x_258 = l_Lean_Syntax_node4(x_156, x_257, x_203, x_209, x_211, x_256); -x_259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_156); x_260 = l_Lean_Syntax_node2(x_156, x_259, x_242, x_258); x_261 = l_Lean_Syntax_node2(x_156, x_157, x_190, x_260); @@ -4246,7 +3753,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_buildDeclSig___closed__19; +x_12 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -4269,7 +3776,7 @@ x_17 = l_Lean_Syntax_getArg(x_11, x_16); lean_dec(x_11); x_18 = lean_unsigned_to_nat(3u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lake_DSL_buildDeclSig___closed__24; +x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_19); x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); if (x_21 == 0) @@ -4290,7 +3797,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = l_Lean_Syntax_getArg(x_19, x_16); x_25 = l_Lean_Syntax_getArg(x_19, x_10); -x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc(x_25); x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); if (x_27 == 0) @@ -4379,7 +3886,7 @@ else lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = l_Lean_Syntax_getArg(x_39, x_30); lean_dec(x_39); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -4427,6 +3934,25 @@ static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___closed__1() { _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("packageFacetDecl", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandPackageFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandPackageFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("ill-formed package facet declaration", 36, 36); return x_1; } @@ -4435,13 +3961,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandPackageFacetDecl(lean_object* x_1, lea _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_packageFacetDecl___closed__2; +x_4 = l_Lake_DSL_expandPackageFacetDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandPackageFacetDecl___closed__1; +x_6 = l_Lake_DSL_expandPackageFacetDecl___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -4462,7 +3988,7 @@ x_16 = l_Lean_Syntax_getOptional_x3f(x_11); lean_dec(x_11); x_17 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_18 = l_Lake_DSL_buildDeclSig___closed__4; +x_18 = l_Lake_DSL_expandModuleFacetDecl___closed__4; lean_inc(x_15); x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (lean_obj_tag(x_16) == 0) @@ -4625,8 +4151,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -4645,7 +4171,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; -x_3 = l_Lake_DSL_packageFacetDecl___closed__2; +x_3 = l_Lake_DSL_expandPackageFacetDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -5002,93 +4528,6 @@ x_2 = lean_alloc_closure((void*)(l_Lake_DSL_mkLibraryFacetDecl___rarg), 5, 0); return x_2; } } -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("libraryFacetDecl", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_libraryFacetDecl___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("library_facet ", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_libraryFacetDecl___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_libraryFacetDecl___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_libraryFacetDecl___closed__5; -x_3 = l_Lake_DSL_buildDeclSig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_libraryFacetDecl___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_libraryFacetDecl___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_libraryFacetDecl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_libraryFacetDecl___closed__7; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__1() { _start: { @@ -5136,7 +4575,7 @@ static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -5181,7 +4620,7 @@ static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__8; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -5240,8 +4679,8 @@ static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__16; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -5299,14 +4738,14 @@ lean_ctor_set(x_13, 5, x_19); x_20 = 0; x_21 = l_Lean_SourceInfo_fromRef(x_19, x_20); lean_dec(x_19); -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_23 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_23 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_21); x_24 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_24, 0, x_21); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_23); -x_25 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_25 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_24); lean_inc(x_21); x_26 = l_Lean_Syntax_node1(x_21, x_25, x_24); @@ -5322,11 +4761,11 @@ lean_ctor_set(x_31, 0, x_21); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_28); lean_ctor_set(x_31, 3, x_29); -x_32 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_32 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_24); lean_inc(x_21); x_33 = l_Lean_Syntax_node2(x_21, x_32, x_31, x_24); -x_34 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_34 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_21); x_35 = l_Lean_Syntax_node2(x_21, x_34, x_26, x_33); x_36 = lean_alloc_ctor(1, 2, 0); @@ -5413,7 +4852,7 @@ lean_inc(x_21); x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_21); lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_52 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_21); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_21); @@ -5424,12 +4863,12 @@ lean_inc(x_53); lean_inc(x_24); lean_inc(x_21); x_55 = l_Lean_Syntax_node5(x_21, x_54, x_24, x_51, x_40, x_53, x_5); -x_56 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_56 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_21); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_21); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_59 = l_Lean_Syntax_SepArray_ofElems(x_58, x_39); lean_dec(x_39); x_60 = l_Array_append___rarg(x_23, x_59); @@ -5439,28 +4878,28 @@ x_61 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_61, 0, x_21); lean_ctor_set(x_61, 1, x_22); lean_ctor_set(x_61, 2, x_60); -x_62 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_62 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_21); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_21); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_21); x_65 = l_Lean_Syntax_node3(x_21, x_64, x_57, x_61, x_63); lean_inc(x_21); x_66 = l_Lean_Syntax_node1(x_21, x_22, x_65); -x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_21); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_21); lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_49); lean_ctor_set(x_70, 1, x_69); x_71 = lean_array_mk(x_70); x_72 = lean_box(2); -x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_74 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); @@ -5481,11 +4920,11 @@ lean_inc(x_21); x_80 = l_Lean_Syntax_node2(x_21, x_6, x_53, x_79); lean_inc(x_21); x_81 = l_Lean_Syntax_node1(x_21, x_22, x_80); -x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_24); lean_inc(x_21); x_83 = l_Lean_Syntax_node2(x_21, x_82, x_24, x_81); -x_84 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_84 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_21); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_21); @@ -5500,41 +4939,41 @@ lean_ctor_set(x_90, 0, x_21); lean_ctor_set(x_90, 1, x_88); lean_ctor_set(x_90, 2, x_87); lean_ctor_set(x_90, 3, x_89); -x_91 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_91 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_21); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_21); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_93 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_21); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_21); lean_ctor_set(x_94, 1, x_93); lean_inc(x_21); x_95 = l_Lean_Syntax_node1(x_21, x_22, x_46); -x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_96 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_21); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_21); lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_24); lean_inc(x_21); x_99 = l_Lean_Syntax_node4(x_21, x_98, x_95, x_24, x_97, x_7); -x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_21); x_101 = l_Lean_Syntax_node2(x_21, x_100, x_94, x_99); -x_102 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_102 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_21); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_21); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_21); x_105 = l_Lean_Syntax_node3(x_21, x_104, x_92, x_101, x_103); lean_inc(x_21); x_106 = l_Lean_Syntax_node3(x_21, x_22, x_5, x_42, x_105); -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_21); x_108 = l_Lean_Syntax_node2(x_21, x_107, x_90, x_106); lean_inc_n(x_24, 2); @@ -5565,14 +5004,14 @@ x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_21); lean_ctor_set(x_112, 1, x_22); lean_ctor_set(x_112, 2, x_111); -x_113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_24, 3); lean_inc(x_21); x_114 = l_Lean_Syntax_node6(x_21, x_113, x_112, x_66, x_24, x_24, x_24, x_24); if (lean_obj_tag(x_12) == 0) { 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; -x_115 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_115 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_21); x_116 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_116, 0, x_21); @@ -5580,10 +5019,10 @@ lean_ctor_set(x_116, 1, x_22); lean_ctor_set(x_116, 2, x_115); lean_inc(x_21); x_117 = l_Lean_Syntax_node4(x_21, x_9, x_85, x_108, x_109, x_116); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_21); x_119 = l_Lean_Syntax_node4(x_21, x_118, x_68, x_74, x_83, x_117); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_21); x_121 = l_Lean_Syntax_node2(x_21, x_120, x_114, x_119); x_122 = l_Lean_Syntax_node2(x_21, x_22, x_55, x_121); @@ -5612,10 +5051,10 @@ lean_ctor_set(x_127, 1, x_22); lean_ctor_set(x_127, 2, x_126); lean_inc(x_21); x_128 = l_Lean_Syntax_node4(x_21, x_9, x_85, x_108, x_109, x_127); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_21); x_130 = l_Lean_Syntax_node4(x_21, x_129, x_68, x_74, x_83, x_128); -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_21); x_132 = l_Lean_Syntax_node2(x_21, x_131, x_114, x_130); x_133 = l_Lean_Syntax_node2(x_21, x_22, x_55, x_132); @@ -5662,14 +5101,14 @@ lean_ctor_set(x_162, 5, x_161); x_163 = 0; x_164 = l_Lean_SourceInfo_fromRef(x_161, x_163); lean_dec(x_161); -x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_164); x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_164); lean_ctor_set(x_167, 1, x_165); lean_ctor_set(x_167, 2, x_166); -x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_167); lean_inc(x_164); x_169 = l_Lean_Syntax_node1(x_164, x_168, x_167); @@ -5685,11 +5124,11 @@ lean_ctor_set(x_174, 0, x_164); lean_ctor_set(x_174, 1, x_173); lean_ctor_set(x_174, 2, x_171); lean_ctor_set(x_174, 3, x_172); -x_175 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_175 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_167); lean_inc(x_164); x_176 = l_Lean_Syntax_node2(x_164, x_175, x_174, x_167); -x_177 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_177 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_164); x_178 = l_Lean_Syntax_node2(x_164, x_177, x_169, x_176); x_179 = lean_alloc_ctor(1, 2, 0); @@ -5773,7 +5212,7 @@ lean_inc(x_164); x_194 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_194, 0, x_164); lean_ctor_set(x_194, 1, x_193); -x_195 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_195 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_164); x_196 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_196, 0, x_164); @@ -5784,12 +5223,12 @@ lean_inc(x_196); lean_inc(x_167); lean_inc(x_164); x_198 = l_Lean_Syntax_node5(x_164, x_197, x_167, x_194, x_183, x_196, x_5); -x_199 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_199 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_164); x_200 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_200, 0, x_164); lean_ctor_set(x_200, 1, x_199); -x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; x_202 = l_Lean_Syntax_SepArray_ofElems(x_201, x_182); lean_dec(x_182); x_203 = l_Array_append___rarg(x_166, x_202); @@ -5799,28 +5238,28 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_164); lean_ctor_set(x_204, 1, x_165); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_205 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_164); x_206 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_206, 0, x_164); lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_164); x_208 = l_Lean_Syntax_node3(x_164, x_207, x_200, x_204, x_206); lean_inc(x_164); x_209 = l_Lean_Syntax_node1(x_164, x_165, x_208); -x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_210 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_164); x_211 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_211, 0, x_164); lean_ctor_set(x_211, 1, x_210); -x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_192); lean_ctor_set(x_213, 1, x_212); x_214 = lean_array_mk(x_213); x_215 = lean_box(2); -x_216 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_216 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_217 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_217, 0, x_215); lean_ctor_set(x_217, 1, x_216); @@ -5841,11 +5280,11 @@ lean_inc(x_164); x_223 = l_Lean_Syntax_node2(x_164, x_6, x_196, x_222); lean_inc(x_164); x_224 = l_Lean_Syntax_node1(x_164, x_165, x_223); -x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_167); lean_inc(x_164); x_226 = l_Lean_Syntax_node2(x_164, x_225, x_167, x_224); -x_227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_164); x_228 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_228, 0, x_164); @@ -5860,41 +5299,41 @@ lean_ctor_set(x_233, 0, x_164); lean_ctor_set(x_233, 1, x_231); lean_ctor_set(x_233, 2, x_230); lean_ctor_set(x_233, 3, x_232); -x_234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_164); x_235 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_235, 0, x_164); lean_ctor_set(x_235, 1, x_234); -x_236 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_236 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_164); x_237 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_237, 0, x_164); lean_ctor_set(x_237, 1, x_236); lean_inc(x_164); x_238 = l_Lean_Syntax_node1(x_164, x_165, x_189); -x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_164); x_240 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_240, 0, x_164); lean_ctor_set(x_240, 1, x_239); -x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_167); lean_inc(x_164); x_242 = l_Lean_Syntax_node4(x_164, x_241, x_238, x_167, x_240, x_7); -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_164); x_244 = l_Lean_Syntax_node2(x_164, x_243, x_237, x_242); -x_245 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_245 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_164); x_246 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_246, 0, x_164); lean_ctor_set(x_246, 1, x_245); -x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_164); x_248 = l_Lean_Syntax_node3(x_164, x_247, x_235, x_244, x_246); lean_inc(x_164); x_249 = l_Lean_Syntax_node3(x_164, x_165, x_5, x_185, x_248); -x_250 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_250 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_164); x_251 = l_Lean_Syntax_node2(x_164, x_250, x_233, x_249); lean_inc_n(x_167, 2); @@ -5925,14 +5364,14 @@ x_255 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_255, 0, x_164); lean_ctor_set(x_255, 1, x_165); lean_ctor_set(x_255, 2, x_254); -x_256 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_256 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_167, 3); lean_inc(x_164); x_257 = l_Lean_Syntax_node6(x_164, x_256, x_255, x_209, x_167, x_167, x_167, x_167); if (lean_obj_tag(x_12) == 0) { lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_164); x_259 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_259, 0, x_164); @@ -5940,10 +5379,10 @@ lean_ctor_set(x_259, 1, x_165); lean_ctor_set(x_259, 2, x_258); lean_inc(x_164); x_260 = l_Lean_Syntax_node4(x_164, x_9, x_228, x_251, x_252, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_164); x_262 = l_Lean_Syntax_node4(x_164, x_261, x_211, x_217, x_226, x_260); -x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_164); x_264 = l_Lean_Syntax_node2(x_164, x_263, x_257, x_262); x_265 = l_Lean_Syntax_node2(x_164, x_165, x_198, x_264); @@ -5972,10 +5411,10 @@ lean_ctor_set(x_270, 1, x_165); lean_ctor_set(x_270, 2, x_269); lean_inc(x_164); x_271 = l_Lean_Syntax_node4(x_164, x_9, x_228, x_251, x_252, x_270); -x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_164); x_273 = l_Lean_Syntax_node4(x_164, x_272, x_211, x_217, x_226, x_271); -x_274 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_274 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_164); x_275 = l_Lean_Syntax_node2(x_164, x_274, x_257, x_273); x_276 = l_Lean_Syntax_node2(x_164, x_165, x_198, x_275); @@ -6007,7 +5446,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_buildDeclSig___closed__19; +x_12 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -6030,7 +5469,7 @@ x_17 = l_Lean_Syntax_getArg(x_11, x_16); lean_dec(x_11); x_18 = lean_unsigned_to_nat(3u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lake_DSL_buildDeclSig___closed__24; +x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_19); x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); if (x_21 == 0) @@ -6051,7 +5490,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = l_Lean_Syntax_getArg(x_19, x_16); x_25 = l_Lean_Syntax_getArg(x_19, x_10); -x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc(x_25); x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); if (x_27 == 0) @@ -6140,7 +5579,7 @@ else lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = l_Lean_Syntax_getArg(x_39, x_30); lean_dec(x_39); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -6188,6 +5627,25 @@ static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___closed__1() { _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("libraryFacetDecl", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandLibraryFacetDecl___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandLibraryFacetDecl___closed__3() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("ill-formed library facet declaration", 36, 36); return x_1; } @@ -6196,13 +5654,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandLibraryFacetDecl(lean_object* x_1, lea _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_libraryFacetDecl___closed__2; +x_4 = l_Lake_DSL_expandLibraryFacetDecl___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandLibraryFacetDecl___closed__1; +x_6 = l_Lake_DSL_expandLibraryFacetDecl___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -6223,7 +5681,7 @@ x_16 = l_Lean_Syntax_getOptional_x3f(x_11); lean_dec(x_11); x_17 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_18 = l_Lake_DSL_buildDeclSig___closed__4; +x_18 = l_Lake_DSL_expandModuleFacetDecl___closed__4; lean_inc(x_15); x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (lean_obj_tag(x_16) == 0) @@ -6386,8 +5844,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -6406,7 +5864,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; -x_3 = l_Lake_DSL_libraryFacetDecl___closed__2; +x_3 = l_Lake_DSL_expandLibraryFacetDecl___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -6728,93 +6186,6 @@ x_2 = lean_alloc_closure((void*)(l_Lake_DSL_mkTargetDecl___rarg), 6, 0); return x_2; } } -static lean_object* _init_l_Lake_DSL_targetCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("targetCommand", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_targetCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("target ", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_targetCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_targetCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_targetCommand___closed__5; -x_3 = l_Lake_DSL_buildDeclSig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_targetCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_targetCommand___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_targetCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_targetCommand___closed__7; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__1() { _start: { @@ -6880,7 +6251,7 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__8 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__7; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -6925,7 +6296,7 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__10; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -6967,9 +6338,9 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__1 _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; x_4 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__16; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -7004,8 +6375,8 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__20; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -7047,9 +6418,9 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; x_4 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__24; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -7094,7 +6465,7 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__3 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__27; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -7155,7 +6526,7 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__3 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__33; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -7219,9 +6590,9 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__4 _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; x_4 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__41; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -7282,14 +6653,14 @@ lean_ctor_set(x_13, 5, x_19); x_20 = 0; x_21 = l_Lean_SourceInfo_fromRef(x_19, x_20); lean_dec(x_19); -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_23 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_23 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_21); x_24 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_24, 0, x_21); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_23); -x_25 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_25 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_24); lean_inc(x_21); x_26 = l_Lean_Syntax_node1(x_21, x_25, x_24); @@ -7305,11 +6676,11 @@ lean_ctor_set(x_31, 0, x_21); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_28); lean_ctor_set(x_31, 3, x_29); -x_32 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_32 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_24); lean_inc(x_21); x_33 = l_Lean_Syntax_node2(x_21, x_32, x_31, x_24); -x_34 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_34 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_21); x_35 = l_Lean_Syntax_node2(x_21, x_34, x_26, x_33); x_36 = lean_alloc_ctor(1, 2, 0); @@ -7343,7 +6714,7 @@ lean_inc(x_21); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_21); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_50 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_21); x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_21); @@ -7360,12 +6731,12 @@ lean_ctor_set(x_56, 0, x_21); lean_ctor_set(x_56, 1, x_54); lean_ctor_set(x_56, 2, x_53); lean_ctor_set(x_56, 3, x_55); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_21); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_21); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_59 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_21); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_21); @@ -7376,7 +6747,7 @@ x_61 = l_Lean_Syntax_node1(x_21, x_22, x_41); lean_inc(x_43); lean_inc(x_21); x_62 = l_Lean_Syntax_node3(x_21, x_22, x_43, x_60, x_61); -x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_21); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_21); @@ -7386,7 +6757,7 @@ lean_inc(x_64); lean_inc(x_58); lean_inc(x_21); x_66 = l_Lean_Syntax_node3(x_21, x_65, x_58, x_62, x_64); -x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_21); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_21); @@ -7399,24 +6770,24 @@ lean_inc(x_3); lean_inc(x_24); lean_inc(x_21); x_70 = l_Lean_Syntax_node8(x_21, x_69, x_24, x_49, x_3, x_51, x_56, x_66, x_68, x_5); -x_71 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_71 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_21); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_21); lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_3); x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_3); lean_ctor_set(x_74, 1, x_73); x_75 = lean_array_mk(x_74); x_76 = lean_box(2); -x_77 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_77 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_78 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_78, 0, x_76); lean_ctor_set(x_78, 1, x_77); lean_ctor_set(x_78, 2, x_75); -x_79 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_79 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_24, 2); lean_inc(x_21); x_80 = l_Lean_Syntax_node2(x_21, x_79, x_24, x_24); @@ -7432,37 +6803,37 @@ lean_ctor_set(x_85, 0, x_21); lean_ctor_set(x_85, 1, x_83); lean_ctor_set(x_85, 2, x_82); lean_ctor_set(x_85, 3, x_84); -x_86 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_86 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_21); x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_21); lean_ctor_set(x_87, 1, x_86); lean_inc(x_21); x_88 = l_Lean_Syntax_node1(x_21, x_22, x_45); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_21); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_21); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_91 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_24); lean_inc(x_21); x_92 = l_Lean_Syntax_node4(x_21, x_91, x_88, x_24, x_90, x_6); -x_93 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_93 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_21); x_94 = l_Lean_Syntax_node2(x_21, x_93, x_87, x_92); -x_95 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_95 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_21); x_96 = l_Lean_Syntax_node3(x_21, x_95, x_58, x_94, x_64); lean_inc(x_21); x_97 = l_Lean_Syntax_node4(x_21, x_22, x_5, x_43, x_41, x_96); -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_21); x_99 = l_Lean_Syntax_node2(x_21, x_98, x_85, x_97); lean_inc_n(x_24, 2); lean_inc(x_21); x_100 = l_Lean_Syntax_node2(x_21, x_7, x_24, x_24); -x_101 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_101 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_21); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_21); @@ -7476,17 +6847,17 @@ x_105 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_105, 0, x_21); lean_ctor_set(x_105, 1, x_22); lean_ctor_set(x_105, 2, x_104); -x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_21); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_21); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_108 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_21); x_109 = l_Lean_Syntax_node3(x_21, x_108, x_102, x_105, x_107); lean_inc(x_21); x_110 = l_Lean_Syntax_node1(x_21, x_22, x_109); -x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_24, 5); lean_inc(x_21); x_112 = l_Lean_Syntax_node6(x_21, x_111, x_24, x_110, x_24, x_24, x_24, x_24); @@ -7556,7 +6927,7 @@ x_138 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_24); lean_inc(x_21); x_139 = l_Lean_Syntax_node5(x_21, x_138, x_114, x_120, x_128, x_137, x_24); -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_21); x_141 = l_Lean_Syntax_node2(x_21, x_140, x_112, x_139); if (lean_obj_tag(x_10) == 0) @@ -7590,7 +6961,7 @@ x_145 = l_Lean_Syntax_node6(x_21, x_111, x_144, x_24, x_24, x_24, x_24, x_24); if (lean_obj_tag(x_12) == 0) { lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_21); x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_21); @@ -7598,7 +6969,7 @@ lean_ctor_set(x_147, 1, x_22); lean_ctor_set(x_147, 2, x_146); lean_inc(x_21); x_148 = l_Lean_Syntax_node4(x_21, x_9, x_68, x_99, x_100, x_147); -x_149 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_149 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_21); x_150 = l_Lean_Syntax_node4(x_21, x_149, x_72, x_78, x_80, x_148); lean_inc(x_21); @@ -7629,7 +7000,7 @@ lean_ctor_set(x_157, 1, x_22); lean_ctor_set(x_157, 2, x_156); lean_inc(x_21); x_158 = l_Lean_Syntax_node4(x_21, x_9, x_68, x_99, x_100, x_157); -x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_21); x_160 = l_Lean_Syntax_node4(x_21, x_159, x_72, x_78, x_80, x_158); lean_inc(x_21); @@ -7677,14 +7048,14 @@ lean_ctor_set(x_174, 5, x_173); x_175 = 0; x_176 = l_Lean_SourceInfo_fromRef(x_173, x_175); lean_dec(x_173); -x_177 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_178 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_177 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_178 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_176); x_179 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_179, 0, x_176); lean_ctor_set(x_179, 1, x_177); lean_ctor_set(x_179, 2, x_178); -x_180 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_180 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_179); lean_inc(x_176); x_181 = l_Lean_Syntax_node1(x_176, x_180, x_179); @@ -7700,11 +7071,11 @@ lean_ctor_set(x_186, 0, x_176); lean_ctor_set(x_186, 1, x_185); lean_ctor_set(x_186, 2, x_183); lean_ctor_set(x_186, 3, x_184); -x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_179); lean_inc(x_176); x_188 = l_Lean_Syntax_node2(x_176, x_187, x_186, x_179); -x_189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_176); x_190 = l_Lean_Syntax_node2(x_176, x_189, x_181, x_188); x_191 = lean_alloc_ctor(1, 2, 0); @@ -7738,7 +7109,7 @@ lean_inc(x_176); x_204 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_204, 0, x_176); lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_205 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_176); x_206 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_206, 0, x_176); @@ -7755,12 +7126,12 @@ lean_ctor_set(x_211, 0, x_176); lean_ctor_set(x_211, 1, x_209); lean_ctor_set(x_211, 2, x_208); lean_ctor_set(x_211, 3, x_210); -x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_176); x_213 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_213, 0, x_176); lean_ctor_set(x_213, 1, x_212); -x_214 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_214 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_176); x_215 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_215, 0, x_176); @@ -7771,7 +7142,7 @@ x_216 = l_Lean_Syntax_node1(x_176, x_177, x_196); lean_inc(x_198); lean_inc(x_176); x_217 = l_Lean_Syntax_node3(x_176, x_177, x_198, x_215, x_216); -x_218 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_218 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_176); x_219 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_219, 0, x_176); @@ -7781,7 +7152,7 @@ lean_inc(x_219); lean_inc(x_213); lean_inc(x_176); x_221 = l_Lean_Syntax_node3(x_176, x_220, x_213, x_217, x_219); -x_222 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_222 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_176); x_223 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_223, 0, x_176); @@ -7794,24 +7165,24 @@ lean_inc(x_3); lean_inc(x_179); lean_inc(x_176); x_225 = l_Lean_Syntax_node8(x_176, x_224, x_179, x_204, x_3, x_206, x_211, x_221, x_223, x_5); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_176); x_227 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_227, 0, x_176); lean_ctor_set(x_227, 1, x_226); -x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_3); x_229 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_229, 0, x_3); lean_ctor_set(x_229, 1, x_228); x_230 = lean_array_mk(x_229); x_231 = lean_box(2); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_233 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_233, 0, x_231); lean_ctor_set(x_233, 1, x_232); lean_ctor_set(x_233, 2, x_230); -x_234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc_n(x_179, 2); lean_inc(x_176); x_235 = l_Lean_Syntax_node2(x_176, x_234, x_179, x_179); @@ -7827,37 +7198,37 @@ lean_ctor_set(x_240, 0, x_176); lean_ctor_set(x_240, 1, x_238); lean_ctor_set(x_240, 2, x_237); lean_ctor_set(x_240, 3, x_239); -x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_241 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55; lean_inc(x_176); x_242 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_242, 0, x_176); lean_ctor_set(x_242, 1, x_241); lean_inc(x_176); x_243 = l_Lean_Syntax_node1(x_176, x_177, x_200); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__51; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59; lean_inc(x_176); x_245 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_245, 0, x_176); lean_ctor_set(x_245, 1, x_244); -x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__50; +x_246 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58; lean_inc(x_179); lean_inc(x_176); x_247 = l_Lean_Syntax_node4(x_176, x_246, x_243, x_179, x_245, x_6); -x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__48; +x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56; lean_inc(x_176); x_249 = l_Lean_Syntax_node2(x_176, x_248, x_242, x_247); -x_250 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__45; +x_250 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; lean_inc(x_176); x_251 = l_Lean_Syntax_node3(x_176, x_250, x_213, x_249, x_219); lean_inc(x_176); x_252 = l_Lean_Syntax_node4(x_176, x_177, x_5, x_198, x_196, x_251); -x_253 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_253 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_176); x_254 = l_Lean_Syntax_node2(x_176, x_253, x_240, x_252); lean_inc_n(x_179, 2); lean_inc(x_176); x_255 = l_Lean_Syntax_node2(x_176, x_7, x_179, x_179); -x_256 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_256 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_176); x_257 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_257, 0, x_176); @@ -7871,17 +7242,17 @@ x_260 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_260, 0, x_176); lean_ctor_set(x_260, 1, x_177); lean_ctor_set(x_260, 2, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_176); x_262 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_262, 0, x_176); lean_ctor_set(x_262, 1, x_261); -x_263 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_176); x_264 = l_Lean_Syntax_node3(x_176, x_263, x_257, x_260, x_262); lean_inc(x_176); x_265 = l_Lean_Syntax_node1(x_176, x_177, x_264); -x_266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_179, 5); lean_inc(x_176); x_267 = l_Lean_Syntax_node6(x_176, x_266, x_179, x_265, x_179, x_179, x_179, x_179); @@ -7951,7 +7322,7 @@ x_293 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_179); lean_inc(x_176); x_294 = l_Lean_Syntax_node5(x_176, x_293, x_269, x_275, x_283, x_292, x_179); -x_295 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_295 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_176); x_296 = l_Lean_Syntax_node2(x_176, x_295, x_267, x_294); if (lean_obj_tag(x_10) == 0) @@ -7985,7 +7356,7 @@ x_300 = l_Lean_Syntax_node6(x_176, x_266, x_299, x_179, x_179, x_179, x_179, x_1 if (lean_obj_tag(x_12) == 0) { lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_301 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_301 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_176); x_302 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_302, 0, x_176); @@ -7993,7 +7364,7 @@ lean_ctor_set(x_302, 1, x_177); lean_ctor_set(x_302, 2, x_301); lean_inc(x_176); x_303 = l_Lean_Syntax_node4(x_176, x_9, x_223, x_254, x_255, x_302); -x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_176); x_305 = l_Lean_Syntax_node4(x_176, x_304, x_227, x_233, x_235, x_303); lean_inc(x_176); @@ -8024,7 +7395,7 @@ lean_ctor_set(x_312, 1, x_177); lean_ctor_set(x_312, 2, x_311); lean_inc(x_176); x_313 = l_Lean_Syntax_node4(x_176, x_9, x_223, x_254, x_255, x_312); -x_314 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_314 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_176); x_315 = l_Lean_Syntax_node4(x_176, x_314, x_227, x_233, x_235, x_313); lean_inc(x_176); @@ -8057,7 +7428,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_buildDeclSig___closed__19; +x_12 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -8080,7 +7451,7 @@ x_17 = l_Lean_Syntax_getArg(x_11, x_16); lean_dec(x_11); x_18 = lean_unsigned_to_nat(3u); x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lake_DSL_buildDeclSig___closed__24; +x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_19); x_21 = l_Lean_Syntax_isOfKind(x_19, x_20); if (x_21 == 0) @@ -8101,7 +7472,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = l_Lean_Syntax_getArg(x_19, x_16); x_25 = l_Lean_Syntax_getArg(x_19, x_10); -x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_26 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc(x_25); x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); if (x_27 == 0) @@ -8190,7 +7561,7 @@ else lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = l_Lean_Syntax_getArg(x_39, x_30); lean_dec(x_39); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -8238,30 +7609,49 @@ static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed target declaration", 29, 29); +x_1 = lean_mk_string_unchecked("targetCommand", 13, 13); return x_1; } } static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandTargetCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed target declaration", 29, 29); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__4() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("identOrStr", 10, 10); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__3() { +static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_expandTargetCommand___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandTargetCommand___closed__4; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__4() { +static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__6() { _start: { lean_object* x_1; @@ -8269,12 +7659,12 @@ x_1 = lean_mk_string_unchecked("ident", 5, 5); return x_1; } } -static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__5() { +static lean_object* _init_l_Lake_DSL_expandTargetCommand___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_DSL_expandTargetCommand___closed__4; +x_2 = l_Lake_DSL_expandTargetCommand___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -8283,13 +7673,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_expandTargetCommand(lean_object* x_1, lean_o _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_targetCommand___closed__2; +x_4 = l_Lake_DSL_expandTargetCommand___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandTargetCommand___closed__1; +x_6 = l_Lake_DSL_expandTargetCommand___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -8310,7 +7700,7 @@ x_16 = l_Lean_Syntax_getOptional_x3f(x_11); lean_dec(x_11); x_17 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_18 = l_Lake_DSL_buildDeclSig___closed__4; +x_18 = l_Lake_DSL_expandModuleFacetDecl___closed__4; lean_inc(x_15); x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (lean_obj_tag(x_16) == 0) @@ -8389,7 +7779,7 @@ else { lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = l_Lean_Syntax_getArg(x_15, x_8); -x_25 = l_Lake_DSL_expandTargetCommand___closed__3; +x_25 = l_Lake_DSL_expandTargetCommand___closed__5; lean_inc(x_24); x_26 = l_Lean_Syntax_isOfKind(x_24, x_25); if (x_26 == 0) @@ -8409,7 +7799,7 @@ else lean_object* x_29; lean_object* x_30; uint8_t x_31; x_29 = l_Lean_Syntax_getArg(x_24, x_8); lean_dec(x_24); -x_30 = l_Lake_DSL_expandTargetCommand___closed__5; +x_30 = l_Lake_DSL_expandTargetCommand___closed__7; lean_inc(x_29); x_31 = l_Lean_Syntax_isOfKind(x_29, x_30); if (x_31 == 0) @@ -8513,8 +7903,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandTargetCommand__1___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -8533,7 +7923,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; -x_3 = l_Lake_DSL_targetCommand___closed__2; +x_3 = l_Lake_DSL_expandTargetCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -8642,7 +8032,7 @@ static lean_object* _init_l_Lake_DSL_mkConfigDeclDef___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_mkConfigDeclDef___closed__4; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -8723,8 +8113,8 @@ static lean_object* _init_l_Lake_DSL_mkConfigDeclDef___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_mkConfigDeclDef___closed__14; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -8852,14 +8242,14 @@ if (x_55 == 0) 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; lean_object* x_70; lean_object* x_71; uint8_t x_72; x_56 = lean_ctor_get(x_54, 0); x_57 = lean_ctor_get(x_54, 1); -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_59 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_59 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_58); lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_60); lean_inc(x_49); x_62 = l_Lean_Syntax_node1(x_49, x_61, x_60); @@ -8872,10 +8262,10 @@ lean_ctor_set(x_66, 0, x_49); lean_ctor_set(x_66, 1, x_65); lean_ctor_set(x_66, 2, x_64); lean_ctor_set(x_66, 3, x_29); -x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_67 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_49); x_68 = l_Lean_Syntax_node2(x_49, x_67, x_66, x_60); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_70 = l_Lean_Syntax_node2(x_49, x_69, x_62, x_68); x_71 = l_Lean_Elab_Command_getRef(x_10, x_11, x_57); x_72 = !lean_is_exclusive(x_71); @@ -8980,7 +8370,7 @@ lean_inc(x_109); lean_ctor_set_tag(x_110, 2); lean_ctor_set(x_110, 1, x_118); lean_ctor_set(x_110, 0, x_109); -x_119 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_119 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_109); lean_ctor_set_tag(x_105, 2); lean_ctor_set(x_105, 1, x_119); @@ -8997,12 +8387,12 @@ lean_ctor_set(x_124, 0, x_109); lean_ctor_set(x_124, 1, x_122); lean_ctor_set(x_124, 2, x_121); lean_ctor_set(x_124, 3, x_123); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_109); lean_ctor_set_tag(x_100, 2); lean_ctor_set(x_100, 1, x_125); lean_ctor_set(x_100, 0, x_109); -x_126 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_126 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_109); lean_ctor_set_tag(x_96, 2); lean_ctor_set(x_96, 1, x_126); @@ -9013,7 +8403,7 @@ x_127 = l_Lean_Syntax_node1(x_109, x_58, x_36); lean_inc(x_94); lean_inc(x_109); x_128 = l_Lean_Syntax_node3(x_109, x_58, x_94, x_96, x_127); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_109); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_129); @@ -9021,7 +8411,7 @@ lean_ctor_set(x_92, 0, x_109); x_130 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_109); x_131 = l_Lean_Syntax_node3(x_109, x_130, x_100, x_128, x_92); -x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_109); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_132); @@ -9041,7 +8431,7 @@ lean_ctor_set(x_137, 3, x_136); lean_inc(x_104); lean_inc(x_109); x_138 = l_Lean_Syntax_node1(x_109, x_58, x_104); -x_139 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_139 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_109); x_140 = l_Lean_Syntax_node2(x_109, x_139, x_137, x_138); x_141 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -9051,30 +8441,30 @@ lean_inc(x_33); lean_inc(x_117); lean_inc(x_109); x_142 = l_Lean_Syntax_node8(x_109, x_141, x_117, x_110, x_33, x_105, x_124, x_131, x_71, x_140); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_109); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_143); lean_ctor_set(x_54, 0, x_109); -x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_144); lean_ctor_set(x_50, 0, x_33); x_145 = lean_array_mk(x_50); x_146 = lean_box(2); -x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_148 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_148, 0, x_146); lean_ctor_set(x_148, 1, x_147); lean_ctor_set(x_148, 2, x_145); -x_149 = l_Lake_DSL_buildDeclSig___closed__19; +x_149 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_105); lean_inc(x_109); x_150 = l_Lean_Syntax_node2(x_109, x_149, x_105, x_98); lean_inc(x_109); x_151 = l_Lean_Syntax_node1(x_109, x_58, x_150); -x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_117); lean_inc(x_109); x_153 = l_Lean_Syntax_node2(x_109, x_152, x_117, x_151); @@ -9094,20 +8484,20 @@ lean_inc(x_109); x_159 = l_Lean_Syntax_node4(x_109, x_58, x_94, x_36, x_104, x_31); lean_inc(x_109); x_160 = l_Lean_Syntax_node2(x_109, x_139, x_158, x_159); -x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_117, 2); lean_inc(x_109); x_162 = l_Lean_Syntax_node2(x_109, x_161, x_117, x_117); -x_163 = l_Lake_DSL_buildDeclSig___closed__24; +x_163 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_117); lean_inc(x_162); lean_inc(x_71); lean_inc(x_109); x_164 = l_Lean_Syntax_node4(x_109, x_163, x_71, x_160, x_162, x_117); -x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_165 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_109); x_166 = l_Lean_Syntax_node4(x_109, x_165, x_54, x_148, x_153, x_164); -x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_167 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_109); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_167); @@ -9121,17 +8511,17 @@ x_170 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_170, 0, x_109); lean_ctor_set(x_170, 1, x_58); lean_ctor_set(x_170, 2, x_169); -x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_109); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_171); lean_ctor_set(x_41, 0, x_109); -x_172 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_109); x_173 = l_Lean_Syntax_node3(x_109, x_172, x_45, x_170, x_41); lean_inc(x_109); x_174 = l_Lean_Syntax_node1(x_109, x_58, x_173); -x_175 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_175 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_117, 5); lean_inc(x_109); x_176 = l_Lean_Syntax_node6(x_109, x_175, x_117, x_174, x_117, x_117, x_117, x_117); @@ -9198,13 +8588,13 @@ x_200 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_117); lean_inc(x_109); x_201 = l_Lean_Syntax_node5(x_109, x_200, x_19, x_183, x_191, x_199, x_117); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_109); x_203 = l_Lean_Syntax_node2(x_109, x_202, x_176, x_201); if (lean_obj_tag(x_6) == 0) { lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_109); x_205 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_205, 0, x_109); @@ -9261,7 +8651,7 @@ lean_inc(x_109); lean_ctor_set_tag(x_110, 2); lean_ctor_set(x_110, 1, x_219); lean_ctor_set(x_110, 0, x_109); -x_220 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_220 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_109); lean_ctor_set_tag(x_105, 2); lean_ctor_set(x_105, 1, x_220); @@ -9278,12 +8668,12 @@ lean_ctor_set(x_225, 0, x_109); lean_ctor_set(x_225, 1, x_223); lean_ctor_set(x_225, 2, x_222); lean_ctor_set(x_225, 3, x_224); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_109); lean_ctor_set_tag(x_100, 2); lean_ctor_set(x_100, 1, x_226); lean_ctor_set(x_100, 0, x_109); -x_227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_109); lean_ctor_set_tag(x_96, 2); lean_ctor_set(x_96, 1, x_227); @@ -9294,7 +8684,7 @@ x_228 = l_Lean_Syntax_node1(x_109, x_58, x_36); lean_inc(x_94); lean_inc(x_109); x_229 = l_Lean_Syntax_node3(x_109, x_58, x_94, x_96, x_228); -x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_230 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_109); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_230); @@ -9302,7 +8692,7 @@ lean_ctor_set(x_92, 0, x_109); x_231 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_109); x_232 = l_Lean_Syntax_node3(x_109, x_231, x_100, x_229, x_92); -x_233 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_233 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_109); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_233); @@ -9322,7 +8712,7 @@ lean_ctor_set(x_238, 3, x_237); lean_inc(x_104); lean_inc(x_109); x_239 = l_Lean_Syntax_node1(x_109, x_58, x_104); -x_240 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_240 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_109); x_241 = l_Lean_Syntax_node2(x_109, x_240, x_238, x_239); x_242 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -9332,30 +8722,30 @@ lean_inc(x_33); lean_inc(x_218); lean_inc(x_109); x_243 = l_Lean_Syntax_node8(x_109, x_242, x_218, x_110, x_33, x_105, x_225, x_232, x_71, x_241); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_109); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_244); lean_ctor_set(x_54, 0, x_109); -x_245 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_245 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_245); lean_ctor_set(x_50, 0, x_33); x_246 = lean_array_mk(x_50); x_247 = lean_box(2); -x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_248 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_247); lean_ctor_set(x_249, 1, x_248); lean_ctor_set(x_249, 2, x_246); -x_250 = l_Lake_DSL_buildDeclSig___closed__19; +x_250 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_105); lean_inc(x_109); x_251 = l_Lean_Syntax_node2(x_109, x_250, x_105, x_98); lean_inc(x_109); x_252 = l_Lean_Syntax_node1(x_109, x_58, x_251); -x_253 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_253 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_218); lean_inc(x_109); x_254 = l_Lean_Syntax_node2(x_109, x_253, x_218, x_252); @@ -9375,20 +8765,20 @@ lean_inc(x_109); x_260 = l_Lean_Syntax_node4(x_109, x_58, x_94, x_36, x_104, x_31); lean_inc(x_109); x_261 = l_Lean_Syntax_node2(x_109, x_240, x_259, x_260); -x_262 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_262 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_218, 2); lean_inc(x_109); x_263 = l_Lean_Syntax_node2(x_109, x_262, x_218, x_218); -x_264 = l_Lake_DSL_buildDeclSig___closed__24; +x_264 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_218); lean_inc(x_263); lean_inc(x_71); lean_inc(x_109); x_265 = l_Lean_Syntax_node4(x_109, x_264, x_71, x_261, x_263, x_218); -x_266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_109); x_267 = l_Lean_Syntax_node4(x_109, x_266, x_54, x_249, x_254, x_265); -x_268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_109); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_268); @@ -9402,17 +8792,17 @@ x_271 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_271, 0, x_109); lean_ctor_set(x_271, 1, x_58); lean_ctor_set(x_271, 2, x_270); -x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_109); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_272); lean_ctor_set(x_41, 0, x_109); -x_273 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_273 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_109); x_274 = l_Lean_Syntax_node3(x_109, x_273, x_45, x_271, x_41); lean_inc(x_109); x_275 = l_Lean_Syntax_node1(x_109, x_58, x_274); -x_276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_218, 5); lean_inc(x_109); x_277 = l_Lean_Syntax_node6(x_109, x_276, x_218, x_275, x_218, x_218, x_218, x_218); @@ -9479,13 +8869,13 @@ x_301 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_218); lean_inc(x_109); x_302 = l_Lean_Syntax_node5(x_109, x_301, x_19, x_284, x_292, x_300, x_218); -x_303 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_303 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_109); x_304 = l_Lean_Syntax_node2(x_109, x_303, x_277, x_302); if (lean_obj_tag(x_6) == 0) { lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_305 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_305 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_109); x_306 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_306, 0, x_109); @@ -9561,7 +8951,7 @@ lean_inc(x_109); x_327 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_327, 0, x_109); lean_ctor_set(x_327, 1, x_326); -x_328 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_328 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_109); lean_ctor_set_tag(x_105, 2); lean_ctor_set(x_105, 1, x_328); @@ -9578,12 +8968,12 @@ lean_ctor_set(x_333, 0, x_109); lean_ctor_set(x_333, 1, x_331); lean_ctor_set(x_333, 2, x_330); lean_ctor_set(x_333, 3, x_332); -x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_109); lean_ctor_set_tag(x_100, 2); lean_ctor_set(x_100, 1, x_334); lean_ctor_set(x_100, 0, x_109); -x_335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_109); lean_ctor_set_tag(x_96, 2); lean_ctor_set(x_96, 1, x_335); @@ -9594,7 +8984,7 @@ x_336 = l_Lean_Syntax_node1(x_109, x_58, x_36); lean_inc(x_94); lean_inc(x_109); x_337 = l_Lean_Syntax_node3(x_109, x_58, x_94, x_96, x_336); -x_338 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_338 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_109); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_338); @@ -9602,7 +8992,7 @@ lean_ctor_set(x_92, 0, x_109); x_339 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_109); x_340 = l_Lean_Syntax_node3(x_109, x_339, x_100, x_337, x_92); -x_341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_109); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_341); @@ -9622,7 +9012,7 @@ lean_ctor_set(x_346, 3, x_345); lean_inc(x_104); lean_inc(x_109); x_347 = l_Lean_Syntax_node1(x_109, x_58, x_104); -x_348 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_348 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_109); x_349 = l_Lean_Syntax_node2(x_109, x_348, x_346, x_347); x_350 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -9632,30 +9022,30 @@ lean_inc(x_33); lean_inc(x_325); lean_inc(x_109); x_351 = l_Lean_Syntax_node8(x_109, x_350, x_325, x_327, x_33, x_105, x_333, x_340, x_71, x_349); -x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_109); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_352); lean_ctor_set(x_54, 0, x_109); -x_353 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_353 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_353); lean_ctor_set(x_50, 0, x_33); x_354 = lean_array_mk(x_50); x_355 = lean_box(2); -x_356 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_356 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_357 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_357, 0, x_355); lean_ctor_set(x_357, 1, x_356); lean_ctor_set(x_357, 2, x_354); -x_358 = l_Lake_DSL_buildDeclSig___closed__19; +x_358 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_105); lean_inc(x_109); x_359 = l_Lean_Syntax_node2(x_109, x_358, x_105, x_98); lean_inc(x_109); x_360 = l_Lean_Syntax_node1(x_109, x_58, x_359); -x_361 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_361 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_325); lean_inc(x_109); x_362 = l_Lean_Syntax_node2(x_109, x_361, x_325, x_360); @@ -9675,20 +9065,20 @@ lean_inc(x_109); x_368 = l_Lean_Syntax_node4(x_109, x_58, x_94, x_36, x_104, x_31); lean_inc(x_109); x_369 = l_Lean_Syntax_node2(x_109, x_348, x_367, x_368); -x_370 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_370 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_325, 2); lean_inc(x_109); x_371 = l_Lean_Syntax_node2(x_109, x_370, x_325, x_325); -x_372 = l_Lake_DSL_buildDeclSig___closed__24; +x_372 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_325); lean_inc(x_371); lean_inc(x_71); lean_inc(x_109); x_373 = l_Lean_Syntax_node4(x_109, x_372, x_71, x_369, x_371, x_325); -x_374 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_374 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_109); x_375 = l_Lean_Syntax_node4(x_109, x_374, x_54, x_357, x_362, x_373); -x_376 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_376 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_109); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_376); @@ -9702,17 +9092,17 @@ x_379 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_379, 0, x_109); lean_ctor_set(x_379, 1, x_58); lean_ctor_set(x_379, 2, x_378); -x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_109); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_380); lean_ctor_set(x_41, 0, x_109); -x_381 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_381 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_109); x_382 = l_Lean_Syntax_node3(x_109, x_381, x_45, x_379, x_41); lean_inc(x_109); x_383 = l_Lean_Syntax_node1(x_109, x_58, x_382); -x_384 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_384 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_325, 5); lean_inc(x_109); x_385 = l_Lean_Syntax_node6(x_109, x_384, x_325, x_383, x_325, x_325, x_325, x_325); @@ -9779,13 +9169,13 @@ x_409 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_325); lean_inc(x_109); x_410 = l_Lean_Syntax_node5(x_109, x_409, x_19, x_392, x_400, x_408, x_325); -x_411 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_411 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_109); x_412 = l_Lean_Syntax_node2(x_109, x_411, x_385, x_410); if (lean_obj_tag(x_6) == 0) { lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_413 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_413 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_109); x_414 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_414, 0, x_109); @@ -9890,7 +9280,7 @@ if (lean_is_scalar(x_433)) { } lean_ctor_set(x_440, 0, x_429); lean_ctor_set(x_440, 1, x_439); -x_441 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_441 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_429); x_442 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_442, 0, x_429); @@ -9907,12 +9297,12 @@ lean_ctor_set(x_447, 0, x_429); lean_ctor_set(x_447, 1, x_445); lean_ctor_set(x_447, 2, x_444); lean_ctor_set(x_447, 3, x_446); -x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_429); lean_ctor_set_tag(x_100, 2); lean_ctor_set(x_100, 1, x_448); lean_ctor_set(x_100, 0, x_429); -x_449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_429); lean_ctor_set_tag(x_96, 2); lean_ctor_set(x_96, 1, x_449); @@ -9923,7 +9313,7 @@ x_450 = l_Lean_Syntax_node1(x_429, x_58, x_36); lean_inc(x_94); lean_inc(x_429); x_451 = l_Lean_Syntax_node3(x_429, x_58, x_94, x_96, x_450); -x_452 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_452 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_429); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_452); @@ -9931,7 +9321,7 @@ lean_ctor_set(x_92, 0, x_429); x_453 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_429); x_454 = l_Lean_Syntax_node3(x_429, x_453, x_100, x_451, x_92); -x_455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_429); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_455); @@ -9951,7 +9341,7 @@ lean_ctor_set(x_460, 3, x_459); lean_inc(x_104); lean_inc(x_429); x_461 = l_Lean_Syntax_node1(x_429, x_58, x_104); -x_462 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_462 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_429); x_463 = l_Lean_Syntax_node2(x_429, x_462, x_460, x_461); x_464 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -9961,30 +9351,30 @@ lean_inc(x_33); lean_inc(x_438); lean_inc(x_429); x_465 = l_Lean_Syntax_node8(x_429, x_464, x_438, x_440, x_33, x_442, x_447, x_454, x_71, x_463); -x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_429); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_466); lean_ctor_set(x_54, 0, x_429); -x_467 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_467 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_467); lean_ctor_set(x_50, 0, x_33); x_468 = lean_array_mk(x_50); x_469 = lean_box(2); -x_470 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_470 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_471 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_471, 0, x_469); lean_ctor_set(x_471, 1, x_470); lean_ctor_set(x_471, 2, x_468); -x_472 = l_Lake_DSL_buildDeclSig___closed__19; +x_472 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_442); lean_inc(x_429); x_473 = l_Lean_Syntax_node2(x_429, x_472, x_442, x_98); lean_inc(x_429); x_474 = l_Lean_Syntax_node1(x_429, x_58, x_473); -x_475 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_475 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_438); lean_inc(x_429); x_476 = l_Lean_Syntax_node2(x_429, x_475, x_438, x_474); @@ -10004,20 +9394,20 @@ lean_inc(x_429); x_482 = l_Lean_Syntax_node4(x_429, x_58, x_94, x_36, x_104, x_31); lean_inc(x_429); x_483 = l_Lean_Syntax_node2(x_429, x_462, x_481, x_482); -x_484 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_484 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_438, 2); lean_inc(x_429); x_485 = l_Lean_Syntax_node2(x_429, x_484, x_438, x_438); -x_486 = l_Lake_DSL_buildDeclSig___closed__24; +x_486 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_438); lean_inc(x_485); lean_inc(x_71); lean_inc(x_429); x_487 = l_Lean_Syntax_node4(x_429, x_486, x_71, x_483, x_485, x_438); -x_488 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_488 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_429); x_489 = l_Lean_Syntax_node4(x_429, x_488, x_54, x_471, x_476, x_487); -x_490 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_490 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_429); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_490); @@ -10031,17 +9421,17 @@ x_493 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_493, 0, x_429); lean_ctor_set(x_493, 1, x_58); lean_ctor_set(x_493, 2, x_492); -x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_429); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_494); lean_ctor_set(x_41, 0, x_429); -x_495 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_495 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_429); x_496 = l_Lean_Syntax_node3(x_429, x_495, x_45, x_493, x_41); lean_inc(x_429); x_497 = l_Lean_Syntax_node1(x_429, x_58, x_496); -x_498 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_498 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_438, 5); lean_inc(x_429); x_499 = l_Lean_Syntax_node6(x_429, x_498, x_438, x_497, x_438, x_438, x_438, x_438); @@ -10108,13 +9498,13 @@ x_523 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_438); lean_inc(x_429); x_524 = l_Lean_Syntax_node5(x_429, x_523, x_19, x_506, x_514, x_522, x_438); -x_525 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_525 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_429); x_526 = l_Lean_Syntax_node2(x_429, x_525, x_499, x_524); if (lean_obj_tag(x_6) == 0) { lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; -x_527 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_527 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_429); x_528 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_528, 0, x_429); @@ -10233,7 +9623,7 @@ if (lean_is_scalar(x_552)) { } lean_ctor_set(x_559, 0, x_548); lean_ctor_set(x_559, 1, x_558); -x_560 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_560 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_548); if (lean_is_scalar(x_547)) { x_561 = lean_alloc_ctor(2, 2, 0); @@ -10255,12 +9645,12 @@ lean_ctor_set(x_566, 0, x_548); lean_ctor_set(x_566, 1, x_564); lean_ctor_set(x_566, 2, x_563); lean_ctor_set(x_566, 3, x_565); -x_567 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_567 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_548); x_568 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_568, 0, x_548); lean_ctor_set(x_568, 1, x_567); -x_569 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_569 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_548); lean_ctor_set_tag(x_96, 2); lean_ctor_set(x_96, 1, x_569); @@ -10271,7 +9661,7 @@ x_570 = l_Lean_Syntax_node1(x_548, x_58, x_36); lean_inc(x_94); lean_inc(x_548); x_571 = l_Lean_Syntax_node3(x_548, x_58, x_94, x_96, x_570); -x_572 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_572 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_548); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_572); @@ -10279,7 +9669,7 @@ lean_ctor_set(x_92, 0, x_548); x_573 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_548); x_574 = l_Lean_Syntax_node3(x_548, x_573, x_568, x_571, x_92); -x_575 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_575 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_548); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_575); @@ -10299,7 +9689,7 @@ lean_ctor_set(x_580, 3, x_579); lean_inc(x_543); lean_inc(x_548); x_581 = l_Lean_Syntax_node1(x_548, x_58, x_543); -x_582 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_582 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_548); x_583 = l_Lean_Syntax_node2(x_548, x_582, x_580, x_581); x_584 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -10309,30 +9699,30 @@ lean_inc(x_33); lean_inc(x_557); lean_inc(x_548); x_585 = l_Lean_Syntax_node8(x_548, x_584, x_557, x_559, x_33, x_561, x_566, x_574, x_71, x_583); -x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_548); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_586); lean_ctor_set(x_54, 0, x_548); -x_587 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_587 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_587); lean_ctor_set(x_50, 0, x_33); x_588 = lean_array_mk(x_50); x_589 = lean_box(2); -x_590 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_590 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_591 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_591, 0, x_589); lean_ctor_set(x_591, 1, x_590); lean_ctor_set(x_591, 2, x_588); -x_592 = l_Lake_DSL_buildDeclSig___closed__19; +x_592 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_561); lean_inc(x_548); x_593 = l_Lean_Syntax_node2(x_548, x_592, x_561, x_98); lean_inc(x_548); x_594 = l_Lean_Syntax_node1(x_548, x_58, x_593); -x_595 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_595 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_557); lean_inc(x_548); x_596 = l_Lean_Syntax_node2(x_548, x_595, x_557, x_594); @@ -10352,20 +9742,20 @@ lean_inc(x_548); x_602 = l_Lean_Syntax_node4(x_548, x_58, x_94, x_36, x_543, x_31); lean_inc(x_548); x_603 = l_Lean_Syntax_node2(x_548, x_582, x_601, x_602); -x_604 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_604 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_557, 2); lean_inc(x_548); x_605 = l_Lean_Syntax_node2(x_548, x_604, x_557, x_557); -x_606 = l_Lake_DSL_buildDeclSig___closed__24; +x_606 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_557); lean_inc(x_605); lean_inc(x_71); lean_inc(x_548); x_607 = l_Lean_Syntax_node4(x_548, x_606, x_71, x_603, x_605, x_557); -x_608 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_608 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_548); x_609 = l_Lean_Syntax_node4(x_548, x_608, x_54, x_591, x_596, x_607); -x_610 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_610 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_548); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_610); @@ -10379,17 +9769,17 @@ x_613 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_613, 0, x_548); lean_ctor_set(x_613, 1, x_58); lean_ctor_set(x_613, 2, x_612); -x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_548); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_614); lean_ctor_set(x_41, 0, x_548); -x_615 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_615 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_548); x_616 = l_Lean_Syntax_node3(x_548, x_615, x_45, x_613, x_41); lean_inc(x_548); x_617 = l_Lean_Syntax_node1(x_548, x_58, x_616); -x_618 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_618 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_557, 5); lean_inc(x_548); x_619 = l_Lean_Syntax_node6(x_548, x_618, x_557, x_617, x_557, x_557, x_557, x_557); @@ -10456,13 +9846,13 @@ x_643 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_557); lean_inc(x_548); x_644 = l_Lean_Syntax_node5(x_548, x_643, x_19, x_626, x_634, x_642, x_557); -x_645 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_645 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_548); x_646 = l_Lean_Syntax_node2(x_548, x_645, x_619, x_644); if (lean_obj_tag(x_6) == 0) { lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; -x_647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_548); x_648 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_648, 0, x_548); @@ -10594,7 +9984,7 @@ if (lean_is_scalar(x_676)) { } lean_ctor_set(x_683, 0, x_672); lean_ctor_set(x_683, 1, x_682); -x_684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_672); if (lean_is_scalar(x_671)) { x_685 = lean_alloc_ctor(2, 2, 0); @@ -10616,7 +10006,7 @@ lean_ctor_set(x_690, 0, x_672); lean_ctor_set(x_690, 1, x_688); lean_ctor_set(x_690, 2, x_687); lean_ctor_set(x_690, 3, x_689); -x_691 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_691 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_672); if (lean_is_scalar(x_666)) { x_692 = lean_alloc_ctor(2, 2, 0); @@ -10626,7 +10016,7 @@ if (lean_is_scalar(x_666)) { } lean_ctor_set(x_692, 0, x_672); lean_ctor_set(x_692, 1, x_691); -x_693 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_693 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_672); x_694 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_694, 0, x_672); @@ -10637,7 +10027,7 @@ x_695 = l_Lean_Syntax_node1(x_672, x_58, x_36); lean_inc(x_94); lean_inc(x_672); x_696 = l_Lean_Syntax_node3(x_672, x_58, x_94, x_694, x_695); -x_697 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_697 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_672); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_697); @@ -10645,7 +10035,7 @@ lean_ctor_set(x_92, 0, x_672); x_698 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_672); x_699 = l_Lean_Syntax_node3(x_672, x_698, x_692, x_696, x_92); -x_700 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_700 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_672); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_700); @@ -10665,7 +10055,7 @@ lean_ctor_set(x_705, 3, x_704); lean_inc(x_667); lean_inc(x_672); x_706 = l_Lean_Syntax_node1(x_672, x_58, x_667); -x_707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_672); x_708 = l_Lean_Syntax_node2(x_672, x_707, x_705, x_706); x_709 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -10675,30 +10065,30 @@ lean_inc(x_33); lean_inc(x_681); lean_inc(x_672); x_710 = l_Lean_Syntax_node8(x_672, x_709, x_681, x_683, x_33, x_685, x_690, x_699, x_71, x_708); -x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_672); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_711); lean_ctor_set(x_54, 0, x_672); -x_712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_712); lean_ctor_set(x_50, 0, x_33); x_713 = lean_array_mk(x_50); x_714 = lean_box(2); -x_715 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_715 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_716 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_716, 0, x_714); lean_ctor_set(x_716, 1, x_715); lean_ctor_set(x_716, 2, x_713); -x_717 = l_Lake_DSL_buildDeclSig___closed__19; +x_717 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_685); lean_inc(x_672); x_718 = l_Lean_Syntax_node2(x_672, x_717, x_685, x_661); lean_inc(x_672); x_719 = l_Lean_Syntax_node1(x_672, x_58, x_718); -x_720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_681); lean_inc(x_672); x_721 = l_Lean_Syntax_node2(x_672, x_720, x_681, x_719); @@ -10718,20 +10108,20 @@ lean_inc(x_672); x_727 = l_Lean_Syntax_node4(x_672, x_58, x_94, x_36, x_667, x_31); lean_inc(x_672); x_728 = l_Lean_Syntax_node2(x_672, x_707, x_726, x_727); -x_729 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_729 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_681, 2); lean_inc(x_672); x_730 = l_Lean_Syntax_node2(x_672, x_729, x_681, x_681); -x_731 = l_Lake_DSL_buildDeclSig___closed__24; +x_731 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_681); lean_inc(x_730); lean_inc(x_71); lean_inc(x_672); x_732 = l_Lean_Syntax_node4(x_672, x_731, x_71, x_728, x_730, x_681); -x_733 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_733 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_672); x_734 = l_Lean_Syntax_node4(x_672, x_733, x_54, x_716, x_721, x_732); -x_735 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_735 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_672); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_735); @@ -10745,17 +10135,17 @@ x_738 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_738, 0, x_672); lean_ctor_set(x_738, 1, x_58); lean_ctor_set(x_738, 2, x_737); -x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_672); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_739); lean_ctor_set(x_41, 0, x_672); -x_740 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_740 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_672); x_741 = l_Lean_Syntax_node3(x_672, x_740, x_45, x_738, x_41); lean_inc(x_672); x_742 = l_Lean_Syntax_node1(x_672, x_58, x_741); -x_743 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_743 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_681, 5); lean_inc(x_672); x_744 = l_Lean_Syntax_node6(x_672, x_743, x_681, x_742, x_681, x_681, x_681, x_681); @@ -10822,13 +10212,13 @@ x_768 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_681); lean_inc(x_672); x_769 = l_Lean_Syntax_node5(x_672, x_768, x_19, x_751, x_759, x_767, x_681); -x_770 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_770 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_672); x_771 = l_Lean_Syntax_node2(x_672, x_770, x_744, x_769); if (lean_obj_tag(x_6) == 0) { lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; -x_772 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_772 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_672); x_773 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_773, 0, x_672); @@ -10973,7 +10363,7 @@ if (lean_is_scalar(x_805)) { } lean_ctor_set(x_812, 0, x_801); lean_ctor_set(x_812, 1, x_811); -x_813 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_813 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_801); if (lean_is_scalar(x_800)) { x_814 = lean_alloc_ctor(2, 2, 0); @@ -10995,7 +10385,7 @@ lean_ctor_set(x_819, 0, x_801); lean_ctor_set(x_819, 1, x_817); lean_ctor_set(x_819, 2, x_816); lean_ctor_set(x_819, 3, x_818); -x_820 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_820 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_801); if (lean_is_scalar(x_795)) { x_821 = lean_alloc_ctor(2, 2, 0); @@ -11005,7 +10395,7 @@ if (lean_is_scalar(x_795)) { } lean_ctor_set(x_821, 0, x_801); lean_ctor_set(x_821, 1, x_820); -x_822 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_822 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_801); if (lean_is_scalar(x_791)) { x_823 = lean_alloc_ctor(2, 2, 0); @@ -11021,7 +10411,7 @@ x_824 = l_Lean_Syntax_node1(x_801, x_58, x_36); lean_inc(x_786); lean_inc(x_801); x_825 = l_Lean_Syntax_node3(x_801, x_58, x_786, x_823, x_824); -x_826 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_826 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_801); x_827 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_827, 0, x_801); @@ -11029,7 +10419,7 @@ lean_ctor_set(x_827, 1, x_826); x_828 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_801); x_829 = l_Lean_Syntax_node3(x_801, x_828, x_821, x_825, x_827); -x_830 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_830 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_801); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_830); @@ -11049,7 +10439,7 @@ lean_ctor_set(x_835, 3, x_834); lean_inc(x_796); lean_inc(x_801); x_836 = l_Lean_Syntax_node1(x_801, x_58, x_796); -x_837 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_837 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_801); x_838 = l_Lean_Syntax_node2(x_801, x_837, x_835, x_836); x_839 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -11059,30 +10449,30 @@ lean_inc(x_33); lean_inc(x_810); lean_inc(x_801); x_840 = l_Lean_Syntax_node8(x_801, x_839, x_810, x_812, x_33, x_814, x_819, x_829, x_71, x_838); -x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_801); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_841); lean_ctor_set(x_54, 0, x_801); -x_842 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_842 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_842); lean_ctor_set(x_50, 0, x_33); x_843 = lean_array_mk(x_50); x_844 = lean_box(2); -x_845 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_845 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_846 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_846, 0, x_844); lean_ctor_set(x_846, 1, x_845); lean_ctor_set(x_846, 2, x_843); -x_847 = l_Lake_DSL_buildDeclSig___closed__19; +x_847 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_814); lean_inc(x_801); x_848 = l_Lean_Syntax_node2(x_801, x_847, x_814, x_789); lean_inc(x_801); x_849 = l_Lean_Syntax_node1(x_801, x_58, x_848); -x_850 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_850 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_810); lean_inc(x_801); x_851 = l_Lean_Syntax_node2(x_801, x_850, x_810, x_849); @@ -11102,20 +10492,20 @@ lean_inc(x_801); x_857 = l_Lean_Syntax_node4(x_801, x_58, x_786, x_36, x_796, x_31); lean_inc(x_801); x_858 = l_Lean_Syntax_node2(x_801, x_837, x_856, x_857); -x_859 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_859 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_810, 2); lean_inc(x_801); x_860 = l_Lean_Syntax_node2(x_801, x_859, x_810, x_810); -x_861 = l_Lake_DSL_buildDeclSig___closed__24; +x_861 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_810); lean_inc(x_860); lean_inc(x_71); lean_inc(x_801); x_862 = l_Lean_Syntax_node4(x_801, x_861, x_71, x_858, x_860, x_810); -x_863 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_863 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_801); x_864 = l_Lean_Syntax_node4(x_801, x_863, x_54, x_846, x_851, x_862); -x_865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_801); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_865); @@ -11129,17 +10519,17 @@ x_868 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_868, 0, x_801); lean_ctor_set(x_868, 1, x_58); lean_ctor_set(x_868, 2, x_867); -x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_801); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_869); lean_ctor_set(x_41, 0, x_801); -x_870 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_870 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_801); x_871 = l_Lean_Syntax_node3(x_801, x_870, x_45, x_868, x_41); lean_inc(x_801); x_872 = l_Lean_Syntax_node1(x_801, x_58, x_871); -x_873 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_873 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_810, 5); lean_inc(x_801); x_874 = l_Lean_Syntax_node6(x_801, x_873, x_810, x_872, x_810, x_810, x_810, x_810); @@ -11206,13 +10596,13 @@ x_898 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_810); lean_inc(x_801); x_899 = l_Lean_Syntax_node5(x_801, x_898, x_19, x_881, x_889, x_897, x_810); -x_900 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_900 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_801); x_901 = l_Lean_Syntax_node2(x_801, x_900, x_874, x_899); if (lean_obj_tag(x_6) == 0) { lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; -x_902 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_902 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_801); x_903 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_903, 0, x_801); @@ -11390,7 +10780,7 @@ if (lean_is_scalar(x_947)) { } lean_ctor_set(x_954, 0, x_943); lean_ctor_set(x_954, 1, x_953); -x_955 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_955 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_943); if (lean_is_scalar(x_942)) { x_956 = lean_alloc_ctor(2, 2, 0); @@ -11412,7 +10802,7 @@ lean_ctor_set(x_961, 0, x_943); lean_ctor_set(x_961, 1, x_959); lean_ctor_set(x_961, 2, x_958); lean_ctor_set(x_961, 3, x_960); -x_962 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_962 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_943); if (lean_is_scalar(x_937)) { x_963 = lean_alloc_ctor(2, 2, 0); @@ -11422,7 +10812,7 @@ if (lean_is_scalar(x_937)) { } lean_ctor_set(x_963, 0, x_943); lean_ctor_set(x_963, 1, x_962); -x_964 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_964 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_943); if (lean_is_scalar(x_933)) { x_965 = lean_alloc_ctor(2, 2, 0); @@ -11438,7 +10828,7 @@ x_966 = l_Lean_Syntax_node1(x_943, x_58, x_36); lean_inc(x_927); lean_inc(x_943); x_967 = l_Lean_Syntax_node3(x_943, x_58, x_927, x_965, x_966); -x_968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_943); if (lean_is_scalar(x_929)) { x_969 = lean_alloc_ctor(2, 2, 0); @@ -11451,7 +10841,7 @@ lean_ctor_set(x_969, 1, x_968); x_970 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_943); x_971 = l_Lean_Syntax_node3(x_943, x_970, x_963, x_967, x_969); -x_972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_943); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_972); @@ -11471,7 +10861,7 @@ lean_ctor_set(x_977, 3, x_976); lean_inc(x_938); lean_inc(x_943); x_978 = l_Lean_Syntax_node1(x_943, x_58, x_938); -x_979 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_979 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_943); x_980 = l_Lean_Syntax_node2(x_943, x_979, x_977, x_978); x_981 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -11481,30 +10871,30 @@ lean_inc(x_33); lean_inc(x_952); lean_inc(x_943); x_982 = l_Lean_Syntax_node8(x_943, x_981, x_952, x_954, x_33, x_956, x_961, x_971, x_71, x_980); -x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_943); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_983); lean_ctor_set(x_54, 0, x_943); -x_984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_984); lean_ctor_set(x_50, 0, x_33); x_985 = lean_array_mk(x_50); x_986 = lean_box(2); -x_987 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_987 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_988 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_988, 0, x_986); lean_ctor_set(x_988, 1, x_987); lean_ctor_set(x_988, 2, x_985); -x_989 = l_Lake_DSL_buildDeclSig___closed__19; +x_989 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_956); lean_inc(x_943); x_990 = l_Lean_Syntax_node2(x_943, x_989, x_956, x_931); lean_inc(x_943); x_991 = l_Lean_Syntax_node1(x_943, x_58, x_990); -x_992 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_992 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_952); lean_inc(x_943); x_993 = l_Lean_Syntax_node2(x_943, x_992, x_952, x_991); @@ -11524,20 +10914,20 @@ lean_inc(x_943); x_999 = l_Lean_Syntax_node4(x_943, x_58, x_927, x_36, x_938, x_31); lean_inc(x_943); x_1000 = l_Lean_Syntax_node2(x_943, x_979, x_998, x_999); -x_1001 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1001 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_952, 2); lean_inc(x_943); x_1002 = l_Lean_Syntax_node2(x_943, x_1001, x_952, x_952); -x_1003 = l_Lake_DSL_buildDeclSig___closed__24; +x_1003 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_952); lean_inc(x_1002); lean_inc(x_71); lean_inc(x_943); x_1004 = l_Lean_Syntax_node4(x_943, x_1003, x_71, x_1000, x_1002, x_952); -x_1005 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1005 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_943); x_1006 = l_Lean_Syntax_node4(x_943, x_1005, x_54, x_988, x_993, x_1004); -x_1007 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1007 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_943); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_1007); @@ -11551,17 +10941,17 @@ x_1010 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1010, 0, x_943); lean_ctor_set(x_1010, 1, x_58); lean_ctor_set(x_1010, 2, x_1009); -x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_943); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1011); lean_ctor_set(x_41, 0, x_943); -x_1012 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_943); x_1013 = l_Lean_Syntax_node3(x_943, x_1012, x_45, x_1010, x_41); lean_inc(x_943); x_1014 = l_Lean_Syntax_node1(x_943, x_58, x_1013); -x_1015 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1015 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_952, 5); lean_inc(x_943); x_1016 = l_Lean_Syntax_node6(x_943, x_1015, x_952, x_1014, x_952, x_952, x_952, x_952); @@ -11628,13 +11018,13 @@ x_1040 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_952); lean_inc(x_943); x_1041 = l_Lean_Syntax_node5(x_943, x_1040, x_19, x_1023, x_1031, x_1039, x_952); -x_1042 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1042 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_943); x_1043 = l_Lean_Syntax_node2(x_943, x_1042, x_1016, x_1041); if (lean_obj_tag(x_6) == 0) { lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; -x_1044 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1044 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_943); x_1045 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1045, 0, x_943); @@ -11828,7 +11218,7 @@ if (lean_is_scalar(x_1093)) { } lean_ctor_set(x_1100, 0, x_1089); lean_ctor_set(x_1100, 1, x_1099); -x_1101 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1101 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1089); if (lean_is_scalar(x_1088)) { x_1102 = lean_alloc_ctor(2, 2, 0); @@ -11850,7 +11240,7 @@ lean_ctor_set(x_1107, 0, x_1089); lean_ctor_set(x_1107, 1, x_1105); lean_ctor_set(x_1107, 2, x_1104); lean_ctor_set(x_1107, 3, x_1106); -x_1108 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1108 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1089); if (lean_is_scalar(x_1083)) { x_1109 = lean_alloc_ctor(2, 2, 0); @@ -11860,7 +11250,7 @@ if (lean_is_scalar(x_1083)) { } lean_ctor_set(x_1109, 0, x_1089); lean_ctor_set(x_1109, 1, x_1108); -x_1110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1089); if (lean_is_scalar(x_1079)) { x_1111 = lean_alloc_ctor(2, 2, 0); @@ -11876,7 +11266,7 @@ x_1112 = l_Lean_Syntax_node1(x_1089, x_58, x_36); lean_inc(x_1073); lean_inc(x_1089); x_1113 = l_Lean_Syntax_node3(x_1089, x_58, x_1073, x_1111, x_1112); -x_1114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1089); if (lean_is_scalar(x_1075)) { x_1115 = lean_alloc_ctor(2, 2, 0); @@ -11889,7 +11279,7 @@ lean_ctor_set(x_1115, 1, x_1114); x_1116 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1089); x_1117 = l_Lean_Syntax_node3(x_1089, x_1116, x_1109, x_1113, x_1115); -x_1118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1089); lean_ctor_set_tag(x_71, 2); lean_ctor_set(x_71, 1, x_1118); @@ -11909,7 +11299,7 @@ lean_ctor_set(x_1123, 3, x_1122); lean_inc(x_1084); lean_inc(x_1089); x_1124 = l_Lean_Syntax_node1(x_1089, x_58, x_1084); -x_1125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1089); x_1126 = l_Lean_Syntax_node2(x_1089, x_1125, x_1123, x_1124); x_1127 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -11919,30 +11309,30 @@ lean_inc(x_33); lean_inc(x_1098); lean_inc(x_1089); x_1128 = l_Lean_Syntax_node8(x_1089, x_1127, x_1098, x_1100, x_33, x_1102, x_1107, x_1117, x_71, x_1126); -x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1089); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_1129); lean_ctor_set(x_54, 0, x_1089); -x_1130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_1130); lean_ctor_set(x_50, 0, x_33); x_1131 = lean_array_mk(x_50); x_1132 = lean_box(2); -x_1133 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1133 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1134 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1134, 0, x_1132); lean_ctor_set(x_1134, 1, x_1133); lean_ctor_set(x_1134, 2, x_1131); -x_1135 = l_Lake_DSL_buildDeclSig___closed__19; +x_1135 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1102); lean_inc(x_1089); x_1136 = l_Lean_Syntax_node2(x_1089, x_1135, x_1102, x_1077); lean_inc(x_1089); x_1137 = l_Lean_Syntax_node1(x_1089, x_58, x_1136); -x_1138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1098); lean_inc(x_1089); x_1139 = l_Lean_Syntax_node2(x_1089, x_1138, x_1098, x_1137); @@ -11962,20 +11352,20 @@ lean_inc(x_1089); x_1145 = l_Lean_Syntax_node4(x_1089, x_58, x_1073, x_36, x_1084, x_31); lean_inc(x_1089); x_1146 = l_Lean_Syntax_node2(x_1089, x_1125, x_1144, x_1145); -x_1147 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1147 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1098, 2); lean_inc(x_1089); x_1148 = l_Lean_Syntax_node2(x_1089, x_1147, x_1098, x_1098); -x_1149 = l_Lake_DSL_buildDeclSig___closed__24; +x_1149 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1098); lean_inc(x_1148); lean_inc(x_71); lean_inc(x_1089); x_1150 = l_Lean_Syntax_node4(x_1089, x_1149, x_71, x_1146, x_1148, x_1098); -x_1151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1089); x_1152 = l_Lean_Syntax_node4(x_1089, x_1151, x_54, x_1134, x_1139, x_1150); -x_1153 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1153 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1089); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_1153); @@ -11989,17 +11379,17 @@ x_1156 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1156, 0, x_1089); lean_ctor_set(x_1156, 1, x_58); lean_ctor_set(x_1156, 2, x_1155); -x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1089); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1157); lean_ctor_set(x_41, 0, x_1089); -x_1158 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1158 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1089); x_1159 = l_Lean_Syntax_node3(x_1089, x_1158, x_45, x_1156, x_41); lean_inc(x_1089); x_1160 = l_Lean_Syntax_node1(x_1089, x_58, x_1159); -x_1161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1098, 5); lean_inc(x_1089); x_1162 = l_Lean_Syntax_node6(x_1089, x_1161, x_1098, x_1160, x_1098, x_1098, x_1098, x_1098); @@ -12066,13 +11456,13 @@ x_1186 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1098); lean_inc(x_1089); x_1187 = l_Lean_Syntax_node5(x_1089, x_1186, x_19, x_1169, x_1177, x_1185, x_1098); -x_1188 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1188 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1089); x_1189 = l_Lean_Syntax_node2(x_1089, x_1188, x_1162, x_1187); if (lean_obj_tag(x_6) == 0) { lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; -x_1190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1089); x_1191 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1191, 0, x_1089); @@ -12286,7 +11676,7 @@ if (lean_is_scalar(x_1244)) { } lean_ctor_set(x_1251, 0, x_1240); lean_ctor_set(x_1251, 1, x_1250); -x_1252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1240); if (lean_is_scalar(x_1239)) { x_1253 = lean_alloc_ctor(2, 2, 0); @@ -12308,7 +11698,7 @@ lean_ctor_set(x_1258, 0, x_1240); lean_ctor_set(x_1258, 1, x_1256); lean_ctor_set(x_1258, 2, x_1255); lean_ctor_set(x_1258, 3, x_1257); -x_1259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1259 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1240); if (lean_is_scalar(x_1234)) { x_1260 = lean_alloc_ctor(2, 2, 0); @@ -12318,7 +11708,7 @@ if (lean_is_scalar(x_1234)) { } lean_ctor_set(x_1260, 0, x_1240); lean_ctor_set(x_1260, 1, x_1259); -x_1261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1261 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1240); if (lean_is_scalar(x_1230)) { x_1262 = lean_alloc_ctor(2, 2, 0); @@ -12334,7 +11724,7 @@ x_1263 = l_Lean_Syntax_node1(x_1240, x_58, x_36); lean_inc(x_1224); lean_inc(x_1240); x_1264 = l_Lean_Syntax_node3(x_1240, x_58, x_1224, x_1262, x_1263); -x_1265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1240); if (lean_is_scalar(x_1226)) { x_1266 = lean_alloc_ctor(2, 2, 0); @@ -12347,7 +11737,7 @@ lean_ctor_set(x_1266, 1, x_1265); x_1267 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1240); x_1268 = l_Lean_Syntax_node3(x_1240, x_1267, x_1260, x_1264, x_1266); -x_1269 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1269 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1240); x_1270 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1270, 0, x_1240); @@ -12367,7 +11757,7 @@ lean_ctor_set(x_1275, 3, x_1274); lean_inc(x_1235); lean_inc(x_1240); x_1276 = l_Lean_Syntax_node1(x_1240, x_58, x_1235); -x_1277 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1277 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1240); x_1278 = l_Lean_Syntax_node2(x_1240, x_1277, x_1275, x_1276); x_1279 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -12377,30 +11767,30 @@ lean_inc(x_33); lean_inc(x_1249); lean_inc(x_1240); x_1280 = l_Lean_Syntax_node8(x_1240, x_1279, x_1249, x_1251, x_33, x_1253, x_1258, x_1268, x_1270, x_1278); -x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1240); lean_ctor_set_tag(x_54, 2); lean_ctor_set(x_54, 1, x_1281); lean_ctor_set(x_54, 0, x_1240); -x_1282 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1282 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_1282); lean_ctor_set(x_50, 0, x_33); x_1283 = lean_array_mk(x_50); x_1284 = lean_box(2); -x_1285 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1285 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1286 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1286, 0, x_1284); lean_ctor_set(x_1286, 1, x_1285); lean_ctor_set(x_1286, 2, x_1283); -x_1287 = l_Lake_DSL_buildDeclSig___closed__19; +x_1287 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1253); lean_inc(x_1240); x_1288 = l_Lean_Syntax_node2(x_1240, x_1287, x_1253, x_1228); lean_inc(x_1240); x_1289 = l_Lean_Syntax_node1(x_1240, x_58, x_1288); -x_1290 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1290 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1249); lean_inc(x_1240); x_1291 = l_Lean_Syntax_node2(x_1240, x_1290, x_1249, x_1289); @@ -12420,20 +11810,20 @@ lean_inc(x_1240); x_1297 = l_Lean_Syntax_node4(x_1240, x_58, x_1224, x_36, x_1235, x_31); lean_inc(x_1240); x_1298 = l_Lean_Syntax_node2(x_1240, x_1277, x_1296, x_1297); -x_1299 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1299 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1249, 2); lean_inc(x_1240); x_1300 = l_Lean_Syntax_node2(x_1240, x_1299, x_1249, x_1249); -x_1301 = l_Lake_DSL_buildDeclSig___closed__24; +x_1301 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1249); lean_inc(x_1300); lean_inc(x_1270); lean_inc(x_1240); x_1302 = l_Lean_Syntax_node4(x_1240, x_1301, x_1270, x_1298, x_1300, x_1249); -x_1303 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1303 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1240); x_1304 = l_Lean_Syntax_node4(x_1240, x_1303, x_54, x_1286, x_1291, x_1302); -x_1305 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1305 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1240); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_1305); @@ -12447,17 +11837,17 @@ x_1308 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1308, 0, x_1240); lean_ctor_set(x_1308, 1, x_58); lean_ctor_set(x_1308, 2, x_1307); -x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1240); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1309); lean_ctor_set(x_41, 0, x_1240); -x_1310 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1310 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1240); x_1311 = l_Lean_Syntax_node3(x_1240, x_1310, x_45, x_1308, x_41); lean_inc(x_1240); x_1312 = l_Lean_Syntax_node1(x_1240, x_58, x_1311); -x_1313 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1313 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1249, 5); lean_inc(x_1240); x_1314 = l_Lean_Syntax_node6(x_1240, x_1313, x_1249, x_1312, x_1249, x_1249, x_1249, x_1249); @@ -12524,13 +11914,13 @@ x_1338 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1249); lean_inc(x_1240); x_1339 = l_Lean_Syntax_node5(x_1240, x_1338, x_19, x_1321, x_1329, x_1337, x_1249); -x_1340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1240); x_1341 = l_Lean_Syntax_node2(x_1240, x_1340, x_1314, x_1339); if (lean_obj_tag(x_6) == 0) { lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; -x_1342 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1342 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1240); x_1343 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1343, 0, x_1240); @@ -12590,14 +11980,14 @@ x_1357 = lean_ctor_get(x_54, 1); lean_inc(x_1357); lean_inc(x_1356); lean_dec(x_54); -x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1359 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1359 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_49); x_1360 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1360, 0, x_49); lean_ctor_set(x_1360, 1, x_1358); lean_ctor_set(x_1360, 2, x_1359); -x_1361 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1361 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1360); lean_inc(x_49); x_1362 = l_Lean_Syntax_node1(x_49, x_1361, x_1360); @@ -12610,10 +12000,10 @@ lean_ctor_set(x_1366, 0, x_49); lean_ctor_set(x_1366, 1, x_1365); lean_ctor_set(x_1366, 2, x_1364); lean_ctor_set(x_1366, 3, x_29); -x_1367 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1367 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_49); x_1368 = l_Lean_Syntax_node2(x_49, x_1367, x_1366, x_1360); -x_1369 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1369 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1370 = l_Lean_Syntax_node2(x_49, x_1369, x_1362, x_1368); x_1371 = l_Lean_Elab_Command_getRef(x_10, x_11, x_1357); x_1372 = lean_ctor_get(x_1371, 0); @@ -12782,7 +12172,7 @@ if (lean_is_scalar(x_1413)) { } lean_ctor_set(x_1420, 0, x_1409); lean_ctor_set(x_1420, 1, x_1419); -x_1421 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1421 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1409); if (lean_is_scalar(x_1408)) { x_1422 = lean_alloc_ctor(2, 2, 0); @@ -12804,7 +12194,7 @@ lean_ctor_set(x_1427, 0, x_1409); lean_ctor_set(x_1427, 1, x_1425); lean_ctor_set(x_1427, 2, x_1424); lean_ctor_set(x_1427, 3, x_1426); -x_1428 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1428 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1409); if (lean_is_scalar(x_1403)) { x_1429 = lean_alloc_ctor(2, 2, 0); @@ -12814,7 +12204,7 @@ if (lean_is_scalar(x_1403)) { } lean_ctor_set(x_1429, 0, x_1409); lean_ctor_set(x_1429, 1, x_1428); -x_1430 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1430 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1409); if (lean_is_scalar(x_1399)) { x_1431 = lean_alloc_ctor(2, 2, 0); @@ -12830,7 +12220,7 @@ x_1432 = l_Lean_Syntax_node1(x_1409, x_1358, x_36); lean_inc(x_1393); lean_inc(x_1409); x_1433 = l_Lean_Syntax_node3(x_1409, x_1358, x_1393, x_1431, x_1432); -x_1434 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1434 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1409); if (lean_is_scalar(x_1395)) { x_1435 = lean_alloc_ctor(2, 2, 0); @@ -12843,7 +12233,7 @@ lean_ctor_set(x_1435, 1, x_1434); x_1436 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1409); x_1437 = l_Lean_Syntax_node3(x_1409, x_1436, x_1429, x_1433, x_1435); -x_1438 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1438 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1409); if (lean_is_scalar(x_1374)) { x_1439 = lean_alloc_ctor(2, 2, 0); @@ -12868,7 +12258,7 @@ lean_ctor_set(x_1444, 3, x_1443); lean_inc(x_1404); lean_inc(x_1409); x_1445 = l_Lean_Syntax_node1(x_1409, x_1358, x_1404); -x_1446 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1446 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1409); x_1447 = l_Lean_Syntax_node2(x_1409, x_1446, x_1444, x_1445); x_1448 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -12878,30 +12268,30 @@ lean_inc(x_33); lean_inc(x_1418); lean_inc(x_1409); x_1449 = l_Lean_Syntax_node8(x_1409, x_1448, x_1418, x_1420, x_33, x_1422, x_1427, x_1437, x_1439, x_1447); -x_1450 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1450 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1409); x_1451 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1451, 0, x_1409); lean_ctor_set(x_1451, 1, x_1450); -x_1452 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1452 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); lean_ctor_set_tag(x_50, 1); lean_ctor_set(x_50, 1, x_1452); lean_ctor_set(x_50, 0, x_33); x_1453 = lean_array_mk(x_50); x_1454 = lean_box(2); -x_1455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1456 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1456, 0, x_1454); lean_ctor_set(x_1456, 1, x_1455); lean_ctor_set(x_1456, 2, x_1453); -x_1457 = l_Lake_DSL_buildDeclSig___closed__19; +x_1457 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1422); lean_inc(x_1409); x_1458 = l_Lean_Syntax_node2(x_1409, x_1457, x_1422, x_1397); lean_inc(x_1409); x_1459 = l_Lean_Syntax_node1(x_1409, x_1358, x_1458); -x_1460 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1460 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1418); lean_inc(x_1409); x_1461 = l_Lean_Syntax_node2(x_1409, x_1460, x_1418, x_1459); @@ -12921,20 +12311,20 @@ lean_inc(x_1409); x_1467 = l_Lean_Syntax_node4(x_1409, x_1358, x_1393, x_36, x_1404, x_31); lean_inc(x_1409); x_1468 = l_Lean_Syntax_node2(x_1409, x_1446, x_1466, x_1467); -x_1469 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1469 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1418, 2); lean_inc(x_1409); x_1470 = l_Lean_Syntax_node2(x_1409, x_1469, x_1418, x_1418); -x_1471 = l_Lake_DSL_buildDeclSig___closed__24; +x_1471 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1418); lean_inc(x_1470); lean_inc(x_1439); lean_inc(x_1409); x_1472 = l_Lean_Syntax_node4(x_1409, x_1471, x_1439, x_1468, x_1470, x_1418); -x_1473 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1473 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1409); x_1474 = l_Lean_Syntax_node4(x_1409, x_1473, x_1451, x_1456, x_1461, x_1472); -x_1475 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1475 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1409); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_1475); @@ -12948,17 +12338,17 @@ x_1478 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1478, 0, x_1409); lean_ctor_set(x_1478, 1, x_1358); lean_ctor_set(x_1478, 2, x_1477); -x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1409); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1479); lean_ctor_set(x_41, 0, x_1409); -x_1480 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1480 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1409); x_1481 = l_Lean_Syntax_node3(x_1409, x_1480, x_45, x_1478, x_41); lean_inc(x_1409); x_1482 = l_Lean_Syntax_node1(x_1409, x_1358, x_1481); -x_1483 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1483 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1418, 5); lean_inc(x_1409); x_1484 = l_Lean_Syntax_node6(x_1409, x_1483, x_1418, x_1482, x_1418, x_1418, x_1418, x_1418); @@ -13025,13 +12415,13 @@ x_1508 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1418); lean_inc(x_1409); x_1509 = l_Lean_Syntax_node5(x_1409, x_1508, x_19, x_1491, x_1499, x_1507, x_1418); -x_1510 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1510 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1409); x_1511 = l_Lean_Syntax_node2(x_1409, x_1510, x_1484, x_1509); if (lean_obj_tag(x_6) == 0) { lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; -x_1512 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1512 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1409); x_1513 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1513, 0, x_1409); @@ -13104,14 +12494,14 @@ if (lean_is_exclusive(x_1528)) { lean_dec_ref(x_1528); x_1531 = lean_box(0); } -x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1533 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1533 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_49); x_1534 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1534, 0, x_49); lean_ctor_set(x_1534, 1, x_1532); lean_ctor_set(x_1534, 2, x_1533); -x_1535 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1535 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1534); lean_inc(x_49); x_1536 = l_Lean_Syntax_node1(x_49, x_1535, x_1534); @@ -13124,10 +12514,10 @@ lean_ctor_set(x_1540, 0, x_49); lean_ctor_set(x_1540, 1, x_1539); lean_ctor_set(x_1540, 2, x_1538); lean_ctor_set(x_1540, 3, x_29); -x_1541 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1541 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_49); x_1542 = l_Lean_Syntax_node2(x_49, x_1541, x_1540, x_1534); -x_1543 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1543 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1544 = l_Lean_Syntax_node2(x_49, x_1543, x_1536, x_1542); x_1545 = l_Lean_Elab_Command_getRef(x_10, x_11, x_1530); x_1546 = lean_ctor_get(x_1545, 0); @@ -13296,7 +12686,7 @@ if (lean_is_scalar(x_1587)) { } lean_ctor_set(x_1594, 0, x_1583); lean_ctor_set(x_1594, 1, x_1593); -x_1595 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1595 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1583); if (lean_is_scalar(x_1582)) { x_1596 = lean_alloc_ctor(2, 2, 0); @@ -13318,7 +12708,7 @@ lean_ctor_set(x_1601, 0, x_1583); lean_ctor_set(x_1601, 1, x_1599); lean_ctor_set(x_1601, 2, x_1598); lean_ctor_set(x_1601, 3, x_1600); -x_1602 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1602 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1583); if (lean_is_scalar(x_1577)) { x_1603 = lean_alloc_ctor(2, 2, 0); @@ -13328,7 +12718,7 @@ if (lean_is_scalar(x_1577)) { } lean_ctor_set(x_1603, 0, x_1583); lean_ctor_set(x_1603, 1, x_1602); -x_1604 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1604 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1583); if (lean_is_scalar(x_1573)) { x_1605 = lean_alloc_ctor(2, 2, 0); @@ -13344,7 +12734,7 @@ x_1606 = l_Lean_Syntax_node1(x_1583, x_1532, x_36); lean_inc(x_1567); lean_inc(x_1583); x_1607 = l_Lean_Syntax_node3(x_1583, x_1532, x_1567, x_1605, x_1606); -x_1608 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1608 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1583); if (lean_is_scalar(x_1569)) { x_1609 = lean_alloc_ctor(2, 2, 0); @@ -13357,7 +12747,7 @@ lean_ctor_set(x_1609, 1, x_1608); x_1610 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1583); x_1611 = l_Lean_Syntax_node3(x_1583, x_1610, x_1603, x_1607, x_1609); -x_1612 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1612 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1583); if (lean_is_scalar(x_1548)) { x_1613 = lean_alloc_ctor(2, 2, 0); @@ -13382,7 +12772,7 @@ lean_ctor_set(x_1618, 3, x_1617); lean_inc(x_1578); lean_inc(x_1583); x_1619 = l_Lean_Syntax_node1(x_1583, x_1532, x_1578); -x_1620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1583); x_1621 = l_Lean_Syntax_node2(x_1583, x_1620, x_1618, x_1619); x_1622 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -13392,7 +12782,7 @@ lean_inc(x_33); lean_inc(x_1592); lean_inc(x_1583); x_1623 = l_Lean_Syntax_node8(x_1583, x_1622, x_1592, x_1594, x_33, x_1596, x_1601, x_1611, x_1613, x_1621); -x_1624 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1624 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1583); if (lean_is_scalar(x_1531)) { x_1625 = lean_alloc_ctor(2, 2, 0); @@ -13402,25 +12792,25 @@ if (lean_is_scalar(x_1531)) { } lean_ctor_set(x_1625, 0, x_1583); lean_ctor_set(x_1625, 1, x_1624); -x_1626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); x_1627 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1627, 0, x_33); lean_ctor_set(x_1627, 1, x_1626); x_1628 = lean_array_mk(x_1627); x_1629 = lean_box(2); -x_1630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1631 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1631, 0, x_1629); lean_ctor_set(x_1631, 1, x_1630); lean_ctor_set(x_1631, 2, x_1628); -x_1632 = l_Lake_DSL_buildDeclSig___closed__19; +x_1632 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1596); lean_inc(x_1583); x_1633 = l_Lean_Syntax_node2(x_1583, x_1632, x_1596, x_1571); lean_inc(x_1583); x_1634 = l_Lean_Syntax_node1(x_1583, x_1532, x_1633); -x_1635 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1635 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1592); lean_inc(x_1583); x_1636 = l_Lean_Syntax_node2(x_1583, x_1635, x_1592, x_1634); @@ -13440,20 +12830,20 @@ lean_inc(x_1583); x_1642 = l_Lean_Syntax_node4(x_1583, x_1532, x_1567, x_36, x_1578, x_31); lean_inc(x_1583); x_1643 = l_Lean_Syntax_node2(x_1583, x_1620, x_1641, x_1642); -x_1644 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1644 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1592, 2); lean_inc(x_1583); x_1645 = l_Lean_Syntax_node2(x_1583, x_1644, x_1592, x_1592); -x_1646 = l_Lake_DSL_buildDeclSig___closed__24; +x_1646 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1592); lean_inc(x_1645); lean_inc(x_1613); lean_inc(x_1583); x_1647 = l_Lean_Syntax_node4(x_1583, x_1646, x_1613, x_1643, x_1645, x_1592); -x_1648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1583); x_1649 = l_Lean_Syntax_node4(x_1583, x_1648, x_1625, x_1631, x_1636, x_1647); -x_1650 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1650 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1583); lean_ctor_set_tag(x_45, 2); lean_ctor_set(x_45, 1, x_1650); @@ -13467,17 +12857,17 @@ x_1653 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1653, 0, x_1583); lean_ctor_set(x_1653, 1, x_1532); lean_ctor_set(x_1653, 2, x_1652); -x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1583); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1654); lean_ctor_set(x_41, 0, x_1583); -x_1655 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1655 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1583); x_1656 = l_Lean_Syntax_node3(x_1583, x_1655, x_45, x_1653, x_41); lean_inc(x_1583); x_1657 = l_Lean_Syntax_node1(x_1583, x_1532, x_1656); -x_1658 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1658 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1592, 5); lean_inc(x_1583); x_1659 = l_Lean_Syntax_node6(x_1583, x_1658, x_1592, x_1657, x_1592, x_1592, x_1592, x_1592); @@ -13544,13 +12934,13 @@ x_1683 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1592); lean_inc(x_1583); x_1684 = l_Lean_Syntax_node5(x_1583, x_1683, x_19, x_1666, x_1674, x_1682, x_1592); -x_1685 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1685 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1583); x_1686 = l_Lean_Syntax_node2(x_1583, x_1685, x_1659, x_1684); if (lean_obj_tag(x_6) == 0) { lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; -x_1687 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1687 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1583); x_1688 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1688, 0, x_1583); @@ -13638,14 +13028,14 @@ if (lean_is_exclusive(x_1708)) { lean_dec_ref(x_1708); x_1711 = lean_box(0); } -x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1713 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1713 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1703); x_1714 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1714, 0, x_1703); lean_ctor_set(x_1714, 1, x_1712); lean_ctor_set(x_1714, 2, x_1713); -x_1715 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1715 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1714); lean_inc(x_1703); x_1716 = l_Lean_Syntax_node1(x_1703, x_1715, x_1714); @@ -13658,10 +13048,10 @@ lean_ctor_set(x_1720, 0, x_1703); lean_ctor_set(x_1720, 1, x_1719); lean_ctor_set(x_1720, 2, x_1718); lean_ctor_set(x_1720, 3, x_29); -x_1721 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1721 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1703); x_1722 = l_Lean_Syntax_node2(x_1703, x_1721, x_1720, x_1714); -x_1723 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1723 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1724 = l_Lean_Syntax_node2(x_1703, x_1723, x_1716, x_1722); x_1725 = l_Lean_Elab_Command_getRef(x_10, x_11, x_1710); x_1726 = lean_ctor_get(x_1725, 0); @@ -13830,7 +13220,7 @@ if (lean_is_scalar(x_1767)) { } lean_ctor_set(x_1774, 0, x_1763); lean_ctor_set(x_1774, 1, x_1773); -x_1775 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1775 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1763); if (lean_is_scalar(x_1762)) { x_1776 = lean_alloc_ctor(2, 2, 0); @@ -13852,7 +13242,7 @@ lean_ctor_set(x_1781, 0, x_1763); lean_ctor_set(x_1781, 1, x_1779); lean_ctor_set(x_1781, 2, x_1778); lean_ctor_set(x_1781, 3, x_1780); -x_1782 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1782 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1763); if (lean_is_scalar(x_1757)) { x_1783 = lean_alloc_ctor(2, 2, 0); @@ -13862,7 +13252,7 @@ if (lean_is_scalar(x_1757)) { } lean_ctor_set(x_1783, 0, x_1763); lean_ctor_set(x_1783, 1, x_1782); -x_1784 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1784 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1763); if (lean_is_scalar(x_1753)) { x_1785 = lean_alloc_ctor(2, 2, 0); @@ -13878,7 +13268,7 @@ x_1786 = l_Lean_Syntax_node1(x_1763, x_1712, x_36); lean_inc(x_1747); lean_inc(x_1763); x_1787 = l_Lean_Syntax_node3(x_1763, x_1712, x_1747, x_1785, x_1786); -x_1788 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1788 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1763); if (lean_is_scalar(x_1749)) { x_1789 = lean_alloc_ctor(2, 2, 0); @@ -13891,7 +13281,7 @@ lean_ctor_set(x_1789, 1, x_1788); x_1790 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1763); x_1791 = l_Lean_Syntax_node3(x_1763, x_1790, x_1783, x_1787, x_1789); -x_1792 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1792 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1763); if (lean_is_scalar(x_1728)) { x_1793 = lean_alloc_ctor(2, 2, 0); @@ -13916,7 +13306,7 @@ lean_ctor_set(x_1798, 3, x_1797); lean_inc(x_1758); lean_inc(x_1763); x_1799 = l_Lean_Syntax_node1(x_1763, x_1712, x_1758); -x_1800 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1800 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1763); x_1801 = l_Lean_Syntax_node2(x_1763, x_1800, x_1798, x_1799); x_1802 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -13926,7 +13316,7 @@ lean_inc(x_33); lean_inc(x_1772); lean_inc(x_1763); x_1803 = l_Lean_Syntax_node8(x_1763, x_1802, x_1772, x_1774, x_33, x_1776, x_1781, x_1791, x_1793, x_1801); -x_1804 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1804 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1763); if (lean_is_scalar(x_1711)) { x_1805 = lean_alloc_ctor(2, 2, 0); @@ -13936,7 +13326,7 @@ if (lean_is_scalar(x_1711)) { } lean_ctor_set(x_1805, 0, x_1763); lean_ctor_set(x_1805, 1, x_1804); -x_1806 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1806 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); if (lean_is_scalar(x_1707)) { x_1807 = lean_alloc_ctor(1, 2, 0); @@ -13948,18 +13338,18 @@ lean_ctor_set(x_1807, 0, x_33); lean_ctor_set(x_1807, 1, x_1806); x_1808 = lean_array_mk(x_1807); x_1809 = lean_box(2); -x_1810 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1810 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1811 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1811, 0, x_1809); lean_ctor_set(x_1811, 1, x_1810); lean_ctor_set(x_1811, 2, x_1808); -x_1812 = l_Lake_DSL_buildDeclSig___closed__19; +x_1812 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1776); lean_inc(x_1763); x_1813 = l_Lean_Syntax_node2(x_1763, x_1812, x_1776, x_1751); lean_inc(x_1763); x_1814 = l_Lean_Syntax_node1(x_1763, x_1712, x_1813); -x_1815 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1815 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1772); lean_inc(x_1763); x_1816 = l_Lean_Syntax_node2(x_1763, x_1815, x_1772, x_1814); @@ -13979,20 +13369,20 @@ lean_inc(x_1763); x_1822 = l_Lean_Syntax_node4(x_1763, x_1712, x_1747, x_36, x_1758, x_31); lean_inc(x_1763); x_1823 = l_Lean_Syntax_node2(x_1763, x_1800, x_1821, x_1822); -x_1824 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1824 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1772, 2); lean_inc(x_1763); x_1825 = l_Lean_Syntax_node2(x_1763, x_1824, x_1772, x_1772); -x_1826 = l_Lake_DSL_buildDeclSig___closed__24; +x_1826 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1772); lean_inc(x_1825); lean_inc(x_1793); lean_inc(x_1763); x_1827 = l_Lean_Syntax_node4(x_1763, x_1826, x_1793, x_1823, x_1825, x_1772); -x_1828 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1828 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1763); x_1829 = l_Lean_Syntax_node4(x_1763, x_1828, x_1805, x_1811, x_1816, x_1827); -x_1830 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1830 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1763); x_1831 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1831, 0, x_1763); @@ -14006,17 +13396,17 @@ x_1834 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1834, 0, x_1763); lean_ctor_set(x_1834, 1, x_1712); lean_ctor_set(x_1834, 2, x_1833); -x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1763); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_1835); lean_ctor_set(x_41, 0, x_1763); -x_1836 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1763); x_1837 = l_Lean_Syntax_node3(x_1763, x_1836, x_1831, x_1834, x_41); lean_inc(x_1763); x_1838 = l_Lean_Syntax_node1(x_1763, x_1712, x_1837); -x_1839 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1839 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1772, 5); lean_inc(x_1763); x_1840 = l_Lean_Syntax_node6(x_1763, x_1839, x_1772, x_1838, x_1772, x_1772, x_1772, x_1772); @@ -14083,13 +13473,13 @@ x_1864 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1772); lean_inc(x_1763); x_1865 = l_Lean_Syntax_node5(x_1763, x_1864, x_19, x_1847, x_1855, x_1863, x_1772); -x_1866 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1866 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1763); x_1867 = l_Lean_Syntax_node2(x_1763, x_1866, x_1840, x_1865); if (lean_obj_tag(x_6) == 0) { lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; -x_1868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1763); x_1869 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1869, 0, x_1763); @@ -14190,14 +13580,14 @@ if (lean_is_exclusive(x_1893)) { lean_dec_ref(x_1893); x_1896 = lean_box(0); } -x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1898 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1898 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1888); x_1899 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1899, 0, x_1888); lean_ctor_set(x_1899, 1, x_1897); lean_ctor_set(x_1899, 2, x_1898); -x_1900 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1900 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1899); lean_inc(x_1888); x_1901 = l_Lean_Syntax_node1(x_1888, x_1900, x_1899); @@ -14210,10 +13600,10 @@ lean_ctor_set(x_1905, 0, x_1888); lean_ctor_set(x_1905, 1, x_1904); lean_ctor_set(x_1905, 2, x_1903); lean_ctor_set(x_1905, 3, x_29); -x_1906 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1906 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1888); x_1907 = l_Lean_Syntax_node2(x_1888, x_1906, x_1905, x_1899); -x_1908 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1908 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1909 = l_Lean_Syntax_node2(x_1888, x_1908, x_1901, x_1907); x_1910 = l_Lean_Elab_Command_getRef(x_10, x_11, x_1895); x_1911 = lean_ctor_get(x_1910, 0); @@ -14382,7 +13772,7 @@ if (lean_is_scalar(x_1952)) { } lean_ctor_set(x_1959, 0, x_1948); lean_ctor_set(x_1959, 1, x_1958); -x_1960 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1960 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1948); if (lean_is_scalar(x_1947)) { x_1961 = lean_alloc_ctor(2, 2, 0); @@ -14404,7 +13794,7 @@ lean_ctor_set(x_1966, 0, x_1948); lean_ctor_set(x_1966, 1, x_1964); lean_ctor_set(x_1966, 2, x_1963); lean_ctor_set(x_1966, 3, x_1965); -x_1967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1948); if (lean_is_scalar(x_1942)) { x_1968 = lean_alloc_ctor(2, 2, 0); @@ -14414,7 +13804,7 @@ if (lean_is_scalar(x_1942)) { } lean_ctor_set(x_1968, 0, x_1948); lean_ctor_set(x_1968, 1, x_1967); -x_1969 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1969 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1948); if (lean_is_scalar(x_1938)) { x_1970 = lean_alloc_ctor(2, 2, 0); @@ -14430,7 +13820,7 @@ x_1971 = l_Lean_Syntax_node1(x_1948, x_1897, x_36); lean_inc(x_1932); lean_inc(x_1948); x_1972 = l_Lean_Syntax_node3(x_1948, x_1897, x_1932, x_1970, x_1971); -x_1973 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1973 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1948); if (lean_is_scalar(x_1934)) { x_1974 = lean_alloc_ctor(2, 2, 0); @@ -14443,7 +13833,7 @@ lean_ctor_set(x_1974, 1, x_1973); x_1975 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1948); x_1976 = l_Lean_Syntax_node3(x_1948, x_1975, x_1968, x_1972, x_1974); -x_1977 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1977 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1948); if (lean_is_scalar(x_1913)) { x_1978 = lean_alloc_ctor(2, 2, 0); @@ -14468,7 +13858,7 @@ lean_ctor_set(x_1983, 3, x_1982); lean_inc(x_1943); lean_inc(x_1948); x_1984 = l_Lean_Syntax_node1(x_1948, x_1897, x_1943); -x_1985 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1985 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1948); x_1986 = l_Lean_Syntax_node2(x_1948, x_1985, x_1983, x_1984); x_1987 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -14478,7 +13868,7 @@ lean_inc(x_33); lean_inc(x_1957); lean_inc(x_1948); x_1988 = l_Lean_Syntax_node8(x_1948, x_1987, x_1957, x_1959, x_33, x_1961, x_1966, x_1976, x_1978, x_1986); -x_1989 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1989 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1948); if (lean_is_scalar(x_1896)) { x_1990 = lean_alloc_ctor(2, 2, 0); @@ -14488,7 +13878,7 @@ if (lean_is_scalar(x_1896)) { } lean_ctor_set(x_1990, 0, x_1948); lean_ctor_set(x_1990, 1, x_1989); -x_1991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_33); if (lean_is_scalar(x_1892)) { x_1992 = lean_alloc_ctor(1, 2, 0); @@ -14500,18 +13890,18 @@ lean_ctor_set(x_1992, 0, x_33); lean_ctor_set(x_1992, 1, x_1991); x_1993 = lean_array_mk(x_1992); x_1994 = lean_box(2); -x_1995 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1995 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1996 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1996, 0, x_1994); lean_ctor_set(x_1996, 1, x_1995); lean_ctor_set(x_1996, 2, x_1993); -x_1997 = l_Lake_DSL_buildDeclSig___closed__19; +x_1997 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1961); lean_inc(x_1948); x_1998 = l_Lean_Syntax_node2(x_1948, x_1997, x_1961, x_1936); lean_inc(x_1948); x_1999 = l_Lean_Syntax_node1(x_1948, x_1897, x_1998); -x_2000 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2000 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1957); lean_inc(x_1948); x_2001 = l_Lean_Syntax_node2(x_1948, x_2000, x_1957, x_1999); @@ -14531,20 +13921,20 @@ lean_inc(x_1948); x_2007 = l_Lean_Syntax_node4(x_1948, x_1897, x_1932, x_36, x_1943, x_31); lean_inc(x_1948); x_2008 = l_Lean_Syntax_node2(x_1948, x_1985, x_2006, x_2007); -x_2009 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2009 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1957, 2); lean_inc(x_1948); x_2010 = l_Lean_Syntax_node2(x_1948, x_2009, x_1957, x_1957); -x_2011 = l_Lake_DSL_buildDeclSig___closed__24; +x_2011 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1957); lean_inc(x_2010); lean_inc(x_1978); lean_inc(x_1948); x_2012 = l_Lean_Syntax_node4(x_1948, x_2011, x_1978, x_2008, x_2010, x_1957); -x_2013 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2013 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1948); x_2014 = l_Lean_Syntax_node4(x_1948, x_2013, x_1990, x_1996, x_2001, x_2012); -x_2015 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2015 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1948); if (lean_is_scalar(x_1887)) { x_2016 = lean_alloc_ctor(2, 2, 0); @@ -14563,17 +13953,17 @@ x_2019 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2019, 0, x_1948); lean_ctor_set(x_2019, 1, x_1897); lean_ctor_set(x_2019, 2, x_2018); -x_2020 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2020 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1948); x_2021 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2021, 0, x_1948); lean_ctor_set(x_2021, 1, x_2020); -x_2022 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2022 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1948); x_2023 = l_Lean_Syntax_node3(x_1948, x_2022, x_2016, x_2019, x_2021); lean_inc(x_1948); x_2024 = l_Lean_Syntax_node1(x_1948, x_1897, x_2023); -x_2025 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2025 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1957, 5); lean_inc(x_1948); x_2026 = l_Lean_Syntax_node6(x_1948, x_2025, x_1957, x_2024, x_1957, x_1957, x_1957, x_1957); @@ -14640,13 +14030,13 @@ x_2050 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1957); lean_inc(x_1948); x_2051 = l_Lean_Syntax_node5(x_1948, x_2050, x_19, x_2033, x_2041, x_2049, x_1957); -x_2052 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2052 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1948); x_2053 = l_Lean_Syntax_node2(x_1948, x_2052, x_2026, x_2051); if (lean_obj_tag(x_6) == 0) { lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; -x_2054 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2054 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1948); x_2055 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2055, 0, x_1948); @@ -14871,14 +14261,14 @@ if (lean_is_exclusive(x_2106)) { lean_dec_ref(x_2106); x_2109 = lean_box(0); } -x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2111 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2111 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2101); x_2112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2112, 0, x_2101); lean_ctor_set(x_2112, 1, x_2110); lean_ctor_set(x_2112, 2, x_2111); -x_2113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2112); lean_inc(x_2101); x_2114 = l_Lean_Syntax_node1(x_2101, x_2113, x_2112); @@ -14891,10 +14281,10 @@ lean_ctor_set(x_2118, 0, x_2101); lean_ctor_set(x_2118, 1, x_2117); lean_ctor_set(x_2118, 2, x_2116); lean_ctor_set(x_2118, 3, x_2080); -x_2119 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2119 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2101); x_2120 = l_Lean_Syntax_node2(x_2101, x_2119, x_2118, x_2112); -x_2121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2121 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2122 = l_Lean_Syntax_node2(x_2101, x_2121, x_2114, x_2120); x_2123 = l_Lean_Elab_Command_getRef(x_10, x_11, x_2108); x_2124 = lean_ctor_get(x_2123, 0); @@ -15063,7 +14453,7 @@ if (lean_is_scalar(x_2165)) { } lean_ctor_set(x_2172, 0, x_2161); lean_ctor_set(x_2172, 1, x_2171); -x_2173 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2173 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2161); if (lean_is_scalar(x_2160)) { x_2174 = lean_alloc_ctor(2, 2, 0); @@ -15085,7 +14475,7 @@ lean_ctor_set(x_2179, 0, x_2161); lean_ctor_set(x_2179, 1, x_2177); lean_ctor_set(x_2179, 2, x_2176); lean_ctor_set(x_2179, 3, x_2178); -x_2180 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2180 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2161); if (lean_is_scalar(x_2155)) { x_2181 = lean_alloc_ctor(2, 2, 0); @@ -15095,7 +14485,7 @@ if (lean_is_scalar(x_2155)) { } lean_ctor_set(x_2181, 0, x_2161); lean_ctor_set(x_2181, 1, x_2180); -x_2182 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2182 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2161); if (lean_is_scalar(x_2151)) { x_2183 = lean_alloc_ctor(2, 2, 0); @@ -15111,7 +14501,7 @@ x_2184 = l_Lean_Syntax_node1(x_2161, x_2110, x_2087); lean_inc(x_2145); lean_inc(x_2161); x_2185 = l_Lean_Syntax_node3(x_2161, x_2110, x_2145, x_2183, x_2184); -x_2186 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2186 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2161); if (lean_is_scalar(x_2147)) { x_2187 = lean_alloc_ctor(2, 2, 0); @@ -15124,7 +14514,7 @@ lean_ctor_set(x_2187, 1, x_2186); x_2188 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2161); x_2189 = l_Lean_Syntax_node3(x_2161, x_2188, x_2181, x_2185, x_2187); -x_2190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2161); if (lean_is_scalar(x_2126)) { x_2191 = lean_alloc_ctor(2, 2, 0); @@ -15149,7 +14539,7 @@ lean_ctor_set(x_2196, 3, x_2195); lean_inc(x_2156); lean_inc(x_2161); x_2197 = l_Lean_Syntax_node1(x_2161, x_2110, x_2156); -x_2198 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2198 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2161); x_2199 = l_Lean_Syntax_node2(x_2161, x_2198, x_2196, x_2197); x_2200 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -15159,7 +14549,7 @@ lean_inc(x_2084); lean_inc(x_2170); lean_inc(x_2161); x_2201 = l_Lean_Syntax_node8(x_2161, x_2200, x_2170, x_2172, x_2084, x_2174, x_2179, x_2189, x_2191, x_2199); -x_2202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2161); if (lean_is_scalar(x_2109)) { x_2203 = lean_alloc_ctor(2, 2, 0); @@ -15169,7 +14559,7 @@ if (lean_is_scalar(x_2109)) { } lean_ctor_set(x_2203, 0, x_2161); lean_ctor_set(x_2203, 1, x_2202); -x_2204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2204 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2084); if (lean_is_scalar(x_2105)) { x_2205 = lean_alloc_ctor(1, 2, 0); @@ -15181,18 +14571,18 @@ lean_ctor_set(x_2205, 0, x_2084); lean_ctor_set(x_2205, 1, x_2204); x_2206 = lean_array_mk(x_2205); x_2207 = lean_box(2); -x_2208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2208 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2209 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2209, 0, x_2207); lean_ctor_set(x_2209, 1, x_2208); lean_ctor_set(x_2209, 2, x_2206); -x_2210 = l_Lake_DSL_buildDeclSig___closed__19; +x_2210 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2174); lean_inc(x_2161); x_2211 = l_Lean_Syntax_node2(x_2161, x_2210, x_2174, x_2149); lean_inc(x_2161); x_2212 = l_Lean_Syntax_node1(x_2161, x_2110, x_2211); -x_2213 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2213 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2170); lean_inc(x_2161); x_2214 = l_Lean_Syntax_node2(x_2161, x_2213, x_2170, x_2212); @@ -15212,20 +14602,20 @@ lean_inc(x_2161); x_2220 = l_Lean_Syntax_node4(x_2161, x_2110, x_2145, x_2087, x_2156, x_2082); lean_inc(x_2161); x_2221 = l_Lean_Syntax_node2(x_2161, x_2198, x_2219, x_2220); -x_2222 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2222 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2170, 2); lean_inc(x_2161); x_2223 = l_Lean_Syntax_node2(x_2161, x_2222, x_2170, x_2170); -x_2224 = l_Lake_DSL_buildDeclSig___closed__24; +x_2224 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2170); lean_inc(x_2223); lean_inc(x_2191); lean_inc(x_2161); x_2225 = l_Lean_Syntax_node4(x_2161, x_2224, x_2191, x_2221, x_2223, x_2170); -x_2226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2161); x_2227 = l_Lean_Syntax_node4(x_2161, x_2226, x_2203, x_2209, x_2214, x_2225); -x_2228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2228 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2161); if (lean_is_scalar(x_2100)) { x_2229 = lean_alloc_ctor(2, 2, 0); @@ -15244,7 +14634,7 @@ x_2232 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2232, 0, x_2161); lean_ctor_set(x_2232, 1, x_2110); lean_ctor_set(x_2232, 2, x_2231); -x_2233 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2233 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2161); if (lean_is_scalar(x_2096)) { x_2234 = lean_alloc_ctor(2, 2, 0); @@ -15254,12 +14644,12 @@ if (lean_is_scalar(x_2096)) { } lean_ctor_set(x_2234, 0, x_2161); lean_ctor_set(x_2234, 1, x_2233); -x_2235 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2235 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2161); x_2236 = l_Lean_Syntax_node3(x_2161, x_2235, x_2229, x_2232, x_2234); lean_inc(x_2161); x_2237 = l_Lean_Syntax_node1(x_2161, x_2110, x_2236); -x_2238 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2238 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2170, 5); lean_inc(x_2161); x_2239 = l_Lean_Syntax_node6(x_2161, x_2238, x_2170, x_2237, x_2170, x_2170, x_2170, x_2170); @@ -15326,13 +14716,13 @@ x_2263 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2170); lean_inc(x_2161); x_2264 = l_Lean_Syntax_node5(x_2161, x_2263, x_19, x_2246, x_2254, x_2262, x_2170); -x_2265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2161); x_2266 = l_Lean_Syntax_node2(x_2161, x_2265, x_2239, x_2264); if (lean_obj_tag(x_6) == 0) { lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; -x_2267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2161); x_2268 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2268, 0, x_2161); @@ -15578,14 +14968,14 @@ if (lean_is_exclusive(x_2323)) { lean_dec_ref(x_2323); x_2326 = lean_box(0); } -x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2328 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2328 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2318); x_2329 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2329, 0, x_2318); lean_ctor_set(x_2329, 1, x_2327); lean_ctor_set(x_2329, 2, x_2328); -x_2330 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2330 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2329); lean_inc(x_2318); x_2331 = l_Lean_Syntax_node1(x_2318, x_2330, x_2329); @@ -15598,10 +14988,10 @@ lean_ctor_set(x_2335, 0, x_2318); lean_ctor_set(x_2335, 1, x_2334); lean_ctor_set(x_2335, 2, x_2333); lean_ctor_set(x_2335, 3, x_2297); -x_2336 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2336 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2318); x_2337 = l_Lean_Syntax_node2(x_2318, x_2336, x_2335, x_2329); -x_2338 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2338 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2339 = l_Lean_Syntax_node2(x_2318, x_2338, x_2331, x_2337); x_2340 = l_Lean_Elab_Command_getRef(x_10, x_11, x_2325); x_2341 = lean_ctor_get(x_2340, 0); @@ -15770,7 +15160,7 @@ if (lean_is_scalar(x_2382)) { } lean_ctor_set(x_2389, 0, x_2378); lean_ctor_set(x_2389, 1, x_2388); -x_2390 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2390 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2378); if (lean_is_scalar(x_2377)) { x_2391 = lean_alloc_ctor(2, 2, 0); @@ -15792,7 +15182,7 @@ lean_ctor_set(x_2396, 0, x_2378); lean_ctor_set(x_2396, 1, x_2394); lean_ctor_set(x_2396, 2, x_2393); lean_ctor_set(x_2396, 3, x_2395); -x_2397 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2397 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2378); if (lean_is_scalar(x_2372)) { x_2398 = lean_alloc_ctor(2, 2, 0); @@ -15802,7 +15192,7 @@ if (lean_is_scalar(x_2372)) { } lean_ctor_set(x_2398, 0, x_2378); lean_ctor_set(x_2398, 1, x_2397); -x_2399 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2399 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2378); if (lean_is_scalar(x_2368)) { x_2400 = lean_alloc_ctor(2, 2, 0); @@ -15818,7 +15208,7 @@ x_2401 = l_Lean_Syntax_node1(x_2378, x_2327, x_2304); lean_inc(x_2362); lean_inc(x_2378); x_2402 = l_Lean_Syntax_node3(x_2378, x_2327, x_2362, x_2400, x_2401); -x_2403 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2403 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2378); if (lean_is_scalar(x_2364)) { x_2404 = lean_alloc_ctor(2, 2, 0); @@ -15831,7 +15221,7 @@ lean_ctor_set(x_2404, 1, x_2403); x_2405 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2378); x_2406 = l_Lean_Syntax_node3(x_2378, x_2405, x_2398, x_2402, x_2404); -x_2407 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2407 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2378); if (lean_is_scalar(x_2343)) { x_2408 = lean_alloc_ctor(2, 2, 0); @@ -15856,7 +15246,7 @@ lean_ctor_set(x_2413, 3, x_2412); lean_inc(x_2373); lean_inc(x_2378); x_2414 = l_Lean_Syntax_node1(x_2378, x_2327, x_2373); -x_2415 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2415 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2378); x_2416 = l_Lean_Syntax_node2(x_2378, x_2415, x_2413, x_2414); x_2417 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -15866,7 +15256,7 @@ lean_inc(x_2301); lean_inc(x_2387); lean_inc(x_2378); x_2418 = l_Lean_Syntax_node8(x_2378, x_2417, x_2387, x_2389, x_2301, x_2391, x_2396, x_2406, x_2408, x_2416); -x_2419 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2419 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2378); if (lean_is_scalar(x_2326)) { x_2420 = lean_alloc_ctor(2, 2, 0); @@ -15876,7 +15266,7 @@ if (lean_is_scalar(x_2326)) { } lean_ctor_set(x_2420, 0, x_2378); lean_ctor_set(x_2420, 1, x_2419); -x_2421 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2421 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2301); if (lean_is_scalar(x_2322)) { x_2422 = lean_alloc_ctor(1, 2, 0); @@ -15888,18 +15278,18 @@ lean_ctor_set(x_2422, 0, x_2301); lean_ctor_set(x_2422, 1, x_2421); x_2423 = lean_array_mk(x_2422); x_2424 = lean_box(2); -x_2425 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2425 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2426 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2426, 0, x_2424); lean_ctor_set(x_2426, 1, x_2425); lean_ctor_set(x_2426, 2, x_2423); -x_2427 = l_Lake_DSL_buildDeclSig___closed__19; +x_2427 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2391); lean_inc(x_2378); x_2428 = l_Lean_Syntax_node2(x_2378, x_2427, x_2391, x_2366); lean_inc(x_2378); x_2429 = l_Lean_Syntax_node1(x_2378, x_2327, x_2428); -x_2430 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2430 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2387); lean_inc(x_2378); x_2431 = l_Lean_Syntax_node2(x_2378, x_2430, x_2387, x_2429); @@ -15919,20 +15309,20 @@ lean_inc(x_2378); x_2437 = l_Lean_Syntax_node4(x_2378, x_2327, x_2362, x_2304, x_2373, x_2299); lean_inc(x_2378); x_2438 = l_Lean_Syntax_node2(x_2378, x_2415, x_2436, x_2437); -x_2439 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2439 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2387, 2); lean_inc(x_2378); x_2440 = l_Lean_Syntax_node2(x_2378, x_2439, x_2387, x_2387); -x_2441 = l_Lake_DSL_buildDeclSig___closed__24; +x_2441 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2387); lean_inc(x_2440); lean_inc(x_2408); lean_inc(x_2378); x_2442 = l_Lean_Syntax_node4(x_2378, x_2441, x_2408, x_2438, x_2440, x_2387); -x_2443 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2443 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2378); x_2444 = l_Lean_Syntax_node4(x_2378, x_2443, x_2420, x_2426, x_2431, x_2442); -x_2445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2378); if (lean_is_scalar(x_2317)) { x_2446 = lean_alloc_ctor(2, 2, 0); @@ -15951,7 +15341,7 @@ x_2449 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2449, 0, x_2378); lean_ctor_set(x_2449, 1, x_2327); lean_ctor_set(x_2449, 2, x_2448); -x_2450 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2450 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2378); if (lean_is_scalar(x_2313)) { x_2451 = lean_alloc_ctor(2, 2, 0); @@ -15961,12 +15351,12 @@ if (lean_is_scalar(x_2313)) { } lean_ctor_set(x_2451, 0, x_2378); lean_ctor_set(x_2451, 1, x_2450); -x_2452 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2452 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2378); x_2453 = l_Lean_Syntax_node3(x_2378, x_2452, x_2446, x_2449, x_2451); lean_inc(x_2378); x_2454 = l_Lean_Syntax_node1(x_2378, x_2327, x_2453); -x_2455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2455 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2387, 5); lean_inc(x_2378); x_2456 = l_Lean_Syntax_node6(x_2378, x_2455, x_2387, x_2454, x_2387, x_2387, x_2387, x_2387); @@ -16033,13 +15423,13 @@ x_2481 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2387); lean_inc(x_2378); x_2482 = l_Lean_Syntax_node5(x_2378, x_2481, x_2458, x_2464, x_2472, x_2480, x_2387); -x_2483 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2483 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2378); x_2484 = l_Lean_Syntax_node2(x_2378, x_2483, x_2456, x_2482); if (lean_obj_tag(x_6) == 0) { lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; -x_2485 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2485 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2378); x_2486 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2486, 0, x_2378); @@ -16300,14 +15690,14 @@ if (lean_is_exclusive(x_2547)) { lean_dec_ref(x_2547); x_2550 = lean_box(0); } -x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2552 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2552 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2542); x_2553 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2553, 0, x_2542); lean_ctor_set(x_2553, 1, x_2551); lean_ctor_set(x_2553, 2, x_2552); -x_2554 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2554 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2553); lean_inc(x_2542); x_2555 = l_Lean_Syntax_node1(x_2542, x_2554, x_2553); @@ -16320,10 +15710,10 @@ lean_ctor_set(x_2559, 0, x_2542); lean_ctor_set(x_2559, 1, x_2558); lean_ctor_set(x_2559, 2, x_2557); lean_ctor_set(x_2559, 3, x_2521); -x_2560 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2560 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2542); x_2561 = l_Lean_Syntax_node2(x_2542, x_2560, x_2559, x_2553); -x_2562 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2562 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2563 = l_Lean_Syntax_node2(x_2542, x_2562, x_2555, x_2561); x_2564 = l_Lean_Elab_Command_getRef(x_10, x_11, x_2549); x_2565 = lean_ctor_get(x_2564, 0); @@ -16492,7 +15882,7 @@ if (lean_is_scalar(x_2606)) { } lean_ctor_set(x_2613, 0, x_2602); lean_ctor_set(x_2613, 1, x_2612); -x_2614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2602); if (lean_is_scalar(x_2601)) { x_2615 = lean_alloc_ctor(2, 2, 0); @@ -16514,7 +15904,7 @@ lean_ctor_set(x_2620, 0, x_2602); lean_ctor_set(x_2620, 1, x_2618); lean_ctor_set(x_2620, 2, x_2617); lean_ctor_set(x_2620, 3, x_2619); -x_2621 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2621 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2602); if (lean_is_scalar(x_2596)) { x_2622 = lean_alloc_ctor(2, 2, 0); @@ -16524,7 +15914,7 @@ if (lean_is_scalar(x_2596)) { } lean_ctor_set(x_2622, 0, x_2602); lean_ctor_set(x_2622, 1, x_2621); -x_2623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2602); if (lean_is_scalar(x_2592)) { x_2624 = lean_alloc_ctor(2, 2, 0); @@ -16540,7 +15930,7 @@ x_2625 = l_Lean_Syntax_node1(x_2602, x_2551, x_2528); lean_inc(x_2586); lean_inc(x_2602); x_2626 = l_Lean_Syntax_node3(x_2602, x_2551, x_2586, x_2624, x_2625); -x_2627 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2627 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2602); if (lean_is_scalar(x_2588)) { x_2628 = lean_alloc_ctor(2, 2, 0); @@ -16553,7 +15943,7 @@ lean_ctor_set(x_2628, 1, x_2627); x_2629 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2602); x_2630 = l_Lean_Syntax_node3(x_2602, x_2629, x_2622, x_2626, x_2628); -x_2631 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2631 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2602); if (lean_is_scalar(x_2567)) { x_2632 = lean_alloc_ctor(2, 2, 0); @@ -16578,7 +15968,7 @@ lean_ctor_set(x_2637, 3, x_2636); lean_inc(x_2597); lean_inc(x_2602); x_2638 = l_Lean_Syntax_node1(x_2602, x_2551, x_2597); -x_2639 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2639 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2602); x_2640 = l_Lean_Syntax_node2(x_2602, x_2639, x_2637, x_2638); x_2641 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -16588,7 +15978,7 @@ lean_inc(x_2525); lean_inc(x_2611); lean_inc(x_2602); x_2642 = l_Lean_Syntax_node8(x_2602, x_2641, x_2611, x_2613, x_2525, x_2615, x_2620, x_2630, x_2632, x_2640); -x_2643 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2643 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2602); if (lean_is_scalar(x_2550)) { x_2644 = lean_alloc_ctor(2, 2, 0); @@ -16598,7 +15988,7 @@ if (lean_is_scalar(x_2550)) { } lean_ctor_set(x_2644, 0, x_2602); lean_ctor_set(x_2644, 1, x_2643); -x_2645 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2645 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2525); if (lean_is_scalar(x_2546)) { x_2646 = lean_alloc_ctor(1, 2, 0); @@ -16610,18 +16000,18 @@ lean_ctor_set(x_2646, 0, x_2525); lean_ctor_set(x_2646, 1, x_2645); x_2647 = lean_array_mk(x_2646); x_2648 = lean_box(2); -x_2649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2650 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2650, 0, x_2648); lean_ctor_set(x_2650, 1, x_2649); lean_ctor_set(x_2650, 2, x_2647); -x_2651 = l_Lake_DSL_buildDeclSig___closed__19; +x_2651 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2615); lean_inc(x_2602); x_2652 = l_Lean_Syntax_node2(x_2602, x_2651, x_2615, x_2590); lean_inc(x_2602); x_2653 = l_Lean_Syntax_node1(x_2602, x_2551, x_2652); -x_2654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2611); lean_inc(x_2602); x_2655 = l_Lean_Syntax_node2(x_2602, x_2654, x_2611, x_2653); @@ -16641,20 +16031,20 @@ lean_inc(x_2602); x_2661 = l_Lean_Syntax_node4(x_2602, x_2551, x_2586, x_2528, x_2597, x_2523); lean_inc(x_2602); x_2662 = l_Lean_Syntax_node2(x_2602, x_2639, x_2660, x_2661); -x_2663 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2663 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2611, 2); lean_inc(x_2602); x_2664 = l_Lean_Syntax_node2(x_2602, x_2663, x_2611, x_2611); -x_2665 = l_Lake_DSL_buildDeclSig___closed__24; +x_2665 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2611); lean_inc(x_2664); lean_inc(x_2632); lean_inc(x_2602); x_2666 = l_Lean_Syntax_node4(x_2602, x_2665, x_2632, x_2662, x_2664, x_2611); -x_2667 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2667 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2602); x_2668 = l_Lean_Syntax_node4(x_2602, x_2667, x_2644, x_2650, x_2655, x_2666); -x_2669 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2669 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2602); if (lean_is_scalar(x_2541)) { x_2670 = lean_alloc_ctor(2, 2, 0); @@ -16673,7 +16063,7 @@ x_2673 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2673, 0, x_2602); lean_ctor_set(x_2673, 1, x_2551); lean_ctor_set(x_2673, 2, x_2672); -x_2674 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2674 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2602); if (lean_is_scalar(x_2537)) { x_2675 = lean_alloc_ctor(2, 2, 0); @@ -16683,12 +16073,12 @@ if (lean_is_scalar(x_2537)) { } lean_ctor_set(x_2675, 0, x_2602); lean_ctor_set(x_2675, 1, x_2674); -x_2676 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2676 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2602); x_2677 = l_Lean_Syntax_node3(x_2602, x_2676, x_2670, x_2673, x_2675); lean_inc(x_2602); x_2678 = l_Lean_Syntax_node1(x_2602, x_2551, x_2677); -x_2679 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2679 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2611, 5); lean_inc(x_2602); x_2680 = l_Lean_Syntax_node6(x_2602, x_2679, x_2611, x_2678, x_2611, x_2611, x_2611, x_2611); @@ -16760,13 +16150,13 @@ x_2706 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2611); lean_inc(x_2602); x_2707 = l_Lean_Syntax_node5(x_2602, x_2706, x_2682, x_2688, x_2696, x_2705, x_2611); -x_2708 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2708 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2602); x_2709 = l_Lean_Syntax_node2(x_2602, x_2708, x_2680, x_2707); if (lean_obj_tag(x_6) == 0) { lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; -x_2710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2602); x_2711 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2711, 0, x_2602); @@ -16913,119 +16303,6 @@ lean_dec(x_4); return x_13; } } -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("leanLibCommand", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_leanLibCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("lean_lib ", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_leanLibCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_leanLibCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__8; -x_2 = l_Lake_DSL_identOrStr; -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_Lake_DSL_leanLibCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_leanLibCommand___closed__5; -x_3 = l_Lake_DSL_leanLibCommand___closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_leanLibCommand___closed__7; -x_3 = l_Lake_DSL_optConfig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_leanLibCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_leanLibCommand___closed__8; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanLibCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_leanLibCommand___closed__9; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -17105,9 +16382,9 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__22; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -17216,14 +16493,14 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_41, 1); x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_36); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_47, 6); lean_inc(x_36); x_49 = l_Lean_Syntax_node6(x_36, x_48, x_47, x_47, x_47, x_47, x_47, x_47); @@ -17232,34 +16509,34 @@ lean_inc(x_36); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_50); lean_ctor_set(x_41, 0, x_36); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_51); lean_ctor_set(x_37, 0, x_4); x_52 = lean_array_mk(x_37); -x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_32); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_36); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_buildDeclSig___closed__19; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_58 = l_Lean_Syntax_node2(x_36, x_57, x_56, x_5); lean_inc(x_36); x_59 = l_Lean_Syntax_node1(x_36, x_45, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_47); lean_inc(x_36); x_61 = l_Lean_Syntax_node2(x_36, x_60, x_47, x_59); x_62 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_63 = l_Lean_Syntax_node5(x_36, x_62, x_41, x_54, x_61, x_34, x_47); -x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_65 = l_Lean_Syntax_node2(x_36, x_64, x_49, x_63); lean_inc(x_65); x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -17273,14 +16550,14 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_41, 1); lean_inc(x_68); lean_dec(x_41); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_36); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_71, 6); lean_inc(x_36); x_73 = l_Lean_Syntax_node6(x_36, x_72, x_71, x_71, x_71, x_71, x_71, x_71); @@ -17289,34 +16566,34 @@ lean_inc(x_36); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_76); lean_ctor_set(x_37, 0, x_4); x_77 = lean_array_mk(x_37); -x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_32); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_77); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lake_DSL_buildDeclSig___closed__19; +x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_83 = l_Lean_Syntax_node2(x_36, x_82, x_81, x_5); lean_inc(x_36); x_84 = l_Lean_Syntax_node1(x_36, x_69, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_71); lean_inc(x_36); x_86 = l_Lean_Syntax_node2(x_36, x_85, x_71, x_84); x_87 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_88 = l_Lean_Syntax_node5(x_36, x_87, x_75, x_79, x_86, x_34, x_71); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_90 = l_Lean_Syntax_node2(x_36, x_89, x_73, x_88); lean_inc(x_90); x_91 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -17342,14 +16619,14 @@ if (lean_is_exclusive(x_94)) { lean_dec_ref(x_94); x_96 = lean_box(0); } -x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_36); lean_ctor_set(x_99, 1, x_97); lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_99, 6); lean_inc(x_36); x_101 = l_Lean_Syntax_node6(x_36, x_100, x_99, x_99, x_99, x_99, x_99, x_99); @@ -17363,34 +16640,34 @@ if (lean_is_scalar(x_96)) { } lean_ctor_set(x_103, 0, x_36); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_4); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_mk(x_105); -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_32); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_36); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lake_DSL_buildDeclSig___closed__19; +x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_112 = l_Lean_Syntax_node2(x_36, x_111, x_110, x_5); lean_inc(x_36); x_113 = l_Lean_Syntax_node1(x_36, x_97, x_112); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_99); lean_inc(x_36); x_115 = l_Lean_Syntax_node2(x_36, x_114, x_99, x_113); x_116 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_117 = l_Lean_Syntax_node5(x_36, x_116, x_103, x_108, x_115, x_34, x_99); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_119 = l_Lean_Syntax_node2(x_36, x_118, x_101, x_117); lean_inc(x_119); x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -17450,14 +16727,14 @@ if (lean_is_exclusive(x_137)) { lean_dec_ref(x_137); x_139 = lean_box(0); } -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_133); x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_133); lean_ctor_set(x_142, 1, x_140); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_142, 6); lean_inc(x_133); x_144 = l_Lean_Syntax_node6(x_133, x_143, x_142, x_142, x_142, x_142, x_142, x_142); @@ -17471,7 +16748,7 @@ if (lean_is_scalar(x_139)) { } lean_ctor_set(x_146, 0, x_133); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; if (lean_is_scalar(x_136)) { x_148 = lean_alloc_ctor(1, 2, 0); } else { @@ -17481,29 +16758,29 @@ if (lean_is_scalar(x_136)) { lean_ctor_set(x_148, 0, x_4); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_mk(x_148); -x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_129); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_133); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_133); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lake_DSL_buildDeclSig___closed__19; +x_154 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_133); x_155 = l_Lean_Syntax_node2(x_133, x_154, x_153, x_5); lean_inc(x_133); x_156 = l_Lean_Syntax_node1(x_133, x_140, x_155); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_142); lean_inc(x_133); x_158 = l_Lean_Syntax_node2(x_133, x_157, x_142, x_156); x_159 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_133); x_160 = l_Lean_Syntax_node5(x_133, x_159, x_146, x_151, x_158, x_131, x_142); -x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_162 = l_Lean_Syntax_node2(x_133, x_161, x_144, x_160); lean_inc(x_162); x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -17556,8 +16833,8 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -17592,8 +16869,8 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__5; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -17611,8 +16888,8 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__7; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -17630,8 +16907,8 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__9; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -17649,9 +16926,9 @@ static lean_object* _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand _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_DSL_buildDeclSig___closed__15; -x_2 = l_Lake_DSL_buildDeclSig___closed__16; -x_3 = l_Lake_DSL_buildDeclSig___closed__17; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__3; x_4 = l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___closed__11; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -17695,8 +16972,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_3 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -17866,7 +17143,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_12); lean_dec(x_38); -x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -17969,7 +17246,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_12); lean_dec(x_62); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -18022,7 +17299,7 @@ lean_dec(x_13); x_78 = l_Lake_LeanLibConfig_instConfigMeta; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; lean_inc(x_5); x_81 = l_Lake_DSL_mkConfigFields(x_1, x_79, x_80, x_5, x_6, x_7); lean_dec(x_79); @@ -18075,14 +17352,14 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 1); x_105 = lean_ctor_get(x_102, 0); lean_dec(x_105); -x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_106); lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_108, 6); lean_inc(x_97); x_110 = l_Lean_Syntax_node6(x_97, x_109, x_108, x_108, x_108, x_108, x_108, x_108); @@ -18096,29 +17373,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_112); lean_ctor_set(x_98, 0, x_2); x_113 = lean_array_mk(x_98); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_89); lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_116); lean_ctor_set(x_92, 0, x_97); -x_117 = l_Lake_DSL_buildDeclSig___closed__19; +x_117 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_118 = l_Lean_Syntax_node2(x_97, x_117, x_92, x_3); lean_inc(x_97); x_119 = l_Lean_Syntax_node1(x_97, x_106, x_118); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_108); lean_inc(x_97); x_121 = l_Lean_Syntax_node2(x_97, x_120, x_108, x_119); x_122 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_123 = l_Lean_Syntax_node5(x_97, x_122, x_102, x_115, x_121, x_91, x_108); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_125 = l_Lean_Syntax_node2(x_97, x_124, x_110, x_123); lean_inc(x_125); x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -18132,14 +17409,14 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_128 = lean_ctor_get(x_102, 1); lean_inc(x_128); lean_dec(x_102); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_97); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_131, 6); lean_inc(x_97); x_133 = l_Lean_Syntax_node6(x_97, x_132, x_131, x_131, x_131, x_131, x_131, x_131); @@ -18153,29 +17430,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_136); lean_ctor_set(x_98, 0, x_2); x_137 = lean_array_mk(x_98); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_89); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_140); lean_ctor_set(x_92, 0, x_97); -x_141 = l_Lake_DSL_buildDeclSig___closed__19; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_142 = l_Lean_Syntax_node2(x_97, x_141, x_92, x_3); lean_inc(x_97); x_143 = l_Lean_Syntax_node1(x_97, x_129, x_142); -x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_131); lean_inc(x_97); x_145 = l_Lean_Syntax_node2(x_97, x_144, x_131, x_143); x_146 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_147 = l_Lean_Syntax_node5(x_97, x_146, x_135, x_139, x_145, x_91, x_131); -x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_149 = l_Lean_Syntax_node2(x_97, x_148, x_133, x_147); lean_inc(x_149); x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -18201,14 +17478,14 @@ if (lean_is_exclusive(x_153)) { lean_dec_ref(x_153); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_158 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_158, 0, x_97); lean_ctor_set(x_158, 1, x_156); lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_158, 6); lean_inc(x_97); x_160 = l_Lean_Syntax_node6(x_97, x_159, x_158, x_158, x_158, x_158, x_158, x_158); @@ -18227,29 +17504,29 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_2); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_mk(x_164); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_89); lean_ctor_set(x_167, 1, x_166); lean_ctor_set(x_167, 2, x_165); -x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_168); lean_ctor_set(x_92, 0, x_97); -x_169 = l_Lake_DSL_buildDeclSig___closed__19; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_170 = l_Lean_Syntax_node2(x_97, x_169, x_92, x_3); lean_inc(x_97); x_171 = l_Lean_Syntax_node1(x_97, x_156, x_170); -x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_158); lean_inc(x_97); x_173 = l_Lean_Syntax_node2(x_97, x_172, x_158, x_171); x_174 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_175 = l_Lean_Syntax_node5(x_97, x_174, x_162, x_167, x_173, x_91, x_158); -x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_177 = l_Lean_Syntax_node2(x_97, x_176, x_160, x_175); lean_inc(x_177); x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -18291,14 +17568,14 @@ if (lean_is_exclusive(x_187)) { lean_dec_ref(x_187); x_189 = lean_box(0); } -x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_183); x_192 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_192, 0, x_183); lean_ctor_set(x_192, 1, x_190); lean_ctor_set(x_192, 2, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_192, 6); lean_inc(x_183); x_194 = l_Lean_Syntax_node6(x_183, x_193, x_192, x_192, x_192, x_192, x_192, x_192); @@ -18322,29 +17599,29 @@ if (lean_is_scalar(x_186)) { lean_ctor_set(x_198, 0, x_2); lean_ctor_set(x_198, 1, x_197); x_199 = lean_array_mk(x_198); -x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_89); lean_ctor_set(x_201, 1, x_200); lean_ctor_set(x_201, 2, x_199); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_183); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_183); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_buildDeclSig___closed__19; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_183); x_205 = l_Lean_Syntax_node2(x_183, x_204, x_203, x_3); lean_inc(x_183); x_206 = l_Lean_Syntax_node1(x_183, x_190, x_205); -x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_192); lean_inc(x_183); x_208 = l_Lean_Syntax_node2(x_183, x_207, x_192, x_206); x_209 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_183); x_210 = l_Lean_Syntax_node5(x_183, x_209, x_196, x_201, x_208, x_91, x_192); -x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_212 = l_Lean_Syntax_node2(x_183, x_211, x_194, x_210); lean_inc(x_212); x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -18482,14 +17759,14 @@ if (x_54 == 0) 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; lean_object* x_70; uint8_t x_71; x_55 = lean_ctor_get(x_53, 0); x_56 = lean_ctor_get(x_53, 1); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_59 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_59, 0, x_48); lean_ctor_set(x_59, 1, x_57); lean_ctor_set(x_59, 2, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_59); lean_inc(x_48); x_61 = l_Lean_Syntax_node1(x_48, x_60, x_59); @@ -18502,10 +17779,10 @@ lean_ctor_set(x_65, 0, x_48); lean_ctor_set(x_65, 1, x_64); lean_ctor_set(x_65, 2, x_63); lean_ctor_set(x_65, 3, x_28); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_67 = l_Lean_Syntax_node2(x_48, x_66, x_65, x_59); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_69 = l_Lean_Syntax_node2(x_48, x_68, x_61, x_67); x_70 = l_Lean_Elab_Command_getRef(x_9, x_10, x_56); x_71 = !lean_is_exclusive(x_70); @@ -18610,7 +17887,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_117); lean_ctor_set(x_109, 0, x_108); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_118); @@ -18627,12 +17904,12 @@ lean_ctor_set(x_123, 0, x_108); lean_ctor_set(x_123, 1, x_121); lean_ctor_set(x_123, 2, x_120); lean_ctor_set(x_123, 3, x_122); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_124); lean_ctor_set(x_99, 0, x_108); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_125); @@ -18643,7 +17920,7 @@ x_126 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_127 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_126); -x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_128); @@ -18651,7 +17928,7 @@ lean_ctor_set(x_91, 0, x_108); x_129 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_130 = l_Lean_Syntax_node3(x_108, x_129, x_99, x_127, x_91); -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_131); @@ -18671,7 +17948,7 @@ lean_ctor_set(x_136, 3, x_135); lean_inc(x_103); lean_inc(x_108); x_137 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_139 = l_Lean_Syntax_node2(x_108, x_138, x_136, x_137); x_140 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -18681,30 +17958,30 @@ lean_inc(x_32); lean_inc(x_116); lean_inc(x_108); x_141 = l_Lean_Syntax_node8(x_108, x_140, x_116, x_109, x_32, x_104, x_123, x_130, x_70, x_139); -x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_142); lean_ctor_set(x_53, 0, x_108); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_143); lean_ctor_set(x_49, 0, x_32); x_144 = lean_array_mk(x_49); x_145 = lean_box(2); -x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); lean_ctor_set(x_147, 2, x_144); -x_148 = l_Lake_DSL_buildDeclSig___closed__19; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_149 = l_Lean_Syntax_node2(x_108, x_148, x_104, x_97); lean_inc(x_108); x_150 = l_Lean_Syntax_node1(x_108, x_57, x_149); -x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_116); lean_inc(x_108); x_152 = l_Lean_Syntax_node2(x_108, x_151, x_116, x_150); @@ -18724,20 +18001,20 @@ lean_inc(x_108); x_158 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_159 = l_Lean_Syntax_node2(x_108, x_138, x_157, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_116, 2); lean_inc(x_108); x_161 = l_Lean_Syntax_node2(x_108, x_160, x_116, x_116); -x_162 = l_Lake_DSL_buildDeclSig___closed__24; +x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_116); lean_inc(x_161); lean_inc(x_70); lean_inc(x_108); x_163 = l_Lean_Syntax_node4(x_108, x_162, x_70, x_159, x_161, x_116); -x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_165 = l_Lean_Syntax_node4(x_108, x_164, x_53, x_147, x_152, x_163); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_166); @@ -18751,17 +18028,17 @@ x_169 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_169, 0, x_108); lean_ctor_set(x_169, 1, x_57); lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_170); lean_ctor_set(x_40, 0, x_108); -x_171 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_172 = l_Lean_Syntax_node3(x_108, x_171, x_44, x_169, x_40); lean_inc(x_108); x_173 = l_Lean_Syntax_node1(x_108, x_57, x_172); -x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_116, 5); lean_inc(x_108); x_175 = l_Lean_Syntax_node6(x_108, x_174, x_116, x_173, x_116, x_116, x_116, x_116); @@ -18828,13 +18105,13 @@ x_199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_116); lean_inc(x_108); x_200 = l_Lean_Syntax_node5(x_108, x_199, x_18, x_182, x_190, x_198, x_116); -x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_202 = l_Lean_Syntax_node2(x_108, x_201, x_175, x_200); if (lean_obj_tag(x_5) == 0) { lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_108); @@ -18891,7 +18168,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_218); lean_ctor_set(x_109, 0, x_108); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_219); @@ -18908,12 +18185,12 @@ lean_ctor_set(x_224, 0, x_108); lean_ctor_set(x_224, 1, x_222); lean_ctor_set(x_224, 2, x_221); lean_ctor_set(x_224, 3, x_223); -x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_225); lean_ctor_set(x_99, 0, x_108); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_226); @@ -18924,7 +18201,7 @@ x_227 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_228 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_227); -x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_229); @@ -18932,7 +18209,7 @@ lean_ctor_set(x_91, 0, x_108); x_230 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_231 = l_Lean_Syntax_node3(x_108, x_230, x_99, x_228, x_91); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_232); @@ -18952,7 +18229,7 @@ lean_ctor_set(x_237, 3, x_236); lean_inc(x_103); lean_inc(x_108); x_238 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_240 = l_Lean_Syntax_node2(x_108, x_239, x_237, x_238); x_241 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -18962,30 +18239,30 @@ lean_inc(x_32); lean_inc(x_217); lean_inc(x_108); x_242 = l_Lean_Syntax_node8(x_108, x_241, x_217, x_109, x_32, x_104, x_224, x_231, x_70, x_240); -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_243); lean_ctor_set(x_53, 0, x_108); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_244); lean_ctor_set(x_49, 0, x_32); x_245 = lean_array_mk(x_49); x_246 = lean_box(2); -x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_248 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_248, 0, x_246); lean_ctor_set(x_248, 1, x_247); lean_ctor_set(x_248, 2, x_245); -x_249 = l_Lake_DSL_buildDeclSig___closed__19; +x_249 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_250 = l_Lean_Syntax_node2(x_108, x_249, x_104, x_97); lean_inc(x_108); x_251 = l_Lean_Syntax_node1(x_108, x_57, x_250); -x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_217); lean_inc(x_108); x_253 = l_Lean_Syntax_node2(x_108, x_252, x_217, x_251); @@ -19005,20 +18282,20 @@ lean_inc(x_108); x_259 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_260 = l_Lean_Syntax_node2(x_108, x_239, x_258, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_217, 2); lean_inc(x_108); x_262 = l_Lean_Syntax_node2(x_108, x_261, x_217, x_217); -x_263 = l_Lake_DSL_buildDeclSig___closed__24; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_217); lean_inc(x_262); lean_inc(x_70); lean_inc(x_108); x_264 = l_Lean_Syntax_node4(x_108, x_263, x_70, x_260, x_262, x_217); -x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_266 = l_Lean_Syntax_node4(x_108, x_265, x_53, x_248, x_253, x_264); -x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_267); @@ -19032,17 +18309,17 @@ x_270 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_270, 0, x_108); lean_ctor_set(x_270, 1, x_57); lean_ctor_set(x_270, 2, x_269); -x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_271); lean_ctor_set(x_40, 0, x_108); -x_272 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_273 = l_Lean_Syntax_node3(x_108, x_272, x_44, x_270, x_40); lean_inc(x_108); x_274 = l_Lean_Syntax_node1(x_108, x_57, x_273); -x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_217, 5); lean_inc(x_108); x_276 = l_Lean_Syntax_node6(x_108, x_275, x_217, x_274, x_217, x_217, x_217, x_217); @@ -19109,13 +18386,13 @@ x_300 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_217); lean_inc(x_108); x_301 = l_Lean_Syntax_node5(x_108, x_300, x_18, x_283, x_291, x_299, x_217); -x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_303 = l_Lean_Syntax_node2(x_108, x_302, x_276, x_301); if (lean_obj_tag(x_5) == 0) { lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_305 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_305, 0, x_108); @@ -19191,7 +18468,7 @@ lean_inc(x_108); x_326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_326, 0, x_108); lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_327); @@ -19208,12 +18485,12 @@ lean_ctor_set(x_332, 0, x_108); lean_ctor_set(x_332, 1, x_330); lean_ctor_set(x_332, 2, x_329); lean_ctor_set(x_332, 3, x_331); -x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_333); lean_ctor_set(x_99, 0, x_108); -x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_334); @@ -19224,7 +18501,7 @@ x_335 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_336 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_335); -x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_337); @@ -19232,7 +18509,7 @@ lean_ctor_set(x_91, 0, x_108); x_338 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_339 = l_Lean_Syntax_node3(x_108, x_338, x_99, x_336, x_91); -x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_340); @@ -19252,7 +18529,7 @@ lean_ctor_set(x_345, 3, x_344); lean_inc(x_103); lean_inc(x_108); x_346 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_348 = l_Lean_Syntax_node2(x_108, x_347, x_345, x_346); x_349 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -19262,30 +18539,30 @@ lean_inc(x_32); lean_inc(x_324); lean_inc(x_108); x_350 = l_Lean_Syntax_node8(x_108, x_349, x_324, x_326, x_32, x_104, x_332, x_339, x_70, x_348); -x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_351); lean_ctor_set(x_53, 0, x_108); -x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_352); lean_ctor_set(x_49, 0, x_32); x_353 = lean_array_mk(x_49); x_354 = lean_box(2); -x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_356 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); lean_ctor_set(x_356, 2, x_353); -x_357 = l_Lake_DSL_buildDeclSig___closed__19; +x_357 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_358 = l_Lean_Syntax_node2(x_108, x_357, x_104, x_97); lean_inc(x_108); x_359 = l_Lean_Syntax_node1(x_108, x_57, x_358); -x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_324); lean_inc(x_108); x_361 = l_Lean_Syntax_node2(x_108, x_360, x_324, x_359); @@ -19305,20 +18582,20 @@ lean_inc(x_108); x_367 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_368 = l_Lean_Syntax_node2(x_108, x_347, x_366, x_367); -x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_324, 2); lean_inc(x_108); x_370 = l_Lean_Syntax_node2(x_108, x_369, x_324, x_324); -x_371 = l_Lake_DSL_buildDeclSig___closed__24; +x_371 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_324); lean_inc(x_370); lean_inc(x_70); lean_inc(x_108); x_372 = l_Lean_Syntax_node4(x_108, x_371, x_70, x_368, x_370, x_324); -x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_374 = l_Lean_Syntax_node4(x_108, x_373, x_53, x_356, x_361, x_372); -x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_375); @@ -19332,17 +18609,17 @@ x_378 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_378, 0, x_108); lean_ctor_set(x_378, 1, x_57); lean_ctor_set(x_378, 2, x_377); -x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_379); lean_ctor_set(x_40, 0, x_108); -x_380 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_381 = l_Lean_Syntax_node3(x_108, x_380, x_44, x_378, x_40); lean_inc(x_108); x_382 = l_Lean_Syntax_node1(x_108, x_57, x_381); -x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_324, 5); lean_inc(x_108); x_384 = l_Lean_Syntax_node6(x_108, x_383, x_324, x_382, x_324, x_324, x_324, x_324); @@ -19409,13 +18686,13 @@ x_408 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_324); lean_inc(x_108); x_409 = l_Lean_Syntax_node5(x_108, x_408, x_18, x_391, x_399, x_407, x_324); -x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_411 = l_Lean_Syntax_node2(x_108, x_410, x_384, x_409); if (lean_obj_tag(x_5) == 0) { lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_413 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_413, 0, x_108); @@ -19520,7 +18797,7 @@ if (lean_is_scalar(x_432)) { } lean_ctor_set(x_439, 0, x_428); lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_428); x_441 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_441, 0, x_428); @@ -19537,12 +18814,12 @@ lean_ctor_set(x_446, 0, x_428); lean_ctor_set(x_446, 1, x_444); lean_ctor_set(x_446, 2, x_443); lean_ctor_set(x_446, 3, x_445); -x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_428); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_447); lean_ctor_set(x_99, 0, x_428); -x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_428); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_448); @@ -19553,7 +18830,7 @@ x_449 = l_Lean_Syntax_node1(x_428, x_57, x_35); lean_inc(x_93); lean_inc(x_428); x_450 = l_Lean_Syntax_node3(x_428, x_57, x_93, x_95, x_449); -x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_428); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_451); @@ -19561,7 +18838,7 @@ lean_ctor_set(x_91, 0, x_428); x_452 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_428); x_453 = l_Lean_Syntax_node3(x_428, x_452, x_99, x_450, x_91); -x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_428); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_454); @@ -19581,7 +18858,7 @@ lean_ctor_set(x_459, 3, x_458); lean_inc(x_103); lean_inc(x_428); x_460 = l_Lean_Syntax_node1(x_428, x_57, x_103); -x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_428); x_462 = l_Lean_Syntax_node2(x_428, x_461, x_459, x_460); x_463 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -19591,30 +18868,30 @@ lean_inc(x_32); lean_inc(x_437); lean_inc(x_428); x_464 = l_Lean_Syntax_node8(x_428, x_463, x_437, x_439, x_32, x_441, x_446, x_453, x_70, x_462); -x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_428); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_465); lean_ctor_set(x_53, 0, x_428); -x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_466); lean_ctor_set(x_49, 0, x_32); x_467 = lean_array_mk(x_49); x_468 = lean_box(2); -x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_470 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_470, 0, x_468); lean_ctor_set(x_470, 1, x_469); lean_ctor_set(x_470, 2, x_467); -x_471 = l_Lake_DSL_buildDeclSig___closed__19; +x_471 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_441); lean_inc(x_428); x_472 = l_Lean_Syntax_node2(x_428, x_471, x_441, x_97); lean_inc(x_428); x_473 = l_Lean_Syntax_node1(x_428, x_57, x_472); -x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_437); lean_inc(x_428); x_475 = l_Lean_Syntax_node2(x_428, x_474, x_437, x_473); @@ -19634,20 +18911,20 @@ lean_inc(x_428); x_481 = l_Lean_Syntax_node4(x_428, x_57, x_93, x_35, x_103, x_30); lean_inc(x_428); x_482 = l_Lean_Syntax_node2(x_428, x_461, x_480, x_481); -x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_437, 2); lean_inc(x_428); x_484 = l_Lean_Syntax_node2(x_428, x_483, x_437, x_437); -x_485 = l_Lake_DSL_buildDeclSig___closed__24; +x_485 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_437); lean_inc(x_484); lean_inc(x_70); lean_inc(x_428); x_486 = l_Lean_Syntax_node4(x_428, x_485, x_70, x_482, x_484, x_437); -x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_428); x_488 = l_Lean_Syntax_node4(x_428, x_487, x_53, x_470, x_475, x_486); -x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_428); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_489); @@ -19661,17 +18938,17 @@ x_492 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_492, 0, x_428); lean_ctor_set(x_492, 1, x_57); lean_ctor_set(x_492, 2, x_491); -x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_428); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_493); lean_ctor_set(x_40, 0, x_428); -x_494 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_428); x_495 = l_Lean_Syntax_node3(x_428, x_494, x_44, x_492, x_40); lean_inc(x_428); x_496 = l_Lean_Syntax_node1(x_428, x_57, x_495); -x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_437, 5); lean_inc(x_428); x_498 = l_Lean_Syntax_node6(x_428, x_497, x_437, x_496, x_437, x_437, x_437, x_437); @@ -19738,13 +19015,13 @@ x_522 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_437); lean_inc(x_428); x_523 = l_Lean_Syntax_node5(x_428, x_522, x_18, x_505, x_513, x_521, x_437); -x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_428); x_525 = l_Lean_Syntax_node2(x_428, x_524, x_498, x_523); if (lean_obj_tag(x_5) == 0) { lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_428); x_527 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_527, 0, x_428); @@ -19863,7 +19140,7 @@ if (lean_is_scalar(x_551)) { } lean_ctor_set(x_558, 0, x_547); lean_ctor_set(x_558, 1, x_557); -x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_547); if (lean_is_scalar(x_546)) { x_560 = lean_alloc_ctor(2, 2, 0); @@ -19885,12 +19162,12 @@ lean_ctor_set(x_565, 0, x_547); lean_ctor_set(x_565, 1, x_563); lean_ctor_set(x_565, 2, x_562); lean_ctor_set(x_565, 3, x_564); -x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_547); x_567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_567, 0, x_547); lean_ctor_set(x_567, 1, x_566); -x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_547); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_568); @@ -19901,7 +19178,7 @@ x_569 = l_Lean_Syntax_node1(x_547, x_57, x_35); lean_inc(x_93); lean_inc(x_547); x_570 = l_Lean_Syntax_node3(x_547, x_57, x_93, x_95, x_569); -x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_547); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_571); @@ -19909,7 +19186,7 @@ lean_ctor_set(x_91, 0, x_547); x_572 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_547); x_573 = l_Lean_Syntax_node3(x_547, x_572, x_567, x_570, x_91); -x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_547); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_574); @@ -19929,7 +19206,7 @@ lean_ctor_set(x_579, 3, x_578); lean_inc(x_542); lean_inc(x_547); x_580 = l_Lean_Syntax_node1(x_547, x_57, x_542); -x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_547); x_582 = l_Lean_Syntax_node2(x_547, x_581, x_579, x_580); x_583 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -19939,30 +19216,30 @@ lean_inc(x_32); lean_inc(x_556); lean_inc(x_547); x_584 = l_Lean_Syntax_node8(x_547, x_583, x_556, x_558, x_32, x_560, x_565, x_573, x_70, x_582); -x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_547); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_585); lean_ctor_set(x_53, 0, x_547); -x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_586); lean_ctor_set(x_49, 0, x_32); x_587 = lean_array_mk(x_49); x_588 = lean_box(2); -x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_590 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_590, 0, x_588); lean_ctor_set(x_590, 1, x_589); lean_ctor_set(x_590, 2, x_587); -x_591 = l_Lake_DSL_buildDeclSig___closed__19; +x_591 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_560); lean_inc(x_547); x_592 = l_Lean_Syntax_node2(x_547, x_591, x_560, x_97); lean_inc(x_547); x_593 = l_Lean_Syntax_node1(x_547, x_57, x_592); -x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_556); lean_inc(x_547); x_595 = l_Lean_Syntax_node2(x_547, x_594, x_556, x_593); @@ -19982,20 +19259,20 @@ lean_inc(x_547); x_601 = l_Lean_Syntax_node4(x_547, x_57, x_93, x_35, x_542, x_30); lean_inc(x_547); x_602 = l_Lean_Syntax_node2(x_547, x_581, x_600, x_601); -x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_556, 2); lean_inc(x_547); x_604 = l_Lean_Syntax_node2(x_547, x_603, x_556, x_556); -x_605 = l_Lake_DSL_buildDeclSig___closed__24; +x_605 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_556); lean_inc(x_604); lean_inc(x_70); lean_inc(x_547); x_606 = l_Lean_Syntax_node4(x_547, x_605, x_70, x_602, x_604, x_556); -x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_547); x_608 = l_Lean_Syntax_node4(x_547, x_607, x_53, x_590, x_595, x_606); -x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_547); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_609); @@ -20009,17 +19286,17 @@ x_612 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_612, 0, x_547); lean_ctor_set(x_612, 1, x_57); lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_547); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_613); lean_ctor_set(x_40, 0, x_547); -x_614 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_547); x_615 = l_Lean_Syntax_node3(x_547, x_614, x_44, x_612, x_40); lean_inc(x_547); x_616 = l_Lean_Syntax_node1(x_547, x_57, x_615); -x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_556, 5); lean_inc(x_547); x_618 = l_Lean_Syntax_node6(x_547, x_617, x_556, x_616, x_556, x_556, x_556, x_556); @@ -20086,13 +19363,13 @@ x_642 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_556); lean_inc(x_547); x_643 = l_Lean_Syntax_node5(x_547, x_642, x_18, x_625, x_633, x_641, x_556); -x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_547); x_645 = l_Lean_Syntax_node2(x_547, x_644, x_618, x_643); if (lean_obj_tag(x_5) == 0) { lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_547); x_647 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_647, 0, x_547); @@ -20224,7 +19501,7 @@ if (lean_is_scalar(x_675)) { } lean_ctor_set(x_682, 0, x_671); lean_ctor_set(x_682, 1, x_681); -x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_671); if (lean_is_scalar(x_670)) { x_684 = lean_alloc_ctor(2, 2, 0); @@ -20246,7 +19523,7 @@ lean_ctor_set(x_689, 0, x_671); lean_ctor_set(x_689, 1, x_687); lean_ctor_set(x_689, 2, x_686); lean_ctor_set(x_689, 3, x_688); -x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_671); if (lean_is_scalar(x_665)) { x_691 = lean_alloc_ctor(2, 2, 0); @@ -20256,7 +19533,7 @@ if (lean_is_scalar(x_665)) { } lean_ctor_set(x_691, 0, x_671); lean_ctor_set(x_691, 1, x_690); -x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_671); x_693 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_693, 0, x_671); @@ -20267,7 +19544,7 @@ x_694 = l_Lean_Syntax_node1(x_671, x_57, x_35); lean_inc(x_93); lean_inc(x_671); x_695 = l_Lean_Syntax_node3(x_671, x_57, x_93, x_693, x_694); -x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_671); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_696); @@ -20275,7 +19552,7 @@ lean_ctor_set(x_91, 0, x_671); x_697 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_671); x_698 = l_Lean_Syntax_node3(x_671, x_697, x_691, x_695, x_91); -x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_671); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_699); @@ -20295,7 +19572,7 @@ lean_ctor_set(x_704, 3, x_703); lean_inc(x_666); lean_inc(x_671); x_705 = l_Lean_Syntax_node1(x_671, x_57, x_666); -x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_671); x_707 = l_Lean_Syntax_node2(x_671, x_706, x_704, x_705); x_708 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -20305,30 +19582,30 @@ lean_inc(x_32); lean_inc(x_680); lean_inc(x_671); x_709 = l_Lean_Syntax_node8(x_671, x_708, x_680, x_682, x_32, x_684, x_689, x_698, x_70, x_707); -x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_671); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_710); lean_ctor_set(x_53, 0, x_671); -x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_711); lean_ctor_set(x_49, 0, x_32); x_712 = lean_array_mk(x_49); x_713 = lean_box(2); -x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_715 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_715, 0, x_713); lean_ctor_set(x_715, 1, x_714); lean_ctor_set(x_715, 2, x_712); -x_716 = l_Lake_DSL_buildDeclSig___closed__19; +x_716 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_684); lean_inc(x_671); x_717 = l_Lean_Syntax_node2(x_671, x_716, x_684, x_660); lean_inc(x_671); x_718 = l_Lean_Syntax_node1(x_671, x_57, x_717); -x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_680); lean_inc(x_671); x_720 = l_Lean_Syntax_node2(x_671, x_719, x_680, x_718); @@ -20348,20 +19625,20 @@ lean_inc(x_671); x_726 = l_Lean_Syntax_node4(x_671, x_57, x_93, x_35, x_666, x_30); lean_inc(x_671); x_727 = l_Lean_Syntax_node2(x_671, x_706, x_725, x_726); -x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_680, 2); lean_inc(x_671); x_729 = l_Lean_Syntax_node2(x_671, x_728, x_680, x_680); -x_730 = l_Lake_DSL_buildDeclSig___closed__24; +x_730 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_680); lean_inc(x_729); lean_inc(x_70); lean_inc(x_671); x_731 = l_Lean_Syntax_node4(x_671, x_730, x_70, x_727, x_729, x_680); -x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_671); x_733 = l_Lean_Syntax_node4(x_671, x_732, x_53, x_715, x_720, x_731); -x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_671); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_734); @@ -20375,17 +19652,17 @@ x_737 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_737, 0, x_671); lean_ctor_set(x_737, 1, x_57); lean_ctor_set(x_737, 2, x_736); -x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_671); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_738); lean_ctor_set(x_40, 0, x_671); -x_739 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_671); x_740 = l_Lean_Syntax_node3(x_671, x_739, x_44, x_737, x_40); lean_inc(x_671); x_741 = l_Lean_Syntax_node1(x_671, x_57, x_740); -x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_680, 5); lean_inc(x_671); x_743 = l_Lean_Syntax_node6(x_671, x_742, x_680, x_741, x_680, x_680, x_680, x_680); @@ -20452,13 +19729,13 @@ x_767 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_680); lean_inc(x_671); x_768 = l_Lean_Syntax_node5(x_671, x_767, x_18, x_750, x_758, x_766, x_680); -x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_671); x_770 = l_Lean_Syntax_node2(x_671, x_769, x_743, x_768); if (lean_obj_tag(x_5) == 0) { lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_671); x_772 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_772, 0, x_671); @@ -20603,7 +19880,7 @@ if (lean_is_scalar(x_804)) { } lean_ctor_set(x_811, 0, x_800); lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_800); if (lean_is_scalar(x_799)) { x_813 = lean_alloc_ctor(2, 2, 0); @@ -20625,7 +19902,7 @@ lean_ctor_set(x_818, 0, x_800); lean_ctor_set(x_818, 1, x_816); lean_ctor_set(x_818, 2, x_815); lean_ctor_set(x_818, 3, x_817); -x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_800); if (lean_is_scalar(x_794)) { x_820 = lean_alloc_ctor(2, 2, 0); @@ -20635,7 +19912,7 @@ if (lean_is_scalar(x_794)) { } lean_ctor_set(x_820, 0, x_800); lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_800); if (lean_is_scalar(x_790)) { x_822 = lean_alloc_ctor(2, 2, 0); @@ -20651,7 +19928,7 @@ x_823 = l_Lean_Syntax_node1(x_800, x_57, x_35); lean_inc(x_785); lean_inc(x_800); x_824 = l_Lean_Syntax_node3(x_800, x_57, x_785, x_822, x_823); -x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_800); x_826 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_826, 0, x_800); @@ -20659,7 +19936,7 @@ lean_ctor_set(x_826, 1, x_825); x_827 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_800); x_828 = l_Lean_Syntax_node3(x_800, x_827, x_820, x_824, x_826); -x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_800); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_829); @@ -20679,7 +19956,7 @@ lean_ctor_set(x_834, 3, x_833); lean_inc(x_795); lean_inc(x_800); x_835 = l_Lean_Syntax_node1(x_800, x_57, x_795); -x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_800); x_837 = l_Lean_Syntax_node2(x_800, x_836, x_834, x_835); x_838 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -20689,30 +19966,30 @@ lean_inc(x_32); lean_inc(x_809); lean_inc(x_800); x_839 = l_Lean_Syntax_node8(x_800, x_838, x_809, x_811, x_32, x_813, x_818, x_828, x_70, x_837); -x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_800); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_840); lean_ctor_set(x_53, 0, x_800); -x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_841); lean_ctor_set(x_49, 0, x_32); x_842 = lean_array_mk(x_49); x_843 = lean_box(2); -x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_845 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_845, 0, x_843); lean_ctor_set(x_845, 1, x_844); lean_ctor_set(x_845, 2, x_842); -x_846 = l_Lake_DSL_buildDeclSig___closed__19; +x_846 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_813); lean_inc(x_800); x_847 = l_Lean_Syntax_node2(x_800, x_846, x_813, x_788); lean_inc(x_800); x_848 = l_Lean_Syntax_node1(x_800, x_57, x_847); -x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_809); lean_inc(x_800); x_850 = l_Lean_Syntax_node2(x_800, x_849, x_809, x_848); @@ -20732,20 +20009,20 @@ lean_inc(x_800); x_856 = l_Lean_Syntax_node4(x_800, x_57, x_785, x_35, x_795, x_30); lean_inc(x_800); x_857 = l_Lean_Syntax_node2(x_800, x_836, x_855, x_856); -x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_809, 2); lean_inc(x_800); x_859 = l_Lean_Syntax_node2(x_800, x_858, x_809, x_809); -x_860 = l_Lake_DSL_buildDeclSig___closed__24; +x_860 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_809); lean_inc(x_859); lean_inc(x_70); lean_inc(x_800); x_861 = l_Lean_Syntax_node4(x_800, x_860, x_70, x_857, x_859, x_809); -x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_800); x_863 = l_Lean_Syntax_node4(x_800, x_862, x_53, x_845, x_850, x_861); -x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_800); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_864); @@ -20759,17 +20036,17 @@ x_867 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_867, 0, x_800); lean_ctor_set(x_867, 1, x_57); lean_ctor_set(x_867, 2, x_866); -x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_800); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_868); lean_ctor_set(x_40, 0, x_800); -x_869 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_800); x_870 = l_Lean_Syntax_node3(x_800, x_869, x_44, x_867, x_40); lean_inc(x_800); x_871 = l_Lean_Syntax_node1(x_800, x_57, x_870); -x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_809, 5); lean_inc(x_800); x_873 = l_Lean_Syntax_node6(x_800, x_872, x_809, x_871, x_809, x_809, x_809, x_809); @@ -20836,13 +20113,13 @@ x_897 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_809); lean_inc(x_800); x_898 = l_Lean_Syntax_node5(x_800, x_897, x_18, x_880, x_888, x_896, x_809); -x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_800); x_900 = l_Lean_Syntax_node2(x_800, x_899, x_873, x_898); if (lean_obj_tag(x_5) == 0) { lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_800); x_902 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_902, 0, x_800); @@ -21020,7 +20297,7 @@ if (lean_is_scalar(x_946)) { } lean_ctor_set(x_953, 0, x_942); lean_ctor_set(x_953, 1, x_952); -x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_942); if (lean_is_scalar(x_941)) { x_955 = lean_alloc_ctor(2, 2, 0); @@ -21042,7 +20319,7 @@ lean_ctor_set(x_960, 0, x_942); lean_ctor_set(x_960, 1, x_958); lean_ctor_set(x_960, 2, x_957); lean_ctor_set(x_960, 3, x_959); -x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_942); if (lean_is_scalar(x_936)) { x_962 = lean_alloc_ctor(2, 2, 0); @@ -21052,7 +20329,7 @@ if (lean_is_scalar(x_936)) { } lean_ctor_set(x_962, 0, x_942); lean_ctor_set(x_962, 1, x_961); -x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_942); if (lean_is_scalar(x_932)) { x_964 = lean_alloc_ctor(2, 2, 0); @@ -21068,7 +20345,7 @@ x_965 = l_Lean_Syntax_node1(x_942, x_57, x_35); lean_inc(x_926); lean_inc(x_942); x_966 = l_Lean_Syntax_node3(x_942, x_57, x_926, x_964, x_965); -x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_942); if (lean_is_scalar(x_928)) { x_968 = lean_alloc_ctor(2, 2, 0); @@ -21081,7 +20358,7 @@ lean_ctor_set(x_968, 1, x_967); x_969 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_942); x_970 = l_Lean_Syntax_node3(x_942, x_969, x_962, x_966, x_968); -x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_942); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_971); @@ -21101,7 +20378,7 @@ lean_ctor_set(x_976, 3, x_975); lean_inc(x_937); lean_inc(x_942); x_977 = l_Lean_Syntax_node1(x_942, x_57, x_937); -x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_942); x_979 = l_Lean_Syntax_node2(x_942, x_978, x_976, x_977); x_980 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -21111,30 +20388,30 @@ lean_inc(x_32); lean_inc(x_951); lean_inc(x_942); x_981 = l_Lean_Syntax_node8(x_942, x_980, x_951, x_953, x_32, x_955, x_960, x_970, x_70, x_979); -x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_942); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_982); lean_ctor_set(x_53, 0, x_942); -x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_983); lean_ctor_set(x_49, 0, x_32); x_984 = lean_array_mk(x_49); x_985 = lean_box(2); -x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_987 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_987, 0, x_985); lean_ctor_set(x_987, 1, x_986); lean_ctor_set(x_987, 2, x_984); -x_988 = l_Lake_DSL_buildDeclSig___closed__19; +x_988 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_955); lean_inc(x_942); x_989 = l_Lean_Syntax_node2(x_942, x_988, x_955, x_930); lean_inc(x_942); x_990 = l_Lean_Syntax_node1(x_942, x_57, x_989); -x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_951); lean_inc(x_942); x_992 = l_Lean_Syntax_node2(x_942, x_991, x_951, x_990); @@ -21154,20 +20431,20 @@ lean_inc(x_942); x_998 = l_Lean_Syntax_node4(x_942, x_57, x_926, x_35, x_937, x_30); lean_inc(x_942); x_999 = l_Lean_Syntax_node2(x_942, x_978, x_997, x_998); -x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_951, 2); lean_inc(x_942); x_1001 = l_Lean_Syntax_node2(x_942, x_1000, x_951, x_951); -x_1002 = l_Lake_DSL_buildDeclSig___closed__24; +x_1002 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_951); lean_inc(x_1001); lean_inc(x_70); lean_inc(x_942); x_1003 = l_Lean_Syntax_node4(x_942, x_1002, x_70, x_999, x_1001, x_951); -x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_942); x_1005 = l_Lean_Syntax_node4(x_942, x_1004, x_53, x_987, x_992, x_1003); -x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_942); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1006); @@ -21181,17 +20458,17 @@ x_1009 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1009, 0, x_942); lean_ctor_set(x_1009, 1, x_57); lean_ctor_set(x_1009, 2, x_1008); -x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_942); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1010); lean_ctor_set(x_40, 0, x_942); -x_1011 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_942); x_1012 = l_Lean_Syntax_node3(x_942, x_1011, x_44, x_1009, x_40); lean_inc(x_942); x_1013 = l_Lean_Syntax_node1(x_942, x_57, x_1012); -x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_951, 5); lean_inc(x_942); x_1015 = l_Lean_Syntax_node6(x_942, x_1014, x_951, x_1013, x_951, x_951, x_951, x_951); @@ -21258,13 +20535,13 @@ x_1039 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_951); lean_inc(x_942); x_1040 = l_Lean_Syntax_node5(x_942, x_1039, x_18, x_1022, x_1030, x_1038, x_951); -x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_942); x_1042 = l_Lean_Syntax_node2(x_942, x_1041, x_1015, x_1040); if (lean_obj_tag(x_5) == 0) { lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; -x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_942); x_1044 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1044, 0, x_942); @@ -21458,7 +20735,7 @@ if (lean_is_scalar(x_1092)) { } lean_ctor_set(x_1099, 0, x_1088); lean_ctor_set(x_1099, 1, x_1098); -x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1088); if (lean_is_scalar(x_1087)) { x_1101 = lean_alloc_ctor(2, 2, 0); @@ -21480,7 +20757,7 @@ lean_ctor_set(x_1106, 0, x_1088); lean_ctor_set(x_1106, 1, x_1104); lean_ctor_set(x_1106, 2, x_1103); lean_ctor_set(x_1106, 3, x_1105); -x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1088); if (lean_is_scalar(x_1082)) { x_1108 = lean_alloc_ctor(2, 2, 0); @@ -21490,7 +20767,7 @@ if (lean_is_scalar(x_1082)) { } lean_ctor_set(x_1108, 0, x_1088); lean_ctor_set(x_1108, 1, x_1107); -x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1088); if (lean_is_scalar(x_1078)) { x_1110 = lean_alloc_ctor(2, 2, 0); @@ -21506,7 +20783,7 @@ x_1111 = l_Lean_Syntax_node1(x_1088, x_57, x_35); lean_inc(x_1072); lean_inc(x_1088); x_1112 = l_Lean_Syntax_node3(x_1088, x_57, x_1072, x_1110, x_1111); -x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1088); if (lean_is_scalar(x_1074)) { x_1114 = lean_alloc_ctor(2, 2, 0); @@ -21519,7 +20796,7 @@ lean_ctor_set(x_1114, 1, x_1113); x_1115 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1088); x_1116 = l_Lean_Syntax_node3(x_1088, x_1115, x_1108, x_1112, x_1114); -x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1088); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_1117); @@ -21539,7 +20816,7 @@ lean_ctor_set(x_1122, 3, x_1121); lean_inc(x_1083); lean_inc(x_1088); x_1123 = l_Lean_Syntax_node1(x_1088, x_57, x_1083); -x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1088); x_1125 = l_Lean_Syntax_node2(x_1088, x_1124, x_1122, x_1123); x_1126 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -21549,30 +20826,30 @@ lean_inc(x_32); lean_inc(x_1097); lean_inc(x_1088); x_1127 = l_Lean_Syntax_node8(x_1088, x_1126, x_1097, x_1099, x_32, x_1101, x_1106, x_1116, x_70, x_1125); -x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1088); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1128); lean_ctor_set(x_53, 0, x_1088); -x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1129); lean_ctor_set(x_49, 0, x_32); x_1130 = lean_array_mk(x_49); x_1131 = lean_box(2); -x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1133 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1133, 0, x_1131); lean_ctor_set(x_1133, 1, x_1132); lean_ctor_set(x_1133, 2, x_1130); -x_1134 = l_Lake_DSL_buildDeclSig___closed__19; +x_1134 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1101); lean_inc(x_1088); x_1135 = l_Lean_Syntax_node2(x_1088, x_1134, x_1101, x_1076); lean_inc(x_1088); x_1136 = l_Lean_Syntax_node1(x_1088, x_57, x_1135); -x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1097); lean_inc(x_1088); x_1138 = l_Lean_Syntax_node2(x_1088, x_1137, x_1097, x_1136); @@ -21592,20 +20869,20 @@ lean_inc(x_1088); x_1144 = l_Lean_Syntax_node4(x_1088, x_57, x_1072, x_35, x_1083, x_30); lean_inc(x_1088); x_1145 = l_Lean_Syntax_node2(x_1088, x_1124, x_1143, x_1144); -x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1097, 2); lean_inc(x_1088); x_1147 = l_Lean_Syntax_node2(x_1088, x_1146, x_1097, x_1097); -x_1148 = l_Lake_DSL_buildDeclSig___closed__24; +x_1148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1097); lean_inc(x_1147); lean_inc(x_70); lean_inc(x_1088); x_1149 = l_Lean_Syntax_node4(x_1088, x_1148, x_70, x_1145, x_1147, x_1097); -x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1088); x_1151 = l_Lean_Syntax_node4(x_1088, x_1150, x_53, x_1133, x_1138, x_1149); -x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1088); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1152); @@ -21619,17 +20896,17 @@ x_1155 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1155, 0, x_1088); lean_ctor_set(x_1155, 1, x_57); lean_ctor_set(x_1155, 2, x_1154); -x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1088); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1156); lean_ctor_set(x_40, 0, x_1088); -x_1157 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1088); x_1158 = l_Lean_Syntax_node3(x_1088, x_1157, x_44, x_1155, x_40); lean_inc(x_1088); x_1159 = l_Lean_Syntax_node1(x_1088, x_57, x_1158); -x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1097, 5); lean_inc(x_1088); x_1161 = l_Lean_Syntax_node6(x_1088, x_1160, x_1097, x_1159, x_1097, x_1097, x_1097, x_1097); @@ -21696,13 +20973,13 @@ x_1185 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1097); lean_inc(x_1088); x_1186 = l_Lean_Syntax_node5(x_1088, x_1185, x_18, x_1168, x_1176, x_1184, x_1097); -x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1088); x_1188 = l_Lean_Syntax_node2(x_1088, x_1187, x_1161, x_1186); if (lean_obj_tag(x_5) == 0) { lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1088); x_1190 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1190, 0, x_1088); @@ -21916,7 +21193,7 @@ if (lean_is_scalar(x_1243)) { } lean_ctor_set(x_1250, 0, x_1239); lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1239); if (lean_is_scalar(x_1238)) { x_1252 = lean_alloc_ctor(2, 2, 0); @@ -21938,7 +21215,7 @@ lean_ctor_set(x_1257, 0, x_1239); lean_ctor_set(x_1257, 1, x_1255); lean_ctor_set(x_1257, 2, x_1254); lean_ctor_set(x_1257, 3, x_1256); -x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1239); if (lean_is_scalar(x_1233)) { x_1259 = lean_alloc_ctor(2, 2, 0); @@ -21948,7 +21225,7 @@ if (lean_is_scalar(x_1233)) { } lean_ctor_set(x_1259, 0, x_1239); lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1239); if (lean_is_scalar(x_1229)) { x_1261 = lean_alloc_ctor(2, 2, 0); @@ -21964,7 +21241,7 @@ x_1262 = l_Lean_Syntax_node1(x_1239, x_57, x_35); lean_inc(x_1223); lean_inc(x_1239); x_1263 = l_Lean_Syntax_node3(x_1239, x_57, x_1223, x_1261, x_1262); -x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1239); if (lean_is_scalar(x_1225)) { x_1265 = lean_alloc_ctor(2, 2, 0); @@ -21977,7 +21254,7 @@ lean_ctor_set(x_1265, 1, x_1264); x_1266 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1239); x_1267 = l_Lean_Syntax_node3(x_1239, x_1266, x_1259, x_1263, x_1265); -x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1239); x_1269 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1269, 0, x_1239); @@ -21997,7 +21274,7 @@ lean_ctor_set(x_1274, 3, x_1273); lean_inc(x_1234); lean_inc(x_1239); x_1275 = l_Lean_Syntax_node1(x_1239, x_57, x_1234); -x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1239); x_1277 = l_Lean_Syntax_node2(x_1239, x_1276, x_1274, x_1275); x_1278 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -22007,30 +21284,30 @@ lean_inc(x_32); lean_inc(x_1248); lean_inc(x_1239); x_1279 = l_Lean_Syntax_node8(x_1239, x_1278, x_1248, x_1250, x_32, x_1252, x_1257, x_1267, x_1269, x_1277); -x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1239); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1280); lean_ctor_set(x_53, 0, x_1239); -x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1281); lean_ctor_set(x_49, 0, x_32); x_1282 = lean_array_mk(x_49); x_1283 = lean_box(2); -x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1285 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1285, 0, x_1283); lean_ctor_set(x_1285, 1, x_1284); lean_ctor_set(x_1285, 2, x_1282); -x_1286 = l_Lake_DSL_buildDeclSig___closed__19; +x_1286 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1252); lean_inc(x_1239); x_1287 = l_Lean_Syntax_node2(x_1239, x_1286, x_1252, x_1227); lean_inc(x_1239); x_1288 = l_Lean_Syntax_node1(x_1239, x_57, x_1287); -x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1248); lean_inc(x_1239); x_1290 = l_Lean_Syntax_node2(x_1239, x_1289, x_1248, x_1288); @@ -22050,20 +21327,20 @@ lean_inc(x_1239); x_1296 = l_Lean_Syntax_node4(x_1239, x_57, x_1223, x_35, x_1234, x_30); lean_inc(x_1239); x_1297 = l_Lean_Syntax_node2(x_1239, x_1276, x_1295, x_1296); -x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1248, 2); lean_inc(x_1239); x_1299 = l_Lean_Syntax_node2(x_1239, x_1298, x_1248, x_1248); -x_1300 = l_Lake_DSL_buildDeclSig___closed__24; +x_1300 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1248); lean_inc(x_1299); lean_inc(x_1269); lean_inc(x_1239); x_1301 = l_Lean_Syntax_node4(x_1239, x_1300, x_1269, x_1297, x_1299, x_1248); -x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1239); x_1303 = l_Lean_Syntax_node4(x_1239, x_1302, x_53, x_1285, x_1290, x_1301); -x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1239); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1304); @@ -22077,17 +21354,17 @@ x_1307 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1307, 0, x_1239); lean_ctor_set(x_1307, 1, x_57); lean_ctor_set(x_1307, 2, x_1306); -x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1239); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1308); lean_ctor_set(x_40, 0, x_1239); -x_1309 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1239); x_1310 = l_Lean_Syntax_node3(x_1239, x_1309, x_44, x_1307, x_40); lean_inc(x_1239); x_1311 = l_Lean_Syntax_node1(x_1239, x_57, x_1310); -x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1248, 5); lean_inc(x_1239); x_1313 = l_Lean_Syntax_node6(x_1239, x_1312, x_1248, x_1311, x_1248, x_1248, x_1248, x_1248); @@ -22154,13 +21431,13 @@ x_1337 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1248); lean_inc(x_1239); x_1338 = l_Lean_Syntax_node5(x_1239, x_1337, x_18, x_1320, x_1328, x_1336, x_1248); -x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1239); x_1340 = l_Lean_Syntax_node2(x_1239, x_1339, x_1313, x_1338); if (lean_obj_tag(x_5) == 0) { lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1239); x_1342 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1342, 0, x_1239); @@ -22220,14 +21497,14 @@ x_1356 = lean_ctor_get(x_53, 1); lean_inc(x_1356); lean_inc(x_1355); lean_dec(x_53); -x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1359 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1359, 0, x_48); lean_ctor_set(x_1359, 1, x_1357); lean_ctor_set(x_1359, 2, x_1358); -x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1359); lean_inc(x_48); x_1361 = l_Lean_Syntax_node1(x_48, x_1360, x_1359); @@ -22240,10 +21517,10 @@ lean_ctor_set(x_1365, 0, x_48); lean_ctor_set(x_1365, 1, x_1364); lean_ctor_set(x_1365, 2, x_1363); lean_ctor_set(x_1365, 3, x_28); -x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1367 = l_Lean_Syntax_node2(x_48, x_1366, x_1365, x_1359); -x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1369 = l_Lean_Syntax_node2(x_48, x_1368, x_1361, x_1367); x_1370 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1356); x_1371 = lean_ctor_get(x_1370, 0); @@ -22412,7 +21689,7 @@ if (lean_is_scalar(x_1412)) { } lean_ctor_set(x_1419, 0, x_1408); lean_ctor_set(x_1419, 1, x_1418); -x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1408); if (lean_is_scalar(x_1407)) { x_1421 = lean_alloc_ctor(2, 2, 0); @@ -22434,7 +21711,7 @@ lean_ctor_set(x_1426, 0, x_1408); lean_ctor_set(x_1426, 1, x_1424); lean_ctor_set(x_1426, 2, x_1423); lean_ctor_set(x_1426, 3, x_1425); -x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1408); if (lean_is_scalar(x_1402)) { x_1428 = lean_alloc_ctor(2, 2, 0); @@ -22444,7 +21721,7 @@ if (lean_is_scalar(x_1402)) { } lean_ctor_set(x_1428, 0, x_1408); lean_ctor_set(x_1428, 1, x_1427); -x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1408); if (lean_is_scalar(x_1398)) { x_1430 = lean_alloc_ctor(2, 2, 0); @@ -22460,7 +21737,7 @@ x_1431 = l_Lean_Syntax_node1(x_1408, x_1357, x_35); lean_inc(x_1392); lean_inc(x_1408); x_1432 = l_Lean_Syntax_node3(x_1408, x_1357, x_1392, x_1430, x_1431); -x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1408); if (lean_is_scalar(x_1394)) { x_1434 = lean_alloc_ctor(2, 2, 0); @@ -22473,7 +21750,7 @@ lean_ctor_set(x_1434, 1, x_1433); x_1435 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1408); x_1436 = l_Lean_Syntax_node3(x_1408, x_1435, x_1428, x_1432, x_1434); -x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1408); if (lean_is_scalar(x_1373)) { x_1438 = lean_alloc_ctor(2, 2, 0); @@ -22498,7 +21775,7 @@ lean_ctor_set(x_1443, 3, x_1442); lean_inc(x_1403); lean_inc(x_1408); x_1444 = l_Lean_Syntax_node1(x_1408, x_1357, x_1403); -x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1408); x_1446 = l_Lean_Syntax_node2(x_1408, x_1445, x_1443, x_1444); x_1447 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -22508,30 +21785,30 @@ lean_inc(x_32); lean_inc(x_1417); lean_inc(x_1408); x_1448 = l_Lean_Syntax_node8(x_1408, x_1447, x_1417, x_1419, x_32, x_1421, x_1426, x_1436, x_1438, x_1446); -x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1408); x_1450 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1450, 0, x_1408); lean_ctor_set(x_1450, 1, x_1449); -x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1451); lean_ctor_set(x_49, 0, x_32); x_1452 = lean_array_mk(x_49); x_1453 = lean_box(2); -x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1455 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1455, 0, x_1453); lean_ctor_set(x_1455, 1, x_1454); lean_ctor_set(x_1455, 2, x_1452); -x_1456 = l_Lake_DSL_buildDeclSig___closed__19; +x_1456 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1421); lean_inc(x_1408); x_1457 = l_Lean_Syntax_node2(x_1408, x_1456, x_1421, x_1396); lean_inc(x_1408); x_1458 = l_Lean_Syntax_node1(x_1408, x_1357, x_1457); -x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1417); lean_inc(x_1408); x_1460 = l_Lean_Syntax_node2(x_1408, x_1459, x_1417, x_1458); @@ -22551,20 +21828,20 @@ lean_inc(x_1408); x_1466 = l_Lean_Syntax_node4(x_1408, x_1357, x_1392, x_35, x_1403, x_30); lean_inc(x_1408); x_1467 = l_Lean_Syntax_node2(x_1408, x_1445, x_1465, x_1466); -x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1417, 2); lean_inc(x_1408); x_1469 = l_Lean_Syntax_node2(x_1408, x_1468, x_1417, x_1417); -x_1470 = l_Lake_DSL_buildDeclSig___closed__24; +x_1470 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1417); lean_inc(x_1469); lean_inc(x_1438); lean_inc(x_1408); x_1471 = l_Lean_Syntax_node4(x_1408, x_1470, x_1438, x_1467, x_1469, x_1417); -x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1408); x_1473 = l_Lean_Syntax_node4(x_1408, x_1472, x_1450, x_1455, x_1460, x_1471); -x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1408); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1474); @@ -22578,17 +21855,17 @@ x_1477 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1477, 0, x_1408); lean_ctor_set(x_1477, 1, x_1357); lean_ctor_set(x_1477, 2, x_1476); -x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1408); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1478); lean_ctor_set(x_40, 0, x_1408); -x_1479 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1408); x_1480 = l_Lean_Syntax_node3(x_1408, x_1479, x_44, x_1477, x_40); lean_inc(x_1408); x_1481 = l_Lean_Syntax_node1(x_1408, x_1357, x_1480); -x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1417, 5); lean_inc(x_1408); x_1483 = l_Lean_Syntax_node6(x_1408, x_1482, x_1417, x_1481, x_1417, x_1417, x_1417, x_1417); @@ -22655,13 +21932,13 @@ x_1507 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1417); lean_inc(x_1408); x_1508 = l_Lean_Syntax_node5(x_1408, x_1507, x_18, x_1490, x_1498, x_1506, x_1417); -x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1408); x_1510 = l_Lean_Syntax_node2(x_1408, x_1509, x_1483, x_1508); if (lean_obj_tag(x_5) == 0) { lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1408); x_1512 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1512, 0, x_1408); @@ -22734,14 +22011,14 @@ if (lean_is_exclusive(x_1527)) { lean_dec_ref(x_1527); x_1530 = lean_box(0); } -x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1533 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1533, 0, x_48); lean_ctor_set(x_1533, 1, x_1531); lean_ctor_set(x_1533, 2, x_1532); -x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1533); lean_inc(x_48); x_1535 = l_Lean_Syntax_node1(x_48, x_1534, x_1533); @@ -22754,10 +22031,10 @@ lean_ctor_set(x_1539, 0, x_48); lean_ctor_set(x_1539, 1, x_1538); lean_ctor_set(x_1539, 2, x_1537); lean_ctor_set(x_1539, 3, x_28); -x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1541 = l_Lean_Syntax_node2(x_48, x_1540, x_1539, x_1533); -x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1543 = l_Lean_Syntax_node2(x_48, x_1542, x_1535, x_1541); x_1544 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1529); x_1545 = lean_ctor_get(x_1544, 0); @@ -22926,7 +22203,7 @@ if (lean_is_scalar(x_1586)) { } lean_ctor_set(x_1593, 0, x_1582); lean_ctor_set(x_1593, 1, x_1592); -x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1582); if (lean_is_scalar(x_1581)) { x_1595 = lean_alloc_ctor(2, 2, 0); @@ -22948,7 +22225,7 @@ lean_ctor_set(x_1600, 0, x_1582); lean_ctor_set(x_1600, 1, x_1598); lean_ctor_set(x_1600, 2, x_1597); lean_ctor_set(x_1600, 3, x_1599); -x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1582); if (lean_is_scalar(x_1576)) { x_1602 = lean_alloc_ctor(2, 2, 0); @@ -22958,7 +22235,7 @@ if (lean_is_scalar(x_1576)) { } lean_ctor_set(x_1602, 0, x_1582); lean_ctor_set(x_1602, 1, x_1601); -x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1582); if (lean_is_scalar(x_1572)) { x_1604 = lean_alloc_ctor(2, 2, 0); @@ -22974,7 +22251,7 @@ x_1605 = l_Lean_Syntax_node1(x_1582, x_1531, x_35); lean_inc(x_1566); lean_inc(x_1582); x_1606 = l_Lean_Syntax_node3(x_1582, x_1531, x_1566, x_1604, x_1605); -x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1582); if (lean_is_scalar(x_1568)) { x_1608 = lean_alloc_ctor(2, 2, 0); @@ -22987,7 +22264,7 @@ lean_ctor_set(x_1608, 1, x_1607); x_1609 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1582); x_1610 = l_Lean_Syntax_node3(x_1582, x_1609, x_1602, x_1606, x_1608); -x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1582); if (lean_is_scalar(x_1547)) { x_1612 = lean_alloc_ctor(2, 2, 0); @@ -23012,7 +22289,7 @@ lean_ctor_set(x_1617, 3, x_1616); lean_inc(x_1577); lean_inc(x_1582); x_1618 = l_Lean_Syntax_node1(x_1582, x_1531, x_1577); -x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1582); x_1620 = l_Lean_Syntax_node2(x_1582, x_1619, x_1617, x_1618); x_1621 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -23022,7 +22299,7 @@ lean_inc(x_32); lean_inc(x_1591); lean_inc(x_1582); x_1622 = l_Lean_Syntax_node8(x_1582, x_1621, x_1591, x_1593, x_32, x_1595, x_1600, x_1610, x_1612, x_1620); -x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1582); if (lean_is_scalar(x_1530)) { x_1624 = lean_alloc_ctor(2, 2, 0); @@ -23032,25 +22309,25 @@ if (lean_is_scalar(x_1530)) { } lean_ctor_set(x_1624, 0, x_1582); lean_ctor_set(x_1624, 1, x_1623); -x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); x_1626 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1626, 0, x_32); lean_ctor_set(x_1626, 1, x_1625); x_1627 = lean_array_mk(x_1626); x_1628 = lean_box(2); -x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1630 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1630, 0, x_1628); lean_ctor_set(x_1630, 1, x_1629); lean_ctor_set(x_1630, 2, x_1627); -x_1631 = l_Lake_DSL_buildDeclSig___closed__19; +x_1631 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1595); lean_inc(x_1582); x_1632 = l_Lean_Syntax_node2(x_1582, x_1631, x_1595, x_1570); lean_inc(x_1582); x_1633 = l_Lean_Syntax_node1(x_1582, x_1531, x_1632); -x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1591); lean_inc(x_1582); x_1635 = l_Lean_Syntax_node2(x_1582, x_1634, x_1591, x_1633); @@ -23070,20 +22347,20 @@ lean_inc(x_1582); x_1641 = l_Lean_Syntax_node4(x_1582, x_1531, x_1566, x_35, x_1577, x_30); lean_inc(x_1582); x_1642 = l_Lean_Syntax_node2(x_1582, x_1619, x_1640, x_1641); -x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1591, 2); lean_inc(x_1582); x_1644 = l_Lean_Syntax_node2(x_1582, x_1643, x_1591, x_1591); -x_1645 = l_Lake_DSL_buildDeclSig___closed__24; +x_1645 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1591); lean_inc(x_1644); lean_inc(x_1612); lean_inc(x_1582); x_1646 = l_Lean_Syntax_node4(x_1582, x_1645, x_1612, x_1642, x_1644, x_1591); -x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1582); x_1648 = l_Lean_Syntax_node4(x_1582, x_1647, x_1624, x_1630, x_1635, x_1646); -x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1582); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1649); @@ -23097,17 +22374,17 @@ x_1652 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1652, 0, x_1582); lean_ctor_set(x_1652, 1, x_1531); lean_ctor_set(x_1652, 2, x_1651); -x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1582); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1653); lean_ctor_set(x_40, 0, x_1582); -x_1654 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1582); x_1655 = l_Lean_Syntax_node3(x_1582, x_1654, x_44, x_1652, x_40); lean_inc(x_1582); x_1656 = l_Lean_Syntax_node1(x_1582, x_1531, x_1655); -x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1591, 5); lean_inc(x_1582); x_1658 = l_Lean_Syntax_node6(x_1582, x_1657, x_1591, x_1656, x_1591, x_1591, x_1591, x_1591); @@ -23174,13 +22451,13 @@ x_1682 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1591); lean_inc(x_1582); x_1683 = l_Lean_Syntax_node5(x_1582, x_1682, x_18, x_1665, x_1673, x_1681, x_1591); -x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1582); x_1685 = l_Lean_Syntax_node2(x_1582, x_1684, x_1658, x_1683); if (lean_obj_tag(x_5) == 0) { lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; -x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1582); x_1687 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1687, 0, x_1582); @@ -23268,14 +22545,14 @@ if (lean_is_exclusive(x_1707)) { lean_dec_ref(x_1707); x_1710 = lean_box(0); } -x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1702); x_1713 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1713, 0, x_1702); lean_ctor_set(x_1713, 1, x_1711); lean_ctor_set(x_1713, 2, x_1712); -x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1713); lean_inc(x_1702); x_1715 = l_Lean_Syntax_node1(x_1702, x_1714, x_1713); @@ -23288,10 +22565,10 @@ lean_ctor_set(x_1719, 0, x_1702); lean_ctor_set(x_1719, 1, x_1718); lean_ctor_set(x_1719, 2, x_1717); lean_ctor_set(x_1719, 3, x_28); -x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1702); x_1721 = l_Lean_Syntax_node2(x_1702, x_1720, x_1719, x_1713); -x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1723 = l_Lean_Syntax_node2(x_1702, x_1722, x_1715, x_1721); x_1724 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1709); x_1725 = lean_ctor_get(x_1724, 0); @@ -23460,7 +22737,7 @@ if (lean_is_scalar(x_1766)) { } lean_ctor_set(x_1773, 0, x_1762); lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1762); if (lean_is_scalar(x_1761)) { x_1775 = lean_alloc_ctor(2, 2, 0); @@ -23482,7 +22759,7 @@ lean_ctor_set(x_1780, 0, x_1762); lean_ctor_set(x_1780, 1, x_1778); lean_ctor_set(x_1780, 2, x_1777); lean_ctor_set(x_1780, 3, x_1779); -x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1762); if (lean_is_scalar(x_1756)) { x_1782 = lean_alloc_ctor(2, 2, 0); @@ -23492,7 +22769,7 @@ if (lean_is_scalar(x_1756)) { } lean_ctor_set(x_1782, 0, x_1762); lean_ctor_set(x_1782, 1, x_1781); -x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1762); if (lean_is_scalar(x_1752)) { x_1784 = lean_alloc_ctor(2, 2, 0); @@ -23508,7 +22785,7 @@ x_1785 = l_Lean_Syntax_node1(x_1762, x_1711, x_35); lean_inc(x_1746); lean_inc(x_1762); x_1786 = l_Lean_Syntax_node3(x_1762, x_1711, x_1746, x_1784, x_1785); -x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1762); if (lean_is_scalar(x_1748)) { x_1788 = lean_alloc_ctor(2, 2, 0); @@ -23521,7 +22798,7 @@ lean_ctor_set(x_1788, 1, x_1787); x_1789 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1762); x_1790 = l_Lean_Syntax_node3(x_1762, x_1789, x_1782, x_1786, x_1788); -x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1762); if (lean_is_scalar(x_1727)) { x_1792 = lean_alloc_ctor(2, 2, 0); @@ -23546,7 +22823,7 @@ lean_ctor_set(x_1797, 3, x_1796); lean_inc(x_1757); lean_inc(x_1762); x_1798 = l_Lean_Syntax_node1(x_1762, x_1711, x_1757); -x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1762); x_1800 = l_Lean_Syntax_node2(x_1762, x_1799, x_1797, x_1798); x_1801 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -23556,7 +22833,7 @@ lean_inc(x_32); lean_inc(x_1771); lean_inc(x_1762); x_1802 = l_Lean_Syntax_node8(x_1762, x_1801, x_1771, x_1773, x_32, x_1775, x_1780, x_1790, x_1792, x_1800); -x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1762); if (lean_is_scalar(x_1710)) { x_1804 = lean_alloc_ctor(2, 2, 0); @@ -23566,7 +22843,7 @@ if (lean_is_scalar(x_1710)) { } lean_ctor_set(x_1804, 0, x_1762); lean_ctor_set(x_1804, 1, x_1803); -x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1706)) { x_1806 = lean_alloc_ctor(1, 2, 0); @@ -23578,18 +22855,18 @@ lean_ctor_set(x_1806, 0, x_32); lean_ctor_set(x_1806, 1, x_1805); x_1807 = lean_array_mk(x_1806); x_1808 = lean_box(2); -x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1810 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1810, 0, x_1808); lean_ctor_set(x_1810, 1, x_1809); lean_ctor_set(x_1810, 2, x_1807); -x_1811 = l_Lake_DSL_buildDeclSig___closed__19; +x_1811 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1775); lean_inc(x_1762); x_1812 = l_Lean_Syntax_node2(x_1762, x_1811, x_1775, x_1750); lean_inc(x_1762); x_1813 = l_Lean_Syntax_node1(x_1762, x_1711, x_1812); -x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1771); lean_inc(x_1762); x_1815 = l_Lean_Syntax_node2(x_1762, x_1814, x_1771, x_1813); @@ -23609,20 +22886,20 @@ lean_inc(x_1762); x_1821 = l_Lean_Syntax_node4(x_1762, x_1711, x_1746, x_35, x_1757, x_30); lean_inc(x_1762); x_1822 = l_Lean_Syntax_node2(x_1762, x_1799, x_1820, x_1821); -x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1771, 2); lean_inc(x_1762); x_1824 = l_Lean_Syntax_node2(x_1762, x_1823, x_1771, x_1771); -x_1825 = l_Lake_DSL_buildDeclSig___closed__24; +x_1825 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1771); lean_inc(x_1824); lean_inc(x_1792); lean_inc(x_1762); x_1826 = l_Lean_Syntax_node4(x_1762, x_1825, x_1792, x_1822, x_1824, x_1771); -x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1762); x_1828 = l_Lean_Syntax_node4(x_1762, x_1827, x_1804, x_1810, x_1815, x_1826); -x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1762); x_1830 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1830, 0, x_1762); @@ -23636,17 +22913,17 @@ x_1833 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1833, 0, x_1762); lean_ctor_set(x_1833, 1, x_1711); lean_ctor_set(x_1833, 2, x_1832); -x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1762); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1834); lean_ctor_set(x_40, 0, x_1762); -x_1835 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1762); x_1836 = l_Lean_Syntax_node3(x_1762, x_1835, x_1830, x_1833, x_40); lean_inc(x_1762); x_1837 = l_Lean_Syntax_node1(x_1762, x_1711, x_1836); -x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1771, 5); lean_inc(x_1762); x_1839 = l_Lean_Syntax_node6(x_1762, x_1838, x_1771, x_1837, x_1771, x_1771, x_1771, x_1771); @@ -23713,13 +22990,13 @@ x_1863 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1771); lean_inc(x_1762); x_1864 = l_Lean_Syntax_node5(x_1762, x_1863, x_18, x_1846, x_1854, x_1862, x_1771); -x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1762); x_1866 = l_Lean_Syntax_node2(x_1762, x_1865, x_1839, x_1864); if (lean_obj_tag(x_5) == 0) { lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; -x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1762); x_1868 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1868, 0, x_1762); @@ -23820,14 +23097,14 @@ if (lean_is_exclusive(x_1892)) { lean_dec_ref(x_1892); x_1895 = lean_box(0); } -x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1887); x_1898 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1898, 0, x_1887); lean_ctor_set(x_1898, 1, x_1896); lean_ctor_set(x_1898, 2, x_1897); -x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1898); lean_inc(x_1887); x_1900 = l_Lean_Syntax_node1(x_1887, x_1899, x_1898); @@ -23840,10 +23117,10 @@ lean_ctor_set(x_1904, 0, x_1887); lean_ctor_set(x_1904, 1, x_1903); lean_ctor_set(x_1904, 2, x_1902); lean_ctor_set(x_1904, 3, x_28); -x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1887); x_1906 = l_Lean_Syntax_node2(x_1887, x_1905, x_1904, x_1898); -x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1908 = l_Lean_Syntax_node2(x_1887, x_1907, x_1900, x_1906); x_1909 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1894); x_1910 = lean_ctor_get(x_1909, 0); @@ -24012,7 +23289,7 @@ if (lean_is_scalar(x_1951)) { } lean_ctor_set(x_1958, 0, x_1947); lean_ctor_set(x_1958, 1, x_1957); -x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1947); if (lean_is_scalar(x_1946)) { x_1960 = lean_alloc_ctor(2, 2, 0); @@ -24034,7 +23311,7 @@ lean_ctor_set(x_1965, 0, x_1947); lean_ctor_set(x_1965, 1, x_1963); lean_ctor_set(x_1965, 2, x_1962); lean_ctor_set(x_1965, 3, x_1964); -x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1947); if (lean_is_scalar(x_1941)) { x_1967 = lean_alloc_ctor(2, 2, 0); @@ -24044,7 +23321,7 @@ if (lean_is_scalar(x_1941)) { } lean_ctor_set(x_1967, 0, x_1947); lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1947); if (lean_is_scalar(x_1937)) { x_1969 = lean_alloc_ctor(2, 2, 0); @@ -24060,7 +23337,7 @@ x_1970 = l_Lean_Syntax_node1(x_1947, x_1896, x_35); lean_inc(x_1931); lean_inc(x_1947); x_1971 = l_Lean_Syntax_node3(x_1947, x_1896, x_1931, x_1969, x_1970); -x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1947); if (lean_is_scalar(x_1933)) { x_1973 = lean_alloc_ctor(2, 2, 0); @@ -24073,7 +23350,7 @@ lean_ctor_set(x_1973, 1, x_1972); x_1974 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1947); x_1975 = l_Lean_Syntax_node3(x_1947, x_1974, x_1967, x_1971, x_1973); -x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1947); if (lean_is_scalar(x_1912)) { x_1977 = lean_alloc_ctor(2, 2, 0); @@ -24098,7 +23375,7 @@ lean_ctor_set(x_1982, 3, x_1981); lean_inc(x_1942); lean_inc(x_1947); x_1983 = l_Lean_Syntax_node1(x_1947, x_1896, x_1942); -x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1947); x_1985 = l_Lean_Syntax_node2(x_1947, x_1984, x_1982, x_1983); x_1986 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -24108,7 +23385,7 @@ lean_inc(x_32); lean_inc(x_1956); lean_inc(x_1947); x_1987 = l_Lean_Syntax_node8(x_1947, x_1986, x_1956, x_1958, x_32, x_1960, x_1965, x_1975, x_1977, x_1985); -x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1947); if (lean_is_scalar(x_1895)) { x_1989 = lean_alloc_ctor(2, 2, 0); @@ -24118,7 +23395,7 @@ if (lean_is_scalar(x_1895)) { } lean_ctor_set(x_1989, 0, x_1947); lean_ctor_set(x_1989, 1, x_1988); -x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1891)) { x_1991 = lean_alloc_ctor(1, 2, 0); @@ -24130,18 +23407,18 @@ lean_ctor_set(x_1991, 0, x_32); lean_ctor_set(x_1991, 1, x_1990); x_1992 = lean_array_mk(x_1991); x_1993 = lean_box(2); -x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1995 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1995, 0, x_1993); lean_ctor_set(x_1995, 1, x_1994); lean_ctor_set(x_1995, 2, x_1992); -x_1996 = l_Lake_DSL_buildDeclSig___closed__19; +x_1996 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1960); lean_inc(x_1947); x_1997 = l_Lean_Syntax_node2(x_1947, x_1996, x_1960, x_1935); lean_inc(x_1947); x_1998 = l_Lean_Syntax_node1(x_1947, x_1896, x_1997); -x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1956); lean_inc(x_1947); x_2000 = l_Lean_Syntax_node2(x_1947, x_1999, x_1956, x_1998); @@ -24161,20 +23438,20 @@ lean_inc(x_1947); x_2006 = l_Lean_Syntax_node4(x_1947, x_1896, x_1931, x_35, x_1942, x_30); lean_inc(x_1947); x_2007 = l_Lean_Syntax_node2(x_1947, x_1984, x_2005, x_2006); -x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1956, 2); lean_inc(x_1947); x_2009 = l_Lean_Syntax_node2(x_1947, x_2008, x_1956, x_1956); -x_2010 = l_Lake_DSL_buildDeclSig___closed__24; +x_2010 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1956); lean_inc(x_2009); lean_inc(x_1977); lean_inc(x_1947); x_2011 = l_Lean_Syntax_node4(x_1947, x_2010, x_1977, x_2007, x_2009, x_1956); -x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1947); x_2013 = l_Lean_Syntax_node4(x_1947, x_2012, x_1989, x_1995, x_2000, x_2011); -x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1947); if (lean_is_scalar(x_1886)) { x_2015 = lean_alloc_ctor(2, 2, 0); @@ -24193,17 +23470,17 @@ x_2018 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2018, 0, x_1947); lean_ctor_set(x_2018, 1, x_1896); lean_ctor_set(x_2018, 2, x_2017); -x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1947); x_2020 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2020, 0, x_1947); lean_ctor_set(x_2020, 1, x_2019); -x_2021 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2021 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1947); x_2022 = l_Lean_Syntax_node3(x_1947, x_2021, x_2015, x_2018, x_2020); lean_inc(x_1947); x_2023 = l_Lean_Syntax_node1(x_1947, x_1896, x_2022); -x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1956, 5); lean_inc(x_1947); x_2025 = l_Lean_Syntax_node6(x_1947, x_2024, x_1956, x_2023, x_1956, x_1956, x_1956, x_1956); @@ -24270,13 +23547,13 @@ x_2049 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1956); lean_inc(x_1947); x_2050 = l_Lean_Syntax_node5(x_1947, x_2049, x_18, x_2032, x_2040, x_2048, x_1956); -x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1947); x_2052 = l_Lean_Syntax_node2(x_1947, x_2051, x_2025, x_2050); if (lean_obj_tag(x_5) == 0) { lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; -x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1947); x_2054 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2054, 0, x_1947); @@ -24501,14 +23778,14 @@ if (lean_is_exclusive(x_2105)) { lean_dec_ref(x_2105); x_2108 = lean_box(0); } -x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2100); x_2111 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2111, 0, x_2100); lean_ctor_set(x_2111, 1, x_2109); lean_ctor_set(x_2111, 2, x_2110); -x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2111); lean_inc(x_2100); x_2113 = l_Lean_Syntax_node1(x_2100, x_2112, x_2111); @@ -24521,10 +23798,10 @@ lean_ctor_set(x_2117, 0, x_2100); lean_ctor_set(x_2117, 1, x_2116); lean_ctor_set(x_2117, 2, x_2115); lean_ctor_set(x_2117, 3, x_2079); -x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2100); x_2119 = l_Lean_Syntax_node2(x_2100, x_2118, x_2117, x_2111); -x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2121 = l_Lean_Syntax_node2(x_2100, x_2120, x_2113, x_2119); x_2122 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2107); x_2123 = lean_ctor_get(x_2122, 0); @@ -24693,7 +23970,7 @@ if (lean_is_scalar(x_2164)) { } lean_ctor_set(x_2171, 0, x_2160); lean_ctor_set(x_2171, 1, x_2170); -x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2160); if (lean_is_scalar(x_2159)) { x_2173 = lean_alloc_ctor(2, 2, 0); @@ -24715,7 +23992,7 @@ lean_ctor_set(x_2178, 0, x_2160); lean_ctor_set(x_2178, 1, x_2176); lean_ctor_set(x_2178, 2, x_2175); lean_ctor_set(x_2178, 3, x_2177); -x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2160); if (lean_is_scalar(x_2154)) { x_2180 = lean_alloc_ctor(2, 2, 0); @@ -24725,7 +24002,7 @@ if (lean_is_scalar(x_2154)) { } lean_ctor_set(x_2180, 0, x_2160); lean_ctor_set(x_2180, 1, x_2179); -x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2160); if (lean_is_scalar(x_2150)) { x_2182 = lean_alloc_ctor(2, 2, 0); @@ -24741,7 +24018,7 @@ x_2183 = l_Lean_Syntax_node1(x_2160, x_2109, x_2086); lean_inc(x_2144); lean_inc(x_2160); x_2184 = l_Lean_Syntax_node3(x_2160, x_2109, x_2144, x_2182, x_2183); -x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2160); if (lean_is_scalar(x_2146)) { x_2186 = lean_alloc_ctor(2, 2, 0); @@ -24754,7 +24031,7 @@ lean_ctor_set(x_2186, 1, x_2185); x_2187 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2160); x_2188 = l_Lean_Syntax_node3(x_2160, x_2187, x_2180, x_2184, x_2186); -x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2160); if (lean_is_scalar(x_2125)) { x_2190 = lean_alloc_ctor(2, 2, 0); @@ -24779,7 +24056,7 @@ lean_ctor_set(x_2195, 3, x_2194); lean_inc(x_2155); lean_inc(x_2160); x_2196 = l_Lean_Syntax_node1(x_2160, x_2109, x_2155); -x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2160); x_2198 = l_Lean_Syntax_node2(x_2160, x_2197, x_2195, x_2196); x_2199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -24789,7 +24066,7 @@ lean_inc(x_2083); lean_inc(x_2169); lean_inc(x_2160); x_2200 = l_Lean_Syntax_node8(x_2160, x_2199, x_2169, x_2171, x_2083, x_2173, x_2178, x_2188, x_2190, x_2198); -x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2160); if (lean_is_scalar(x_2108)) { x_2202 = lean_alloc_ctor(2, 2, 0); @@ -24799,7 +24076,7 @@ if (lean_is_scalar(x_2108)) { } lean_ctor_set(x_2202, 0, x_2160); lean_ctor_set(x_2202, 1, x_2201); -x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2083); if (lean_is_scalar(x_2104)) { x_2204 = lean_alloc_ctor(1, 2, 0); @@ -24811,18 +24088,18 @@ lean_ctor_set(x_2204, 0, x_2083); lean_ctor_set(x_2204, 1, x_2203); x_2205 = lean_array_mk(x_2204); x_2206 = lean_box(2); -x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2208 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2208, 0, x_2206); lean_ctor_set(x_2208, 1, x_2207); lean_ctor_set(x_2208, 2, x_2205); -x_2209 = l_Lake_DSL_buildDeclSig___closed__19; +x_2209 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2173); lean_inc(x_2160); x_2210 = l_Lean_Syntax_node2(x_2160, x_2209, x_2173, x_2148); lean_inc(x_2160); x_2211 = l_Lean_Syntax_node1(x_2160, x_2109, x_2210); -x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2169); lean_inc(x_2160); x_2213 = l_Lean_Syntax_node2(x_2160, x_2212, x_2169, x_2211); @@ -24842,20 +24119,20 @@ lean_inc(x_2160); x_2219 = l_Lean_Syntax_node4(x_2160, x_2109, x_2144, x_2086, x_2155, x_2081); lean_inc(x_2160); x_2220 = l_Lean_Syntax_node2(x_2160, x_2197, x_2218, x_2219); -x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2169, 2); lean_inc(x_2160); x_2222 = l_Lean_Syntax_node2(x_2160, x_2221, x_2169, x_2169); -x_2223 = l_Lake_DSL_buildDeclSig___closed__24; +x_2223 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2169); lean_inc(x_2222); lean_inc(x_2190); lean_inc(x_2160); x_2224 = l_Lean_Syntax_node4(x_2160, x_2223, x_2190, x_2220, x_2222, x_2169); -x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2160); x_2226 = l_Lean_Syntax_node4(x_2160, x_2225, x_2202, x_2208, x_2213, x_2224); -x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2160); if (lean_is_scalar(x_2099)) { x_2228 = lean_alloc_ctor(2, 2, 0); @@ -24874,7 +24151,7 @@ x_2231 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2231, 0, x_2160); lean_ctor_set(x_2231, 1, x_2109); lean_ctor_set(x_2231, 2, x_2230); -x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2160); if (lean_is_scalar(x_2095)) { x_2233 = lean_alloc_ctor(2, 2, 0); @@ -24884,12 +24161,12 @@ if (lean_is_scalar(x_2095)) { } lean_ctor_set(x_2233, 0, x_2160); lean_ctor_set(x_2233, 1, x_2232); -x_2234 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2160); x_2235 = l_Lean_Syntax_node3(x_2160, x_2234, x_2228, x_2231, x_2233); lean_inc(x_2160); x_2236 = l_Lean_Syntax_node1(x_2160, x_2109, x_2235); -x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2169, 5); lean_inc(x_2160); x_2238 = l_Lean_Syntax_node6(x_2160, x_2237, x_2169, x_2236, x_2169, x_2169, x_2169, x_2169); @@ -24956,13 +24233,13 @@ x_2262 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2169); lean_inc(x_2160); x_2263 = l_Lean_Syntax_node5(x_2160, x_2262, x_18, x_2245, x_2253, x_2261, x_2169); -x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2160); x_2265 = l_Lean_Syntax_node2(x_2160, x_2264, x_2238, x_2263); if (lean_obj_tag(x_5) == 0) { lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; -x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2160); x_2267 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2267, 0, x_2160); @@ -25208,14 +24485,14 @@ if (lean_is_exclusive(x_2322)) { lean_dec_ref(x_2322); x_2325 = lean_box(0); } -x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2317); x_2328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2328, 0, x_2317); lean_ctor_set(x_2328, 1, x_2326); lean_ctor_set(x_2328, 2, x_2327); -x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2328); lean_inc(x_2317); x_2330 = l_Lean_Syntax_node1(x_2317, x_2329, x_2328); @@ -25228,10 +24505,10 @@ lean_ctor_set(x_2334, 0, x_2317); lean_ctor_set(x_2334, 1, x_2333); lean_ctor_set(x_2334, 2, x_2332); lean_ctor_set(x_2334, 3, x_2296); -x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2317); x_2336 = l_Lean_Syntax_node2(x_2317, x_2335, x_2334, x_2328); -x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2338 = l_Lean_Syntax_node2(x_2317, x_2337, x_2330, x_2336); x_2339 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2324); x_2340 = lean_ctor_get(x_2339, 0); @@ -25400,7 +24677,7 @@ if (lean_is_scalar(x_2381)) { } lean_ctor_set(x_2388, 0, x_2377); lean_ctor_set(x_2388, 1, x_2387); -x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2377); if (lean_is_scalar(x_2376)) { x_2390 = lean_alloc_ctor(2, 2, 0); @@ -25422,7 +24699,7 @@ lean_ctor_set(x_2395, 0, x_2377); lean_ctor_set(x_2395, 1, x_2393); lean_ctor_set(x_2395, 2, x_2392); lean_ctor_set(x_2395, 3, x_2394); -x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2377); if (lean_is_scalar(x_2371)) { x_2397 = lean_alloc_ctor(2, 2, 0); @@ -25432,7 +24709,7 @@ if (lean_is_scalar(x_2371)) { } lean_ctor_set(x_2397, 0, x_2377); lean_ctor_set(x_2397, 1, x_2396); -x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2377); if (lean_is_scalar(x_2367)) { x_2399 = lean_alloc_ctor(2, 2, 0); @@ -25448,7 +24725,7 @@ x_2400 = l_Lean_Syntax_node1(x_2377, x_2326, x_2303); lean_inc(x_2361); lean_inc(x_2377); x_2401 = l_Lean_Syntax_node3(x_2377, x_2326, x_2361, x_2399, x_2400); -x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2377); if (lean_is_scalar(x_2363)) { x_2403 = lean_alloc_ctor(2, 2, 0); @@ -25461,7 +24738,7 @@ lean_ctor_set(x_2403, 1, x_2402); x_2404 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2377); x_2405 = l_Lean_Syntax_node3(x_2377, x_2404, x_2397, x_2401, x_2403); -x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2377); if (lean_is_scalar(x_2342)) { x_2407 = lean_alloc_ctor(2, 2, 0); @@ -25486,7 +24763,7 @@ lean_ctor_set(x_2412, 3, x_2411); lean_inc(x_2372); lean_inc(x_2377); x_2413 = l_Lean_Syntax_node1(x_2377, x_2326, x_2372); -x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2377); x_2415 = l_Lean_Syntax_node2(x_2377, x_2414, x_2412, x_2413); x_2416 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -25496,7 +24773,7 @@ lean_inc(x_2300); lean_inc(x_2386); lean_inc(x_2377); x_2417 = l_Lean_Syntax_node8(x_2377, x_2416, x_2386, x_2388, x_2300, x_2390, x_2395, x_2405, x_2407, x_2415); -x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2377); if (lean_is_scalar(x_2325)) { x_2419 = lean_alloc_ctor(2, 2, 0); @@ -25506,7 +24783,7 @@ if (lean_is_scalar(x_2325)) { } lean_ctor_set(x_2419, 0, x_2377); lean_ctor_set(x_2419, 1, x_2418); -x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2300); if (lean_is_scalar(x_2321)) { x_2421 = lean_alloc_ctor(1, 2, 0); @@ -25518,18 +24795,18 @@ lean_ctor_set(x_2421, 0, x_2300); lean_ctor_set(x_2421, 1, x_2420); x_2422 = lean_array_mk(x_2421); x_2423 = lean_box(2); -x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2425 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2425, 0, x_2423); lean_ctor_set(x_2425, 1, x_2424); lean_ctor_set(x_2425, 2, x_2422); -x_2426 = l_Lake_DSL_buildDeclSig___closed__19; +x_2426 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2390); lean_inc(x_2377); x_2427 = l_Lean_Syntax_node2(x_2377, x_2426, x_2390, x_2365); lean_inc(x_2377); x_2428 = l_Lean_Syntax_node1(x_2377, x_2326, x_2427); -x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2386); lean_inc(x_2377); x_2430 = l_Lean_Syntax_node2(x_2377, x_2429, x_2386, x_2428); @@ -25549,20 +24826,20 @@ lean_inc(x_2377); x_2436 = l_Lean_Syntax_node4(x_2377, x_2326, x_2361, x_2303, x_2372, x_2298); lean_inc(x_2377); x_2437 = l_Lean_Syntax_node2(x_2377, x_2414, x_2435, x_2436); -x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2386, 2); lean_inc(x_2377); x_2439 = l_Lean_Syntax_node2(x_2377, x_2438, x_2386, x_2386); -x_2440 = l_Lake_DSL_buildDeclSig___closed__24; +x_2440 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2386); lean_inc(x_2439); lean_inc(x_2407); lean_inc(x_2377); x_2441 = l_Lean_Syntax_node4(x_2377, x_2440, x_2407, x_2437, x_2439, x_2386); -x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2377); x_2443 = l_Lean_Syntax_node4(x_2377, x_2442, x_2419, x_2425, x_2430, x_2441); -x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2377); if (lean_is_scalar(x_2316)) { x_2445 = lean_alloc_ctor(2, 2, 0); @@ -25581,7 +24858,7 @@ x_2448 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2448, 0, x_2377); lean_ctor_set(x_2448, 1, x_2326); lean_ctor_set(x_2448, 2, x_2447); -x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2377); if (lean_is_scalar(x_2312)) { x_2450 = lean_alloc_ctor(2, 2, 0); @@ -25591,12 +24868,12 @@ if (lean_is_scalar(x_2312)) { } lean_ctor_set(x_2450, 0, x_2377); lean_ctor_set(x_2450, 1, x_2449); -x_2451 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2377); x_2452 = l_Lean_Syntax_node3(x_2377, x_2451, x_2445, x_2448, x_2450); lean_inc(x_2377); x_2453 = l_Lean_Syntax_node1(x_2377, x_2326, x_2452); -x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2386, 5); lean_inc(x_2377); x_2455 = l_Lean_Syntax_node6(x_2377, x_2454, x_2386, x_2453, x_2386, x_2386, x_2386, x_2386); @@ -25663,13 +24940,13 @@ x_2480 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2386); lean_inc(x_2377); x_2481 = l_Lean_Syntax_node5(x_2377, x_2480, x_2457, x_2463, x_2471, x_2479, x_2386); -x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2377); x_2483 = l_Lean_Syntax_node2(x_2377, x_2482, x_2455, x_2481); if (lean_obj_tag(x_5) == 0) { lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; -x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2377); x_2485 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2485, 0, x_2377); @@ -25930,14 +25207,14 @@ if (lean_is_exclusive(x_2546)) { lean_dec_ref(x_2546); x_2549 = lean_box(0); } -x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2541); x_2552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2552, 0, x_2541); lean_ctor_set(x_2552, 1, x_2550); lean_ctor_set(x_2552, 2, x_2551); -x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2552); lean_inc(x_2541); x_2554 = l_Lean_Syntax_node1(x_2541, x_2553, x_2552); @@ -25950,10 +25227,10 @@ lean_ctor_set(x_2558, 0, x_2541); lean_ctor_set(x_2558, 1, x_2557); lean_ctor_set(x_2558, 2, x_2556); lean_ctor_set(x_2558, 3, x_2520); -x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2541); x_2560 = l_Lean_Syntax_node2(x_2541, x_2559, x_2558, x_2552); -x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2562 = l_Lean_Syntax_node2(x_2541, x_2561, x_2554, x_2560); x_2563 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2548); x_2564 = lean_ctor_get(x_2563, 0); @@ -26122,7 +25399,7 @@ if (lean_is_scalar(x_2605)) { } lean_ctor_set(x_2612, 0, x_2601); lean_ctor_set(x_2612, 1, x_2611); -x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2601); if (lean_is_scalar(x_2600)) { x_2614 = lean_alloc_ctor(2, 2, 0); @@ -26144,7 +25421,7 @@ lean_ctor_set(x_2619, 0, x_2601); lean_ctor_set(x_2619, 1, x_2617); lean_ctor_set(x_2619, 2, x_2616); lean_ctor_set(x_2619, 3, x_2618); -x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2601); if (lean_is_scalar(x_2595)) { x_2621 = lean_alloc_ctor(2, 2, 0); @@ -26154,7 +25431,7 @@ if (lean_is_scalar(x_2595)) { } lean_ctor_set(x_2621, 0, x_2601); lean_ctor_set(x_2621, 1, x_2620); -x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2601); if (lean_is_scalar(x_2591)) { x_2623 = lean_alloc_ctor(2, 2, 0); @@ -26170,7 +25447,7 @@ x_2624 = l_Lean_Syntax_node1(x_2601, x_2550, x_2527); lean_inc(x_2585); lean_inc(x_2601); x_2625 = l_Lean_Syntax_node3(x_2601, x_2550, x_2585, x_2623, x_2624); -x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2601); if (lean_is_scalar(x_2587)) { x_2627 = lean_alloc_ctor(2, 2, 0); @@ -26183,7 +25460,7 @@ lean_ctor_set(x_2627, 1, x_2626); x_2628 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2601); x_2629 = l_Lean_Syntax_node3(x_2601, x_2628, x_2621, x_2625, x_2627); -x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2601); if (lean_is_scalar(x_2566)) { x_2631 = lean_alloc_ctor(2, 2, 0); @@ -26208,7 +25485,7 @@ lean_ctor_set(x_2636, 3, x_2635); lean_inc(x_2596); lean_inc(x_2601); x_2637 = l_Lean_Syntax_node1(x_2601, x_2550, x_2596); -x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2601); x_2639 = l_Lean_Syntax_node2(x_2601, x_2638, x_2636, x_2637); x_2640 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -26218,7 +25495,7 @@ lean_inc(x_2524); lean_inc(x_2610); lean_inc(x_2601); x_2641 = l_Lean_Syntax_node8(x_2601, x_2640, x_2610, x_2612, x_2524, x_2614, x_2619, x_2629, x_2631, x_2639); -x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2601); if (lean_is_scalar(x_2549)) { x_2643 = lean_alloc_ctor(2, 2, 0); @@ -26228,7 +25505,7 @@ if (lean_is_scalar(x_2549)) { } lean_ctor_set(x_2643, 0, x_2601); lean_ctor_set(x_2643, 1, x_2642); -x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2524); if (lean_is_scalar(x_2545)) { x_2645 = lean_alloc_ctor(1, 2, 0); @@ -26240,18 +25517,18 @@ lean_ctor_set(x_2645, 0, x_2524); lean_ctor_set(x_2645, 1, x_2644); x_2646 = lean_array_mk(x_2645); x_2647 = lean_box(2); -x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2649 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2649, 0, x_2647); lean_ctor_set(x_2649, 1, x_2648); lean_ctor_set(x_2649, 2, x_2646); -x_2650 = l_Lake_DSL_buildDeclSig___closed__19; +x_2650 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2614); lean_inc(x_2601); x_2651 = l_Lean_Syntax_node2(x_2601, x_2650, x_2614, x_2589); lean_inc(x_2601); x_2652 = l_Lean_Syntax_node1(x_2601, x_2550, x_2651); -x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2610); lean_inc(x_2601); x_2654 = l_Lean_Syntax_node2(x_2601, x_2653, x_2610, x_2652); @@ -26271,20 +25548,20 @@ lean_inc(x_2601); x_2660 = l_Lean_Syntax_node4(x_2601, x_2550, x_2585, x_2527, x_2596, x_2522); lean_inc(x_2601); x_2661 = l_Lean_Syntax_node2(x_2601, x_2638, x_2659, x_2660); -x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2610, 2); lean_inc(x_2601); x_2663 = l_Lean_Syntax_node2(x_2601, x_2662, x_2610, x_2610); -x_2664 = l_Lake_DSL_buildDeclSig___closed__24; +x_2664 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2610); lean_inc(x_2663); lean_inc(x_2631); lean_inc(x_2601); x_2665 = l_Lean_Syntax_node4(x_2601, x_2664, x_2631, x_2661, x_2663, x_2610); -x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2601); x_2667 = l_Lean_Syntax_node4(x_2601, x_2666, x_2643, x_2649, x_2654, x_2665); -x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2601); if (lean_is_scalar(x_2540)) { x_2669 = lean_alloc_ctor(2, 2, 0); @@ -26303,7 +25580,7 @@ x_2672 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2672, 0, x_2601); lean_ctor_set(x_2672, 1, x_2550); lean_ctor_set(x_2672, 2, x_2671); -x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2601); if (lean_is_scalar(x_2536)) { x_2674 = lean_alloc_ctor(2, 2, 0); @@ -26313,12 +25590,12 @@ if (lean_is_scalar(x_2536)) { } lean_ctor_set(x_2674, 0, x_2601); lean_ctor_set(x_2674, 1, x_2673); -x_2675 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2675 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2601); x_2676 = l_Lean_Syntax_node3(x_2601, x_2675, x_2669, x_2672, x_2674); lean_inc(x_2601); x_2677 = l_Lean_Syntax_node1(x_2601, x_2550, x_2676); -x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2610, 5); lean_inc(x_2601); x_2679 = l_Lean_Syntax_node6(x_2601, x_2678, x_2610, x_2677, x_2610, x_2610, x_2610, x_2610); @@ -26390,13 +25667,13 @@ x_2705 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2610); lean_inc(x_2601); x_2706 = l_Lean_Syntax_node5(x_2601, x_2705, x_2681, x_2687, x_2695, x_2704, x_2610); -x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2601); x_2708 = l_Lean_Syntax_node2(x_2601, x_2707, x_2679, x_2706); if (lean_obj_tag(x_5) == 0) { lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; -x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2601); x_2710 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2710, 0, x_2601); @@ -26526,20 +25803,39 @@ static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed lean_lib declaration", 31, 31); +x_1 = lean_mk_string_unchecked("leanLibCommand", 14, 14); return x_1; } } static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_elabLeanLibCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed lean_lib declaration", 31, 31); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabLeanLibCommand___closed__1; +x_1 = l_Lake_DSL_elabLeanLibCommand___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__3() { +static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__5() { _start: { lean_object* x_1; @@ -26547,12 +25843,12 @@ x_1 = lean_mk_string_unchecked("LeanLibConfig", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__4() { +static lean_object* _init_l_Lake_DSL_elabLeanLibCommand___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_elabLeanLibCommand___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_elabLeanLibCommand___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } @@ -26561,13 +25857,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabLeanLibCommand(lean_object* x_1, lean_ob _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_leanLibCommand___closed__2; +x_5 = l_Lake_DSL_elabLeanLibCommand___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabLeanLibCommand___closed__2; +x_7 = l_Lake_DSL_elabLeanLibCommand___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -26710,7 +26006,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean x_30 = lean_ctor_get(x_2, 6); lean_dec(x_30); lean_ctor_set(x_2, 6, x_28); -x_31 = l_Lake_DSL_elabLeanLibCommand___closed__4; +x_31 = l_Lake_DSL_elabLeanLibCommand___closed__6; x_32 = l_Lake_LeanLib_keyword; x_33 = l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2; x_34 = l_Lake_instTypeNameLeanLibDecl; @@ -26789,7 +26085,7 @@ lean_ctor_set(x_53, 6, x_28); lean_ctor_set(x_53, 7, x_50); lean_ctor_set(x_53, 8, x_51); lean_ctor_set_uint8(x_53, sizeof(void*)*9, x_52); -x_54 = l_Lake_DSL_elabLeanLibCommand___closed__4; +x_54 = l_Lake_DSL_elabLeanLibCommand___closed__6; x_55 = l_Lake_LeanLib_keyword; x_56 = l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2; x_57 = l_Lake_instTypeNameLeanLibDecl; @@ -26860,7 +26156,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean x_76 = lean_ctor_get(x_2, 6); lean_dec(x_76); lean_ctor_set(x_2, 6, x_74); -x_77 = l_Lake_DSL_elabLeanLibCommand___closed__4; +x_77 = l_Lake_DSL_elabLeanLibCommand___closed__6; x_78 = l_Lake_LeanLib_keyword; x_79 = l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2; x_80 = l_Lake_instTypeNameLeanLibDecl; @@ -26939,7 +26235,7 @@ lean_ctor_set(x_99, 6, x_74); lean_ctor_set(x_99, 7, x_96); lean_ctor_set(x_99, 8, x_97); lean_ctor_set_uint8(x_99, sizeof(void*)*9, x_98); -x_100 = l_Lake_DSL_elabLeanLibCommand___closed__4; +x_100 = l_Lake_DSL_elabLeanLibCommand___closed__6; x_101 = l_Lake_LeanLib_keyword; x_102 = l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2; x_103 = l_Lake_instTypeNameLeanLibDecl; @@ -27026,8 +26322,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -27054,7 +26350,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__3; -x_3 = l_Lake_DSL_leanLibCommand___closed__2; +x_3 = l_Lake_DSL_elabLeanLibCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -27077,107 +26373,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("leanExeCommand", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_leanExeCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("lean_exe ", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_leanExeCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_leanExeCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_leanExeCommand___closed__5; -x_3 = l_Lake_DSL_leanLibCommand___closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_leanExeCommand___closed__6; -x_3 = l_Lake_DSL_optConfig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_leanExeCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_leanExeCommand___closed__7; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_leanExeCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_leanExeCommand___closed__8; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanExeCommand___spec__2___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, lean_object* x_10, lean_object* x_11) { _start: { @@ -27281,14 +26476,14 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_41, 1); x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_36); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_47, 6); lean_inc(x_36); x_49 = l_Lean_Syntax_node6(x_36, x_48, x_47, x_47, x_47, x_47, x_47, x_47); @@ -27297,34 +26492,34 @@ lean_inc(x_36); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_50); lean_ctor_set(x_41, 0, x_36); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_51); lean_ctor_set(x_37, 0, x_4); x_52 = lean_array_mk(x_37); -x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_32); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_36); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_buildDeclSig___closed__19; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_58 = l_Lean_Syntax_node2(x_36, x_57, x_56, x_5); lean_inc(x_36); x_59 = l_Lean_Syntax_node1(x_36, x_45, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_47); lean_inc(x_36); x_61 = l_Lean_Syntax_node2(x_36, x_60, x_47, x_59); x_62 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_63 = l_Lean_Syntax_node5(x_36, x_62, x_41, x_54, x_61, x_34, x_47); -x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_65 = l_Lean_Syntax_node2(x_36, x_64, x_49, x_63); lean_inc(x_65); x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -27338,14 +26533,14 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_41, 1); lean_inc(x_68); lean_dec(x_41); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_36); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_71, 6); lean_inc(x_36); x_73 = l_Lean_Syntax_node6(x_36, x_72, x_71, x_71, x_71, x_71, x_71, x_71); @@ -27354,34 +26549,34 @@ lean_inc(x_36); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_76); lean_ctor_set(x_37, 0, x_4); x_77 = lean_array_mk(x_37); -x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_32); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_77); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lake_DSL_buildDeclSig___closed__19; +x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_83 = l_Lean_Syntax_node2(x_36, x_82, x_81, x_5); lean_inc(x_36); x_84 = l_Lean_Syntax_node1(x_36, x_69, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_71); lean_inc(x_36); x_86 = l_Lean_Syntax_node2(x_36, x_85, x_71, x_84); x_87 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_88 = l_Lean_Syntax_node5(x_36, x_87, x_75, x_79, x_86, x_34, x_71); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_90 = l_Lean_Syntax_node2(x_36, x_89, x_73, x_88); lean_inc(x_90); x_91 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -27407,14 +26602,14 @@ if (lean_is_exclusive(x_94)) { lean_dec_ref(x_94); x_96 = lean_box(0); } -x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_36); lean_ctor_set(x_99, 1, x_97); lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_99, 6); lean_inc(x_36); x_101 = l_Lean_Syntax_node6(x_36, x_100, x_99, x_99, x_99, x_99, x_99, x_99); @@ -27428,34 +26623,34 @@ if (lean_is_scalar(x_96)) { } lean_ctor_set(x_103, 0, x_36); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_4); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_mk(x_105); -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_32); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_36); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lake_DSL_buildDeclSig___closed__19; +x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_112 = l_Lean_Syntax_node2(x_36, x_111, x_110, x_5); lean_inc(x_36); x_113 = l_Lean_Syntax_node1(x_36, x_97, x_112); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_99); lean_inc(x_36); x_115 = l_Lean_Syntax_node2(x_36, x_114, x_99, x_113); x_116 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_117 = l_Lean_Syntax_node5(x_36, x_116, x_103, x_108, x_115, x_34, x_99); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_119 = l_Lean_Syntax_node2(x_36, x_118, x_101, x_117); lean_inc(x_119); x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -27515,14 +26710,14 @@ if (lean_is_exclusive(x_137)) { lean_dec_ref(x_137); x_139 = lean_box(0); } -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_133); x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_133); lean_ctor_set(x_142, 1, x_140); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_142, 6); lean_inc(x_133); x_144 = l_Lean_Syntax_node6(x_133, x_143, x_142, x_142, x_142, x_142, x_142, x_142); @@ -27536,7 +26731,7 @@ if (lean_is_scalar(x_139)) { } lean_ctor_set(x_146, 0, x_133); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; if (lean_is_scalar(x_136)) { x_148 = lean_alloc_ctor(1, 2, 0); } else { @@ -27546,29 +26741,29 @@ if (lean_is_scalar(x_136)) { lean_ctor_set(x_148, 0, x_4); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_mk(x_148); -x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_129); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_133); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_133); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lake_DSL_buildDeclSig___closed__19; +x_154 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_133); x_155 = l_Lean_Syntax_node2(x_133, x_154, x_153, x_5); lean_inc(x_133); x_156 = l_Lean_Syntax_node1(x_133, x_140, x_155); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_142); lean_inc(x_133); x_158 = l_Lean_Syntax_node2(x_133, x_157, x_142, x_156); x_159 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_133); x_160 = l_Lean_Syntax_node5(x_133, x_159, x_146, x_151, x_158, x_131, x_142); -x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_162 = l_Lean_Syntax_node2(x_133, x_161, x_144, x_160); lean_inc(x_162); x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -27759,7 +26954,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_12); lean_dec(x_38); -x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -27862,7 +27057,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_12); lean_dec(x_62); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -27915,7 +27110,7 @@ lean_dec(x_13); x_78 = l_Lake_LeanExeConfig_instConfigMeta; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; lean_inc(x_5); x_81 = l_Lake_DSL_mkConfigFields(x_1, x_79, x_80, x_5, x_6, x_7); lean_dec(x_79); @@ -27968,14 +27163,14 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 1); x_105 = lean_ctor_get(x_102, 0); lean_dec(x_105); -x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_106); lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_108, 6); lean_inc(x_97); x_110 = l_Lean_Syntax_node6(x_97, x_109, x_108, x_108, x_108, x_108, x_108, x_108); @@ -27989,29 +27184,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_112); lean_ctor_set(x_98, 0, x_2); x_113 = lean_array_mk(x_98); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_89); lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_116); lean_ctor_set(x_92, 0, x_97); -x_117 = l_Lake_DSL_buildDeclSig___closed__19; +x_117 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_118 = l_Lean_Syntax_node2(x_97, x_117, x_92, x_3); lean_inc(x_97); x_119 = l_Lean_Syntax_node1(x_97, x_106, x_118); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_108); lean_inc(x_97); x_121 = l_Lean_Syntax_node2(x_97, x_120, x_108, x_119); x_122 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_123 = l_Lean_Syntax_node5(x_97, x_122, x_102, x_115, x_121, x_91, x_108); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_125 = l_Lean_Syntax_node2(x_97, x_124, x_110, x_123); lean_inc(x_125); x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -28025,14 +27220,14 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_128 = lean_ctor_get(x_102, 1); lean_inc(x_128); lean_dec(x_102); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_97); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_131, 6); lean_inc(x_97); x_133 = l_Lean_Syntax_node6(x_97, x_132, x_131, x_131, x_131, x_131, x_131, x_131); @@ -28046,29 +27241,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_136); lean_ctor_set(x_98, 0, x_2); x_137 = lean_array_mk(x_98); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_89); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_140); lean_ctor_set(x_92, 0, x_97); -x_141 = l_Lake_DSL_buildDeclSig___closed__19; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_142 = l_Lean_Syntax_node2(x_97, x_141, x_92, x_3); lean_inc(x_97); x_143 = l_Lean_Syntax_node1(x_97, x_129, x_142); -x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_131); lean_inc(x_97); x_145 = l_Lean_Syntax_node2(x_97, x_144, x_131, x_143); x_146 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_147 = l_Lean_Syntax_node5(x_97, x_146, x_135, x_139, x_145, x_91, x_131); -x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_149 = l_Lean_Syntax_node2(x_97, x_148, x_133, x_147); lean_inc(x_149); x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -28094,14 +27289,14 @@ if (lean_is_exclusive(x_153)) { lean_dec_ref(x_153); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_158 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_158, 0, x_97); lean_ctor_set(x_158, 1, x_156); lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_158, 6); lean_inc(x_97); x_160 = l_Lean_Syntax_node6(x_97, x_159, x_158, x_158, x_158, x_158, x_158, x_158); @@ -28120,29 +27315,29 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_2); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_mk(x_164); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_89); lean_ctor_set(x_167, 1, x_166); lean_ctor_set(x_167, 2, x_165); -x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_168); lean_ctor_set(x_92, 0, x_97); -x_169 = l_Lake_DSL_buildDeclSig___closed__19; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_170 = l_Lean_Syntax_node2(x_97, x_169, x_92, x_3); lean_inc(x_97); x_171 = l_Lean_Syntax_node1(x_97, x_156, x_170); -x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_158); lean_inc(x_97); x_173 = l_Lean_Syntax_node2(x_97, x_172, x_158, x_171); x_174 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_175 = l_Lean_Syntax_node5(x_97, x_174, x_162, x_167, x_173, x_91, x_158); -x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_177 = l_Lean_Syntax_node2(x_97, x_176, x_160, x_175); lean_inc(x_177); x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -28184,14 +27379,14 @@ if (lean_is_exclusive(x_187)) { lean_dec_ref(x_187); x_189 = lean_box(0); } -x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_183); x_192 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_192, 0, x_183); lean_ctor_set(x_192, 1, x_190); lean_ctor_set(x_192, 2, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_192, 6); lean_inc(x_183); x_194 = l_Lean_Syntax_node6(x_183, x_193, x_192, x_192, x_192, x_192, x_192, x_192); @@ -28215,29 +27410,29 @@ if (lean_is_scalar(x_186)) { lean_ctor_set(x_198, 0, x_2); lean_ctor_set(x_198, 1, x_197); x_199 = lean_array_mk(x_198); -x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_89); lean_ctor_set(x_201, 1, x_200); lean_ctor_set(x_201, 2, x_199); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_183); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_183); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_buildDeclSig___closed__19; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_183); x_205 = l_Lean_Syntax_node2(x_183, x_204, x_203, x_3); lean_inc(x_183); x_206 = l_Lean_Syntax_node1(x_183, x_190, x_205); -x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_192); lean_inc(x_183); x_208 = l_Lean_Syntax_node2(x_183, x_207, x_192, x_206); x_209 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_183); x_210 = l_Lean_Syntax_node5(x_183, x_209, x_196, x_201, x_208, x_91, x_192); -x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_212 = l_Lean_Syntax_node2(x_183, x_211, x_194, x_210); lean_inc(x_212); x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -28375,14 +27570,14 @@ if (x_54 == 0) 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; lean_object* x_70; uint8_t x_71; x_55 = lean_ctor_get(x_53, 0); x_56 = lean_ctor_get(x_53, 1); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_59 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_59, 0, x_48); lean_ctor_set(x_59, 1, x_57); lean_ctor_set(x_59, 2, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_59); lean_inc(x_48); x_61 = l_Lean_Syntax_node1(x_48, x_60, x_59); @@ -28395,10 +27590,10 @@ lean_ctor_set(x_65, 0, x_48); lean_ctor_set(x_65, 1, x_64); lean_ctor_set(x_65, 2, x_63); lean_ctor_set(x_65, 3, x_28); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_67 = l_Lean_Syntax_node2(x_48, x_66, x_65, x_59); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_69 = l_Lean_Syntax_node2(x_48, x_68, x_61, x_67); x_70 = l_Lean_Elab_Command_getRef(x_9, x_10, x_56); x_71 = !lean_is_exclusive(x_70); @@ -28503,7 +27698,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_117); lean_ctor_set(x_109, 0, x_108); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_118); @@ -28520,12 +27715,12 @@ lean_ctor_set(x_123, 0, x_108); lean_ctor_set(x_123, 1, x_121); lean_ctor_set(x_123, 2, x_120); lean_ctor_set(x_123, 3, x_122); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_124); lean_ctor_set(x_99, 0, x_108); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_125); @@ -28536,7 +27731,7 @@ x_126 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_127 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_126); -x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_128); @@ -28544,7 +27739,7 @@ lean_ctor_set(x_91, 0, x_108); x_129 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_130 = l_Lean_Syntax_node3(x_108, x_129, x_99, x_127, x_91); -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_131); @@ -28564,7 +27759,7 @@ lean_ctor_set(x_136, 3, x_135); lean_inc(x_103); lean_inc(x_108); x_137 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_139 = l_Lean_Syntax_node2(x_108, x_138, x_136, x_137); x_140 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -28574,30 +27769,30 @@ lean_inc(x_32); lean_inc(x_116); lean_inc(x_108); x_141 = l_Lean_Syntax_node8(x_108, x_140, x_116, x_109, x_32, x_104, x_123, x_130, x_70, x_139); -x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_142); lean_ctor_set(x_53, 0, x_108); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_143); lean_ctor_set(x_49, 0, x_32); x_144 = lean_array_mk(x_49); x_145 = lean_box(2); -x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); lean_ctor_set(x_147, 2, x_144); -x_148 = l_Lake_DSL_buildDeclSig___closed__19; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_149 = l_Lean_Syntax_node2(x_108, x_148, x_104, x_97); lean_inc(x_108); x_150 = l_Lean_Syntax_node1(x_108, x_57, x_149); -x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_116); lean_inc(x_108); x_152 = l_Lean_Syntax_node2(x_108, x_151, x_116, x_150); @@ -28617,20 +27812,20 @@ lean_inc(x_108); x_158 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_159 = l_Lean_Syntax_node2(x_108, x_138, x_157, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_116, 2); lean_inc(x_108); x_161 = l_Lean_Syntax_node2(x_108, x_160, x_116, x_116); -x_162 = l_Lake_DSL_buildDeclSig___closed__24; +x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_116); lean_inc(x_161); lean_inc(x_70); lean_inc(x_108); x_163 = l_Lean_Syntax_node4(x_108, x_162, x_70, x_159, x_161, x_116); -x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_165 = l_Lean_Syntax_node4(x_108, x_164, x_53, x_147, x_152, x_163); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_166); @@ -28644,17 +27839,17 @@ x_169 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_169, 0, x_108); lean_ctor_set(x_169, 1, x_57); lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_170); lean_ctor_set(x_40, 0, x_108); -x_171 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_172 = l_Lean_Syntax_node3(x_108, x_171, x_44, x_169, x_40); lean_inc(x_108); x_173 = l_Lean_Syntax_node1(x_108, x_57, x_172); -x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_116, 5); lean_inc(x_108); x_175 = l_Lean_Syntax_node6(x_108, x_174, x_116, x_173, x_116, x_116, x_116, x_116); @@ -28721,13 +27916,13 @@ x_199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_116); lean_inc(x_108); x_200 = l_Lean_Syntax_node5(x_108, x_199, x_18, x_182, x_190, x_198, x_116); -x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_202 = l_Lean_Syntax_node2(x_108, x_201, x_175, x_200); if (lean_obj_tag(x_5) == 0) { lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_108); @@ -28784,7 +27979,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_218); lean_ctor_set(x_109, 0, x_108); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_219); @@ -28801,12 +27996,12 @@ lean_ctor_set(x_224, 0, x_108); lean_ctor_set(x_224, 1, x_222); lean_ctor_set(x_224, 2, x_221); lean_ctor_set(x_224, 3, x_223); -x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_225); lean_ctor_set(x_99, 0, x_108); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_226); @@ -28817,7 +28012,7 @@ x_227 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_228 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_227); -x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_229); @@ -28825,7 +28020,7 @@ lean_ctor_set(x_91, 0, x_108); x_230 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_231 = l_Lean_Syntax_node3(x_108, x_230, x_99, x_228, x_91); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_232); @@ -28845,7 +28040,7 @@ lean_ctor_set(x_237, 3, x_236); lean_inc(x_103); lean_inc(x_108); x_238 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_240 = l_Lean_Syntax_node2(x_108, x_239, x_237, x_238); x_241 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -28855,30 +28050,30 @@ lean_inc(x_32); lean_inc(x_217); lean_inc(x_108); x_242 = l_Lean_Syntax_node8(x_108, x_241, x_217, x_109, x_32, x_104, x_224, x_231, x_70, x_240); -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_243); lean_ctor_set(x_53, 0, x_108); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_244); lean_ctor_set(x_49, 0, x_32); x_245 = lean_array_mk(x_49); x_246 = lean_box(2); -x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_248 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_248, 0, x_246); lean_ctor_set(x_248, 1, x_247); lean_ctor_set(x_248, 2, x_245); -x_249 = l_Lake_DSL_buildDeclSig___closed__19; +x_249 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_250 = l_Lean_Syntax_node2(x_108, x_249, x_104, x_97); lean_inc(x_108); x_251 = l_Lean_Syntax_node1(x_108, x_57, x_250); -x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_217); lean_inc(x_108); x_253 = l_Lean_Syntax_node2(x_108, x_252, x_217, x_251); @@ -28898,20 +28093,20 @@ lean_inc(x_108); x_259 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_260 = l_Lean_Syntax_node2(x_108, x_239, x_258, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_217, 2); lean_inc(x_108); x_262 = l_Lean_Syntax_node2(x_108, x_261, x_217, x_217); -x_263 = l_Lake_DSL_buildDeclSig___closed__24; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_217); lean_inc(x_262); lean_inc(x_70); lean_inc(x_108); x_264 = l_Lean_Syntax_node4(x_108, x_263, x_70, x_260, x_262, x_217); -x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_266 = l_Lean_Syntax_node4(x_108, x_265, x_53, x_248, x_253, x_264); -x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_267); @@ -28925,17 +28120,17 @@ x_270 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_270, 0, x_108); lean_ctor_set(x_270, 1, x_57); lean_ctor_set(x_270, 2, x_269); -x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_271); lean_ctor_set(x_40, 0, x_108); -x_272 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_273 = l_Lean_Syntax_node3(x_108, x_272, x_44, x_270, x_40); lean_inc(x_108); x_274 = l_Lean_Syntax_node1(x_108, x_57, x_273); -x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_217, 5); lean_inc(x_108); x_276 = l_Lean_Syntax_node6(x_108, x_275, x_217, x_274, x_217, x_217, x_217, x_217); @@ -29002,13 +28197,13 @@ x_300 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_217); lean_inc(x_108); x_301 = l_Lean_Syntax_node5(x_108, x_300, x_18, x_283, x_291, x_299, x_217); -x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_303 = l_Lean_Syntax_node2(x_108, x_302, x_276, x_301); if (lean_obj_tag(x_5) == 0) { lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_305 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_305, 0, x_108); @@ -29084,7 +28279,7 @@ lean_inc(x_108); x_326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_326, 0, x_108); lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_327); @@ -29101,12 +28296,12 @@ lean_ctor_set(x_332, 0, x_108); lean_ctor_set(x_332, 1, x_330); lean_ctor_set(x_332, 2, x_329); lean_ctor_set(x_332, 3, x_331); -x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_333); lean_ctor_set(x_99, 0, x_108); -x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_334); @@ -29117,7 +28312,7 @@ x_335 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_336 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_335); -x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_337); @@ -29125,7 +28320,7 @@ lean_ctor_set(x_91, 0, x_108); x_338 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_339 = l_Lean_Syntax_node3(x_108, x_338, x_99, x_336, x_91); -x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_340); @@ -29145,7 +28340,7 @@ lean_ctor_set(x_345, 3, x_344); lean_inc(x_103); lean_inc(x_108); x_346 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_348 = l_Lean_Syntax_node2(x_108, x_347, x_345, x_346); x_349 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -29155,30 +28350,30 @@ lean_inc(x_32); lean_inc(x_324); lean_inc(x_108); x_350 = l_Lean_Syntax_node8(x_108, x_349, x_324, x_326, x_32, x_104, x_332, x_339, x_70, x_348); -x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_351); lean_ctor_set(x_53, 0, x_108); -x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_352); lean_ctor_set(x_49, 0, x_32); x_353 = lean_array_mk(x_49); x_354 = lean_box(2); -x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_356 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); lean_ctor_set(x_356, 2, x_353); -x_357 = l_Lake_DSL_buildDeclSig___closed__19; +x_357 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_358 = l_Lean_Syntax_node2(x_108, x_357, x_104, x_97); lean_inc(x_108); x_359 = l_Lean_Syntax_node1(x_108, x_57, x_358); -x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_324); lean_inc(x_108); x_361 = l_Lean_Syntax_node2(x_108, x_360, x_324, x_359); @@ -29198,20 +28393,20 @@ lean_inc(x_108); x_367 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_368 = l_Lean_Syntax_node2(x_108, x_347, x_366, x_367); -x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_324, 2); lean_inc(x_108); x_370 = l_Lean_Syntax_node2(x_108, x_369, x_324, x_324); -x_371 = l_Lake_DSL_buildDeclSig___closed__24; +x_371 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_324); lean_inc(x_370); lean_inc(x_70); lean_inc(x_108); x_372 = l_Lean_Syntax_node4(x_108, x_371, x_70, x_368, x_370, x_324); -x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_374 = l_Lean_Syntax_node4(x_108, x_373, x_53, x_356, x_361, x_372); -x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_375); @@ -29225,17 +28420,17 @@ x_378 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_378, 0, x_108); lean_ctor_set(x_378, 1, x_57); lean_ctor_set(x_378, 2, x_377); -x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_379); lean_ctor_set(x_40, 0, x_108); -x_380 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_381 = l_Lean_Syntax_node3(x_108, x_380, x_44, x_378, x_40); lean_inc(x_108); x_382 = l_Lean_Syntax_node1(x_108, x_57, x_381); -x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_324, 5); lean_inc(x_108); x_384 = l_Lean_Syntax_node6(x_108, x_383, x_324, x_382, x_324, x_324, x_324, x_324); @@ -29302,13 +28497,13 @@ x_408 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_324); lean_inc(x_108); x_409 = l_Lean_Syntax_node5(x_108, x_408, x_18, x_391, x_399, x_407, x_324); -x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_411 = l_Lean_Syntax_node2(x_108, x_410, x_384, x_409); if (lean_obj_tag(x_5) == 0) { lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_413 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_413, 0, x_108); @@ -29413,7 +28608,7 @@ if (lean_is_scalar(x_432)) { } lean_ctor_set(x_439, 0, x_428); lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_428); x_441 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_441, 0, x_428); @@ -29430,12 +28625,12 @@ lean_ctor_set(x_446, 0, x_428); lean_ctor_set(x_446, 1, x_444); lean_ctor_set(x_446, 2, x_443); lean_ctor_set(x_446, 3, x_445); -x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_428); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_447); lean_ctor_set(x_99, 0, x_428); -x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_428); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_448); @@ -29446,7 +28641,7 @@ x_449 = l_Lean_Syntax_node1(x_428, x_57, x_35); lean_inc(x_93); lean_inc(x_428); x_450 = l_Lean_Syntax_node3(x_428, x_57, x_93, x_95, x_449); -x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_428); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_451); @@ -29454,7 +28649,7 @@ lean_ctor_set(x_91, 0, x_428); x_452 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_428); x_453 = l_Lean_Syntax_node3(x_428, x_452, x_99, x_450, x_91); -x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_428); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_454); @@ -29474,7 +28669,7 @@ lean_ctor_set(x_459, 3, x_458); lean_inc(x_103); lean_inc(x_428); x_460 = l_Lean_Syntax_node1(x_428, x_57, x_103); -x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_428); x_462 = l_Lean_Syntax_node2(x_428, x_461, x_459, x_460); x_463 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -29484,30 +28679,30 @@ lean_inc(x_32); lean_inc(x_437); lean_inc(x_428); x_464 = l_Lean_Syntax_node8(x_428, x_463, x_437, x_439, x_32, x_441, x_446, x_453, x_70, x_462); -x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_428); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_465); lean_ctor_set(x_53, 0, x_428); -x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_466); lean_ctor_set(x_49, 0, x_32); x_467 = lean_array_mk(x_49); x_468 = lean_box(2); -x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_470 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_470, 0, x_468); lean_ctor_set(x_470, 1, x_469); lean_ctor_set(x_470, 2, x_467); -x_471 = l_Lake_DSL_buildDeclSig___closed__19; +x_471 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_441); lean_inc(x_428); x_472 = l_Lean_Syntax_node2(x_428, x_471, x_441, x_97); lean_inc(x_428); x_473 = l_Lean_Syntax_node1(x_428, x_57, x_472); -x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_437); lean_inc(x_428); x_475 = l_Lean_Syntax_node2(x_428, x_474, x_437, x_473); @@ -29527,20 +28722,20 @@ lean_inc(x_428); x_481 = l_Lean_Syntax_node4(x_428, x_57, x_93, x_35, x_103, x_30); lean_inc(x_428); x_482 = l_Lean_Syntax_node2(x_428, x_461, x_480, x_481); -x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_437, 2); lean_inc(x_428); x_484 = l_Lean_Syntax_node2(x_428, x_483, x_437, x_437); -x_485 = l_Lake_DSL_buildDeclSig___closed__24; +x_485 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_437); lean_inc(x_484); lean_inc(x_70); lean_inc(x_428); x_486 = l_Lean_Syntax_node4(x_428, x_485, x_70, x_482, x_484, x_437); -x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_428); x_488 = l_Lean_Syntax_node4(x_428, x_487, x_53, x_470, x_475, x_486); -x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_428); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_489); @@ -29554,17 +28749,17 @@ x_492 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_492, 0, x_428); lean_ctor_set(x_492, 1, x_57); lean_ctor_set(x_492, 2, x_491); -x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_428); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_493); lean_ctor_set(x_40, 0, x_428); -x_494 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_428); x_495 = l_Lean_Syntax_node3(x_428, x_494, x_44, x_492, x_40); lean_inc(x_428); x_496 = l_Lean_Syntax_node1(x_428, x_57, x_495); -x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_437, 5); lean_inc(x_428); x_498 = l_Lean_Syntax_node6(x_428, x_497, x_437, x_496, x_437, x_437, x_437, x_437); @@ -29631,13 +28826,13 @@ x_522 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_437); lean_inc(x_428); x_523 = l_Lean_Syntax_node5(x_428, x_522, x_18, x_505, x_513, x_521, x_437); -x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_428); x_525 = l_Lean_Syntax_node2(x_428, x_524, x_498, x_523); if (lean_obj_tag(x_5) == 0) { lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_428); x_527 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_527, 0, x_428); @@ -29756,7 +28951,7 @@ if (lean_is_scalar(x_551)) { } lean_ctor_set(x_558, 0, x_547); lean_ctor_set(x_558, 1, x_557); -x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_547); if (lean_is_scalar(x_546)) { x_560 = lean_alloc_ctor(2, 2, 0); @@ -29778,12 +28973,12 @@ lean_ctor_set(x_565, 0, x_547); lean_ctor_set(x_565, 1, x_563); lean_ctor_set(x_565, 2, x_562); lean_ctor_set(x_565, 3, x_564); -x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_547); x_567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_567, 0, x_547); lean_ctor_set(x_567, 1, x_566); -x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_547); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_568); @@ -29794,7 +28989,7 @@ x_569 = l_Lean_Syntax_node1(x_547, x_57, x_35); lean_inc(x_93); lean_inc(x_547); x_570 = l_Lean_Syntax_node3(x_547, x_57, x_93, x_95, x_569); -x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_547); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_571); @@ -29802,7 +28997,7 @@ lean_ctor_set(x_91, 0, x_547); x_572 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_547); x_573 = l_Lean_Syntax_node3(x_547, x_572, x_567, x_570, x_91); -x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_547); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_574); @@ -29822,7 +29017,7 @@ lean_ctor_set(x_579, 3, x_578); lean_inc(x_542); lean_inc(x_547); x_580 = l_Lean_Syntax_node1(x_547, x_57, x_542); -x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_547); x_582 = l_Lean_Syntax_node2(x_547, x_581, x_579, x_580); x_583 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -29832,30 +29027,30 @@ lean_inc(x_32); lean_inc(x_556); lean_inc(x_547); x_584 = l_Lean_Syntax_node8(x_547, x_583, x_556, x_558, x_32, x_560, x_565, x_573, x_70, x_582); -x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_547); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_585); lean_ctor_set(x_53, 0, x_547); -x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_586); lean_ctor_set(x_49, 0, x_32); x_587 = lean_array_mk(x_49); x_588 = lean_box(2); -x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_590 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_590, 0, x_588); lean_ctor_set(x_590, 1, x_589); lean_ctor_set(x_590, 2, x_587); -x_591 = l_Lake_DSL_buildDeclSig___closed__19; +x_591 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_560); lean_inc(x_547); x_592 = l_Lean_Syntax_node2(x_547, x_591, x_560, x_97); lean_inc(x_547); x_593 = l_Lean_Syntax_node1(x_547, x_57, x_592); -x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_556); lean_inc(x_547); x_595 = l_Lean_Syntax_node2(x_547, x_594, x_556, x_593); @@ -29875,20 +29070,20 @@ lean_inc(x_547); x_601 = l_Lean_Syntax_node4(x_547, x_57, x_93, x_35, x_542, x_30); lean_inc(x_547); x_602 = l_Lean_Syntax_node2(x_547, x_581, x_600, x_601); -x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_556, 2); lean_inc(x_547); x_604 = l_Lean_Syntax_node2(x_547, x_603, x_556, x_556); -x_605 = l_Lake_DSL_buildDeclSig___closed__24; +x_605 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_556); lean_inc(x_604); lean_inc(x_70); lean_inc(x_547); x_606 = l_Lean_Syntax_node4(x_547, x_605, x_70, x_602, x_604, x_556); -x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_547); x_608 = l_Lean_Syntax_node4(x_547, x_607, x_53, x_590, x_595, x_606); -x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_547); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_609); @@ -29902,17 +29097,17 @@ x_612 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_612, 0, x_547); lean_ctor_set(x_612, 1, x_57); lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_547); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_613); lean_ctor_set(x_40, 0, x_547); -x_614 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_547); x_615 = l_Lean_Syntax_node3(x_547, x_614, x_44, x_612, x_40); lean_inc(x_547); x_616 = l_Lean_Syntax_node1(x_547, x_57, x_615); -x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_556, 5); lean_inc(x_547); x_618 = l_Lean_Syntax_node6(x_547, x_617, x_556, x_616, x_556, x_556, x_556, x_556); @@ -29979,13 +29174,13 @@ x_642 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_556); lean_inc(x_547); x_643 = l_Lean_Syntax_node5(x_547, x_642, x_18, x_625, x_633, x_641, x_556); -x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_547); x_645 = l_Lean_Syntax_node2(x_547, x_644, x_618, x_643); if (lean_obj_tag(x_5) == 0) { lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_547); x_647 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_647, 0, x_547); @@ -30117,7 +29312,7 @@ if (lean_is_scalar(x_675)) { } lean_ctor_set(x_682, 0, x_671); lean_ctor_set(x_682, 1, x_681); -x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_671); if (lean_is_scalar(x_670)) { x_684 = lean_alloc_ctor(2, 2, 0); @@ -30139,7 +29334,7 @@ lean_ctor_set(x_689, 0, x_671); lean_ctor_set(x_689, 1, x_687); lean_ctor_set(x_689, 2, x_686); lean_ctor_set(x_689, 3, x_688); -x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_671); if (lean_is_scalar(x_665)) { x_691 = lean_alloc_ctor(2, 2, 0); @@ -30149,7 +29344,7 @@ if (lean_is_scalar(x_665)) { } lean_ctor_set(x_691, 0, x_671); lean_ctor_set(x_691, 1, x_690); -x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_671); x_693 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_693, 0, x_671); @@ -30160,7 +29355,7 @@ x_694 = l_Lean_Syntax_node1(x_671, x_57, x_35); lean_inc(x_93); lean_inc(x_671); x_695 = l_Lean_Syntax_node3(x_671, x_57, x_93, x_693, x_694); -x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_671); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_696); @@ -30168,7 +29363,7 @@ lean_ctor_set(x_91, 0, x_671); x_697 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_671); x_698 = l_Lean_Syntax_node3(x_671, x_697, x_691, x_695, x_91); -x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_671); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_699); @@ -30188,7 +29383,7 @@ lean_ctor_set(x_704, 3, x_703); lean_inc(x_666); lean_inc(x_671); x_705 = l_Lean_Syntax_node1(x_671, x_57, x_666); -x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_671); x_707 = l_Lean_Syntax_node2(x_671, x_706, x_704, x_705); x_708 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -30198,30 +29393,30 @@ lean_inc(x_32); lean_inc(x_680); lean_inc(x_671); x_709 = l_Lean_Syntax_node8(x_671, x_708, x_680, x_682, x_32, x_684, x_689, x_698, x_70, x_707); -x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_671); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_710); lean_ctor_set(x_53, 0, x_671); -x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_711); lean_ctor_set(x_49, 0, x_32); x_712 = lean_array_mk(x_49); x_713 = lean_box(2); -x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_715 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_715, 0, x_713); lean_ctor_set(x_715, 1, x_714); lean_ctor_set(x_715, 2, x_712); -x_716 = l_Lake_DSL_buildDeclSig___closed__19; +x_716 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_684); lean_inc(x_671); x_717 = l_Lean_Syntax_node2(x_671, x_716, x_684, x_660); lean_inc(x_671); x_718 = l_Lean_Syntax_node1(x_671, x_57, x_717); -x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_680); lean_inc(x_671); x_720 = l_Lean_Syntax_node2(x_671, x_719, x_680, x_718); @@ -30241,20 +29436,20 @@ lean_inc(x_671); x_726 = l_Lean_Syntax_node4(x_671, x_57, x_93, x_35, x_666, x_30); lean_inc(x_671); x_727 = l_Lean_Syntax_node2(x_671, x_706, x_725, x_726); -x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_680, 2); lean_inc(x_671); x_729 = l_Lean_Syntax_node2(x_671, x_728, x_680, x_680); -x_730 = l_Lake_DSL_buildDeclSig___closed__24; +x_730 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_680); lean_inc(x_729); lean_inc(x_70); lean_inc(x_671); x_731 = l_Lean_Syntax_node4(x_671, x_730, x_70, x_727, x_729, x_680); -x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_671); x_733 = l_Lean_Syntax_node4(x_671, x_732, x_53, x_715, x_720, x_731); -x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_671); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_734); @@ -30268,17 +29463,17 @@ x_737 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_737, 0, x_671); lean_ctor_set(x_737, 1, x_57); lean_ctor_set(x_737, 2, x_736); -x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_671); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_738); lean_ctor_set(x_40, 0, x_671); -x_739 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_671); x_740 = l_Lean_Syntax_node3(x_671, x_739, x_44, x_737, x_40); lean_inc(x_671); x_741 = l_Lean_Syntax_node1(x_671, x_57, x_740); -x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_680, 5); lean_inc(x_671); x_743 = l_Lean_Syntax_node6(x_671, x_742, x_680, x_741, x_680, x_680, x_680, x_680); @@ -30345,13 +29540,13 @@ x_767 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_680); lean_inc(x_671); x_768 = l_Lean_Syntax_node5(x_671, x_767, x_18, x_750, x_758, x_766, x_680); -x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_671); x_770 = l_Lean_Syntax_node2(x_671, x_769, x_743, x_768); if (lean_obj_tag(x_5) == 0) { lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_671); x_772 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_772, 0, x_671); @@ -30496,7 +29691,7 @@ if (lean_is_scalar(x_804)) { } lean_ctor_set(x_811, 0, x_800); lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_800); if (lean_is_scalar(x_799)) { x_813 = lean_alloc_ctor(2, 2, 0); @@ -30518,7 +29713,7 @@ lean_ctor_set(x_818, 0, x_800); lean_ctor_set(x_818, 1, x_816); lean_ctor_set(x_818, 2, x_815); lean_ctor_set(x_818, 3, x_817); -x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_800); if (lean_is_scalar(x_794)) { x_820 = lean_alloc_ctor(2, 2, 0); @@ -30528,7 +29723,7 @@ if (lean_is_scalar(x_794)) { } lean_ctor_set(x_820, 0, x_800); lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_800); if (lean_is_scalar(x_790)) { x_822 = lean_alloc_ctor(2, 2, 0); @@ -30544,7 +29739,7 @@ x_823 = l_Lean_Syntax_node1(x_800, x_57, x_35); lean_inc(x_785); lean_inc(x_800); x_824 = l_Lean_Syntax_node3(x_800, x_57, x_785, x_822, x_823); -x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_800); x_826 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_826, 0, x_800); @@ -30552,7 +29747,7 @@ lean_ctor_set(x_826, 1, x_825); x_827 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_800); x_828 = l_Lean_Syntax_node3(x_800, x_827, x_820, x_824, x_826); -x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_800); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_829); @@ -30572,7 +29767,7 @@ lean_ctor_set(x_834, 3, x_833); lean_inc(x_795); lean_inc(x_800); x_835 = l_Lean_Syntax_node1(x_800, x_57, x_795); -x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_800); x_837 = l_Lean_Syntax_node2(x_800, x_836, x_834, x_835); x_838 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -30582,30 +29777,30 @@ lean_inc(x_32); lean_inc(x_809); lean_inc(x_800); x_839 = l_Lean_Syntax_node8(x_800, x_838, x_809, x_811, x_32, x_813, x_818, x_828, x_70, x_837); -x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_800); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_840); lean_ctor_set(x_53, 0, x_800); -x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_841); lean_ctor_set(x_49, 0, x_32); x_842 = lean_array_mk(x_49); x_843 = lean_box(2); -x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_845 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_845, 0, x_843); lean_ctor_set(x_845, 1, x_844); lean_ctor_set(x_845, 2, x_842); -x_846 = l_Lake_DSL_buildDeclSig___closed__19; +x_846 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_813); lean_inc(x_800); x_847 = l_Lean_Syntax_node2(x_800, x_846, x_813, x_788); lean_inc(x_800); x_848 = l_Lean_Syntax_node1(x_800, x_57, x_847); -x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_809); lean_inc(x_800); x_850 = l_Lean_Syntax_node2(x_800, x_849, x_809, x_848); @@ -30625,20 +29820,20 @@ lean_inc(x_800); x_856 = l_Lean_Syntax_node4(x_800, x_57, x_785, x_35, x_795, x_30); lean_inc(x_800); x_857 = l_Lean_Syntax_node2(x_800, x_836, x_855, x_856); -x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_809, 2); lean_inc(x_800); x_859 = l_Lean_Syntax_node2(x_800, x_858, x_809, x_809); -x_860 = l_Lake_DSL_buildDeclSig___closed__24; +x_860 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_809); lean_inc(x_859); lean_inc(x_70); lean_inc(x_800); x_861 = l_Lean_Syntax_node4(x_800, x_860, x_70, x_857, x_859, x_809); -x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_800); x_863 = l_Lean_Syntax_node4(x_800, x_862, x_53, x_845, x_850, x_861); -x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_800); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_864); @@ -30652,17 +29847,17 @@ x_867 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_867, 0, x_800); lean_ctor_set(x_867, 1, x_57); lean_ctor_set(x_867, 2, x_866); -x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_800); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_868); lean_ctor_set(x_40, 0, x_800); -x_869 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_800); x_870 = l_Lean_Syntax_node3(x_800, x_869, x_44, x_867, x_40); lean_inc(x_800); x_871 = l_Lean_Syntax_node1(x_800, x_57, x_870); -x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_809, 5); lean_inc(x_800); x_873 = l_Lean_Syntax_node6(x_800, x_872, x_809, x_871, x_809, x_809, x_809, x_809); @@ -30729,13 +29924,13 @@ x_897 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_809); lean_inc(x_800); x_898 = l_Lean_Syntax_node5(x_800, x_897, x_18, x_880, x_888, x_896, x_809); -x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_800); x_900 = l_Lean_Syntax_node2(x_800, x_899, x_873, x_898); if (lean_obj_tag(x_5) == 0) { lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_800); x_902 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_902, 0, x_800); @@ -30913,7 +30108,7 @@ if (lean_is_scalar(x_946)) { } lean_ctor_set(x_953, 0, x_942); lean_ctor_set(x_953, 1, x_952); -x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_942); if (lean_is_scalar(x_941)) { x_955 = lean_alloc_ctor(2, 2, 0); @@ -30935,7 +30130,7 @@ lean_ctor_set(x_960, 0, x_942); lean_ctor_set(x_960, 1, x_958); lean_ctor_set(x_960, 2, x_957); lean_ctor_set(x_960, 3, x_959); -x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_942); if (lean_is_scalar(x_936)) { x_962 = lean_alloc_ctor(2, 2, 0); @@ -30945,7 +30140,7 @@ if (lean_is_scalar(x_936)) { } lean_ctor_set(x_962, 0, x_942); lean_ctor_set(x_962, 1, x_961); -x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_942); if (lean_is_scalar(x_932)) { x_964 = lean_alloc_ctor(2, 2, 0); @@ -30961,7 +30156,7 @@ x_965 = l_Lean_Syntax_node1(x_942, x_57, x_35); lean_inc(x_926); lean_inc(x_942); x_966 = l_Lean_Syntax_node3(x_942, x_57, x_926, x_964, x_965); -x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_942); if (lean_is_scalar(x_928)) { x_968 = lean_alloc_ctor(2, 2, 0); @@ -30974,7 +30169,7 @@ lean_ctor_set(x_968, 1, x_967); x_969 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_942); x_970 = l_Lean_Syntax_node3(x_942, x_969, x_962, x_966, x_968); -x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_942); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_971); @@ -30994,7 +30189,7 @@ lean_ctor_set(x_976, 3, x_975); lean_inc(x_937); lean_inc(x_942); x_977 = l_Lean_Syntax_node1(x_942, x_57, x_937); -x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_942); x_979 = l_Lean_Syntax_node2(x_942, x_978, x_976, x_977); x_980 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -31004,30 +30199,30 @@ lean_inc(x_32); lean_inc(x_951); lean_inc(x_942); x_981 = l_Lean_Syntax_node8(x_942, x_980, x_951, x_953, x_32, x_955, x_960, x_970, x_70, x_979); -x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_942); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_982); lean_ctor_set(x_53, 0, x_942); -x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_983); lean_ctor_set(x_49, 0, x_32); x_984 = lean_array_mk(x_49); x_985 = lean_box(2); -x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_987 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_987, 0, x_985); lean_ctor_set(x_987, 1, x_986); lean_ctor_set(x_987, 2, x_984); -x_988 = l_Lake_DSL_buildDeclSig___closed__19; +x_988 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_955); lean_inc(x_942); x_989 = l_Lean_Syntax_node2(x_942, x_988, x_955, x_930); lean_inc(x_942); x_990 = l_Lean_Syntax_node1(x_942, x_57, x_989); -x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_951); lean_inc(x_942); x_992 = l_Lean_Syntax_node2(x_942, x_991, x_951, x_990); @@ -31047,20 +30242,20 @@ lean_inc(x_942); x_998 = l_Lean_Syntax_node4(x_942, x_57, x_926, x_35, x_937, x_30); lean_inc(x_942); x_999 = l_Lean_Syntax_node2(x_942, x_978, x_997, x_998); -x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_951, 2); lean_inc(x_942); x_1001 = l_Lean_Syntax_node2(x_942, x_1000, x_951, x_951); -x_1002 = l_Lake_DSL_buildDeclSig___closed__24; +x_1002 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_951); lean_inc(x_1001); lean_inc(x_70); lean_inc(x_942); x_1003 = l_Lean_Syntax_node4(x_942, x_1002, x_70, x_999, x_1001, x_951); -x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_942); x_1005 = l_Lean_Syntax_node4(x_942, x_1004, x_53, x_987, x_992, x_1003); -x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_942); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1006); @@ -31074,17 +30269,17 @@ x_1009 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1009, 0, x_942); lean_ctor_set(x_1009, 1, x_57); lean_ctor_set(x_1009, 2, x_1008); -x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_942); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1010); lean_ctor_set(x_40, 0, x_942); -x_1011 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_942); x_1012 = l_Lean_Syntax_node3(x_942, x_1011, x_44, x_1009, x_40); lean_inc(x_942); x_1013 = l_Lean_Syntax_node1(x_942, x_57, x_1012); -x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_951, 5); lean_inc(x_942); x_1015 = l_Lean_Syntax_node6(x_942, x_1014, x_951, x_1013, x_951, x_951, x_951, x_951); @@ -31151,13 +30346,13 @@ x_1039 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_951); lean_inc(x_942); x_1040 = l_Lean_Syntax_node5(x_942, x_1039, x_18, x_1022, x_1030, x_1038, x_951); -x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_942); x_1042 = l_Lean_Syntax_node2(x_942, x_1041, x_1015, x_1040); if (lean_obj_tag(x_5) == 0) { lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; -x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_942); x_1044 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1044, 0, x_942); @@ -31351,7 +30546,7 @@ if (lean_is_scalar(x_1092)) { } lean_ctor_set(x_1099, 0, x_1088); lean_ctor_set(x_1099, 1, x_1098); -x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1088); if (lean_is_scalar(x_1087)) { x_1101 = lean_alloc_ctor(2, 2, 0); @@ -31373,7 +30568,7 @@ lean_ctor_set(x_1106, 0, x_1088); lean_ctor_set(x_1106, 1, x_1104); lean_ctor_set(x_1106, 2, x_1103); lean_ctor_set(x_1106, 3, x_1105); -x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1088); if (lean_is_scalar(x_1082)) { x_1108 = lean_alloc_ctor(2, 2, 0); @@ -31383,7 +30578,7 @@ if (lean_is_scalar(x_1082)) { } lean_ctor_set(x_1108, 0, x_1088); lean_ctor_set(x_1108, 1, x_1107); -x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1088); if (lean_is_scalar(x_1078)) { x_1110 = lean_alloc_ctor(2, 2, 0); @@ -31399,7 +30594,7 @@ x_1111 = l_Lean_Syntax_node1(x_1088, x_57, x_35); lean_inc(x_1072); lean_inc(x_1088); x_1112 = l_Lean_Syntax_node3(x_1088, x_57, x_1072, x_1110, x_1111); -x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1088); if (lean_is_scalar(x_1074)) { x_1114 = lean_alloc_ctor(2, 2, 0); @@ -31412,7 +30607,7 @@ lean_ctor_set(x_1114, 1, x_1113); x_1115 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1088); x_1116 = l_Lean_Syntax_node3(x_1088, x_1115, x_1108, x_1112, x_1114); -x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1088); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_1117); @@ -31432,7 +30627,7 @@ lean_ctor_set(x_1122, 3, x_1121); lean_inc(x_1083); lean_inc(x_1088); x_1123 = l_Lean_Syntax_node1(x_1088, x_57, x_1083); -x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1088); x_1125 = l_Lean_Syntax_node2(x_1088, x_1124, x_1122, x_1123); x_1126 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -31442,30 +30637,30 @@ lean_inc(x_32); lean_inc(x_1097); lean_inc(x_1088); x_1127 = l_Lean_Syntax_node8(x_1088, x_1126, x_1097, x_1099, x_32, x_1101, x_1106, x_1116, x_70, x_1125); -x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1088); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1128); lean_ctor_set(x_53, 0, x_1088); -x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1129); lean_ctor_set(x_49, 0, x_32); x_1130 = lean_array_mk(x_49); x_1131 = lean_box(2); -x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1133 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1133, 0, x_1131); lean_ctor_set(x_1133, 1, x_1132); lean_ctor_set(x_1133, 2, x_1130); -x_1134 = l_Lake_DSL_buildDeclSig___closed__19; +x_1134 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1101); lean_inc(x_1088); x_1135 = l_Lean_Syntax_node2(x_1088, x_1134, x_1101, x_1076); lean_inc(x_1088); x_1136 = l_Lean_Syntax_node1(x_1088, x_57, x_1135); -x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1097); lean_inc(x_1088); x_1138 = l_Lean_Syntax_node2(x_1088, x_1137, x_1097, x_1136); @@ -31485,20 +30680,20 @@ lean_inc(x_1088); x_1144 = l_Lean_Syntax_node4(x_1088, x_57, x_1072, x_35, x_1083, x_30); lean_inc(x_1088); x_1145 = l_Lean_Syntax_node2(x_1088, x_1124, x_1143, x_1144); -x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1097, 2); lean_inc(x_1088); x_1147 = l_Lean_Syntax_node2(x_1088, x_1146, x_1097, x_1097); -x_1148 = l_Lake_DSL_buildDeclSig___closed__24; +x_1148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1097); lean_inc(x_1147); lean_inc(x_70); lean_inc(x_1088); x_1149 = l_Lean_Syntax_node4(x_1088, x_1148, x_70, x_1145, x_1147, x_1097); -x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1088); x_1151 = l_Lean_Syntax_node4(x_1088, x_1150, x_53, x_1133, x_1138, x_1149); -x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1088); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1152); @@ -31512,17 +30707,17 @@ x_1155 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1155, 0, x_1088); lean_ctor_set(x_1155, 1, x_57); lean_ctor_set(x_1155, 2, x_1154); -x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1088); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1156); lean_ctor_set(x_40, 0, x_1088); -x_1157 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1088); x_1158 = l_Lean_Syntax_node3(x_1088, x_1157, x_44, x_1155, x_40); lean_inc(x_1088); x_1159 = l_Lean_Syntax_node1(x_1088, x_57, x_1158); -x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1097, 5); lean_inc(x_1088); x_1161 = l_Lean_Syntax_node6(x_1088, x_1160, x_1097, x_1159, x_1097, x_1097, x_1097, x_1097); @@ -31589,13 +30784,13 @@ x_1185 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1097); lean_inc(x_1088); x_1186 = l_Lean_Syntax_node5(x_1088, x_1185, x_18, x_1168, x_1176, x_1184, x_1097); -x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1088); x_1188 = l_Lean_Syntax_node2(x_1088, x_1187, x_1161, x_1186); if (lean_obj_tag(x_5) == 0) { lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1088); x_1190 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1190, 0, x_1088); @@ -31809,7 +31004,7 @@ if (lean_is_scalar(x_1243)) { } lean_ctor_set(x_1250, 0, x_1239); lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1239); if (lean_is_scalar(x_1238)) { x_1252 = lean_alloc_ctor(2, 2, 0); @@ -31831,7 +31026,7 @@ lean_ctor_set(x_1257, 0, x_1239); lean_ctor_set(x_1257, 1, x_1255); lean_ctor_set(x_1257, 2, x_1254); lean_ctor_set(x_1257, 3, x_1256); -x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1239); if (lean_is_scalar(x_1233)) { x_1259 = lean_alloc_ctor(2, 2, 0); @@ -31841,7 +31036,7 @@ if (lean_is_scalar(x_1233)) { } lean_ctor_set(x_1259, 0, x_1239); lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1239); if (lean_is_scalar(x_1229)) { x_1261 = lean_alloc_ctor(2, 2, 0); @@ -31857,7 +31052,7 @@ x_1262 = l_Lean_Syntax_node1(x_1239, x_57, x_35); lean_inc(x_1223); lean_inc(x_1239); x_1263 = l_Lean_Syntax_node3(x_1239, x_57, x_1223, x_1261, x_1262); -x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1239); if (lean_is_scalar(x_1225)) { x_1265 = lean_alloc_ctor(2, 2, 0); @@ -31870,7 +31065,7 @@ lean_ctor_set(x_1265, 1, x_1264); x_1266 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1239); x_1267 = l_Lean_Syntax_node3(x_1239, x_1266, x_1259, x_1263, x_1265); -x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1239); x_1269 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1269, 0, x_1239); @@ -31890,7 +31085,7 @@ lean_ctor_set(x_1274, 3, x_1273); lean_inc(x_1234); lean_inc(x_1239); x_1275 = l_Lean_Syntax_node1(x_1239, x_57, x_1234); -x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1239); x_1277 = l_Lean_Syntax_node2(x_1239, x_1276, x_1274, x_1275); x_1278 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -31900,30 +31095,30 @@ lean_inc(x_32); lean_inc(x_1248); lean_inc(x_1239); x_1279 = l_Lean_Syntax_node8(x_1239, x_1278, x_1248, x_1250, x_32, x_1252, x_1257, x_1267, x_1269, x_1277); -x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1239); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1280); lean_ctor_set(x_53, 0, x_1239); -x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1281); lean_ctor_set(x_49, 0, x_32); x_1282 = lean_array_mk(x_49); x_1283 = lean_box(2); -x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1285 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1285, 0, x_1283); lean_ctor_set(x_1285, 1, x_1284); lean_ctor_set(x_1285, 2, x_1282); -x_1286 = l_Lake_DSL_buildDeclSig___closed__19; +x_1286 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1252); lean_inc(x_1239); x_1287 = l_Lean_Syntax_node2(x_1239, x_1286, x_1252, x_1227); lean_inc(x_1239); x_1288 = l_Lean_Syntax_node1(x_1239, x_57, x_1287); -x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1248); lean_inc(x_1239); x_1290 = l_Lean_Syntax_node2(x_1239, x_1289, x_1248, x_1288); @@ -31943,20 +31138,20 @@ lean_inc(x_1239); x_1296 = l_Lean_Syntax_node4(x_1239, x_57, x_1223, x_35, x_1234, x_30); lean_inc(x_1239); x_1297 = l_Lean_Syntax_node2(x_1239, x_1276, x_1295, x_1296); -x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1248, 2); lean_inc(x_1239); x_1299 = l_Lean_Syntax_node2(x_1239, x_1298, x_1248, x_1248); -x_1300 = l_Lake_DSL_buildDeclSig___closed__24; +x_1300 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1248); lean_inc(x_1299); lean_inc(x_1269); lean_inc(x_1239); x_1301 = l_Lean_Syntax_node4(x_1239, x_1300, x_1269, x_1297, x_1299, x_1248); -x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1239); x_1303 = l_Lean_Syntax_node4(x_1239, x_1302, x_53, x_1285, x_1290, x_1301); -x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1239); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1304); @@ -31970,17 +31165,17 @@ x_1307 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1307, 0, x_1239); lean_ctor_set(x_1307, 1, x_57); lean_ctor_set(x_1307, 2, x_1306); -x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1239); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1308); lean_ctor_set(x_40, 0, x_1239); -x_1309 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1239); x_1310 = l_Lean_Syntax_node3(x_1239, x_1309, x_44, x_1307, x_40); lean_inc(x_1239); x_1311 = l_Lean_Syntax_node1(x_1239, x_57, x_1310); -x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1248, 5); lean_inc(x_1239); x_1313 = l_Lean_Syntax_node6(x_1239, x_1312, x_1248, x_1311, x_1248, x_1248, x_1248, x_1248); @@ -32047,13 +31242,13 @@ x_1337 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1248); lean_inc(x_1239); x_1338 = l_Lean_Syntax_node5(x_1239, x_1337, x_18, x_1320, x_1328, x_1336, x_1248); -x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1239); x_1340 = l_Lean_Syntax_node2(x_1239, x_1339, x_1313, x_1338); if (lean_obj_tag(x_5) == 0) { lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1239); x_1342 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1342, 0, x_1239); @@ -32113,14 +31308,14 @@ x_1356 = lean_ctor_get(x_53, 1); lean_inc(x_1356); lean_inc(x_1355); lean_dec(x_53); -x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1359 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1359, 0, x_48); lean_ctor_set(x_1359, 1, x_1357); lean_ctor_set(x_1359, 2, x_1358); -x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1359); lean_inc(x_48); x_1361 = l_Lean_Syntax_node1(x_48, x_1360, x_1359); @@ -32133,10 +31328,10 @@ lean_ctor_set(x_1365, 0, x_48); lean_ctor_set(x_1365, 1, x_1364); lean_ctor_set(x_1365, 2, x_1363); lean_ctor_set(x_1365, 3, x_28); -x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1367 = l_Lean_Syntax_node2(x_48, x_1366, x_1365, x_1359); -x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1369 = l_Lean_Syntax_node2(x_48, x_1368, x_1361, x_1367); x_1370 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1356); x_1371 = lean_ctor_get(x_1370, 0); @@ -32305,7 +31500,7 @@ if (lean_is_scalar(x_1412)) { } lean_ctor_set(x_1419, 0, x_1408); lean_ctor_set(x_1419, 1, x_1418); -x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1408); if (lean_is_scalar(x_1407)) { x_1421 = lean_alloc_ctor(2, 2, 0); @@ -32327,7 +31522,7 @@ lean_ctor_set(x_1426, 0, x_1408); lean_ctor_set(x_1426, 1, x_1424); lean_ctor_set(x_1426, 2, x_1423); lean_ctor_set(x_1426, 3, x_1425); -x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1408); if (lean_is_scalar(x_1402)) { x_1428 = lean_alloc_ctor(2, 2, 0); @@ -32337,7 +31532,7 @@ if (lean_is_scalar(x_1402)) { } lean_ctor_set(x_1428, 0, x_1408); lean_ctor_set(x_1428, 1, x_1427); -x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1408); if (lean_is_scalar(x_1398)) { x_1430 = lean_alloc_ctor(2, 2, 0); @@ -32353,7 +31548,7 @@ x_1431 = l_Lean_Syntax_node1(x_1408, x_1357, x_35); lean_inc(x_1392); lean_inc(x_1408); x_1432 = l_Lean_Syntax_node3(x_1408, x_1357, x_1392, x_1430, x_1431); -x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1408); if (lean_is_scalar(x_1394)) { x_1434 = lean_alloc_ctor(2, 2, 0); @@ -32366,7 +31561,7 @@ lean_ctor_set(x_1434, 1, x_1433); x_1435 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1408); x_1436 = l_Lean_Syntax_node3(x_1408, x_1435, x_1428, x_1432, x_1434); -x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1408); if (lean_is_scalar(x_1373)) { x_1438 = lean_alloc_ctor(2, 2, 0); @@ -32391,7 +31586,7 @@ lean_ctor_set(x_1443, 3, x_1442); lean_inc(x_1403); lean_inc(x_1408); x_1444 = l_Lean_Syntax_node1(x_1408, x_1357, x_1403); -x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1408); x_1446 = l_Lean_Syntax_node2(x_1408, x_1445, x_1443, x_1444); x_1447 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -32401,30 +31596,30 @@ lean_inc(x_32); lean_inc(x_1417); lean_inc(x_1408); x_1448 = l_Lean_Syntax_node8(x_1408, x_1447, x_1417, x_1419, x_32, x_1421, x_1426, x_1436, x_1438, x_1446); -x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1408); x_1450 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1450, 0, x_1408); lean_ctor_set(x_1450, 1, x_1449); -x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1451); lean_ctor_set(x_49, 0, x_32); x_1452 = lean_array_mk(x_49); x_1453 = lean_box(2); -x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1455 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1455, 0, x_1453); lean_ctor_set(x_1455, 1, x_1454); lean_ctor_set(x_1455, 2, x_1452); -x_1456 = l_Lake_DSL_buildDeclSig___closed__19; +x_1456 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1421); lean_inc(x_1408); x_1457 = l_Lean_Syntax_node2(x_1408, x_1456, x_1421, x_1396); lean_inc(x_1408); x_1458 = l_Lean_Syntax_node1(x_1408, x_1357, x_1457); -x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1417); lean_inc(x_1408); x_1460 = l_Lean_Syntax_node2(x_1408, x_1459, x_1417, x_1458); @@ -32444,20 +31639,20 @@ lean_inc(x_1408); x_1466 = l_Lean_Syntax_node4(x_1408, x_1357, x_1392, x_35, x_1403, x_30); lean_inc(x_1408); x_1467 = l_Lean_Syntax_node2(x_1408, x_1445, x_1465, x_1466); -x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1417, 2); lean_inc(x_1408); x_1469 = l_Lean_Syntax_node2(x_1408, x_1468, x_1417, x_1417); -x_1470 = l_Lake_DSL_buildDeclSig___closed__24; +x_1470 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1417); lean_inc(x_1469); lean_inc(x_1438); lean_inc(x_1408); x_1471 = l_Lean_Syntax_node4(x_1408, x_1470, x_1438, x_1467, x_1469, x_1417); -x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1408); x_1473 = l_Lean_Syntax_node4(x_1408, x_1472, x_1450, x_1455, x_1460, x_1471); -x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1408); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1474); @@ -32471,17 +31666,17 @@ x_1477 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1477, 0, x_1408); lean_ctor_set(x_1477, 1, x_1357); lean_ctor_set(x_1477, 2, x_1476); -x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1408); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1478); lean_ctor_set(x_40, 0, x_1408); -x_1479 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1408); x_1480 = l_Lean_Syntax_node3(x_1408, x_1479, x_44, x_1477, x_40); lean_inc(x_1408); x_1481 = l_Lean_Syntax_node1(x_1408, x_1357, x_1480); -x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1417, 5); lean_inc(x_1408); x_1483 = l_Lean_Syntax_node6(x_1408, x_1482, x_1417, x_1481, x_1417, x_1417, x_1417, x_1417); @@ -32548,13 +31743,13 @@ x_1507 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1417); lean_inc(x_1408); x_1508 = l_Lean_Syntax_node5(x_1408, x_1507, x_18, x_1490, x_1498, x_1506, x_1417); -x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1408); x_1510 = l_Lean_Syntax_node2(x_1408, x_1509, x_1483, x_1508); if (lean_obj_tag(x_5) == 0) { lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1408); x_1512 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1512, 0, x_1408); @@ -32627,14 +31822,14 @@ if (lean_is_exclusive(x_1527)) { lean_dec_ref(x_1527); x_1530 = lean_box(0); } -x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1533 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1533, 0, x_48); lean_ctor_set(x_1533, 1, x_1531); lean_ctor_set(x_1533, 2, x_1532); -x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1533); lean_inc(x_48); x_1535 = l_Lean_Syntax_node1(x_48, x_1534, x_1533); @@ -32647,10 +31842,10 @@ lean_ctor_set(x_1539, 0, x_48); lean_ctor_set(x_1539, 1, x_1538); lean_ctor_set(x_1539, 2, x_1537); lean_ctor_set(x_1539, 3, x_28); -x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1541 = l_Lean_Syntax_node2(x_48, x_1540, x_1539, x_1533); -x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1543 = l_Lean_Syntax_node2(x_48, x_1542, x_1535, x_1541); x_1544 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1529); x_1545 = lean_ctor_get(x_1544, 0); @@ -32819,7 +32014,7 @@ if (lean_is_scalar(x_1586)) { } lean_ctor_set(x_1593, 0, x_1582); lean_ctor_set(x_1593, 1, x_1592); -x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1582); if (lean_is_scalar(x_1581)) { x_1595 = lean_alloc_ctor(2, 2, 0); @@ -32841,7 +32036,7 @@ lean_ctor_set(x_1600, 0, x_1582); lean_ctor_set(x_1600, 1, x_1598); lean_ctor_set(x_1600, 2, x_1597); lean_ctor_set(x_1600, 3, x_1599); -x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1582); if (lean_is_scalar(x_1576)) { x_1602 = lean_alloc_ctor(2, 2, 0); @@ -32851,7 +32046,7 @@ if (lean_is_scalar(x_1576)) { } lean_ctor_set(x_1602, 0, x_1582); lean_ctor_set(x_1602, 1, x_1601); -x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1582); if (lean_is_scalar(x_1572)) { x_1604 = lean_alloc_ctor(2, 2, 0); @@ -32867,7 +32062,7 @@ x_1605 = l_Lean_Syntax_node1(x_1582, x_1531, x_35); lean_inc(x_1566); lean_inc(x_1582); x_1606 = l_Lean_Syntax_node3(x_1582, x_1531, x_1566, x_1604, x_1605); -x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1582); if (lean_is_scalar(x_1568)) { x_1608 = lean_alloc_ctor(2, 2, 0); @@ -32880,7 +32075,7 @@ lean_ctor_set(x_1608, 1, x_1607); x_1609 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1582); x_1610 = l_Lean_Syntax_node3(x_1582, x_1609, x_1602, x_1606, x_1608); -x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1582); if (lean_is_scalar(x_1547)) { x_1612 = lean_alloc_ctor(2, 2, 0); @@ -32905,7 +32100,7 @@ lean_ctor_set(x_1617, 3, x_1616); lean_inc(x_1577); lean_inc(x_1582); x_1618 = l_Lean_Syntax_node1(x_1582, x_1531, x_1577); -x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1582); x_1620 = l_Lean_Syntax_node2(x_1582, x_1619, x_1617, x_1618); x_1621 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -32915,7 +32110,7 @@ lean_inc(x_32); lean_inc(x_1591); lean_inc(x_1582); x_1622 = l_Lean_Syntax_node8(x_1582, x_1621, x_1591, x_1593, x_32, x_1595, x_1600, x_1610, x_1612, x_1620); -x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1582); if (lean_is_scalar(x_1530)) { x_1624 = lean_alloc_ctor(2, 2, 0); @@ -32925,25 +32120,25 @@ if (lean_is_scalar(x_1530)) { } lean_ctor_set(x_1624, 0, x_1582); lean_ctor_set(x_1624, 1, x_1623); -x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); x_1626 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1626, 0, x_32); lean_ctor_set(x_1626, 1, x_1625); x_1627 = lean_array_mk(x_1626); x_1628 = lean_box(2); -x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1630 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1630, 0, x_1628); lean_ctor_set(x_1630, 1, x_1629); lean_ctor_set(x_1630, 2, x_1627); -x_1631 = l_Lake_DSL_buildDeclSig___closed__19; +x_1631 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1595); lean_inc(x_1582); x_1632 = l_Lean_Syntax_node2(x_1582, x_1631, x_1595, x_1570); lean_inc(x_1582); x_1633 = l_Lean_Syntax_node1(x_1582, x_1531, x_1632); -x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1591); lean_inc(x_1582); x_1635 = l_Lean_Syntax_node2(x_1582, x_1634, x_1591, x_1633); @@ -32963,20 +32158,20 @@ lean_inc(x_1582); x_1641 = l_Lean_Syntax_node4(x_1582, x_1531, x_1566, x_35, x_1577, x_30); lean_inc(x_1582); x_1642 = l_Lean_Syntax_node2(x_1582, x_1619, x_1640, x_1641); -x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1591, 2); lean_inc(x_1582); x_1644 = l_Lean_Syntax_node2(x_1582, x_1643, x_1591, x_1591); -x_1645 = l_Lake_DSL_buildDeclSig___closed__24; +x_1645 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1591); lean_inc(x_1644); lean_inc(x_1612); lean_inc(x_1582); x_1646 = l_Lean_Syntax_node4(x_1582, x_1645, x_1612, x_1642, x_1644, x_1591); -x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1582); x_1648 = l_Lean_Syntax_node4(x_1582, x_1647, x_1624, x_1630, x_1635, x_1646); -x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1582); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1649); @@ -32990,17 +32185,17 @@ x_1652 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1652, 0, x_1582); lean_ctor_set(x_1652, 1, x_1531); lean_ctor_set(x_1652, 2, x_1651); -x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1582); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1653); lean_ctor_set(x_40, 0, x_1582); -x_1654 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1582); x_1655 = l_Lean_Syntax_node3(x_1582, x_1654, x_44, x_1652, x_40); lean_inc(x_1582); x_1656 = l_Lean_Syntax_node1(x_1582, x_1531, x_1655); -x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1591, 5); lean_inc(x_1582); x_1658 = l_Lean_Syntax_node6(x_1582, x_1657, x_1591, x_1656, x_1591, x_1591, x_1591, x_1591); @@ -33067,13 +32262,13 @@ x_1682 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1591); lean_inc(x_1582); x_1683 = l_Lean_Syntax_node5(x_1582, x_1682, x_18, x_1665, x_1673, x_1681, x_1591); -x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1582); x_1685 = l_Lean_Syntax_node2(x_1582, x_1684, x_1658, x_1683); if (lean_obj_tag(x_5) == 0) { lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; -x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1582); x_1687 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1687, 0, x_1582); @@ -33161,14 +32356,14 @@ if (lean_is_exclusive(x_1707)) { lean_dec_ref(x_1707); x_1710 = lean_box(0); } -x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1702); x_1713 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1713, 0, x_1702); lean_ctor_set(x_1713, 1, x_1711); lean_ctor_set(x_1713, 2, x_1712); -x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1713); lean_inc(x_1702); x_1715 = l_Lean_Syntax_node1(x_1702, x_1714, x_1713); @@ -33181,10 +32376,10 @@ lean_ctor_set(x_1719, 0, x_1702); lean_ctor_set(x_1719, 1, x_1718); lean_ctor_set(x_1719, 2, x_1717); lean_ctor_set(x_1719, 3, x_28); -x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1702); x_1721 = l_Lean_Syntax_node2(x_1702, x_1720, x_1719, x_1713); -x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1723 = l_Lean_Syntax_node2(x_1702, x_1722, x_1715, x_1721); x_1724 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1709); x_1725 = lean_ctor_get(x_1724, 0); @@ -33353,7 +32548,7 @@ if (lean_is_scalar(x_1766)) { } lean_ctor_set(x_1773, 0, x_1762); lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1762); if (lean_is_scalar(x_1761)) { x_1775 = lean_alloc_ctor(2, 2, 0); @@ -33375,7 +32570,7 @@ lean_ctor_set(x_1780, 0, x_1762); lean_ctor_set(x_1780, 1, x_1778); lean_ctor_set(x_1780, 2, x_1777); lean_ctor_set(x_1780, 3, x_1779); -x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1762); if (lean_is_scalar(x_1756)) { x_1782 = lean_alloc_ctor(2, 2, 0); @@ -33385,7 +32580,7 @@ if (lean_is_scalar(x_1756)) { } lean_ctor_set(x_1782, 0, x_1762); lean_ctor_set(x_1782, 1, x_1781); -x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1762); if (lean_is_scalar(x_1752)) { x_1784 = lean_alloc_ctor(2, 2, 0); @@ -33401,7 +32596,7 @@ x_1785 = l_Lean_Syntax_node1(x_1762, x_1711, x_35); lean_inc(x_1746); lean_inc(x_1762); x_1786 = l_Lean_Syntax_node3(x_1762, x_1711, x_1746, x_1784, x_1785); -x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1762); if (lean_is_scalar(x_1748)) { x_1788 = lean_alloc_ctor(2, 2, 0); @@ -33414,7 +32609,7 @@ lean_ctor_set(x_1788, 1, x_1787); x_1789 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1762); x_1790 = l_Lean_Syntax_node3(x_1762, x_1789, x_1782, x_1786, x_1788); -x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1762); if (lean_is_scalar(x_1727)) { x_1792 = lean_alloc_ctor(2, 2, 0); @@ -33439,7 +32634,7 @@ lean_ctor_set(x_1797, 3, x_1796); lean_inc(x_1757); lean_inc(x_1762); x_1798 = l_Lean_Syntax_node1(x_1762, x_1711, x_1757); -x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1762); x_1800 = l_Lean_Syntax_node2(x_1762, x_1799, x_1797, x_1798); x_1801 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -33449,7 +32644,7 @@ lean_inc(x_32); lean_inc(x_1771); lean_inc(x_1762); x_1802 = l_Lean_Syntax_node8(x_1762, x_1801, x_1771, x_1773, x_32, x_1775, x_1780, x_1790, x_1792, x_1800); -x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1762); if (lean_is_scalar(x_1710)) { x_1804 = lean_alloc_ctor(2, 2, 0); @@ -33459,7 +32654,7 @@ if (lean_is_scalar(x_1710)) { } lean_ctor_set(x_1804, 0, x_1762); lean_ctor_set(x_1804, 1, x_1803); -x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1706)) { x_1806 = lean_alloc_ctor(1, 2, 0); @@ -33471,18 +32666,18 @@ lean_ctor_set(x_1806, 0, x_32); lean_ctor_set(x_1806, 1, x_1805); x_1807 = lean_array_mk(x_1806); x_1808 = lean_box(2); -x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1810 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1810, 0, x_1808); lean_ctor_set(x_1810, 1, x_1809); lean_ctor_set(x_1810, 2, x_1807); -x_1811 = l_Lake_DSL_buildDeclSig___closed__19; +x_1811 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1775); lean_inc(x_1762); x_1812 = l_Lean_Syntax_node2(x_1762, x_1811, x_1775, x_1750); lean_inc(x_1762); x_1813 = l_Lean_Syntax_node1(x_1762, x_1711, x_1812); -x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1771); lean_inc(x_1762); x_1815 = l_Lean_Syntax_node2(x_1762, x_1814, x_1771, x_1813); @@ -33502,20 +32697,20 @@ lean_inc(x_1762); x_1821 = l_Lean_Syntax_node4(x_1762, x_1711, x_1746, x_35, x_1757, x_30); lean_inc(x_1762); x_1822 = l_Lean_Syntax_node2(x_1762, x_1799, x_1820, x_1821); -x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1771, 2); lean_inc(x_1762); x_1824 = l_Lean_Syntax_node2(x_1762, x_1823, x_1771, x_1771); -x_1825 = l_Lake_DSL_buildDeclSig___closed__24; +x_1825 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1771); lean_inc(x_1824); lean_inc(x_1792); lean_inc(x_1762); x_1826 = l_Lean_Syntax_node4(x_1762, x_1825, x_1792, x_1822, x_1824, x_1771); -x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1762); x_1828 = l_Lean_Syntax_node4(x_1762, x_1827, x_1804, x_1810, x_1815, x_1826); -x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1762); x_1830 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1830, 0, x_1762); @@ -33529,17 +32724,17 @@ x_1833 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1833, 0, x_1762); lean_ctor_set(x_1833, 1, x_1711); lean_ctor_set(x_1833, 2, x_1832); -x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1762); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1834); lean_ctor_set(x_40, 0, x_1762); -x_1835 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1762); x_1836 = l_Lean_Syntax_node3(x_1762, x_1835, x_1830, x_1833, x_40); lean_inc(x_1762); x_1837 = l_Lean_Syntax_node1(x_1762, x_1711, x_1836); -x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1771, 5); lean_inc(x_1762); x_1839 = l_Lean_Syntax_node6(x_1762, x_1838, x_1771, x_1837, x_1771, x_1771, x_1771, x_1771); @@ -33606,13 +32801,13 @@ x_1863 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1771); lean_inc(x_1762); x_1864 = l_Lean_Syntax_node5(x_1762, x_1863, x_18, x_1846, x_1854, x_1862, x_1771); -x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1762); x_1866 = l_Lean_Syntax_node2(x_1762, x_1865, x_1839, x_1864); if (lean_obj_tag(x_5) == 0) { lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; -x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1762); x_1868 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1868, 0, x_1762); @@ -33713,14 +32908,14 @@ if (lean_is_exclusive(x_1892)) { lean_dec_ref(x_1892); x_1895 = lean_box(0); } -x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1887); x_1898 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1898, 0, x_1887); lean_ctor_set(x_1898, 1, x_1896); lean_ctor_set(x_1898, 2, x_1897); -x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1898); lean_inc(x_1887); x_1900 = l_Lean_Syntax_node1(x_1887, x_1899, x_1898); @@ -33733,10 +32928,10 @@ lean_ctor_set(x_1904, 0, x_1887); lean_ctor_set(x_1904, 1, x_1903); lean_ctor_set(x_1904, 2, x_1902); lean_ctor_set(x_1904, 3, x_28); -x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1887); x_1906 = l_Lean_Syntax_node2(x_1887, x_1905, x_1904, x_1898); -x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1908 = l_Lean_Syntax_node2(x_1887, x_1907, x_1900, x_1906); x_1909 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1894); x_1910 = lean_ctor_get(x_1909, 0); @@ -33905,7 +33100,7 @@ if (lean_is_scalar(x_1951)) { } lean_ctor_set(x_1958, 0, x_1947); lean_ctor_set(x_1958, 1, x_1957); -x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1947); if (lean_is_scalar(x_1946)) { x_1960 = lean_alloc_ctor(2, 2, 0); @@ -33927,7 +33122,7 @@ lean_ctor_set(x_1965, 0, x_1947); lean_ctor_set(x_1965, 1, x_1963); lean_ctor_set(x_1965, 2, x_1962); lean_ctor_set(x_1965, 3, x_1964); -x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1947); if (lean_is_scalar(x_1941)) { x_1967 = lean_alloc_ctor(2, 2, 0); @@ -33937,7 +33132,7 @@ if (lean_is_scalar(x_1941)) { } lean_ctor_set(x_1967, 0, x_1947); lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1947); if (lean_is_scalar(x_1937)) { x_1969 = lean_alloc_ctor(2, 2, 0); @@ -33953,7 +33148,7 @@ x_1970 = l_Lean_Syntax_node1(x_1947, x_1896, x_35); lean_inc(x_1931); lean_inc(x_1947); x_1971 = l_Lean_Syntax_node3(x_1947, x_1896, x_1931, x_1969, x_1970); -x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1947); if (lean_is_scalar(x_1933)) { x_1973 = lean_alloc_ctor(2, 2, 0); @@ -33966,7 +33161,7 @@ lean_ctor_set(x_1973, 1, x_1972); x_1974 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1947); x_1975 = l_Lean_Syntax_node3(x_1947, x_1974, x_1967, x_1971, x_1973); -x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1947); if (lean_is_scalar(x_1912)) { x_1977 = lean_alloc_ctor(2, 2, 0); @@ -33991,7 +33186,7 @@ lean_ctor_set(x_1982, 3, x_1981); lean_inc(x_1942); lean_inc(x_1947); x_1983 = l_Lean_Syntax_node1(x_1947, x_1896, x_1942); -x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1947); x_1985 = l_Lean_Syntax_node2(x_1947, x_1984, x_1982, x_1983); x_1986 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -34001,7 +33196,7 @@ lean_inc(x_32); lean_inc(x_1956); lean_inc(x_1947); x_1987 = l_Lean_Syntax_node8(x_1947, x_1986, x_1956, x_1958, x_32, x_1960, x_1965, x_1975, x_1977, x_1985); -x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1947); if (lean_is_scalar(x_1895)) { x_1989 = lean_alloc_ctor(2, 2, 0); @@ -34011,7 +33206,7 @@ if (lean_is_scalar(x_1895)) { } lean_ctor_set(x_1989, 0, x_1947); lean_ctor_set(x_1989, 1, x_1988); -x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1891)) { x_1991 = lean_alloc_ctor(1, 2, 0); @@ -34023,18 +33218,18 @@ lean_ctor_set(x_1991, 0, x_32); lean_ctor_set(x_1991, 1, x_1990); x_1992 = lean_array_mk(x_1991); x_1993 = lean_box(2); -x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1995 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1995, 0, x_1993); lean_ctor_set(x_1995, 1, x_1994); lean_ctor_set(x_1995, 2, x_1992); -x_1996 = l_Lake_DSL_buildDeclSig___closed__19; +x_1996 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1960); lean_inc(x_1947); x_1997 = l_Lean_Syntax_node2(x_1947, x_1996, x_1960, x_1935); lean_inc(x_1947); x_1998 = l_Lean_Syntax_node1(x_1947, x_1896, x_1997); -x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1956); lean_inc(x_1947); x_2000 = l_Lean_Syntax_node2(x_1947, x_1999, x_1956, x_1998); @@ -34054,20 +33249,20 @@ lean_inc(x_1947); x_2006 = l_Lean_Syntax_node4(x_1947, x_1896, x_1931, x_35, x_1942, x_30); lean_inc(x_1947); x_2007 = l_Lean_Syntax_node2(x_1947, x_1984, x_2005, x_2006); -x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1956, 2); lean_inc(x_1947); x_2009 = l_Lean_Syntax_node2(x_1947, x_2008, x_1956, x_1956); -x_2010 = l_Lake_DSL_buildDeclSig___closed__24; +x_2010 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1956); lean_inc(x_2009); lean_inc(x_1977); lean_inc(x_1947); x_2011 = l_Lean_Syntax_node4(x_1947, x_2010, x_1977, x_2007, x_2009, x_1956); -x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1947); x_2013 = l_Lean_Syntax_node4(x_1947, x_2012, x_1989, x_1995, x_2000, x_2011); -x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1947); if (lean_is_scalar(x_1886)) { x_2015 = lean_alloc_ctor(2, 2, 0); @@ -34086,17 +33281,17 @@ x_2018 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2018, 0, x_1947); lean_ctor_set(x_2018, 1, x_1896); lean_ctor_set(x_2018, 2, x_2017); -x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1947); x_2020 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2020, 0, x_1947); lean_ctor_set(x_2020, 1, x_2019); -x_2021 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2021 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1947); x_2022 = l_Lean_Syntax_node3(x_1947, x_2021, x_2015, x_2018, x_2020); lean_inc(x_1947); x_2023 = l_Lean_Syntax_node1(x_1947, x_1896, x_2022); -x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1956, 5); lean_inc(x_1947); x_2025 = l_Lean_Syntax_node6(x_1947, x_2024, x_1956, x_2023, x_1956, x_1956, x_1956, x_1956); @@ -34163,13 +33358,13 @@ x_2049 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1956); lean_inc(x_1947); x_2050 = l_Lean_Syntax_node5(x_1947, x_2049, x_18, x_2032, x_2040, x_2048, x_1956); -x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1947); x_2052 = l_Lean_Syntax_node2(x_1947, x_2051, x_2025, x_2050); if (lean_obj_tag(x_5) == 0) { lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; -x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1947); x_2054 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2054, 0, x_1947); @@ -34394,14 +33589,14 @@ if (lean_is_exclusive(x_2105)) { lean_dec_ref(x_2105); x_2108 = lean_box(0); } -x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2100); x_2111 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2111, 0, x_2100); lean_ctor_set(x_2111, 1, x_2109); lean_ctor_set(x_2111, 2, x_2110); -x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2111); lean_inc(x_2100); x_2113 = l_Lean_Syntax_node1(x_2100, x_2112, x_2111); @@ -34414,10 +33609,10 @@ lean_ctor_set(x_2117, 0, x_2100); lean_ctor_set(x_2117, 1, x_2116); lean_ctor_set(x_2117, 2, x_2115); lean_ctor_set(x_2117, 3, x_2079); -x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2100); x_2119 = l_Lean_Syntax_node2(x_2100, x_2118, x_2117, x_2111); -x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2121 = l_Lean_Syntax_node2(x_2100, x_2120, x_2113, x_2119); x_2122 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2107); x_2123 = lean_ctor_get(x_2122, 0); @@ -34586,7 +33781,7 @@ if (lean_is_scalar(x_2164)) { } lean_ctor_set(x_2171, 0, x_2160); lean_ctor_set(x_2171, 1, x_2170); -x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2160); if (lean_is_scalar(x_2159)) { x_2173 = lean_alloc_ctor(2, 2, 0); @@ -34608,7 +33803,7 @@ lean_ctor_set(x_2178, 0, x_2160); lean_ctor_set(x_2178, 1, x_2176); lean_ctor_set(x_2178, 2, x_2175); lean_ctor_set(x_2178, 3, x_2177); -x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2160); if (lean_is_scalar(x_2154)) { x_2180 = lean_alloc_ctor(2, 2, 0); @@ -34618,7 +33813,7 @@ if (lean_is_scalar(x_2154)) { } lean_ctor_set(x_2180, 0, x_2160); lean_ctor_set(x_2180, 1, x_2179); -x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2160); if (lean_is_scalar(x_2150)) { x_2182 = lean_alloc_ctor(2, 2, 0); @@ -34634,7 +33829,7 @@ x_2183 = l_Lean_Syntax_node1(x_2160, x_2109, x_2086); lean_inc(x_2144); lean_inc(x_2160); x_2184 = l_Lean_Syntax_node3(x_2160, x_2109, x_2144, x_2182, x_2183); -x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2160); if (lean_is_scalar(x_2146)) { x_2186 = lean_alloc_ctor(2, 2, 0); @@ -34647,7 +33842,7 @@ lean_ctor_set(x_2186, 1, x_2185); x_2187 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2160); x_2188 = l_Lean_Syntax_node3(x_2160, x_2187, x_2180, x_2184, x_2186); -x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2160); if (lean_is_scalar(x_2125)) { x_2190 = lean_alloc_ctor(2, 2, 0); @@ -34672,7 +33867,7 @@ lean_ctor_set(x_2195, 3, x_2194); lean_inc(x_2155); lean_inc(x_2160); x_2196 = l_Lean_Syntax_node1(x_2160, x_2109, x_2155); -x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2160); x_2198 = l_Lean_Syntax_node2(x_2160, x_2197, x_2195, x_2196); x_2199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -34682,7 +33877,7 @@ lean_inc(x_2083); lean_inc(x_2169); lean_inc(x_2160); x_2200 = l_Lean_Syntax_node8(x_2160, x_2199, x_2169, x_2171, x_2083, x_2173, x_2178, x_2188, x_2190, x_2198); -x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2160); if (lean_is_scalar(x_2108)) { x_2202 = lean_alloc_ctor(2, 2, 0); @@ -34692,7 +33887,7 @@ if (lean_is_scalar(x_2108)) { } lean_ctor_set(x_2202, 0, x_2160); lean_ctor_set(x_2202, 1, x_2201); -x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2083); if (lean_is_scalar(x_2104)) { x_2204 = lean_alloc_ctor(1, 2, 0); @@ -34704,18 +33899,18 @@ lean_ctor_set(x_2204, 0, x_2083); lean_ctor_set(x_2204, 1, x_2203); x_2205 = lean_array_mk(x_2204); x_2206 = lean_box(2); -x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2208 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2208, 0, x_2206); lean_ctor_set(x_2208, 1, x_2207); lean_ctor_set(x_2208, 2, x_2205); -x_2209 = l_Lake_DSL_buildDeclSig___closed__19; +x_2209 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2173); lean_inc(x_2160); x_2210 = l_Lean_Syntax_node2(x_2160, x_2209, x_2173, x_2148); lean_inc(x_2160); x_2211 = l_Lean_Syntax_node1(x_2160, x_2109, x_2210); -x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2169); lean_inc(x_2160); x_2213 = l_Lean_Syntax_node2(x_2160, x_2212, x_2169, x_2211); @@ -34735,20 +33930,20 @@ lean_inc(x_2160); x_2219 = l_Lean_Syntax_node4(x_2160, x_2109, x_2144, x_2086, x_2155, x_2081); lean_inc(x_2160); x_2220 = l_Lean_Syntax_node2(x_2160, x_2197, x_2218, x_2219); -x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2169, 2); lean_inc(x_2160); x_2222 = l_Lean_Syntax_node2(x_2160, x_2221, x_2169, x_2169); -x_2223 = l_Lake_DSL_buildDeclSig___closed__24; +x_2223 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2169); lean_inc(x_2222); lean_inc(x_2190); lean_inc(x_2160); x_2224 = l_Lean_Syntax_node4(x_2160, x_2223, x_2190, x_2220, x_2222, x_2169); -x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2160); x_2226 = l_Lean_Syntax_node4(x_2160, x_2225, x_2202, x_2208, x_2213, x_2224); -x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2160); if (lean_is_scalar(x_2099)) { x_2228 = lean_alloc_ctor(2, 2, 0); @@ -34767,7 +33962,7 @@ x_2231 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2231, 0, x_2160); lean_ctor_set(x_2231, 1, x_2109); lean_ctor_set(x_2231, 2, x_2230); -x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2160); if (lean_is_scalar(x_2095)) { x_2233 = lean_alloc_ctor(2, 2, 0); @@ -34777,12 +33972,12 @@ if (lean_is_scalar(x_2095)) { } lean_ctor_set(x_2233, 0, x_2160); lean_ctor_set(x_2233, 1, x_2232); -x_2234 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2160); x_2235 = l_Lean_Syntax_node3(x_2160, x_2234, x_2228, x_2231, x_2233); lean_inc(x_2160); x_2236 = l_Lean_Syntax_node1(x_2160, x_2109, x_2235); -x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2169, 5); lean_inc(x_2160); x_2238 = l_Lean_Syntax_node6(x_2160, x_2237, x_2169, x_2236, x_2169, x_2169, x_2169, x_2169); @@ -34849,13 +34044,13 @@ x_2262 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2169); lean_inc(x_2160); x_2263 = l_Lean_Syntax_node5(x_2160, x_2262, x_18, x_2245, x_2253, x_2261, x_2169); -x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2160); x_2265 = l_Lean_Syntax_node2(x_2160, x_2264, x_2238, x_2263); if (lean_obj_tag(x_5) == 0) { lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; -x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2160); x_2267 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2267, 0, x_2160); @@ -35101,14 +34296,14 @@ if (lean_is_exclusive(x_2322)) { lean_dec_ref(x_2322); x_2325 = lean_box(0); } -x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2317); x_2328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2328, 0, x_2317); lean_ctor_set(x_2328, 1, x_2326); lean_ctor_set(x_2328, 2, x_2327); -x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2328); lean_inc(x_2317); x_2330 = l_Lean_Syntax_node1(x_2317, x_2329, x_2328); @@ -35121,10 +34316,10 @@ lean_ctor_set(x_2334, 0, x_2317); lean_ctor_set(x_2334, 1, x_2333); lean_ctor_set(x_2334, 2, x_2332); lean_ctor_set(x_2334, 3, x_2296); -x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2317); x_2336 = l_Lean_Syntax_node2(x_2317, x_2335, x_2334, x_2328); -x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2338 = l_Lean_Syntax_node2(x_2317, x_2337, x_2330, x_2336); x_2339 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2324); x_2340 = lean_ctor_get(x_2339, 0); @@ -35293,7 +34488,7 @@ if (lean_is_scalar(x_2381)) { } lean_ctor_set(x_2388, 0, x_2377); lean_ctor_set(x_2388, 1, x_2387); -x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2377); if (lean_is_scalar(x_2376)) { x_2390 = lean_alloc_ctor(2, 2, 0); @@ -35315,7 +34510,7 @@ lean_ctor_set(x_2395, 0, x_2377); lean_ctor_set(x_2395, 1, x_2393); lean_ctor_set(x_2395, 2, x_2392); lean_ctor_set(x_2395, 3, x_2394); -x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2377); if (lean_is_scalar(x_2371)) { x_2397 = lean_alloc_ctor(2, 2, 0); @@ -35325,7 +34520,7 @@ if (lean_is_scalar(x_2371)) { } lean_ctor_set(x_2397, 0, x_2377); lean_ctor_set(x_2397, 1, x_2396); -x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2377); if (lean_is_scalar(x_2367)) { x_2399 = lean_alloc_ctor(2, 2, 0); @@ -35341,7 +34536,7 @@ x_2400 = l_Lean_Syntax_node1(x_2377, x_2326, x_2303); lean_inc(x_2361); lean_inc(x_2377); x_2401 = l_Lean_Syntax_node3(x_2377, x_2326, x_2361, x_2399, x_2400); -x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2377); if (lean_is_scalar(x_2363)) { x_2403 = lean_alloc_ctor(2, 2, 0); @@ -35354,7 +34549,7 @@ lean_ctor_set(x_2403, 1, x_2402); x_2404 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2377); x_2405 = l_Lean_Syntax_node3(x_2377, x_2404, x_2397, x_2401, x_2403); -x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2377); if (lean_is_scalar(x_2342)) { x_2407 = lean_alloc_ctor(2, 2, 0); @@ -35379,7 +34574,7 @@ lean_ctor_set(x_2412, 3, x_2411); lean_inc(x_2372); lean_inc(x_2377); x_2413 = l_Lean_Syntax_node1(x_2377, x_2326, x_2372); -x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2377); x_2415 = l_Lean_Syntax_node2(x_2377, x_2414, x_2412, x_2413); x_2416 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -35389,7 +34584,7 @@ lean_inc(x_2300); lean_inc(x_2386); lean_inc(x_2377); x_2417 = l_Lean_Syntax_node8(x_2377, x_2416, x_2386, x_2388, x_2300, x_2390, x_2395, x_2405, x_2407, x_2415); -x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2377); if (lean_is_scalar(x_2325)) { x_2419 = lean_alloc_ctor(2, 2, 0); @@ -35399,7 +34594,7 @@ if (lean_is_scalar(x_2325)) { } lean_ctor_set(x_2419, 0, x_2377); lean_ctor_set(x_2419, 1, x_2418); -x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2300); if (lean_is_scalar(x_2321)) { x_2421 = lean_alloc_ctor(1, 2, 0); @@ -35411,18 +34606,18 @@ lean_ctor_set(x_2421, 0, x_2300); lean_ctor_set(x_2421, 1, x_2420); x_2422 = lean_array_mk(x_2421); x_2423 = lean_box(2); -x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2425 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2425, 0, x_2423); lean_ctor_set(x_2425, 1, x_2424); lean_ctor_set(x_2425, 2, x_2422); -x_2426 = l_Lake_DSL_buildDeclSig___closed__19; +x_2426 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2390); lean_inc(x_2377); x_2427 = l_Lean_Syntax_node2(x_2377, x_2426, x_2390, x_2365); lean_inc(x_2377); x_2428 = l_Lean_Syntax_node1(x_2377, x_2326, x_2427); -x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2386); lean_inc(x_2377); x_2430 = l_Lean_Syntax_node2(x_2377, x_2429, x_2386, x_2428); @@ -35442,20 +34637,20 @@ lean_inc(x_2377); x_2436 = l_Lean_Syntax_node4(x_2377, x_2326, x_2361, x_2303, x_2372, x_2298); lean_inc(x_2377); x_2437 = l_Lean_Syntax_node2(x_2377, x_2414, x_2435, x_2436); -x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2386, 2); lean_inc(x_2377); x_2439 = l_Lean_Syntax_node2(x_2377, x_2438, x_2386, x_2386); -x_2440 = l_Lake_DSL_buildDeclSig___closed__24; +x_2440 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2386); lean_inc(x_2439); lean_inc(x_2407); lean_inc(x_2377); x_2441 = l_Lean_Syntax_node4(x_2377, x_2440, x_2407, x_2437, x_2439, x_2386); -x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2377); x_2443 = l_Lean_Syntax_node4(x_2377, x_2442, x_2419, x_2425, x_2430, x_2441); -x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2377); if (lean_is_scalar(x_2316)) { x_2445 = lean_alloc_ctor(2, 2, 0); @@ -35474,7 +34669,7 @@ x_2448 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2448, 0, x_2377); lean_ctor_set(x_2448, 1, x_2326); lean_ctor_set(x_2448, 2, x_2447); -x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2377); if (lean_is_scalar(x_2312)) { x_2450 = lean_alloc_ctor(2, 2, 0); @@ -35484,12 +34679,12 @@ if (lean_is_scalar(x_2312)) { } lean_ctor_set(x_2450, 0, x_2377); lean_ctor_set(x_2450, 1, x_2449); -x_2451 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2377); x_2452 = l_Lean_Syntax_node3(x_2377, x_2451, x_2445, x_2448, x_2450); lean_inc(x_2377); x_2453 = l_Lean_Syntax_node1(x_2377, x_2326, x_2452); -x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2386, 5); lean_inc(x_2377); x_2455 = l_Lean_Syntax_node6(x_2377, x_2454, x_2386, x_2453, x_2386, x_2386, x_2386, x_2386); @@ -35556,13 +34751,13 @@ x_2480 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2386); lean_inc(x_2377); x_2481 = l_Lean_Syntax_node5(x_2377, x_2480, x_2457, x_2463, x_2471, x_2479, x_2386); -x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2377); x_2483 = l_Lean_Syntax_node2(x_2377, x_2482, x_2455, x_2481); if (lean_obj_tag(x_5) == 0) { lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; -x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2377); x_2485 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2485, 0, x_2377); @@ -35823,14 +35018,14 @@ if (lean_is_exclusive(x_2546)) { lean_dec_ref(x_2546); x_2549 = lean_box(0); } -x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2541); x_2552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2552, 0, x_2541); lean_ctor_set(x_2552, 1, x_2550); lean_ctor_set(x_2552, 2, x_2551); -x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2552); lean_inc(x_2541); x_2554 = l_Lean_Syntax_node1(x_2541, x_2553, x_2552); @@ -35843,10 +35038,10 @@ lean_ctor_set(x_2558, 0, x_2541); lean_ctor_set(x_2558, 1, x_2557); lean_ctor_set(x_2558, 2, x_2556); lean_ctor_set(x_2558, 3, x_2520); -x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2541); x_2560 = l_Lean_Syntax_node2(x_2541, x_2559, x_2558, x_2552); -x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2562 = l_Lean_Syntax_node2(x_2541, x_2561, x_2554, x_2560); x_2563 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2548); x_2564 = lean_ctor_get(x_2563, 0); @@ -36015,7 +35210,7 @@ if (lean_is_scalar(x_2605)) { } lean_ctor_set(x_2612, 0, x_2601); lean_ctor_set(x_2612, 1, x_2611); -x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2601); if (lean_is_scalar(x_2600)) { x_2614 = lean_alloc_ctor(2, 2, 0); @@ -36037,7 +35232,7 @@ lean_ctor_set(x_2619, 0, x_2601); lean_ctor_set(x_2619, 1, x_2617); lean_ctor_set(x_2619, 2, x_2616); lean_ctor_set(x_2619, 3, x_2618); -x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2601); if (lean_is_scalar(x_2595)) { x_2621 = lean_alloc_ctor(2, 2, 0); @@ -36047,7 +35242,7 @@ if (lean_is_scalar(x_2595)) { } lean_ctor_set(x_2621, 0, x_2601); lean_ctor_set(x_2621, 1, x_2620); -x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2601); if (lean_is_scalar(x_2591)) { x_2623 = lean_alloc_ctor(2, 2, 0); @@ -36063,7 +35258,7 @@ x_2624 = l_Lean_Syntax_node1(x_2601, x_2550, x_2527); lean_inc(x_2585); lean_inc(x_2601); x_2625 = l_Lean_Syntax_node3(x_2601, x_2550, x_2585, x_2623, x_2624); -x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2601); if (lean_is_scalar(x_2587)) { x_2627 = lean_alloc_ctor(2, 2, 0); @@ -36076,7 +35271,7 @@ lean_ctor_set(x_2627, 1, x_2626); x_2628 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2601); x_2629 = l_Lean_Syntax_node3(x_2601, x_2628, x_2621, x_2625, x_2627); -x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2601); if (lean_is_scalar(x_2566)) { x_2631 = lean_alloc_ctor(2, 2, 0); @@ -36101,7 +35296,7 @@ lean_ctor_set(x_2636, 3, x_2635); lean_inc(x_2596); lean_inc(x_2601); x_2637 = l_Lean_Syntax_node1(x_2601, x_2550, x_2596); -x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2601); x_2639 = l_Lean_Syntax_node2(x_2601, x_2638, x_2636, x_2637); x_2640 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -36111,7 +35306,7 @@ lean_inc(x_2524); lean_inc(x_2610); lean_inc(x_2601); x_2641 = l_Lean_Syntax_node8(x_2601, x_2640, x_2610, x_2612, x_2524, x_2614, x_2619, x_2629, x_2631, x_2639); -x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2601); if (lean_is_scalar(x_2549)) { x_2643 = lean_alloc_ctor(2, 2, 0); @@ -36121,7 +35316,7 @@ if (lean_is_scalar(x_2549)) { } lean_ctor_set(x_2643, 0, x_2601); lean_ctor_set(x_2643, 1, x_2642); -x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2524); if (lean_is_scalar(x_2545)) { x_2645 = lean_alloc_ctor(1, 2, 0); @@ -36133,18 +35328,18 @@ lean_ctor_set(x_2645, 0, x_2524); lean_ctor_set(x_2645, 1, x_2644); x_2646 = lean_array_mk(x_2645); x_2647 = lean_box(2); -x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2649 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2649, 0, x_2647); lean_ctor_set(x_2649, 1, x_2648); lean_ctor_set(x_2649, 2, x_2646); -x_2650 = l_Lake_DSL_buildDeclSig___closed__19; +x_2650 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2614); lean_inc(x_2601); x_2651 = l_Lean_Syntax_node2(x_2601, x_2650, x_2614, x_2589); lean_inc(x_2601); x_2652 = l_Lean_Syntax_node1(x_2601, x_2550, x_2651); -x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2610); lean_inc(x_2601); x_2654 = l_Lean_Syntax_node2(x_2601, x_2653, x_2610, x_2652); @@ -36164,20 +35359,20 @@ lean_inc(x_2601); x_2660 = l_Lean_Syntax_node4(x_2601, x_2550, x_2585, x_2527, x_2596, x_2522); lean_inc(x_2601); x_2661 = l_Lean_Syntax_node2(x_2601, x_2638, x_2659, x_2660); -x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2610, 2); lean_inc(x_2601); x_2663 = l_Lean_Syntax_node2(x_2601, x_2662, x_2610, x_2610); -x_2664 = l_Lake_DSL_buildDeclSig___closed__24; +x_2664 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2610); lean_inc(x_2663); lean_inc(x_2631); lean_inc(x_2601); x_2665 = l_Lean_Syntax_node4(x_2601, x_2664, x_2631, x_2661, x_2663, x_2610); -x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2601); x_2667 = l_Lean_Syntax_node4(x_2601, x_2666, x_2643, x_2649, x_2654, x_2665); -x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2601); if (lean_is_scalar(x_2540)) { x_2669 = lean_alloc_ctor(2, 2, 0); @@ -36196,7 +35391,7 @@ x_2672 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2672, 0, x_2601); lean_ctor_set(x_2672, 1, x_2550); lean_ctor_set(x_2672, 2, x_2671); -x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2601); if (lean_is_scalar(x_2536)) { x_2674 = lean_alloc_ctor(2, 2, 0); @@ -36206,12 +35401,12 @@ if (lean_is_scalar(x_2536)) { } lean_ctor_set(x_2674, 0, x_2601); lean_ctor_set(x_2674, 1, x_2673); -x_2675 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2675 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2601); x_2676 = l_Lean_Syntax_node3(x_2601, x_2675, x_2669, x_2672, x_2674); lean_inc(x_2601); x_2677 = l_Lean_Syntax_node1(x_2601, x_2550, x_2676); -x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2610, 5); lean_inc(x_2601); x_2679 = l_Lean_Syntax_node6(x_2601, x_2678, x_2610, x_2677, x_2610, x_2610, x_2610, x_2610); @@ -36283,13 +35478,13 @@ x_2705 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2610); lean_inc(x_2601); x_2706 = l_Lean_Syntax_node5(x_2601, x_2705, x_2681, x_2687, x_2695, x_2704, x_2610); -x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2601); x_2708 = l_Lean_Syntax_node2(x_2601, x_2707, x_2679, x_2706); if (lean_obj_tag(x_5) == 0) { lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; -x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2601); x_2710 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2710, 0, x_2601); @@ -36419,20 +35614,39 @@ static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed lean_exe declaration", 31, 31); +x_1 = lean_mk_string_unchecked("leanExeCommand", 14, 14); return x_1; } } static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_elabLeanExeCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed lean_exe declaration", 31, 31); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabLeanExeCommand___closed__1; +x_1 = l_Lake_DSL_elabLeanExeCommand___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__3() { +static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__5() { _start: { lean_object* x_1; @@ -36440,12 +35654,12 @@ x_1 = lean_mk_string_unchecked("LeanExeConfig", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__4() { +static lean_object* _init_l_Lake_DSL_elabLeanExeCommand___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_elabLeanExeCommand___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_elabLeanExeCommand___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } @@ -36454,13 +35668,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabLeanExeCommand(lean_object* x_1, lean_ob _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_leanExeCommand___closed__2; +x_5 = l_Lake_DSL_elabLeanExeCommand___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabLeanExeCommand___closed__2; +x_7 = l_Lake_DSL_elabLeanExeCommand___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -36603,7 +35817,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean x_30 = lean_ctor_get(x_2, 6); lean_dec(x_30); lean_ctor_set(x_2, 6, x_28); -x_31 = l_Lake_DSL_elabLeanExeCommand___closed__4; +x_31 = l_Lake_DSL_elabLeanExeCommand___closed__6; x_32 = l_Lake_LeanExe_keyword; x_33 = l_Lake_instTypeNameLeanExeDecl; lean_inc(x_3); @@ -36681,7 +35895,7 @@ lean_ctor_set(x_52, 6, x_28); lean_ctor_set(x_52, 7, x_49); lean_ctor_set(x_52, 8, x_50); lean_ctor_set_uint8(x_52, sizeof(void*)*9, x_51); -x_53 = l_Lake_DSL_elabLeanExeCommand___closed__4; +x_53 = l_Lake_DSL_elabLeanExeCommand___closed__6; x_54 = l_Lake_LeanExe_keyword; x_55 = l_Lake_instTypeNameLeanExeDecl; lean_inc(x_3); @@ -36751,7 +35965,7 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean x_74 = lean_ctor_get(x_2, 6); lean_dec(x_74); lean_ctor_set(x_2, 6, x_72); -x_75 = l_Lake_DSL_elabLeanExeCommand___closed__4; +x_75 = l_Lake_DSL_elabLeanExeCommand___closed__6; x_76 = l_Lake_LeanExe_keyword; x_77 = l_Lake_instTypeNameLeanExeDecl; lean_inc(x_3); @@ -36829,7 +36043,7 @@ lean_ctor_set(x_96, 6, x_72); lean_ctor_set(x_96, 7, x_93); lean_ctor_set(x_96, 8, x_94); lean_ctor_set_uint8(x_96, sizeof(void*)*9, x_95); -x_97 = l_Lake_DSL_elabLeanExeCommand___closed__4; +x_97 = l_Lake_DSL_elabLeanExeCommand___closed__6; x_98 = l_Lake_LeanExe_keyword; x_99 = l_Lake_instTypeNameLeanExeDecl; lean_inc(x_3); @@ -36905,8 +36119,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -36925,7 +36139,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__3; -x_3 = l_Lake_DSL_leanExeCommand___closed__2; +x_3 = l_Lake_DSL_elabLeanExeCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -36948,107 +36162,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("inputFileCommand", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_inputFileCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("input_file ", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_inputFileCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_inputFileCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_inputFileCommand___closed__5; -x_3 = l_Lake_DSL_leanLibCommand___closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_inputFileCommand___closed__6; -x_3 = l_Lake_DSL_optConfig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_inputFileCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_inputFileCommand___closed__7; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputFileCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_inputFileCommand___closed__8; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputfileCommand___spec__2___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, lean_object* x_10, lean_object* x_11) { _start: { @@ -37152,14 +36265,14 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_41, 1); x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_36); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_47, 6); lean_inc(x_36); x_49 = l_Lean_Syntax_node6(x_36, x_48, x_47, x_47, x_47, x_47, x_47, x_47); @@ -37168,34 +36281,34 @@ lean_inc(x_36); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_50); lean_ctor_set(x_41, 0, x_36); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_51); lean_ctor_set(x_37, 0, x_4); x_52 = lean_array_mk(x_37); -x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_32); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_36); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_buildDeclSig___closed__19; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_58 = l_Lean_Syntax_node2(x_36, x_57, x_56, x_5); lean_inc(x_36); x_59 = l_Lean_Syntax_node1(x_36, x_45, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_47); lean_inc(x_36); x_61 = l_Lean_Syntax_node2(x_36, x_60, x_47, x_59); x_62 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_63 = l_Lean_Syntax_node5(x_36, x_62, x_41, x_54, x_61, x_34, x_47); -x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_65 = l_Lean_Syntax_node2(x_36, x_64, x_49, x_63); lean_inc(x_65); x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37209,14 +36322,14 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_41, 1); lean_inc(x_68); lean_dec(x_41); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_36); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_71, 6); lean_inc(x_36); x_73 = l_Lean_Syntax_node6(x_36, x_72, x_71, x_71, x_71, x_71, x_71, x_71); @@ -37225,34 +36338,34 @@ lean_inc(x_36); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_76); lean_ctor_set(x_37, 0, x_4); x_77 = lean_array_mk(x_37); -x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_32); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_77); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lake_DSL_buildDeclSig___closed__19; +x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_83 = l_Lean_Syntax_node2(x_36, x_82, x_81, x_5); lean_inc(x_36); x_84 = l_Lean_Syntax_node1(x_36, x_69, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_71); lean_inc(x_36); x_86 = l_Lean_Syntax_node2(x_36, x_85, x_71, x_84); x_87 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_88 = l_Lean_Syntax_node5(x_36, x_87, x_75, x_79, x_86, x_34, x_71); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_90 = l_Lean_Syntax_node2(x_36, x_89, x_73, x_88); lean_inc(x_90); x_91 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37278,14 +36391,14 @@ if (lean_is_exclusive(x_94)) { lean_dec_ref(x_94); x_96 = lean_box(0); } -x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_36); lean_ctor_set(x_99, 1, x_97); lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_99, 6); lean_inc(x_36); x_101 = l_Lean_Syntax_node6(x_36, x_100, x_99, x_99, x_99, x_99, x_99, x_99); @@ -37299,34 +36412,34 @@ if (lean_is_scalar(x_96)) { } lean_ctor_set(x_103, 0, x_36); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_4); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_mk(x_105); -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_32); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_36); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lake_DSL_buildDeclSig___closed__19; +x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_112 = l_Lean_Syntax_node2(x_36, x_111, x_110, x_5); lean_inc(x_36); x_113 = l_Lean_Syntax_node1(x_36, x_97, x_112); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_99); lean_inc(x_36); x_115 = l_Lean_Syntax_node2(x_36, x_114, x_99, x_113); x_116 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_117 = l_Lean_Syntax_node5(x_36, x_116, x_103, x_108, x_115, x_34, x_99); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_119 = l_Lean_Syntax_node2(x_36, x_118, x_101, x_117); lean_inc(x_119); x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37386,14 +36499,14 @@ if (lean_is_exclusive(x_137)) { lean_dec_ref(x_137); x_139 = lean_box(0); } -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_133); x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_133); lean_ctor_set(x_142, 1, x_140); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_142, 6); lean_inc(x_133); x_144 = l_Lean_Syntax_node6(x_133, x_143, x_142, x_142, x_142, x_142, x_142, x_142); @@ -37407,7 +36520,7 @@ if (lean_is_scalar(x_139)) { } lean_ctor_set(x_146, 0, x_133); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; if (lean_is_scalar(x_136)) { x_148 = lean_alloc_ctor(1, 2, 0); } else { @@ -37417,29 +36530,29 @@ if (lean_is_scalar(x_136)) { lean_ctor_set(x_148, 0, x_4); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_mk(x_148); -x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_129); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_133); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_133); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lake_DSL_buildDeclSig___closed__19; +x_154 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_133); x_155 = l_Lean_Syntax_node2(x_133, x_154, x_153, x_5); lean_inc(x_133); x_156 = l_Lean_Syntax_node1(x_133, x_140, x_155); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_142); lean_inc(x_133); x_158 = l_Lean_Syntax_node2(x_133, x_157, x_142, x_156); x_159 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_133); x_160 = l_Lean_Syntax_node5(x_133, x_159, x_146, x_151, x_158, x_131, x_142); -x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_162 = l_Lean_Syntax_node2(x_133, x_161, x_144, x_160); lean_inc(x_162); x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37630,7 +36743,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_12); lean_dec(x_38); -x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -37733,7 +36846,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_12); lean_dec(x_62); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -37786,7 +36899,7 @@ lean_dec(x_13); x_78 = l_Lake_InputFileConfig_instConfigMeta; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; lean_inc(x_5); x_81 = l_Lake_DSL_mkConfigFields(x_1, x_79, x_80, x_5, x_6, x_7); lean_dec(x_79); @@ -37839,14 +36952,14 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 1); x_105 = lean_ctor_get(x_102, 0); lean_dec(x_105); -x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_106); lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_108, 6); lean_inc(x_97); x_110 = l_Lean_Syntax_node6(x_97, x_109, x_108, x_108, x_108, x_108, x_108, x_108); @@ -37860,29 +36973,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_112); lean_ctor_set(x_98, 0, x_2); x_113 = lean_array_mk(x_98); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_89); lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_116); lean_ctor_set(x_92, 0, x_97); -x_117 = l_Lake_DSL_buildDeclSig___closed__19; +x_117 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_118 = l_Lean_Syntax_node2(x_97, x_117, x_92, x_3); lean_inc(x_97); x_119 = l_Lean_Syntax_node1(x_97, x_106, x_118); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_108); lean_inc(x_97); x_121 = l_Lean_Syntax_node2(x_97, x_120, x_108, x_119); x_122 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_123 = l_Lean_Syntax_node5(x_97, x_122, x_102, x_115, x_121, x_91, x_108); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_125 = l_Lean_Syntax_node2(x_97, x_124, x_110, x_123); lean_inc(x_125); x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37896,14 +37009,14 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_128 = lean_ctor_get(x_102, 1); lean_inc(x_128); lean_dec(x_102); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_97); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_131, 6); lean_inc(x_97); x_133 = l_Lean_Syntax_node6(x_97, x_132, x_131, x_131, x_131, x_131, x_131, x_131); @@ -37917,29 +37030,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_136); lean_ctor_set(x_98, 0, x_2); x_137 = lean_array_mk(x_98); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_89); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_140); lean_ctor_set(x_92, 0, x_97); -x_141 = l_Lake_DSL_buildDeclSig___closed__19; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_142 = l_Lean_Syntax_node2(x_97, x_141, x_92, x_3); lean_inc(x_97); x_143 = l_Lean_Syntax_node1(x_97, x_129, x_142); -x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_131); lean_inc(x_97); x_145 = l_Lean_Syntax_node2(x_97, x_144, x_131, x_143); x_146 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_147 = l_Lean_Syntax_node5(x_97, x_146, x_135, x_139, x_145, x_91, x_131); -x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_149 = l_Lean_Syntax_node2(x_97, x_148, x_133, x_147); lean_inc(x_149); x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -37965,14 +37078,14 @@ if (lean_is_exclusive(x_153)) { lean_dec_ref(x_153); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_158 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_158, 0, x_97); lean_ctor_set(x_158, 1, x_156); lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_158, 6); lean_inc(x_97); x_160 = l_Lean_Syntax_node6(x_97, x_159, x_158, x_158, x_158, x_158, x_158, x_158); @@ -37991,29 +37104,29 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_2); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_mk(x_164); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_89); lean_ctor_set(x_167, 1, x_166); lean_ctor_set(x_167, 2, x_165); -x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_168); lean_ctor_set(x_92, 0, x_97); -x_169 = l_Lake_DSL_buildDeclSig___closed__19; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_170 = l_Lean_Syntax_node2(x_97, x_169, x_92, x_3); lean_inc(x_97); x_171 = l_Lean_Syntax_node1(x_97, x_156, x_170); -x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_158); lean_inc(x_97); x_173 = l_Lean_Syntax_node2(x_97, x_172, x_158, x_171); x_174 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_175 = l_Lean_Syntax_node5(x_97, x_174, x_162, x_167, x_173, x_91, x_158); -x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_177 = l_Lean_Syntax_node2(x_97, x_176, x_160, x_175); lean_inc(x_177); x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -38055,14 +37168,14 @@ if (lean_is_exclusive(x_187)) { lean_dec_ref(x_187); x_189 = lean_box(0); } -x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_183); x_192 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_192, 0, x_183); lean_ctor_set(x_192, 1, x_190); lean_ctor_set(x_192, 2, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_192, 6); lean_inc(x_183); x_194 = l_Lean_Syntax_node6(x_183, x_193, x_192, x_192, x_192, x_192, x_192, x_192); @@ -38086,29 +37199,29 @@ if (lean_is_scalar(x_186)) { lean_ctor_set(x_198, 0, x_2); lean_ctor_set(x_198, 1, x_197); x_199 = lean_array_mk(x_198); -x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_89); lean_ctor_set(x_201, 1, x_200); lean_ctor_set(x_201, 2, x_199); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_183); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_183); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_buildDeclSig___closed__19; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_183); x_205 = l_Lean_Syntax_node2(x_183, x_204, x_203, x_3); lean_inc(x_183); x_206 = l_Lean_Syntax_node1(x_183, x_190, x_205); -x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_192); lean_inc(x_183); x_208 = l_Lean_Syntax_node2(x_183, x_207, x_192, x_206); x_209 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_183); x_210 = l_Lean_Syntax_node5(x_183, x_209, x_196, x_201, x_208, x_91, x_192); -x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_212 = l_Lean_Syntax_node2(x_183, x_211, x_194, x_210); lean_inc(x_212); x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -38246,14 +37359,14 @@ if (x_54 == 0) 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; lean_object* x_70; uint8_t x_71; x_55 = lean_ctor_get(x_53, 0); x_56 = lean_ctor_get(x_53, 1); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_59 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_59, 0, x_48); lean_ctor_set(x_59, 1, x_57); lean_ctor_set(x_59, 2, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_59); lean_inc(x_48); x_61 = l_Lean_Syntax_node1(x_48, x_60, x_59); @@ -38266,10 +37379,10 @@ lean_ctor_set(x_65, 0, x_48); lean_ctor_set(x_65, 1, x_64); lean_ctor_set(x_65, 2, x_63); lean_ctor_set(x_65, 3, x_28); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_67 = l_Lean_Syntax_node2(x_48, x_66, x_65, x_59); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_69 = l_Lean_Syntax_node2(x_48, x_68, x_61, x_67); x_70 = l_Lean_Elab_Command_getRef(x_9, x_10, x_56); x_71 = !lean_is_exclusive(x_70); @@ -38374,7 +37487,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_117); lean_ctor_set(x_109, 0, x_108); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_118); @@ -38391,12 +37504,12 @@ lean_ctor_set(x_123, 0, x_108); lean_ctor_set(x_123, 1, x_121); lean_ctor_set(x_123, 2, x_120); lean_ctor_set(x_123, 3, x_122); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_124); lean_ctor_set(x_99, 0, x_108); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_125); @@ -38407,7 +37520,7 @@ x_126 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_127 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_126); -x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_128); @@ -38415,7 +37528,7 @@ lean_ctor_set(x_91, 0, x_108); x_129 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_130 = l_Lean_Syntax_node3(x_108, x_129, x_99, x_127, x_91); -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_131); @@ -38435,7 +37548,7 @@ lean_ctor_set(x_136, 3, x_135); lean_inc(x_103); lean_inc(x_108); x_137 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_139 = l_Lean_Syntax_node2(x_108, x_138, x_136, x_137); x_140 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -38445,30 +37558,30 @@ lean_inc(x_32); lean_inc(x_116); lean_inc(x_108); x_141 = l_Lean_Syntax_node8(x_108, x_140, x_116, x_109, x_32, x_104, x_123, x_130, x_70, x_139); -x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_142); lean_ctor_set(x_53, 0, x_108); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_143); lean_ctor_set(x_49, 0, x_32); x_144 = lean_array_mk(x_49); x_145 = lean_box(2); -x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); lean_ctor_set(x_147, 2, x_144); -x_148 = l_Lake_DSL_buildDeclSig___closed__19; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_149 = l_Lean_Syntax_node2(x_108, x_148, x_104, x_97); lean_inc(x_108); x_150 = l_Lean_Syntax_node1(x_108, x_57, x_149); -x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_116); lean_inc(x_108); x_152 = l_Lean_Syntax_node2(x_108, x_151, x_116, x_150); @@ -38488,20 +37601,20 @@ lean_inc(x_108); x_158 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_159 = l_Lean_Syntax_node2(x_108, x_138, x_157, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_116, 2); lean_inc(x_108); x_161 = l_Lean_Syntax_node2(x_108, x_160, x_116, x_116); -x_162 = l_Lake_DSL_buildDeclSig___closed__24; +x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_116); lean_inc(x_161); lean_inc(x_70); lean_inc(x_108); x_163 = l_Lean_Syntax_node4(x_108, x_162, x_70, x_159, x_161, x_116); -x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_165 = l_Lean_Syntax_node4(x_108, x_164, x_53, x_147, x_152, x_163); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_166); @@ -38515,17 +37628,17 @@ x_169 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_169, 0, x_108); lean_ctor_set(x_169, 1, x_57); lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_170); lean_ctor_set(x_40, 0, x_108); -x_171 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_172 = l_Lean_Syntax_node3(x_108, x_171, x_44, x_169, x_40); lean_inc(x_108); x_173 = l_Lean_Syntax_node1(x_108, x_57, x_172); -x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_116, 5); lean_inc(x_108); x_175 = l_Lean_Syntax_node6(x_108, x_174, x_116, x_173, x_116, x_116, x_116, x_116); @@ -38592,13 +37705,13 @@ x_199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_116); lean_inc(x_108); x_200 = l_Lean_Syntax_node5(x_108, x_199, x_18, x_182, x_190, x_198, x_116); -x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_202 = l_Lean_Syntax_node2(x_108, x_201, x_175, x_200); if (lean_obj_tag(x_5) == 0) { lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_108); @@ -38655,7 +37768,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_218); lean_ctor_set(x_109, 0, x_108); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_219); @@ -38672,12 +37785,12 @@ lean_ctor_set(x_224, 0, x_108); lean_ctor_set(x_224, 1, x_222); lean_ctor_set(x_224, 2, x_221); lean_ctor_set(x_224, 3, x_223); -x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_225); lean_ctor_set(x_99, 0, x_108); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_226); @@ -38688,7 +37801,7 @@ x_227 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_228 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_227); -x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_229); @@ -38696,7 +37809,7 @@ lean_ctor_set(x_91, 0, x_108); x_230 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_231 = l_Lean_Syntax_node3(x_108, x_230, x_99, x_228, x_91); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_232); @@ -38716,7 +37829,7 @@ lean_ctor_set(x_237, 3, x_236); lean_inc(x_103); lean_inc(x_108); x_238 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_240 = l_Lean_Syntax_node2(x_108, x_239, x_237, x_238); x_241 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -38726,30 +37839,30 @@ lean_inc(x_32); lean_inc(x_217); lean_inc(x_108); x_242 = l_Lean_Syntax_node8(x_108, x_241, x_217, x_109, x_32, x_104, x_224, x_231, x_70, x_240); -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_243); lean_ctor_set(x_53, 0, x_108); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_244); lean_ctor_set(x_49, 0, x_32); x_245 = lean_array_mk(x_49); x_246 = lean_box(2); -x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_248 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_248, 0, x_246); lean_ctor_set(x_248, 1, x_247); lean_ctor_set(x_248, 2, x_245); -x_249 = l_Lake_DSL_buildDeclSig___closed__19; +x_249 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_250 = l_Lean_Syntax_node2(x_108, x_249, x_104, x_97); lean_inc(x_108); x_251 = l_Lean_Syntax_node1(x_108, x_57, x_250); -x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_217); lean_inc(x_108); x_253 = l_Lean_Syntax_node2(x_108, x_252, x_217, x_251); @@ -38769,20 +37882,20 @@ lean_inc(x_108); x_259 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_260 = l_Lean_Syntax_node2(x_108, x_239, x_258, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_217, 2); lean_inc(x_108); x_262 = l_Lean_Syntax_node2(x_108, x_261, x_217, x_217); -x_263 = l_Lake_DSL_buildDeclSig___closed__24; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_217); lean_inc(x_262); lean_inc(x_70); lean_inc(x_108); x_264 = l_Lean_Syntax_node4(x_108, x_263, x_70, x_260, x_262, x_217); -x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_266 = l_Lean_Syntax_node4(x_108, x_265, x_53, x_248, x_253, x_264); -x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_267); @@ -38796,17 +37909,17 @@ x_270 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_270, 0, x_108); lean_ctor_set(x_270, 1, x_57); lean_ctor_set(x_270, 2, x_269); -x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_271); lean_ctor_set(x_40, 0, x_108); -x_272 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_273 = l_Lean_Syntax_node3(x_108, x_272, x_44, x_270, x_40); lean_inc(x_108); x_274 = l_Lean_Syntax_node1(x_108, x_57, x_273); -x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_217, 5); lean_inc(x_108); x_276 = l_Lean_Syntax_node6(x_108, x_275, x_217, x_274, x_217, x_217, x_217, x_217); @@ -38873,13 +37986,13 @@ x_300 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_217); lean_inc(x_108); x_301 = l_Lean_Syntax_node5(x_108, x_300, x_18, x_283, x_291, x_299, x_217); -x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_303 = l_Lean_Syntax_node2(x_108, x_302, x_276, x_301); if (lean_obj_tag(x_5) == 0) { lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_305 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_305, 0, x_108); @@ -38955,7 +38068,7 @@ lean_inc(x_108); x_326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_326, 0, x_108); lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_327); @@ -38972,12 +38085,12 @@ lean_ctor_set(x_332, 0, x_108); lean_ctor_set(x_332, 1, x_330); lean_ctor_set(x_332, 2, x_329); lean_ctor_set(x_332, 3, x_331); -x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_333); lean_ctor_set(x_99, 0, x_108); -x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_334); @@ -38988,7 +38101,7 @@ x_335 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_336 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_335); -x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_337); @@ -38996,7 +38109,7 @@ lean_ctor_set(x_91, 0, x_108); x_338 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_339 = l_Lean_Syntax_node3(x_108, x_338, x_99, x_336, x_91); -x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_340); @@ -39016,7 +38129,7 @@ lean_ctor_set(x_345, 3, x_344); lean_inc(x_103); lean_inc(x_108); x_346 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_348 = l_Lean_Syntax_node2(x_108, x_347, x_345, x_346); x_349 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -39026,30 +38139,30 @@ lean_inc(x_32); lean_inc(x_324); lean_inc(x_108); x_350 = l_Lean_Syntax_node8(x_108, x_349, x_324, x_326, x_32, x_104, x_332, x_339, x_70, x_348); -x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_351); lean_ctor_set(x_53, 0, x_108); -x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_352); lean_ctor_set(x_49, 0, x_32); x_353 = lean_array_mk(x_49); x_354 = lean_box(2); -x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_356 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); lean_ctor_set(x_356, 2, x_353); -x_357 = l_Lake_DSL_buildDeclSig___closed__19; +x_357 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_358 = l_Lean_Syntax_node2(x_108, x_357, x_104, x_97); lean_inc(x_108); x_359 = l_Lean_Syntax_node1(x_108, x_57, x_358); -x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_324); lean_inc(x_108); x_361 = l_Lean_Syntax_node2(x_108, x_360, x_324, x_359); @@ -39069,20 +38182,20 @@ lean_inc(x_108); x_367 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_368 = l_Lean_Syntax_node2(x_108, x_347, x_366, x_367); -x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_324, 2); lean_inc(x_108); x_370 = l_Lean_Syntax_node2(x_108, x_369, x_324, x_324); -x_371 = l_Lake_DSL_buildDeclSig___closed__24; +x_371 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_324); lean_inc(x_370); lean_inc(x_70); lean_inc(x_108); x_372 = l_Lean_Syntax_node4(x_108, x_371, x_70, x_368, x_370, x_324); -x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_374 = l_Lean_Syntax_node4(x_108, x_373, x_53, x_356, x_361, x_372); -x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_375); @@ -39096,17 +38209,17 @@ x_378 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_378, 0, x_108); lean_ctor_set(x_378, 1, x_57); lean_ctor_set(x_378, 2, x_377); -x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_379); lean_ctor_set(x_40, 0, x_108); -x_380 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_381 = l_Lean_Syntax_node3(x_108, x_380, x_44, x_378, x_40); lean_inc(x_108); x_382 = l_Lean_Syntax_node1(x_108, x_57, x_381); -x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_324, 5); lean_inc(x_108); x_384 = l_Lean_Syntax_node6(x_108, x_383, x_324, x_382, x_324, x_324, x_324, x_324); @@ -39173,13 +38286,13 @@ x_408 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_324); lean_inc(x_108); x_409 = l_Lean_Syntax_node5(x_108, x_408, x_18, x_391, x_399, x_407, x_324); -x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_411 = l_Lean_Syntax_node2(x_108, x_410, x_384, x_409); if (lean_obj_tag(x_5) == 0) { lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_413 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_413, 0, x_108); @@ -39284,7 +38397,7 @@ if (lean_is_scalar(x_432)) { } lean_ctor_set(x_439, 0, x_428); lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_428); x_441 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_441, 0, x_428); @@ -39301,12 +38414,12 @@ lean_ctor_set(x_446, 0, x_428); lean_ctor_set(x_446, 1, x_444); lean_ctor_set(x_446, 2, x_443); lean_ctor_set(x_446, 3, x_445); -x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_428); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_447); lean_ctor_set(x_99, 0, x_428); -x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_428); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_448); @@ -39317,7 +38430,7 @@ x_449 = l_Lean_Syntax_node1(x_428, x_57, x_35); lean_inc(x_93); lean_inc(x_428); x_450 = l_Lean_Syntax_node3(x_428, x_57, x_93, x_95, x_449); -x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_428); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_451); @@ -39325,7 +38438,7 @@ lean_ctor_set(x_91, 0, x_428); x_452 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_428); x_453 = l_Lean_Syntax_node3(x_428, x_452, x_99, x_450, x_91); -x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_428); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_454); @@ -39345,7 +38458,7 @@ lean_ctor_set(x_459, 3, x_458); lean_inc(x_103); lean_inc(x_428); x_460 = l_Lean_Syntax_node1(x_428, x_57, x_103); -x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_428); x_462 = l_Lean_Syntax_node2(x_428, x_461, x_459, x_460); x_463 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -39355,30 +38468,30 @@ lean_inc(x_32); lean_inc(x_437); lean_inc(x_428); x_464 = l_Lean_Syntax_node8(x_428, x_463, x_437, x_439, x_32, x_441, x_446, x_453, x_70, x_462); -x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_428); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_465); lean_ctor_set(x_53, 0, x_428); -x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_466); lean_ctor_set(x_49, 0, x_32); x_467 = lean_array_mk(x_49); x_468 = lean_box(2); -x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_470 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_470, 0, x_468); lean_ctor_set(x_470, 1, x_469); lean_ctor_set(x_470, 2, x_467); -x_471 = l_Lake_DSL_buildDeclSig___closed__19; +x_471 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_441); lean_inc(x_428); x_472 = l_Lean_Syntax_node2(x_428, x_471, x_441, x_97); lean_inc(x_428); x_473 = l_Lean_Syntax_node1(x_428, x_57, x_472); -x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_437); lean_inc(x_428); x_475 = l_Lean_Syntax_node2(x_428, x_474, x_437, x_473); @@ -39398,20 +38511,20 @@ lean_inc(x_428); x_481 = l_Lean_Syntax_node4(x_428, x_57, x_93, x_35, x_103, x_30); lean_inc(x_428); x_482 = l_Lean_Syntax_node2(x_428, x_461, x_480, x_481); -x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_437, 2); lean_inc(x_428); x_484 = l_Lean_Syntax_node2(x_428, x_483, x_437, x_437); -x_485 = l_Lake_DSL_buildDeclSig___closed__24; +x_485 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_437); lean_inc(x_484); lean_inc(x_70); lean_inc(x_428); x_486 = l_Lean_Syntax_node4(x_428, x_485, x_70, x_482, x_484, x_437); -x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_428); x_488 = l_Lean_Syntax_node4(x_428, x_487, x_53, x_470, x_475, x_486); -x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_428); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_489); @@ -39425,17 +38538,17 @@ x_492 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_492, 0, x_428); lean_ctor_set(x_492, 1, x_57); lean_ctor_set(x_492, 2, x_491); -x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_428); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_493); lean_ctor_set(x_40, 0, x_428); -x_494 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_428); x_495 = l_Lean_Syntax_node3(x_428, x_494, x_44, x_492, x_40); lean_inc(x_428); x_496 = l_Lean_Syntax_node1(x_428, x_57, x_495); -x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_437, 5); lean_inc(x_428); x_498 = l_Lean_Syntax_node6(x_428, x_497, x_437, x_496, x_437, x_437, x_437, x_437); @@ -39502,13 +38615,13 @@ x_522 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_437); lean_inc(x_428); x_523 = l_Lean_Syntax_node5(x_428, x_522, x_18, x_505, x_513, x_521, x_437); -x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_428); x_525 = l_Lean_Syntax_node2(x_428, x_524, x_498, x_523); if (lean_obj_tag(x_5) == 0) { lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_428); x_527 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_527, 0, x_428); @@ -39627,7 +38740,7 @@ if (lean_is_scalar(x_551)) { } lean_ctor_set(x_558, 0, x_547); lean_ctor_set(x_558, 1, x_557); -x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_547); if (lean_is_scalar(x_546)) { x_560 = lean_alloc_ctor(2, 2, 0); @@ -39649,12 +38762,12 @@ lean_ctor_set(x_565, 0, x_547); lean_ctor_set(x_565, 1, x_563); lean_ctor_set(x_565, 2, x_562); lean_ctor_set(x_565, 3, x_564); -x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_547); x_567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_567, 0, x_547); lean_ctor_set(x_567, 1, x_566); -x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_547); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_568); @@ -39665,7 +38778,7 @@ x_569 = l_Lean_Syntax_node1(x_547, x_57, x_35); lean_inc(x_93); lean_inc(x_547); x_570 = l_Lean_Syntax_node3(x_547, x_57, x_93, x_95, x_569); -x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_547); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_571); @@ -39673,7 +38786,7 @@ lean_ctor_set(x_91, 0, x_547); x_572 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_547); x_573 = l_Lean_Syntax_node3(x_547, x_572, x_567, x_570, x_91); -x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_547); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_574); @@ -39693,7 +38806,7 @@ lean_ctor_set(x_579, 3, x_578); lean_inc(x_542); lean_inc(x_547); x_580 = l_Lean_Syntax_node1(x_547, x_57, x_542); -x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_547); x_582 = l_Lean_Syntax_node2(x_547, x_581, x_579, x_580); x_583 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -39703,30 +38816,30 @@ lean_inc(x_32); lean_inc(x_556); lean_inc(x_547); x_584 = l_Lean_Syntax_node8(x_547, x_583, x_556, x_558, x_32, x_560, x_565, x_573, x_70, x_582); -x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_547); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_585); lean_ctor_set(x_53, 0, x_547); -x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_586); lean_ctor_set(x_49, 0, x_32); x_587 = lean_array_mk(x_49); x_588 = lean_box(2); -x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_590 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_590, 0, x_588); lean_ctor_set(x_590, 1, x_589); lean_ctor_set(x_590, 2, x_587); -x_591 = l_Lake_DSL_buildDeclSig___closed__19; +x_591 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_560); lean_inc(x_547); x_592 = l_Lean_Syntax_node2(x_547, x_591, x_560, x_97); lean_inc(x_547); x_593 = l_Lean_Syntax_node1(x_547, x_57, x_592); -x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_556); lean_inc(x_547); x_595 = l_Lean_Syntax_node2(x_547, x_594, x_556, x_593); @@ -39746,20 +38859,20 @@ lean_inc(x_547); x_601 = l_Lean_Syntax_node4(x_547, x_57, x_93, x_35, x_542, x_30); lean_inc(x_547); x_602 = l_Lean_Syntax_node2(x_547, x_581, x_600, x_601); -x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_556, 2); lean_inc(x_547); x_604 = l_Lean_Syntax_node2(x_547, x_603, x_556, x_556); -x_605 = l_Lake_DSL_buildDeclSig___closed__24; +x_605 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_556); lean_inc(x_604); lean_inc(x_70); lean_inc(x_547); x_606 = l_Lean_Syntax_node4(x_547, x_605, x_70, x_602, x_604, x_556); -x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_547); x_608 = l_Lean_Syntax_node4(x_547, x_607, x_53, x_590, x_595, x_606); -x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_547); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_609); @@ -39773,17 +38886,17 @@ x_612 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_612, 0, x_547); lean_ctor_set(x_612, 1, x_57); lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_547); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_613); lean_ctor_set(x_40, 0, x_547); -x_614 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_547); x_615 = l_Lean_Syntax_node3(x_547, x_614, x_44, x_612, x_40); lean_inc(x_547); x_616 = l_Lean_Syntax_node1(x_547, x_57, x_615); -x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_556, 5); lean_inc(x_547); x_618 = l_Lean_Syntax_node6(x_547, x_617, x_556, x_616, x_556, x_556, x_556, x_556); @@ -39850,13 +38963,13 @@ x_642 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_556); lean_inc(x_547); x_643 = l_Lean_Syntax_node5(x_547, x_642, x_18, x_625, x_633, x_641, x_556); -x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_547); x_645 = l_Lean_Syntax_node2(x_547, x_644, x_618, x_643); if (lean_obj_tag(x_5) == 0) { lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_547); x_647 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_647, 0, x_547); @@ -39988,7 +39101,7 @@ if (lean_is_scalar(x_675)) { } lean_ctor_set(x_682, 0, x_671); lean_ctor_set(x_682, 1, x_681); -x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_671); if (lean_is_scalar(x_670)) { x_684 = lean_alloc_ctor(2, 2, 0); @@ -40010,7 +39123,7 @@ lean_ctor_set(x_689, 0, x_671); lean_ctor_set(x_689, 1, x_687); lean_ctor_set(x_689, 2, x_686); lean_ctor_set(x_689, 3, x_688); -x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_671); if (lean_is_scalar(x_665)) { x_691 = lean_alloc_ctor(2, 2, 0); @@ -40020,7 +39133,7 @@ if (lean_is_scalar(x_665)) { } lean_ctor_set(x_691, 0, x_671); lean_ctor_set(x_691, 1, x_690); -x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_671); x_693 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_693, 0, x_671); @@ -40031,7 +39144,7 @@ x_694 = l_Lean_Syntax_node1(x_671, x_57, x_35); lean_inc(x_93); lean_inc(x_671); x_695 = l_Lean_Syntax_node3(x_671, x_57, x_93, x_693, x_694); -x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_671); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_696); @@ -40039,7 +39152,7 @@ lean_ctor_set(x_91, 0, x_671); x_697 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_671); x_698 = l_Lean_Syntax_node3(x_671, x_697, x_691, x_695, x_91); -x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_671); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_699); @@ -40059,7 +39172,7 @@ lean_ctor_set(x_704, 3, x_703); lean_inc(x_666); lean_inc(x_671); x_705 = l_Lean_Syntax_node1(x_671, x_57, x_666); -x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_671); x_707 = l_Lean_Syntax_node2(x_671, x_706, x_704, x_705); x_708 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -40069,30 +39182,30 @@ lean_inc(x_32); lean_inc(x_680); lean_inc(x_671); x_709 = l_Lean_Syntax_node8(x_671, x_708, x_680, x_682, x_32, x_684, x_689, x_698, x_70, x_707); -x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_671); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_710); lean_ctor_set(x_53, 0, x_671); -x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_711); lean_ctor_set(x_49, 0, x_32); x_712 = lean_array_mk(x_49); x_713 = lean_box(2); -x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_715 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_715, 0, x_713); lean_ctor_set(x_715, 1, x_714); lean_ctor_set(x_715, 2, x_712); -x_716 = l_Lake_DSL_buildDeclSig___closed__19; +x_716 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_684); lean_inc(x_671); x_717 = l_Lean_Syntax_node2(x_671, x_716, x_684, x_660); lean_inc(x_671); x_718 = l_Lean_Syntax_node1(x_671, x_57, x_717); -x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_680); lean_inc(x_671); x_720 = l_Lean_Syntax_node2(x_671, x_719, x_680, x_718); @@ -40112,20 +39225,20 @@ lean_inc(x_671); x_726 = l_Lean_Syntax_node4(x_671, x_57, x_93, x_35, x_666, x_30); lean_inc(x_671); x_727 = l_Lean_Syntax_node2(x_671, x_706, x_725, x_726); -x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_680, 2); lean_inc(x_671); x_729 = l_Lean_Syntax_node2(x_671, x_728, x_680, x_680); -x_730 = l_Lake_DSL_buildDeclSig___closed__24; +x_730 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_680); lean_inc(x_729); lean_inc(x_70); lean_inc(x_671); x_731 = l_Lean_Syntax_node4(x_671, x_730, x_70, x_727, x_729, x_680); -x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_671); x_733 = l_Lean_Syntax_node4(x_671, x_732, x_53, x_715, x_720, x_731); -x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_671); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_734); @@ -40139,17 +39252,17 @@ x_737 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_737, 0, x_671); lean_ctor_set(x_737, 1, x_57); lean_ctor_set(x_737, 2, x_736); -x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_671); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_738); lean_ctor_set(x_40, 0, x_671); -x_739 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_671); x_740 = l_Lean_Syntax_node3(x_671, x_739, x_44, x_737, x_40); lean_inc(x_671); x_741 = l_Lean_Syntax_node1(x_671, x_57, x_740); -x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_680, 5); lean_inc(x_671); x_743 = l_Lean_Syntax_node6(x_671, x_742, x_680, x_741, x_680, x_680, x_680, x_680); @@ -40216,13 +39329,13 @@ x_767 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_680); lean_inc(x_671); x_768 = l_Lean_Syntax_node5(x_671, x_767, x_18, x_750, x_758, x_766, x_680); -x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_671); x_770 = l_Lean_Syntax_node2(x_671, x_769, x_743, x_768); if (lean_obj_tag(x_5) == 0) { lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_671); x_772 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_772, 0, x_671); @@ -40367,7 +39480,7 @@ if (lean_is_scalar(x_804)) { } lean_ctor_set(x_811, 0, x_800); lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_800); if (lean_is_scalar(x_799)) { x_813 = lean_alloc_ctor(2, 2, 0); @@ -40389,7 +39502,7 @@ lean_ctor_set(x_818, 0, x_800); lean_ctor_set(x_818, 1, x_816); lean_ctor_set(x_818, 2, x_815); lean_ctor_set(x_818, 3, x_817); -x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_800); if (lean_is_scalar(x_794)) { x_820 = lean_alloc_ctor(2, 2, 0); @@ -40399,7 +39512,7 @@ if (lean_is_scalar(x_794)) { } lean_ctor_set(x_820, 0, x_800); lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_800); if (lean_is_scalar(x_790)) { x_822 = lean_alloc_ctor(2, 2, 0); @@ -40415,7 +39528,7 @@ x_823 = l_Lean_Syntax_node1(x_800, x_57, x_35); lean_inc(x_785); lean_inc(x_800); x_824 = l_Lean_Syntax_node3(x_800, x_57, x_785, x_822, x_823); -x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_800); x_826 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_826, 0, x_800); @@ -40423,7 +39536,7 @@ lean_ctor_set(x_826, 1, x_825); x_827 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_800); x_828 = l_Lean_Syntax_node3(x_800, x_827, x_820, x_824, x_826); -x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_800); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_829); @@ -40443,7 +39556,7 @@ lean_ctor_set(x_834, 3, x_833); lean_inc(x_795); lean_inc(x_800); x_835 = l_Lean_Syntax_node1(x_800, x_57, x_795); -x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_800); x_837 = l_Lean_Syntax_node2(x_800, x_836, x_834, x_835); x_838 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -40453,30 +39566,30 @@ lean_inc(x_32); lean_inc(x_809); lean_inc(x_800); x_839 = l_Lean_Syntax_node8(x_800, x_838, x_809, x_811, x_32, x_813, x_818, x_828, x_70, x_837); -x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_800); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_840); lean_ctor_set(x_53, 0, x_800); -x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_841); lean_ctor_set(x_49, 0, x_32); x_842 = lean_array_mk(x_49); x_843 = lean_box(2); -x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_845 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_845, 0, x_843); lean_ctor_set(x_845, 1, x_844); lean_ctor_set(x_845, 2, x_842); -x_846 = l_Lake_DSL_buildDeclSig___closed__19; +x_846 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_813); lean_inc(x_800); x_847 = l_Lean_Syntax_node2(x_800, x_846, x_813, x_788); lean_inc(x_800); x_848 = l_Lean_Syntax_node1(x_800, x_57, x_847); -x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_809); lean_inc(x_800); x_850 = l_Lean_Syntax_node2(x_800, x_849, x_809, x_848); @@ -40496,20 +39609,20 @@ lean_inc(x_800); x_856 = l_Lean_Syntax_node4(x_800, x_57, x_785, x_35, x_795, x_30); lean_inc(x_800); x_857 = l_Lean_Syntax_node2(x_800, x_836, x_855, x_856); -x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_809, 2); lean_inc(x_800); x_859 = l_Lean_Syntax_node2(x_800, x_858, x_809, x_809); -x_860 = l_Lake_DSL_buildDeclSig___closed__24; +x_860 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_809); lean_inc(x_859); lean_inc(x_70); lean_inc(x_800); x_861 = l_Lean_Syntax_node4(x_800, x_860, x_70, x_857, x_859, x_809); -x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_800); x_863 = l_Lean_Syntax_node4(x_800, x_862, x_53, x_845, x_850, x_861); -x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_800); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_864); @@ -40523,17 +39636,17 @@ x_867 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_867, 0, x_800); lean_ctor_set(x_867, 1, x_57); lean_ctor_set(x_867, 2, x_866); -x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_800); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_868); lean_ctor_set(x_40, 0, x_800); -x_869 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_800); x_870 = l_Lean_Syntax_node3(x_800, x_869, x_44, x_867, x_40); lean_inc(x_800); x_871 = l_Lean_Syntax_node1(x_800, x_57, x_870); -x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_809, 5); lean_inc(x_800); x_873 = l_Lean_Syntax_node6(x_800, x_872, x_809, x_871, x_809, x_809, x_809, x_809); @@ -40600,13 +39713,13 @@ x_897 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_809); lean_inc(x_800); x_898 = l_Lean_Syntax_node5(x_800, x_897, x_18, x_880, x_888, x_896, x_809); -x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_800); x_900 = l_Lean_Syntax_node2(x_800, x_899, x_873, x_898); if (lean_obj_tag(x_5) == 0) { lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_800); x_902 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_902, 0, x_800); @@ -40784,7 +39897,7 @@ if (lean_is_scalar(x_946)) { } lean_ctor_set(x_953, 0, x_942); lean_ctor_set(x_953, 1, x_952); -x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_942); if (lean_is_scalar(x_941)) { x_955 = lean_alloc_ctor(2, 2, 0); @@ -40806,7 +39919,7 @@ lean_ctor_set(x_960, 0, x_942); lean_ctor_set(x_960, 1, x_958); lean_ctor_set(x_960, 2, x_957); lean_ctor_set(x_960, 3, x_959); -x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_942); if (lean_is_scalar(x_936)) { x_962 = lean_alloc_ctor(2, 2, 0); @@ -40816,7 +39929,7 @@ if (lean_is_scalar(x_936)) { } lean_ctor_set(x_962, 0, x_942); lean_ctor_set(x_962, 1, x_961); -x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_942); if (lean_is_scalar(x_932)) { x_964 = lean_alloc_ctor(2, 2, 0); @@ -40832,7 +39945,7 @@ x_965 = l_Lean_Syntax_node1(x_942, x_57, x_35); lean_inc(x_926); lean_inc(x_942); x_966 = l_Lean_Syntax_node3(x_942, x_57, x_926, x_964, x_965); -x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_942); if (lean_is_scalar(x_928)) { x_968 = lean_alloc_ctor(2, 2, 0); @@ -40845,7 +39958,7 @@ lean_ctor_set(x_968, 1, x_967); x_969 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_942); x_970 = l_Lean_Syntax_node3(x_942, x_969, x_962, x_966, x_968); -x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_942); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_971); @@ -40865,7 +39978,7 @@ lean_ctor_set(x_976, 3, x_975); lean_inc(x_937); lean_inc(x_942); x_977 = l_Lean_Syntax_node1(x_942, x_57, x_937); -x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_942); x_979 = l_Lean_Syntax_node2(x_942, x_978, x_976, x_977); x_980 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -40875,30 +39988,30 @@ lean_inc(x_32); lean_inc(x_951); lean_inc(x_942); x_981 = l_Lean_Syntax_node8(x_942, x_980, x_951, x_953, x_32, x_955, x_960, x_970, x_70, x_979); -x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_942); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_982); lean_ctor_set(x_53, 0, x_942); -x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_983); lean_ctor_set(x_49, 0, x_32); x_984 = lean_array_mk(x_49); x_985 = lean_box(2); -x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_987 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_987, 0, x_985); lean_ctor_set(x_987, 1, x_986); lean_ctor_set(x_987, 2, x_984); -x_988 = l_Lake_DSL_buildDeclSig___closed__19; +x_988 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_955); lean_inc(x_942); x_989 = l_Lean_Syntax_node2(x_942, x_988, x_955, x_930); lean_inc(x_942); x_990 = l_Lean_Syntax_node1(x_942, x_57, x_989); -x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_951); lean_inc(x_942); x_992 = l_Lean_Syntax_node2(x_942, x_991, x_951, x_990); @@ -40918,20 +40031,20 @@ lean_inc(x_942); x_998 = l_Lean_Syntax_node4(x_942, x_57, x_926, x_35, x_937, x_30); lean_inc(x_942); x_999 = l_Lean_Syntax_node2(x_942, x_978, x_997, x_998); -x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_951, 2); lean_inc(x_942); x_1001 = l_Lean_Syntax_node2(x_942, x_1000, x_951, x_951); -x_1002 = l_Lake_DSL_buildDeclSig___closed__24; +x_1002 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_951); lean_inc(x_1001); lean_inc(x_70); lean_inc(x_942); x_1003 = l_Lean_Syntax_node4(x_942, x_1002, x_70, x_999, x_1001, x_951); -x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_942); x_1005 = l_Lean_Syntax_node4(x_942, x_1004, x_53, x_987, x_992, x_1003); -x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_942); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1006); @@ -40945,17 +40058,17 @@ x_1009 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1009, 0, x_942); lean_ctor_set(x_1009, 1, x_57); lean_ctor_set(x_1009, 2, x_1008); -x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_942); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1010); lean_ctor_set(x_40, 0, x_942); -x_1011 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_942); x_1012 = l_Lean_Syntax_node3(x_942, x_1011, x_44, x_1009, x_40); lean_inc(x_942); x_1013 = l_Lean_Syntax_node1(x_942, x_57, x_1012); -x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_951, 5); lean_inc(x_942); x_1015 = l_Lean_Syntax_node6(x_942, x_1014, x_951, x_1013, x_951, x_951, x_951, x_951); @@ -41022,13 +40135,13 @@ x_1039 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_951); lean_inc(x_942); x_1040 = l_Lean_Syntax_node5(x_942, x_1039, x_18, x_1022, x_1030, x_1038, x_951); -x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_942); x_1042 = l_Lean_Syntax_node2(x_942, x_1041, x_1015, x_1040); if (lean_obj_tag(x_5) == 0) { lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; -x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_942); x_1044 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1044, 0, x_942); @@ -41222,7 +40335,7 @@ if (lean_is_scalar(x_1092)) { } lean_ctor_set(x_1099, 0, x_1088); lean_ctor_set(x_1099, 1, x_1098); -x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1088); if (lean_is_scalar(x_1087)) { x_1101 = lean_alloc_ctor(2, 2, 0); @@ -41244,7 +40357,7 @@ lean_ctor_set(x_1106, 0, x_1088); lean_ctor_set(x_1106, 1, x_1104); lean_ctor_set(x_1106, 2, x_1103); lean_ctor_set(x_1106, 3, x_1105); -x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1088); if (lean_is_scalar(x_1082)) { x_1108 = lean_alloc_ctor(2, 2, 0); @@ -41254,7 +40367,7 @@ if (lean_is_scalar(x_1082)) { } lean_ctor_set(x_1108, 0, x_1088); lean_ctor_set(x_1108, 1, x_1107); -x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1088); if (lean_is_scalar(x_1078)) { x_1110 = lean_alloc_ctor(2, 2, 0); @@ -41270,7 +40383,7 @@ x_1111 = l_Lean_Syntax_node1(x_1088, x_57, x_35); lean_inc(x_1072); lean_inc(x_1088); x_1112 = l_Lean_Syntax_node3(x_1088, x_57, x_1072, x_1110, x_1111); -x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1088); if (lean_is_scalar(x_1074)) { x_1114 = lean_alloc_ctor(2, 2, 0); @@ -41283,7 +40396,7 @@ lean_ctor_set(x_1114, 1, x_1113); x_1115 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1088); x_1116 = l_Lean_Syntax_node3(x_1088, x_1115, x_1108, x_1112, x_1114); -x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1088); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_1117); @@ -41303,7 +40416,7 @@ lean_ctor_set(x_1122, 3, x_1121); lean_inc(x_1083); lean_inc(x_1088); x_1123 = l_Lean_Syntax_node1(x_1088, x_57, x_1083); -x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1088); x_1125 = l_Lean_Syntax_node2(x_1088, x_1124, x_1122, x_1123); x_1126 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -41313,30 +40426,30 @@ lean_inc(x_32); lean_inc(x_1097); lean_inc(x_1088); x_1127 = l_Lean_Syntax_node8(x_1088, x_1126, x_1097, x_1099, x_32, x_1101, x_1106, x_1116, x_70, x_1125); -x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1088); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1128); lean_ctor_set(x_53, 0, x_1088); -x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1129); lean_ctor_set(x_49, 0, x_32); x_1130 = lean_array_mk(x_49); x_1131 = lean_box(2); -x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1133 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1133, 0, x_1131); lean_ctor_set(x_1133, 1, x_1132); lean_ctor_set(x_1133, 2, x_1130); -x_1134 = l_Lake_DSL_buildDeclSig___closed__19; +x_1134 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1101); lean_inc(x_1088); x_1135 = l_Lean_Syntax_node2(x_1088, x_1134, x_1101, x_1076); lean_inc(x_1088); x_1136 = l_Lean_Syntax_node1(x_1088, x_57, x_1135); -x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1097); lean_inc(x_1088); x_1138 = l_Lean_Syntax_node2(x_1088, x_1137, x_1097, x_1136); @@ -41356,20 +40469,20 @@ lean_inc(x_1088); x_1144 = l_Lean_Syntax_node4(x_1088, x_57, x_1072, x_35, x_1083, x_30); lean_inc(x_1088); x_1145 = l_Lean_Syntax_node2(x_1088, x_1124, x_1143, x_1144); -x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1097, 2); lean_inc(x_1088); x_1147 = l_Lean_Syntax_node2(x_1088, x_1146, x_1097, x_1097); -x_1148 = l_Lake_DSL_buildDeclSig___closed__24; +x_1148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1097); lean_inc(x_1147); lean_inc(x_70); lean_inc(x_1088); x_1149 = l_Lean_Syntax_node4(x_1088, x_1148, x_70, x_1145, x_1147, x_1097); -x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1088); x_1151 = l_Lean_Syntax_node4(x_1088, x_1150, x_53, x_1133, x_1138, x_1149); -x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1088); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1152); @@ -41383,17 +40496,17 @@ x_1155 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1155, 0, x_1088); lean_ctor_set(x_1155, 1, x_57); lean_ctor_set(x_1155, 2, x_1154); -x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1088); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1156); lean_ctor_set(x_40, 0, x_1088); -x_1157 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1088); x_1158 = l_Lean_Syntax_node3(x_1088, x_1157, x_44, x_1155, x_40); lean_inc(x_1088); x_1159 = l_Lean_Syntax_node1(x_1088, x_57, x_1158); -x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1097, 5); lean_inc(x_1088); x_1161 = l_Lean_Syntax_node6(x_1088, x_1160, x_1097, x_1159, x_1097, x_1097, x_1097, x_1097); @@ -41460,13 +40573,13 @@ x_1185 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1097); lean_inc(x_1088); x_1186 = l_Lean_Syntax_node5(x_1088, x_1185, x_18, x_1168, x_1176, x_1184, x_1097); -x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1088); x_1188 = l_Lean_Syntax_node2(x_1088, x_1187, x_1161, x_1186); if (lean_obj_tag(x_5) == 0) { lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1088); x_1190 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1190, 0, x_1088); @@ -41680,7 +40793,7 @@ if (lean_is_scalar(x_1243)) { } lean_ctor_set(x_1250, 0, x_1239); lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1239); if (lean_is_scalar(x_1238)) { x_1252 = lean_alloc_ctor(2, 2, 0); @@ -41702,7 +40815,7 @@ lean_ctor_set(x_1257, 0, x_1239); lean_ctor_set(x_1257, 1, x_1255); lean_ctor_set(x_1257, 2, x_1254); lean_ctor_set(x_1257, 3, x_1256); -x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1239); if (lean_is_scalar(x_1233)) { x_1259 = lean_alloc_ctor(2, 2, 0); @@ -41712,7 +40825,7 @@ if (lean_is_scalar(x_1233)) { } lean_ctor_set(x_1259, 0, x_1239); lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1239); if (lean_is_scalar(x_1229)) { x_1261 = lean_alloc_ctor(2, 2, 0); @@ -41728,7 +40841,7 @@ x_1262 = l_Lean_Syntax_node1(x_1239, x_57, x_35); lean_inc(x_1223); lean_inc(x_1239); x_1263 = l_Lean_Syntax_node3(x_1239, x_57, x_1223, x_1261, x_1262); -x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1239); if (lean_is_scalar(x_1225)) { x_1265 = lean_alloc_ctor(2, 2, 0); @@ -41741,7 +40854,7 @@ lean_ctor_set(x_1265, 1, x_1264); x_1266 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1239); x_1267 = l_Lean_Syntax_node3(x_1239, x_1266, x_1259, x_1263, x_1265); -x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1239); x_1269 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1269, 0, x_1239); @@ -41761,7 +40874,7 @@ lean_ctor_set(x_1274, 3, x_1273); lean_inc(x_1234); lean_inc(x_1239); x_1275 = l_Lean_Syntax_node1(x_1239, x_57, x_1234); -x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1239); x_1277 = l_Lean_Syntax_node2(x_1239, x_1276, x_1274, x_1275); x_1278 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -41771,30 +40884,30 @@ lean_inc(x_32); lean_inc(x_1248); lean_inc(x_1239); x_1279 = l_Lean_Syntax_node8(x_1239, x_1278, x_1248, x_1250, x_32, x_1252, x_1257, x_1267, x_1269, x_1277); -x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1239); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1280); lean_ctor_set(x_53, 0, x_1239); -x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1281); lean_ctor_set(x_49, 0, x_32); x_1282 = lean_array_mk(x_49); x_1283 = lean_box(2); -x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1285 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1285, 0, x_1283); lean_ctor_set(x_1285, 1, x_1284); lean_ctor_set(x_1285, 2, x_1282); -x_1286 = l_Lake_DSL_buildDeclSig___closed__19; +x_1286 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1252); lean_inc(x_1239); x_1287 = l_Lean_Syntax_node2(x_1239, x_1286, x_1252, x_1227); lean_inc(x_1239); x_1288 = l_Lean_Syntax_node1(x_1239, x_57, x_1287); -x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1248); lean_inc(x_1239); x_1290 = l_Lean_Syntax_node2(x_1239, x_1289, x_1248, x_1288); @@ -41814,20 +40927,20 @@ lean_inc(x_1239); x_1296 = l_Lean_Syntax_node4(x_1239, x_57, x_1223, x_35, x_1234, x_30); lean_inc(x_1239); x_1297 = l_Lean_Syntax_node2(x_1239, x_1276, x_1295, x_1296); -x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1248, 2); lean_inc(x_1239); x_1299 = l_Lean_Syntax_node2(x_1239, x_1298, x_1248, x_1248); -x_1300 = l_Lake_DSL_buildDeclSig___closed__24; +x_1300 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1248); lean_inc(x_1299); lean_inc(x_1269); lean_inc(x_1239); x_1301 = l_Lean_Syntax_node4(x_1239, x_1300, x_1269, x_1297, x_1299, x_1248); -x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1239); x_1303 = l_Lean_Syntax_node4(x_1239, x_1302, x_53, x_1285, x_1290, x_1301); -x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1239); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1304); @@ -41841,17 +40954,17 @@ x_1307 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1307, 0, x_1239); lean_ctor_set(x_1307, 1, x_57); lean_ctor_set(x_1307, 2, x_1306); -x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1239); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1308); lean_ctor_set(x_40, 0, x_1239); -x_1309 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1239); x_1310 = l_Lean_Syntax_node3(x_1239, x_1309, x_44, x_1307, x_40); lean_inc(x_1239); x_1311 = l_Lean_Syntax_node1(x_1239, x_57, x_1310); -x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1248, 5); lean_inc(x_1239); x_1313 = l_Lean_Syntax_node6(x_1239, x_1312, x_1248, x_1311, x_1248, x_1248, x_1248, x_1248); @@ -41918,13 +41031,13 @@ x_1337 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1248); lean_inc(x_1239); x_1338 = l_Lean_Syntax_node5(x_1239, x_1337, x_18, x_1320, x_1328, x_1336, x_1248); -x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1239); x_1340 = l_Lean_Syntax_node2(x_1239, x_1339, x_1313, x_1338); if (lean_obj_tag(x_5) == 0) { lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1239); x_1342 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1342, 0, x_1239); @@ -41984,14 +41097,14 @@ x_1356 = lean_ctor_get(x_53, 1); lean_inc(x_1356); lean_inc(x_1355); lean_dec(x_53); -x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1359 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1359, 0, x_48); lean_ctor_set(x_1359, 1, x_1357); lean_ctor_set(x_1359, 2, x_1358); -x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1359); lean_inc(x_48); x_1361 = l_Lean_Syntax_node1(x_48, x_1360, x_1359); @@ -42004,10 +41117,10 @@ lean_ctor_set(x_1365, 0, x_48); lean_ctor_set(x_1365, 1, x_1364); lean_ctor_set(x_1365, 2, x_1363); lean_ctor_set(x_1365, 3, x_28); -x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1367 = l_Lean_Syntax_node2(x_48, x_1366, x_1365, x_1359); -x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1369 = l_Lean_Syntax_node2(x_48, x_1368, x_1361, x_1367); x_1370 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1356); x_1371 = lean_ctor_get(x_1370, 0); @@ -42176,7 +41289,7 @@ if (lean_is_scalar(x_1412)) { } lean_ctor_set(x_1419, 0, x_1408); lean_ctor_set(x_1419, 1, x_1418); -x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1408); if (lean_is_scalar(x_1407)) { x_1421 = lean_alloc_ctor(2, 2, 0); @@ -42198,7 +41311,7 @@ lean_ctor_set(x_1426, 0, x_1408); lean_ctor_set(x_1426, 1, x_1424); lean_ctor_set(x_1426, 2, x_1423); lean_ctor_set(x_1426, 3, x_1425); -x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1408); if (lean_is_scalar(x_1402)) { x_1428 = lean_alloc_ctor(2, 2, 0); @@ -42208,7 +41321,7 @@ if (lean_is_scalar(x_1402)) { } lean_ctor_set(x_1428, 0, x_1408); lean_ctor_set(x_1428, 1, x_1427); -x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1408); if (lean_is_scalar(x_1398)) { x_1430 = lean_alloc_ctor(2, 2, 0); @@ -42224,7 +41337,7 @@ x_1431 = l_Lean_Syntax_node1(x_1408, x_1357, x_35); lean_inc(x_1392); lean_inc(x_1408); x_1432 = l_Lean_Syntax_node3(x_1408, x_1357, x_1392, x_1430, x_1431); -x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1408); if (lean_is_scalar(x_1394)) { x_1434 = lean_alloc_ctor(2, 2, 0); @@ -42237,7 +41350,7 @@ lean_ctor_set(x_1434, 1, x_1433); x_1435 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1408); x_1436 = l_Lean_Syntax_node3(x_1408, x_1435, x_1428, x_1432, x_1434); -x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1408); if (lean_is_scalar(x_1373)) { x_1438 = lean_alloc_ctor(2, 2, 0); @@ -42262,7 +41375,7 @@ lean_ctor_set(x_1443, 3, x_1442); lean_inc(x_1403); lean_inc(x_1408); x_1444 = l_Lean_Syntax_node1(x_1408, x_1357, x_1403); -x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1408); x_1446 = l_Lean_Syntax_node2(x_1408, x_1445, x_1443, x_1444); x_1447 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -42272,30 +41385,30 @@ lean_inc(x_32); lean_inc(x_1417); lean_inc(x_1408); x_1448 = l_Lean_Syntax_node8(x_1408, x_1447, x_1417, x_1419, x_32, x_1421, x_1426, x_1436, x_1438, x_1446); -x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1408); x_1450 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1450, 0, x_1408); lean_ctor_set(x_1450, 1, x_1449); -x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1451); lean_ctor_set(x_49, 0, x_32); x_1452 = lean_array_mk(x_49); x_1453 = lean_box(2); -x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1455 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1455, 0, x_1453); lean_ctor_set(x_1455, 1, x_1454); lean_ctor_set(x_1455, 2, x_1452); -x_1456 = l_Lake_DSL_buildDeclSig___closed__19; +x_1456 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1421); lean_inc(x_1408); x_1457 = l_Lean_Syntax_node2(x_1408, x_1456, x_1421, x_1396); lean_inc(x_1408); x_1458 = l_Lean_Syntax_node1(x_1408, x_1357, x_1457); -x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1417); lean_inc(x_1408); x_1460 = l_Lean_Syntax_node2(x_1408, x_1459, x_1417, x_1458); @@ -42315,20 +41428,20 @@ lean_inc(x_1408); x_1466 = l_Lean_Syntax_node4(x_1408, x_1357, x_1392, x_35, x_1403, x_30); lean_inc(x_1408); x_1467 = l_Lean_Syntax_node2(x_1408, x_1445, x_1465, x_1466); -x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1417, 2); lean_inc(x_1408); x_1469 = l_Lean_Syntax_node2(x_1408, x_1468, x_1417, x_1417); -x_1470 = l_Lake_DSL_buildDeclSig___closed__24; +x_1470 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1417); lean_inc(x_1469); lean_inc(x_1438); lean_inc(x_1408); x_1471 = l_Lean_Syntax_node4(x_1408, x_1470, x_1438, x_1467, x_1469, x_1417); -x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1408); x_1473 = l_Lean_Syntax_node4(x_1408, x_1472, x_1450, x_1455, x_1460, x_1471); -x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1408); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1474); @@ -42342,17 +41455,17 @@ x_1477 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1477, 0, x_1408); lean_ctor_set(x_1477, 1, x_1357); lean_ctor_set(x_1477, 2, x_1476); -x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1408); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1478); lean_ctor_set(x_40, 0, x_1408); -x_1479 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1408); x_1480 = l_Lean_Syntax_node3(x_1408, x_1479, x_44, x_1477, x_40); lean_inc(x_1408); x_1481 = l_Lean_Syntax_node1(x_1408, x_1357, x_1480); -x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1417, 5); lean_inc(x_1408); x_1483 = l_Lean_Syntax_node6(x_1408, x_1482, x_1417, x_1481, x_1417, x_1417, x_1417, x_1417); @@ -42419,13 +41532,13 @@ x_1507 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1417); lean_inc(x_1408); x_1508 = l_Lean_Syntax_node5(x_1408, x_1507, x_18, x_1490, x_1498, x_1506, x_1417); -x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1408); x_1510 = l_Lean_Syntax_node2(x_1408, x_1509, x_1483, x_1508); if (lean_obj_tag(x_5) == 0) { lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1408); x_1512 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1512, 0, x_1408); @@ -42498,14 +41611,14 @@ if (lean_is_exclusive(x_1527)) { lean_dec_ref(x_1527); x_1530 = lean_box(0); } -x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1533 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1533, 0, x_48); lean_ctor_set(x_1533, 1, x_1531); lean_ctor_set(x_1533, 2, x_1532); -x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1533); lean_inc(x_48); x_1535 = l_Lean_Syntax_node1(x_48, x_1534, x_1533); @@ -42518,10 +41631,10 @@ lean_ctor_set(x_1539, 0, x_48); lean_ctor_set(x_1539, 1, x_1538); lean_ctor_set(x_1539, 2, x_1537); lean_ctor_set(x_1539, 3, x_28); -x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1541 = l_Lean_Syntax_node2(x_48, x_1540, x_1539, x_1533); -x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1543 = l_Lean_Syntax_node2(x_48, x_1542, x_1535, x_1541); x_1544 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1529); x_1545 = lean_ctor_get(x_1544, 0); @@ -42690,7 +41803,7 @@ if (lean_is_scalar(x_1586)) { } lean_ctor_set(x_1593, 0, x_1582); lean_ctor_set(x_1593, 1, x_1592); -x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1582); if (lean_is_scalar(x_1581)) { x_1595 = lean_alloc_ctor(2, 2, 0); @@ -42712,7 +41825,7 @@ lean_ctor_set(x_1600, 0, x_1582); lean_ctor_set(x_1600, 1, x_1598); lean_ctor_set(x_1600, 2, x_1597); lean_ctor_set(x_1600, 3, x_1599); -x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1582); if (lean_is_scalar(x_1576)) { x_1602 = lean_alloc_ctor(2, 2, 0); @@ -42722,7 +41835,7 @@ if (lean_is_scalar(x_1576)) { } lean_ctor_set(x_1602, 0, x_1582); lean_ctor_set(x_1602, 1, x_1601); -x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1582); if (lean_is_scalar(x_1572)) { x_1604 = lean_alloc_ctor(2, 2, 0); @@ -42738,7 +41851,7 @@ x_1605 = l_Lean_Syntax_node1(x_1582, x_1531, x_35); lean_inc(x_1566); lean_inc(x_1582); x_1606 = l_Lean_Syntax_node3(x_1582, x_1531, x_1566, x_1604, x_1605); -x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1582); if (lean_is_scalar(x_1568)) { x_1608 = lean_alloc_ctor(2, 2, 0); @@ -42751,7 +41864,7 @@ lean_ctor_set(x_1608, 1, x_1607); x_1609 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1582); x_1610 = l_Lean_Syntax_node3(x_1582, x_1609, x_1602, x_1606, x_1608); -x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1582); if (lean_is_scalar(x_1547)) { x_1612 = lean_alloc_ctor(2, 2, 0); @@ -42776,7 +41889,7 @@ lean_ctor_set(x_1617, 3, x_1616); lean_inc(x_1577); lean_inc(x_1582); x_1618 = l_Lean_Syntax_node1(x_1582, x_1531, x_1577); -x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1582); x_1620 = l_Lean_Syntax_node2(x_1582, x_1619, x_1617, x_1618); x_1621 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -42786,7 +41899,7 @@ lean_inc(x_32); lean_inc(x_1591); lean_inc(x_1582); x_1622 = l_Lean_Syntax_node8(x_1582, x_1621, x_1591, x_1593, x_32, x_1595, x_1600, x_1610, x_1612, x_1620); -x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1582); if (lean_is_scalar(x_1530)) { x_1624 = lean_alloc_ctor(2, 2, 0); @@ -42796,25 +41909,25 @@ if (lean_is_scalar(x_1530)) { } lean_ctor_set(x_1624, 0, x_1582); lean_ctor_set(x_1624, 1, x_1623); -x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); x_1626 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1626, 0, x_32); lean_ctor_set(x_1626, 1, x_1625); x_1627 = lean_array_mk(x_1626); x_1628 = lean_box(2); -x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1630 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1630, 0, x_1628); lean_ctor_set(x_1630, 1, x_1629); lean_ctor_set(x_1630, 2, x_1627); -x_1631 = l_Lake_DSL_buildDeclSig___closed__19; +x_1631 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1595); lean_inc(x_1582); x_1632 = l_Lean_Syntax_node2(x_1582, x_1631, x_1595, x_1570); lean_inc(x_1582); x_1633 = l_Lean_Syntax_node1(x_1582, x_1531, x_1632); -x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1591); lean_inc(x_1582); x_1635 = l_Lean_Syntax_node2(x_1582, x_1634, x_1591, x_1633); @@ -42834,20 +41947,20 @@ lean_inc(x_1582); x_1641 = l_Lean_Syntax_node4(x_1582, x_1531, x_1566, x_35, x_1577, x_30); lean_inc(x_1582); x_1642 = l_Lean_Syntax_node2(x_1582, x_1619, x_1640, x_1641); -x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1591, 2); lean_inc(x_1582); x_1644 = l_Lean_Syntax_node2(x_1582, x_1643, x_1591, x_1591); -x_1645 = l_Lake_DSL_buildDeclSig___closed__24; +x_1645 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1591); lean_inc(x_1644); lean_inc(x_1612); lean_inc(x_1582); x_1646 = l_Lean_Syntax_node4(x_1582, x_1645, x_1612, x_1642, x_1644, x_1591); -x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1582); x_1648 = l_Lean_Syntax_node4(x_1582, x_1647, x_1624, x_1630, x_1635, x_1646); -x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1582); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1649); @@ -42861,17 +41974,17 @@ x_1652 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1652, 0, x_1582); lean_ctor_set(x_1652, 1, x_1531); lean_ctor_set(x_1652, 2, x_1651); -x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1582); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1653); lean_ctor_set(x_40, 0, x_1582); -x_1654 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1582); x_1655 = l_Lean_Syntax_node3(x_1582, x_1654, x_44, x_1652, x_40); lean_inc(x_1582); x_1656 = l_Lean_Syntax_node1(x_1582, x_1531, x_1655); -x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1591, 5); lean_inc(x_1582); x_1658 = l_Lean_Syntax_node6(x_1582, x_1657, x_1591, x_1656, x_1591, x_1591, x_1591, x_1591); @@ -42938,13 +42051,13 @@ x_1682 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1591); lean_inc(x_1582); x_1683 = l_Lean_Syntax_node5(x_1582, x_1682, x_18, x_1665, x_1673, x_1681, x_1591); -x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1582); x_1685 = l_Lean_Syntax_node2(x_1582, x_1684, x_1658, x_1683); if (lean_obj_tag(x_5) == 0) { lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; -x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1582); x_1687 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1687, 0, x_1582); @@ -43032,14 +42145,14 @@ if (lean_is_exclusive(x_1707)) { lean_dec_ref(x_1707); x_1710 = lean_box(0); } -x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1702); x_1713 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1713, 0, x_1702); lean_ctor_set(x_1713, 1, x_1711); lean_ctor_set(x_1713, 2, x_1712); -x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1713); lean_inc(x_1702); x_1715 = l_Lean_Syntax_node1(x_1702, x_1714, x_1713); @@ -43052,10 +42165,10 @@ lean_ctor_set(x_1719, 0, x_1702); lean_ctor_set(x_1719, 1, x_1718); lean_ctor_set(x_1719, 2, x_1717); lean_ctor_set(x_1719, 3, x_28); -x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1702); x_1721 = l_Lean_Syntax_node2(x_1702, x_1720, x_1719, x_1713); -x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1723 = l_Lean_Syntax_node2(x_1702, x_1722, x_1715, x_1721); x_1724 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1709); x_1725 = lean_ctor_get(x_1724, 0); @@ -43224,7 +42337,7 @@ if (lean_is_scalar(x_1766)) { } lean_ctor_set(x_1773, 0, x_1762); lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1762); if (lean_is_scalar(x_1761)) { x_1775 = lean_alloc_ctor(2, 2, 0); @@ -43246,7 +42359,7 @@ lean_ctor_set(x_1780, 0, x_1762); lean_ctor_set(x_1780, 1, x_1778); lean_ctor_set(x_1780, 2, x_1777); lean_ctor_set(x_1780, 3, x_1779); -x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1762); if (lean_is_scalar(x_1756)) { x_1782 = lean_alloc_ctor(2, 2, 0); @@ -43256,7 +42369,7 @@ if (lean_is_scalar(x_1756)) { } lean_ctor_set(x_1782, 0, x_1762); lean_ctor_set(x_1782, 1, x_1781); -x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1762); if (lean_is_scalar(x_1752)) { x_1784 = lean_alloc_ctor(2, 2, 0); @@ -43272,7 +42385,7 @@ x_1785 = l_Lean_Syntax_node1(x_1762, x_1711, x_35); lean_inc(x_1746); lean_inc(x_1762); x_1786 = l_Lean_Syntax_node3(x_1762, x_1711, x_1746, x_1784, x_1785); -x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1762); if (lean_is_scalar(x_1748)) { x_1788 = lean_alloc_ctor(2, 2, 0); @@ -43285,7 +42398,7 @@ lean_ctor_set(x_1788, 1, x_1787); x_1789 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1762); x_1790 = l_Lean_Syntax_node3(x_1762, x_1789, x_1782, x_1786, x_1788); -x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1762); if (lean_is_scalar(x_1727)) { x_1792 = lean_alloc_ctor(2, 2, 0); @@ -43310,7 +42423,7 @@ lean_ctor_set(x_1797, 3, x_1796); lean_inc(x_1757); lean_inc(x_1762); x_1798 = l_Lean_Syntax_node1(x_1762, x_1711, x_1757); -x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1762); x_1800 = l_Lean_Syntax_node2(x_1762, x_1799, x_1797, x_1798); x_1801 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -43320,7 +42433,7 @@ lean_inc(x_32); lean_inc(x_1771); lean_inc(x_1762); x_1802 = l_Lean_Syntax_node8(x_1762, x_1801, x_1771, x_1773, x_32, x_1775, x_1780, x_1790, x_1792, x_1800); -x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1762); if (lean_is_scalar(x_1710)) { x_1804 = lean_alloc_ctor(2, 2, 0); @@ -43330,7 +42443,7 @@ if (lean_is_scalar(x_1710)) { } lean_ctor_set(x_1804, 0, x_1762); lean_ctor_set(x_1804, 1, x_1803); -x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1706)) { x_1806 = lean_alloc_ctor(1, 2, 0); @@ -43342,18 +42455,18 @@ lean_ctor_set(x_1806, 0, x_32); lean_ctor_set(x_1806, 1, x_1805); x_1807 = lean_array_mk(x_1806); x_1808 = lean_box(2); -x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1810 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1810, 0, x_1808); lean_ctor_set(x_1810, 1, x_1809); lean_ctor_set(x_1810, 2, x_1807); -x_1811 = l_Lake_DSL_buildDeclSig___closed__19; +x_1811 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1775); lean_inc(x_1762); x_1812 = l_Lean_Syntax_node2(x_1762, x_1811, x_1775, x_1750); lean_inc(x_1762); x_1813 = l_Lean_Syntax_node1(x_1762, x_1711, x_1812); -x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1771); lean_inc(x_1762); x_1815 = l_Lean_Syntax_node2(x_1762, x_1814, x_1771, x_1813); @@ -43373,20 +42486,20 @@ lean_inc(x_1762); x_1821 = l_Lean_Syntax_node4(x_1762, x_1711, x_1746, x_35, x_1757, x_30); lean_inc(x_1762); x_1822 = l_Lean_Syntax_node2(x_1762, x_1799, x_1820, x_1821); -x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1771, 2); lean_inc(x_1762); x_1824 = l_Lean_Syntax_node2(x_1762, x_1823, x_1771, x_1771); -x_1825 = l_Lake_DSL_buildDeclSig___closed__24; +x_1825 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1771); lean_inc(x_1824); lean_inc(x_1792); lean_inc(x_1762); x_1826 = l_Lean_Syntax_node4(x_1762, x_1825, x_1792, x_1822, x_1824, x_1771); -x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1762); x_1828 = l_Lean_Syntax_node4(x_1762, x_1827, x_1804, x_1810, x_1815, x_1826); -x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1762); x_1830 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1830, 0, x_1762); @@ -43400,17 +42513,17 @@ x_1833 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1833, 0, x_1762); lean_ctor_set(x_1833, 1, x_1711); lean_ctor_set(x_1833, 2, x_1832); -x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1762); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1834); lean_ctor_set(x_40, 0, x_1762); -x_1835 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1762); x_1836 = l_Lean_Syntax_node3(x_1762, x_1835, x_1830, x_1833, x_40); lean_inc(x_1762); x_1837 = l_Lean_Syntax_node1(x_1762, x_1711, x_1836); -x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1771, 5); lean_inc(x_1762); x_1839 = l_Lean_Syntax_node6(x_1762, x_1838, x_1771, x_1837, x_1771, x_1771, x_1771, x_1771); @@ -43477,13 +42590,13 @@ x_1863 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1771); lean_inc(x_1762); x_1864 = l_Lean_Syntax_node5(x_1762, x_1863, x_18, x_1846, x_1854, x_1862, x_1771); -x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1762); x_1866 = l_Lean_Syntax_node2(x_1762, x_1865, x_1839, x_1864); if (lean_obj_tag(x_5) == 0) { lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; -x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1762); x_1868 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1868, 0, x_1762); @@ -43584,14 +42697,14 @@ if (lean_is_exclusive(x_1892)) { lean_dec_ref(x_1892); x_1895 = lean_box(0); } -x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1887); x_1898 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1898, 0, x_1887); lean_ctor_set(x_1898, 1, x_1896); lean_ctor_set(x_1898, 2, x_1897); -x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1898); lean_inc(x_1887); x_1900 = l_Lean_Syntax_node1(x_1887, x_1899, x_1898); @@ -43604,10 +42717,10 @@ lean_ctor_set(x_1904, 0, x_1887); lean_ctor_set(x_1904, 1, x_1903); lean_ctor_set(x_1904, 2, x_1902); lean_ctor_set(x_1904, 3, x_28); -x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1887); x_1906 = l_Lean_Syntax_node2(x_1887, x_1905, x_1904, x_1898); -x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1908 = l_Lean_Syntax_node2(x_1887, x_1907, x_1900, x_1906); x_1909 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1894); x_1910 = lean_ctor_get(x_1909, 0); @@ -43776,7 +42889,7 @@ if (lean_is_scalar(x_1951)) { } lean_ctor_set(x_1958, 0, x_1947); lean_ctor_set(x_1958, 1, x_1957); -x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1947); if (lean_is_scalar(x_1946)) { x_1960 = lean_alloc_ctor(2, 2, 0); @@ -43798,7 +42911,7 @@ lean_ctor_set(x_1965, 0, x_1947); lean_ctor_set(x_1965, 1, x_1963); lean_ctor_set(x_1965, 2, x_1962); lean_ctor_set(x_1965, 3, x_1964); -x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1947); if (lean_is_scalar(x_1941)) { x_1967 = lean_alloc_ctor(2, 2, 0); @@ -43808,7 +42921,7 @@ if (lean_is_scalar(x_1941)) { } lean_ctor_set(x_1967, 0, x_1947); lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1947); if (lean_is_scalar(x_1937)) { x_1969 = lean_alloc_ctor(2, 2, 0); @@ -43824,7 +42937,7 @@ x_1970 = l_Lean_Syntax_node1(x_1947, x_1896, x_35); lean_inc(x_1931); lean_inc(x_1947); x_1971 = l_Lean_Syntax_node3(x_1947, x_1896, x_1931, x_1969, x_1970); -x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1947); if (lean_is_scalar(x_1933)) { x_1973 = lean_alloc_ctor(2, 2, 0); @@ -43837,7 +42950,7 @@ lean_ctor_set(x_1973, 1, x_1972); x_1974 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1947); x_1975 = l_Lean_Syntax_node3(x_1947, x_1974, x_1967, x_1971, x_1973); -x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1947); if (lean_is_scalar(x_1912)) { x_1977 = lean_alloc_ctor(2, 2, 0); @@ -43862,7 +42975,7 @@ lean_ctor_set(x_1982, 3, x_1981); lean_inc(x_1942); lean_inc(x_1947); x_1983 = l_Lean_Syntax_node1(x_1947, x_1896, x_1942); -x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1947); x_1985 = l_Lean_Syntax_node2(x_1947, x_1984, x_1982, x_1983); x_1986 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -43872,7 +42985,7 @@ lean_inc(x_32); lean_inc(x_1956); lean_inc(x_1947); x_1987 = l_Lean_Syntax_node8(x_1947, x_1986, x_1956, x_1958, x_32, x_1960, x_1965, x_1975, x_1977, x_1985); -x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1947); if (lean_is_scalar(x_1895)) { x_1989 = lean_alloc_ctor(2, 2, 0); @@ -43882,7 +42995,7 @@ if (lean_is_scalar(x_1895)) { } lean_ctor_set(x_1989, 0, x_1947); lean_ctor_set(x_1989, 1, x_1988); -x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1891)) { x_1991 = lean_alloc_ctor(1, 2, 0); @@ -43894,18 +43007,18 @@ lean_ctor_set(x_1991, 0, x_32); lean_ctor_set(x_1991, 1, x_1990); x_1992 = lean_array_mk(x_1991); x_1993 = lean_box(2); -x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1995 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1995, 0, x_1993); lean_ctor_set(x_1995, 1, x_1994); lean_ctor_set(x_1995, 2, x_1992); -x_1996 = l_Lake_DSL_buildDeclSig___closed__19; +x_1996 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1960); lean_inc(x_1947); x_1997 = l_Lean_Syntax_node2(x_1947, x_1996, x_1960, x_1935); lean_inc(x_1947); x_1998 = l_Lean_Syntax_node1(x_1947, x_1896, x_1997); -x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1956); lean_inc(x_1947); x_2000 = l_Lean_Syntax_node2(x_1947, x_1999, x_1956, x_1998); @@ -43925,20 +43038,20 @@ lean_inc(x_1947); x_2006 = l_Lean_Syntax_node4(x_1947, x_1896, x_1931, x_35, x_1942, x_30); lean_inc(x_1947); x_2007 = l_Lean_Syntax_node2(x_1947, x_1984, x_2005, x_2006); -x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1956, 2); lean_inc(x_1947); x_2009 = l_Lean_Syntax_node2(x_1947, x_2008, x_1956, x_1956); -x_2010 = l_Lake_DSL_buildDeclSig___closed__24; +x_2010 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1956); lean_inc(x_2009); lean_inc(x_1977); lean_inc(x_1947); x_2011 = l_Lean_Syntax_node4(x_1947, x_2010, x_1977, x_2007, x_2009, x_1956); -x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1947); x_2013 = l_Lean_Syntax_node4(x_1947, x_2012, x_1989, x_1995, x_2000, x_2011); -x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1947); if (lean_is_scalar(x_1886)) { x_2015 = lean_alloc_ctor(2, 2, 0); @@ -43957,17 +43070,17 @@ x_2018 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2018, 0, x_1947); lean_ctor_set(x_2018, 1, x_1896); lean_ctor_set(x_2018, 2, x_2017); -x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1947); x_2020 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2020, 0, x_1947); lean_ctor_set(x_2020, 1, x_2019); -x_2021 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2021 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1947); x_2022 = l_Lean_Syntax_node3(x_1947, x_2021, x_2015, x_2018, x_2020); lean_inc(x_1947); x_2023 = l_Lean_Syntax_node1(x_1947, x_1896, x_2022); -x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1956, 5); lean_inc(x_1947); x_2025 = l_Lean_Syntax_node6(x_1947, x_2024, x_1956, x_2023, x_1956, x_1956, x_1956, x_1956); @@ -44034,13 +43147,13 @@ x_2049 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1956); lean_inc(x_1947); x_2050 = l_Lean_Syntax_node5(x_1947, x_2049, x_18, x_2032, x_2040, x_2048, x_1956); -x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1947); x_2052 = l_Lean_Syntax_node2(x_1947, x_2051, x_2025, x_2050); if (lean_obj_tag(x_5) == 0) { lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; -x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1947); x_2054 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2054, 0, x_1947); @@ -44265,14 +43378,14 @@ if (lean_is_exclusive(x_2105)) { lean_dec_ref(x_2105); x_2108 = lean_box(0); } -x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2100); x_2111 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2111, 0, x_2100); lean_ctor_set(x_2111, 1, x_2109); lean_ctor_set(x_2111, 2, x_2110); -x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2111); lean_inc(x_2100); x_2113 = l_Lean_Syntax_node1(x_2100, x_2112, x_2111); @@ -44285,10 +43398,10 @@ lean_ctor_set(x_2117, 0, x_2100); lean_ctor_set(x_2117, 1, x_2116); lean_ctor_set(x_2117, 2, x_2115); lean_ctor_set(x_2117, 3, x_2079); -x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2100); x_2119 = l_Lean_Syntax_node2(x_2100, x_2118, x_2117, x_2111); -x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2121 = l_Lean_Syntax_node2(x_2100, x_2120, x_2113, x_2119); x_2122 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2107); x_2123 = lean_ctor_get(x_2122, 0); @@ -44457,7 +43570,7 @@ if (lean_is_scalar(x_2164)) { } lean_ctor_set(x_2171, 0, x_2160); lean_ctor_set(x_2171, 1, x_2170); -x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2160); if (lean_is_scalar(x_2159)) { x_2173 = lean_alloc_ctor(2, 2, 0); @@ -44479,7 +43592,7 @@ lean_ctor_set(x_2178, 0, x_2160); lean_ctor_set(x_2178, 1, x_2176); lean_ctor_set(x_2178, 2, x_2175); lean_ctor_set(x_2178, 3, x_2177); -x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2160); if (lean_is_scalar(x_2154)) { x_2180 = lean_alloc_ctor(2, 2, 0); @@ -44489,7 +43602,7 @@ if (lean_is_scalar(x_2154)) { } lean_ctor_set(x_2180, 0, x_2160); lean_ctor_set(x_2180, 1, x_2179); -x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2160); if (lean_is_scalar(x_2150)) { x_2182 = lean_alloc_ctor(2, 2, 0); @@ -44505,7 +43618,7 @@ x_2183 = l_Lean_Syntax_node1(x_2160, x_2109, x_2086); lean_inc(x_2144); lean_inc(x_2160); x_2184 = l_Lean_Syntax_node3(x_2160, x_2109, x_2144, x_2182, x_2183); -x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2160); if (lean_is_scalar(x_2146)) { x_2186 = lean_alloc_ctor(2, 2, 0); @@ -44518,7 +43631,7 @@ lean_ctor_set(x_2186, 1, x_2185); x_2187 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2160); x_2188 = l_Lean_Syntax_node3(x_2160, x_2187, x_2180, x_2184, x_2186); -x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2160); if (lean_is_scalar(x_2125)) { x_2190 = lean_alloc_ctor(2, 2, 0); @@ -44543,7 +43656,7 @@ lean_ctor_set(x_2195, 3, x_2194); lean_inc(x_2155); lean_inc(x_2160); x_2196 = l_Lean_Syntax_node1(x_2160, x_2109, x_2155); -x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2160); x_2198 = l_Lean_Syntax_node2(x_2160, x_2197, x_2195, x_2196); x_2199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -44553,7 +43666,7 @@ lean_inc(x_2083); lean_inc(x_2169); lean_inc(x_2160); x_2200 = l_Lean_Syntax_node8(x_2160, x_2199, x_2169, x_2171, x_2083, x_2173, x_2178, x_2188, x_2190, x_2198); -x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2160); if (lean_is_scalar(x_2108)) { x_2202 = lean_alloc_ctor(2, 2, 0); @@ -44563,7 +43676,7 @@ if (lean_is_scalar(x_2108)) { } lean_ctor_set(x_2202, 0, x_2160); lean_ctor_set(x_2202, 1, x_2201); -x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2083); if (lean_is_scalar(x_2104)) { x_2204 = lean_alloc_ctor(1, 2, 0); @@ -44575,18 +43688,18 @@ lean_ctor_set(x_2204, 0, x_2083); lean_ctor_set(x_2204, 1, x_2203); x_2205 = lean_array_mk(x_2204); x_2206 = lean_box(2); -x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2208 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2208, 0, x_2206); lean_ctor_set(x_2208, 1, x_2207); lean_ctor_set(x_2208, 2, x_2205); -x_2209 = l_Lake_DSL_buildDeclSig___closed__19; +x_2209 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2173); lean_inc(x_2160); x_2210 = l_Lean_Syntax_node2(x_2160, x_2209, x_2173, x_2148); lean_inc(x_2160); x_2211 = l_Lean_Syntax_node1(x_2160, x_2109, x_2210); -x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2169); lean_inc(x_2160); x_2213 = l_Lean_Syntax_node2(x_2160, x_2212, x_2169, x_2211); @@ -44606,20 +43719,20 @@ lean_inc(x_2160); x_2219 = l_Lean_Syntax_node4(x_2160, x_2109, x_2144, x_2086, x_2155, x_2081); lean_inc(x_2160); x_2220 = l_Lean_Syntax_node2(x_2160, x_2197, x_2218, x_2219); -x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2169, 2); lean_inc(x_2160); x_2222 = l_Lean_Syntax_node2(x_2160, x_2221, x_2169, x_2169); -x_2223 = l_Lake_DSL_buildDeclSig___closed__24; +x_2223 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2169); lean_inc(x_2222); lean_inc(x_2190); lean_inc(x_2160); x_2224 = l_Lean_Syntax_node4(x_2160, x_2223, x_2190, x_2220, x_2222, x_2169); -x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2160); x_2226 = l_Lean_Syntax_node4(x_2160, x_2225, x_2202, x_2208, x_2213, x_2224); -x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2160); if (lean_is_scalar(x_2099)) { x_2228 = lean_alloc_ctor(2, 2, 0); @@ -44638,7 +43751,7 @@ x_2231 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2231, 0, x_2160); lean_ctor_set(x_2231, 1, x_2109); lean_ctor_set(x_2231, 2, x_2230); -x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2160); if (lean_is_scalar(x_2095)) { x_2233 = lean_alloc_ctor(2, 2, 0); @@ -44648,12 +43761,12 @@ if (lean_is_scalar(x_2095)) { } lean_ctor_set(x_2233, 0, x_2160); lean_ctor_set(x_2233, 1, x_2232); -x_2234 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2160); x_2235 = l_Lean_Syntax_node3(x_2160, x_2234, x_2228, x_2231, x_2233); lean_inc(x_2160); x_2236 = l_Lean_Syntax_node1(x_2160, x_2109, x_2235); -x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2169, 5); lean_inc(x_2160); x_2238 = l_Lean_Syntax_node6(x_2160, x_2237, x_2169, x_2236, x_2169, x_2169, x_2169, x_2169); @@ -44720,13 +43833,13 @@ x_2262 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2169); lean_inc(x_2160); x_2263 = l_Lean_Syntax_node5(x_2160, x_2262, x_18, x_2245, x_2253, x_2261, x_2169); -x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2160); x_2265 = l_Lean_Syntax_node2(x_2160, x_2264, x_2238, x_2263); if (lean_obj_tag(x_5) == 0) { lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; -x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2160); x_2267 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2267, 0, x_2160); @@ -44972,14 +44085,14 @@ if (lean_is_exclusive(x_2322)) { lean_dec_ref(x_2322); x_2325 = lean_box(0); } -x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2317); x_2328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2328, 0, x_2317); lean_ctor_set(x_2328, 1, x_2326); lean_ctor_set(x_2328, 2, x_2327); -x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2328); lean_inc(x_2317); x_2330 = l_Lean_Syntax_node1(x_2317, x_2329, x_2328); @@ -44992,10 +44105,10 @@ lean_ctor_set(x_2334, 0, x_2317); lean_ctor_set(x_2334, 1, x_2333); lean_ctor_set(x_2334, 2, x_2332); lean_ctor_set(x_2334, 3, x_2296); -x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2317); x_2336 = l_Lean_Syntax_node2(x_2317, x_2335, x_2334, x_2328); -x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2338 = l_Lean_Syntax_node2(x_2317, x_2337, x_2330, x_2336); x_2339 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2324); x_2340 = lean_ctor_get(x_2339, 0); @@ -45164,7 +44277,7 @@ if (lean_is_scalar(x_2381)) { } lean_ctor_set(x_2388, 0, x_2377); lean_ctor_set(x_2388, 1, x_2387); -x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2377); if (lean_is_scalar(x_2376)) { x_2390 = lean_alloc_ctor(2, 2, 0); @@ -45186,7 +44299,7 @@ lean_ctor_set(x_2395, 0, x_2377); lean_ctor_set(x_2395, 1, x_2393); lean_ctor_set(x_2395, 2, x_2392); lean_ctor_set(x_2395, 3, x_2394); -x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2377); if (lean_is_scalar(x_2371)) { x_2397 = lean_alloc_ctor(2, 2, 0); @@ -45196,7 +44309,7 @@ if (lean_is_scalar(x_2371)) { } lean_ctor_set(x_2397, 0, x_2377); lean_ctor_set(x_2397, 1, x_2396); -x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2377); if (lean_is_scalar(x_2367)) { x_2399 = lean_alloc_ctor(2, 2, 0); @@ -45212,7 +44325,7 @@ x_2400 = l_Lean_Syntax_node1(x_2377, x_2326, x_2303); lean_inc(x_2361); lean_inc(x_2377); x_2401 = l_Lean_Syntax_node3(x_2377, x_2326, x_2361, x_2399, x_2400); -x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2377); if (lean_is_scalar(x_2363)) { x_2403 = lean_alloc_ctor(2, 2, 0); @@ -45225,7 +44338,7 @@ lean_ctor_set(x_2403, 1, x_2402); x_2404 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2377); x_2405 = l_Lean_Syntax_node3(x_2377, x_2404, x_2397, x_2401, x_2403); -x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2377); if (lean_is_scalar(x_2342)) { x_2407 = lean_alloc_ctor(2, 2, 0); @@ -45250,7 +44363,7 @@ lean_ctor_set(x_2412, 3, x_2411); lean_inc(x_2372); lean_inc(x_2377); x_2413 = l_Lean_Syntax_node1(x_2377, x_2326, x_2372); -x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2377); x_2415 = l_Lean_Syntax_node2(x_2377, x_2414, x_2412, x_2413); x_2416 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -45260,7 +44373,7 @@ lean_inc(x_2300); lean_inc(x_2386); lean_inc(x_2377); x_2417 = l_Lean_Syntax_node8(x_2377, x_2416, x_2386, x_2388, x_2300, x_2390, x_2395, x_2405, x_2407, x_2415); -x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2377); if (lean_is_scalar(x_2325)) { x_2419 = lean_alloc_ctor(2, 2, 0); @@ -45270,7 +44383,7 @@ if (lean_is_scalar(x_2325)) { } lean_ctor_set(x_2419, 0, x_2377); lean_ctor_set(x_2419, 1, x_2418); -x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2300); if (lean_is_scalar(x_2321)) { x_2421 = lean_alloc_ctor(1, 2, 0); @@ -45282,18 +44395,18 @@ lean_ctor_set(x_2421, 0, x_2300); lean_ctor_set(x_2421, 1, x_2420); x_2422 = lean_array_mk(x_2421); x_2423 = lean_box(2); -x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2425 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2425, 0, x_2423); lean_ctor_set(x_2425, 1, x_2424); lean_ctor_set(x_2425, 2, x_2422); -x_2426 = l_Lake_DSL_buildDeclSig___closed__19; +x_2426 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2390); lean_inc(x_2377); x_2427 = l_Lean_Syntax_node2(x_2377, x_2426, x_2390, x_2365); lean_inc(x_2377); x_2428 = l_Lean_Syntax_node1(x_2377, x_2326, x_2427); -x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2386); lean_inc(x_2377); x_2430 = l_Lean_Syntax_node2(x_2377, x_2429, x_2386, x_2428); @@ -45313,20 +44426,20 @@ lean_inc(x_2377); x_2436 = l_Lean_Syntax_node4(x_2377, x_2326, x_2361, x_2303, x_2372, x_2298); lean_inc(x_2377); x_2437 = l_Lean_Syntax_node2(x_2377, x_2414, x_2435, x_2436); -x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2386, 2); lean_inc(x_2377); x_2439 = l_Lean_Syntax_node2(x_2377, x_2438, x_2386, x_2386); -x_2440 = l_Lake_DSL_buildDeclSig___closed__24; +x_2440 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2386); lean_inc(x_2439); lean_inc(x_2407); lean_inc(x_2377); x_2441 = l_Lean_Syntax_node4(x_2377, x_2440, x_2407, x_2437, x_2439, x_2386); -x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2377); x_2443 = l_Lean_Syntax_node4(x_2377, x_2442, x_2419, x_2425, x_2430, x_2441); -x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2377); if (lean_is_scalar(x_2316)) { x_2445 = lean_alloc_ctor(2, 2, 0); @@ -45345,7 +44458,7 @@ x_2448 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2448, 0, x_2377); lean_ctor_set(x_2448, 1, x_2326); lean_ctor_set(x_2448, 2, x_2447); -x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2377); if (lean_is_scalar(x_2312)) { x_2450 = lean_alloc_ctor(2, 2, 0); @@ -45355,12 +44468,12 @@ if (lean_is_scalar(x_2312)) { } lean_ctor_set(x_2450, 0, x_2377); lean_ctor_set(x_2450, 1, x_2449); -x_2451 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2377); x_2452 = l_Lean_Syntax_node3(x_2377, x_2451, x_2445, x_2448, x_2450); lean_inc(x_2377); x_2453 = l_Lean_Syntax_node1(x_2377, x_2326, x_2452); -x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2386, 5); lean_inc(x_2377); x_2455 = l_Lean_Syntax_node6(x_2377, x_2454, x_2386, x_2453, x_2386, x_2386, x_2386, x_2386); @@ -45427,13 +44540,13 @@ x_2480 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2386); lean_inc(x_2377); x_2481 = l_Lean_Syntax_node5(x_2377, x_2480, x_2457, x_2463, x_2471, x_2479, x_2386); -x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2377); x_2483 = l_Lean_Syntax_node2(x_2377, x_2482, x_2455, x_2481); if (lean_obj_tag(x_5) == 0) { lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; -x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2377); x_2485 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2485, 0, x_2377); @@ -45694,14 +44807,14 @@ if (lean_is_exclusive(x_2546)) { lean_dec_ref(x_2546); x_2549 = lean_box(0); } -x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2541); x_2552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2552, 0, x_2541); lean_ctor_set(x_2552, 1, x_2550); lean_ctor_set(x_2552, 2, x_2551); -x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2552); lean_inc(x_2541); x_2554 = l_Lean_Syntax_node1(x_2541, x_2553, x_2552); @@ -45714,10 +44827,10 @@ lean_ctor_set(x_2558, 0, x_2541); lean_ctor_set(x_2558, 1, x_2557); lean_ctor_set(x_2558, 2, x_2556); lean_ctor_set(x_2558, 3, x_2520); -x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2541); x_2560 = l_Lean_Syntax_node2(x_2541, x_2559, x_2558, x_2552); -x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2562 = l_Lean_Syntax_node2(x_2541, x_2561, x_2554, x_2560); x_2563 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2548); x_2564 = lean_ctor_get(x_2563, 0); @@ -45886,7 +44999,7 @@ if (lean_is_scalar(x_2605)) { } lean_ctor_set(x_2612, 0, x_2601); lean_ctor_set(x_2612, 1, x_2611); -x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2601); if (lean_is_scalar(x_2600)) { x_2614 = lean_alloc_ctor(2, 2, 0); @@ -45908,7 +45021,7 @@ lean_ctor_set(x_2619, 0, x_2601); lean_ctor_set(x_2619, 1, x_2617); lean_ctor_set(x_2619, 2, x_2616); lean_ctor_set(x_2619, 3, x_2618); -x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2601); if (lean_is_scalar(x_2595)) { x_2621 = lean_alloc_ctor(2, 2, 0); @@ -45918,7 +45031,7 @@ if (lean_is_scalar(x_2595)) { } lean_ctor_set(x_2621, 0, x_2601); lean_ctor_set(x_2621, 1, x_2620); -x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2601); if (lean_is_scalar(x_2591)) { x_2623 = lean_alloc_ctor(2, 2, 0); @@ -45934,7 +45047,7 @@ x_2624 = l_Lean_Syntax_node1(x_2601, x_2550, x_2527); lean_inc(x_2585); lean_inc(x_2601); x_2625 = l_Lean_Syntax_node3(x_2601, x_2550, x_2585, x_2623, x_2624); -x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2601); if (lean_is_scalar(x_2587)) { x_2627 = lean_alloc_ctor(2, 2, 0); @@ -45947,7 +45060,7 @@ lean_ctor_set(x_2627, 1, x_2626); x_2628 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2601); x_2629 = l_Lean_Syntax_node3(x_2601, x_2628, x_2621, x_2625, x_2627); -x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2601); if (lean_is_scalar(x_2566)) { x_2631 = lean_alloc_ctor(2, 2, 0); @@ -45972,7 +45085,7 @@ lean_ctor_set(x_2636, 3, x_2635); lean_inc(x_2596); lean_inc(x_2601); x_2637 = l_Lean_Syntax_node1(x_2601, x_2550, x_2596); -x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2601); x_2639 = l_Lean_Syntax_node2(x_2601, x_2638, x_2636, x_2637); x_2640 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -45982,7 +45095,7 @@ lean_inc(x_2524); lean_inc(x_2610); lean_inc(x_2601); x_2641 = l_Lean_Syntax_node8(x_2601, x_2640, x_2610, x_2612, x_2524, x_2614, x_2619, x_2629, x_2631, x_2639); -x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2601); if (lean_is_scalar(x_2549)) { x_2643 = lean_alloc_ctor(2, 2, 0); @@ -45992,7 +45105,7 @@ if (lean_is_scalar(x_2549)) { } lean_ctor_set(x_2643, 0, x_2601); lean_ctor_set(x_2643, 1, x_2642); -x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2524); if (lean_is_scalar(x_2545)) { x_2645 = lean_alloc_ctor(1, 2, 0); @@ -46004,18 +45117,18 @@ lean_ctor_set(x_2645, 0, x_2524); lean_ctor_set(x_2645, 1, x_2644); x_2646 = lean_array_mk(x_2645); x_2647 = lean_box(2); -x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2649 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2649, 0, x_2647); lean_ctor_set(x_2649, 1, x_2648); lean_ctor_set(x_2649, 2, x_2646); -x_2650 = l_Lake_DSL_buildDeclSig___closed__19; +x_2650 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2614); lean_inc(x_2601); x_2651 = l_Lean_Syntax_node2(x_2601, x_2650, x_2614, x_2589); lean_inc(x_2601); x_2652 = l_Lean_Syntax_node1(x_2601, x_2550, x_2651); -x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2610); lean_inc(x_2601); x_2654 = l_Lean_Syntax_node2(x_2601, x_2653, x_2610, x_2652); @@ -46035,20 +45148,20 @@ lean_inc(x_2601); x_2660 = l_Lean_Syntax_node4(x_2601, x_2550, x_2585, x_2527, x_2596, x_2522); lean_inc(x_2601); x_2661 = l_Lean_Syntax_node2(x_2601, x_2638, x_2659, x_2660); -x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2610, 2); lean_inc(x_2601); x_2663 = l_Lean_Syntax_node2(x_2601, x_2662, x_2610, x_2610); -x_2664 = l_Lake_DSL_buildDeclSig___closed__24; +x_2664 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2610); lean_inc(x_2663); lean_inc(x_2631); lean_inc(x_2601); x_2665 = l_Lean_Syntax_node4(x_2601, x_2664, x_2631, x_2661, x_2663, x_2610); -x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2601); x_2667 = l_Lean_Syntax_node4(x_2601, x_2666, x_2643, x_2649, x_2654, x_2665); -x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2601); if (lean_is_scalar(x_2540)) { x_2669 = lean_alloc_ctor(2, 2, 0); @@ -46067,7 +45180,7 @@ x_2672 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2672, 0, x_2601); lean_ctor_set(x_2672, 1, x_2550); lean_ctor_set(x_2672, 2, x_2671); -x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2601); if (lean_is_scalar(x_2536)) { x_2674 = lean_alloc_ctor(2, 2, 0); @@ -46077,12 +45190,12 @@ if (lean_is_scalar(x_2536)) { } lean_ctor_set(x_2674, 0, x_2601); lean_ctor_set(x_2674, 1, x_2673); -x_2675 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2675 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2601); x_2676 = l_Lean_Syntax_node3(x_2601, x_2675, x_2669, x_2672, x_2674); lean_inc(x_2601); x_2677 = l_Lean_Syntax_node1(x_2601, x_2550, x_2676); -x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2610, 5); lean_inc(x_2601); x_2679 = l_Lean_Syntax_node6(x_2601, x_2678, x_2610, x_2677, x_2610, x_2610, x_2610, x_2610); @@ -46154,13 +45267,13 @@ x_2705 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2610); lean_inc(x_2601); x_2706 = l_Lean_Syntax_node5(x_2601, x_2705, x_2681, x_2687, x_2695, x_2704, x_2610); -x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2601); x_2708 = l_Lean_Syntax_node2(x_2601, x_2707, x_2679, x_2706); if (lean_obj_tag(x_5) == 0) { lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; -x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2601); x_2710 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2710, 0, x_2601); @@ -46290,20 +45403,39 @@ static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed input_file declaration", 33, 33); +x_1 = lean_mk_string_unchecked("inputFileCommand", 16, 16); return x_1; } } static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_elabInputfileCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed input_file declaration", 33, 33); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabInputfileCommand___closed__1; +x_1 = l_Lake_DSL_elabInputfileCommand___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__3() { +static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__5() { _start: { lean_object* x_1; @@ -46311,12 +45443,12 @@ x_1 = lean_mk_string_unchecked("InputFileConfig", 15, 15); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__4() { +static lean_object* _init_l_Lake_DSL_elabInputfileCommand___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_elabInputfileCommand___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_elabInputfileCommand___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } @@ -46325,13 +45457,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabInputfileCommand(lean_object* x_1, lean_ _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_inputFileCommand___closed__2; +x_5 = l_Lake_DSL_elabInputfileCommand___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabInputfileCommand___closed__2; +x_7 = l_Lake_DSL_elabInputfileCommand___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -46474,7 +45606,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean x_30 = lean_ctor_get(x_2, 6); lean_dec(x_30); lean_ctor_set(x_2, 6, x_28); -x_31 = l_Lake_DSL_elabInputfileCommand___closed__4; +x_31 = l_Lake_DSL_elabInputfileCommand___closed__6; x_32 = l_Lake_InputFile_keyword; x_33 = l_Lake_instTypeNameInputFileDecl; lean_inc(x_3); @@ -46552,7 +45684,7 @@ lean_ctor_set(x_52, 6, x_28); lean_ctor_set(x_52, 7, x_49); lean_ctor_set(x_52, 8, x_50); lean_ctor_set_uint8(x_52, sizeof(void*)*9, x_51); -x_53 = l_Lake_DSL_elabInputfileCommand___closed__4; +x_53 = l_Lake_DSL_elabInputfileCommand___closed__6; x_54 = l_Lake_InputFile_keyword; x_55 = l_Lake_instTypeNameInputFileDecl; lean_inc(x_3); @@ -46622,7 +45754,7 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean x_74 = lean_ctor_get(x_2, 6); lean_dec(x_74); lean_ctor_set(x_2, 6, x_72); -x_75 = l_Lake_DSL_elabInputfileCommand___closed__4; +x_75 = l_Lake_DSL_elabInputfileCommand___closed__6; x_76 = l_Lake_InputFile_keyword; x_77 = l_Lake_instTypeNameInputFileDecl; lean_inc(x_3); @@ -46700,7 +45832,7 @@ lean_ctor_set(x_96, 6, x_72); lean_ctor_set(x_96, 7, x_93); lean_ctor_set(x_96, 8, x_94); lean_ctor_set_uint8(x_96, sizeof(void*)*9, x_95); -x_97 = l_Lake_DSL_elabInputfileCommand___closed__4; +x_97 = l_Lake_DSL_elabInputfileCommand___closed__6; x_98 = l_Lake_InputFile_keyword; x_99 = l_Lake_instTypeNameInputFileDecl; lean_inc(x_3); @@ -46776,8 +45908,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabInputfileCommand__1___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -46796,7 +45928,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__3; -x_3 = l_Lake_DSL_inputFileCommand___closed__2; +x_3 = l_Lake_DSL_elabInputfileCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -46819,107 +45951,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("inputDirCommand", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_inputDirCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("input_dir ", 10, 10); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_inputDirCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_inputDirCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_inputDirCommand___closed__5; -x_3 = l_Lake_DSL_leanLibCommand___closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_inputDirCommand___closed__6; -x_3 = l_Lake_DSL_optConfig; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_inputDirCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_inputDirCommand___closed__7; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_inputDirCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_inputDirCommand___closed__8; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at_Lake_DSL_elabInputDirCommand___spec__2___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, lean_object* x_10, lean_object* x_11) { _start: { @@ -47023,14 +46054,14 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean x_43 = lean_ctor_get(x_41, 1); x_44 = lean_ctor_get(x_41, 0); lean_dec(x_44); -x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_45 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_46 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_36); lean_ctor_set(x_47, 1, x_45); lean_ctor_set(x_47, 2, x_46); -x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_48 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_47, 6); lean_inc(x_36); x_49 = l_Lean_Syntax_node6(x_36, x_48, x_47, x_47, x_47, x_47, x_47, x_47); @@ -47039,34 +46070,34 @@ lean_inc(x_36); lean_ctor_set_tag(x_41, 2); lean_ctor_set(x_41, 1, x_50); lean_ctor_set(x_41, 0, x_36); -x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_51 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_51); lean_ctor_set(x_37, 0, x_4); x_52 = lean_array_mk(x_37); -x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_53 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_32); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_55 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_36); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lake_DSL_buildDeclSig___closed__19; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_58 = l_Lean_Syntax_node2(x_36, x_57, x_56, x_5); lean_inc(x_36); x_59 = l_Lean_Syntax_node1(x_36, x_45, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_47); lean_inc(x_36); x_61 = l_Lean_Syntax_node2(x_36, x_60, x_47, x_59); x_62 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_63 = l_Lean_Syntax_node5(x_36, x_62, x_41, x_54, x_61, x_34, x_47); -x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_64 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_65 = l_Lean_Syntax_node2(x_36, x_64, x_49, x_63); lean_inc(x_65); x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47080,14 +46111,14 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_41, 1); lean_inc(x_68); lean_dec(x_41); -x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_69 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_70 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_36); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_72 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_71, 6); lean_inc(x_36); x_73 = l_Lean_Syntax_node6(x_36, x_72, x_71, x_71, x_71, x_71, x_71, x_71); @@ -47096,34 +46127,34 @@ lean_inc(x_36); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_36); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_76 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_ctor_set_tag(x_37, 1); lean_ctor_set(x_37, 1, x_76); lean_ctor_set(x_37, 0, x_4); x_77 = lean_array_mk(x_37); -x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_78 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_32); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_77); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_36); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lake_DSL_buildDeclSig___closed__19; +x_82 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_83 = l_Lean_Syntax_node2(x_36, x_82, x_81, x_5); lean_inc(x_36); x_84 = l_Lean_Syntax_node1(x_36, x_69, x_83); -x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_85 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_71); lean_inc(x_36); x_86 = l_Lean_Syntax_node2(x_36, x_85, x_71, x_84); x_87 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_88 = l_Lean_Syntax_node5(x_36, x_87, x_75, x_79, x_86, x_34, x_71); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_90 = l_Lean_Syntax_node2(x_36, x_89, x_73, x_88); lean_inc(x_90); x_91 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47149,14 +46180,14 @@ if (lean_is_exclusive(x_94)) { lean_dec_ref(x_94); x_96 = lean_box(0); } -x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_97 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_98 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_36); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_36); lean_ctor_set(x_99, 1, x_97); lean_ctor_set(x_99, 2, x_98); -x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_99, 6); lean_inc(x_36); x_101 = l_Lean_Syntax_node6(x_36, x_100, x_99, x_99, x_99, x_99, x_99, x_99); @@ -47170,34 +46201,34 @@ if (lean_is_scalar(x_96)) { } lean_ctor_set(x_103, 0, x_36); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_104 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_4); lean_ctor_set(x_105, 1, x_104); x_106 = lean_array_mk(x_105); -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_32); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_36); x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_36); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lake_DSL_buildDeclSig___closed__19; +x_111 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_36); x_112 = l_Lean_Syntax_node2(x_36, x_111, x_110, x_5); lean_inc(x_36); x_113 = l_Lean_Syntax_node1(x_36, x_97, x_112); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_99); lean_inc(x_36); x_115 = l_Lean_Syntax_node2(x_36, x_114, x_99, x_113); x_116 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_36); x_117 = l_Lean_Syntax_node5(x_36, x_116, x_103, x_108, x_115, x_34, x_99); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_119 = l_Lean_Syntax_node2(x_36, x_118, x_101, x_117); lean_inc(x_119); x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47257,14 +46288,14 @@ if (lean_is_exclusive(x_137)) { lean_dec_ref(x_137); x_139 = lean_box(0); } -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_133); x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_133); lean_ctor_set(x_142, 1, x_140); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_142, 6); lean_inc(x_133); x_144 = l_Lean_Syntax_node6(x_133, x_143, x_142, x_142, x_142, x_142, x_142, x_142); @@ -47278,7 +46309,7 @@ if (lean_is_scalar(x_139)) { } lean_ctor_set(x_146, 0, x_133); lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_147 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; if (lean_is_scalar(x_136)) { x_148 = lean_alloc_ctor(1, 2, 0); } else { @@ -47288,29 +46319,29 @@ if (lean_is_scalar(x_136)) { lean_ctor_set(x_148, 0, x_4); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_mk(x_148); -x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_129); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_133); x_153 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_153, 0, x_133); lean_ctor_set(x_153, 1, x_152); -x_154 = l_Lake_DSL_buildDeclSig___closed__19; +x_154 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_133); x_155 = l_Lean_Syntax_node2(x_133, x_154, x_153, x_5); lean_inc(x_133); x_156 = l_Lean_Syntax_node1(x_133, x_140, x_155); -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_142); lean_inc(x_133); x_158 = l_Lean_Syntax_node2(x_133, x_157, x_142, x_156); x_159 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_133); x_160 = l_Lean_Syntax_node5(x_133, x_159, x_146, x_151, x_158, x_131, x_142); -x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_161 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_162 = l_Lean_Syntax_node2(x_133, x_161, x_144, x_160); lean_inc(x_162); x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47501,7 +46532,7 @@ else lean_object* x_43; lean_object* x_44; uint8_t x_45; x_43 = l_Lean_Syntax_getArg(x_38, x_12); lean_dec(x_38); -x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_44 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_43); x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) @@ -47604,7 +46635,7 @@ else lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = l_Lean_Syntax_getArg(x_62, x_12); lean_dec(x_62); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_67); x_69 = l_Lean_Syntax_isOfKind(x_67, x_68); if (x_69 == 0) @@ -47657,7 +46688,7 @@ lean_dec(x_13); x_78 = l_Lake_InputDirConfig_instConfigMeta; x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; +x_80 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; lean_inc(x_5); x_81 = l_Lake_DSL_mkConfigFields(x_1, x_79, x_80, x_5, x_6, x_7); lean_dec(x_79); @@ -47710,14 +46741,14 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_102, 1); x_105 = lean_ctor_get(x_102, 0); lean_dec(x_105); -x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_106 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_106); lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_108, 6); lean_inc(x_97); x_110 = l_Lean_Syntax_node6(x_97, x_109, x_108, x_108, x_108, x_108, x_108, x_108); @@ -47731,29 +46762,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_112); lean_ctor_set(x_98, 0, x_2); x_113 = lean_array_mk(x_98); -x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_114 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_89); lean_ctor_set(x_115, 1, x_114); lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_116 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_116); lean_ctor_set(x_92, 0, x_97); -x_117 = l_Lake_DSL_buildDeclSig___closed__19; +x_117 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_118 = l_Lean_Syntax_node2(x_97, x_117, x_92, x_3); lean_inc(x_97); x_119 = l_Lean_Syntax_node1(x_97, x_106, x_118); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_108); lean_inc(x_97); x_121 = l_Lean_Syntax_node2(x_97, x_120, x_108, x_119); x_122 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_123 = l_Lean_Syntax_node5(x_97, x_122, x_102, x_115, x_121, x_91, x_108); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_125 = l_Lean_Syntax_node2(x_97, x_124, x_110, x_123); lean_inc(x_125); x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47767,14 +46798,14 @@ lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; x_128 = lean_ctor_get(x_102, 1); lean_inc(x_128); lean_dec(x_102); -x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_131 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_131, 0, x_97); lean_ctor_set(x_131, 1, x_129); lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_131, 6); lean_inc(x_97); x_133 = l_Lean_Syntax_node6(x_97, x_132, x_131, x_131, x_131, x_131, x_131, x_131); @@ -47788,29 +46819,29 @@ lean_ctor_set_tag(x_98, 1); lean_ctor_set(x_98, 1, x_136); lean_ctor_set(x_98, 0, x_2); x_137 = lean_array_mk(x_98); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_89); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_140 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_140); lean_ctor_set(x_92, 0, x_97); -x_141 = l_Lake_DSL_buildDeclSig___closed__19; +x_141 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_142 = l_Lean_Syntax_node2(x_97, x_141, x_92, x_3); lean_inc(x_97); x_143 = l_Lean_Syntax_node1(x_97, x_129, x_142); -x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_144 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_131); lean_inc(x_97); x_145 = l_Lean_Syntax_node2(x_97, x_144, x_131, x_143); x_146 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_147 = l_Lean_Syntax_node5(x_97, x_146, x_135, x_139, x_145, x_91, x_131); -x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_149 = l_Lean_Syntax_node2(x_97, x_148, x_133, x_147); lean_inc(x_149); x_150 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47836,14 +46867,14 @@ if (lean_is_exclusive(x_153)) { lean_dec_ref(x_153); x_155 = lean_box(0); } -x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_97); x_158 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_158, 0, x_97); lean_ctor_set(x_158, 1, x_156); lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_159 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_158, 6); lean_inc(x_97); x_160 = l_Lean_Syntax_node6(x_97, x_159, x_158, x_158, x_158, x_158, x_158, x_158); @@ -47862,29 +46893,29 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_2); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_mk(x_164); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_167 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_167, 0, x_89); lean_ctor_set(x_167, 1, x_166); lean_ctor_set(x_167, 2, x_165); -x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_168 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_97); lean_ctor_set_tag(x_92, 2); lean_ctor_set(x_92, 1, x_168); lean_ctor_set(x_92, 0, x_97); -x_169 = l_Lake_DSL_buildDeclSig___closed__19; +x_169 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_97); x_170 = l_Lean_Syntax_node2(x_97, x_169, x_92, x_3); lean_inc(x_97); x_171 = l_Lean_Syntax_node1(x_97, x_156, x_170); -x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_158); lean_inc(x_97); x_173 = l_Lean_Syntax_node2(x_97, x_172, x_158, x_171); x_174 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_97); x_175 = l_Lean_Syntax_node5(x_97, x_174, x_162, x_167, x_173, x_91, x_158); -x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_176 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_177 = l_Lean_Syntax_node2(x_97, x_176, x_160, x_175); lean_inc(x_177); x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -47926,14 +46957,14 @@ if (lean_is_exclusive(x_187)) { lean_dec_ref(x_187); x_189 = lean_box(0); } -x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_190 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_191 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_183); x_192 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_192, 0, x_183); lean_ctor_set(x_192, 1, x_190); lean_ctor_set(x_192, 2, x_191); -x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_193 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_192, 6); lean_inc(x_183); x_194 = l_Lean_Syntax_node6(x_183, x_193, x_192, x_192, x_192, x_192, x_192, x_192); @@ -47957,29 +46988,29 @@ if (lean_is_scalar(x_186)) { lean_ctor_set(x_198, 0, x_2); lean_ctor_set(x_198, 1, x_197); x_199 = lean_array_mk(x_198); -x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_200 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_89); lean_ctor_set(x_201, 1, x_200); lean_ctor_set(x_201, 2, x_199); -x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_202 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_183); x_203 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_203, 0, x_183); lean_ctor_set(x_203, 1, x_202); -x_204 = l_Lake_DSL_buildDeclSig___closed__19; +x_204 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_183); x_205 = l_Lean_Syntax_node2(x_183, x_204, x_203, x_3); lean_inc(x_183); x_206 = l_Lean_Syntax_node1(x_183, x_190, x_205); -x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_192); lean_inc(x_183); x_208 = l_Lean_Syntax_node2(x_183, x_207, x_192, x_206); x_209 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_183); x_210 = l_Lean_Syntax_node5(x_183, x_209, x_196, x_201, x_208, x_91, x_192); -x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_211 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; x_212 = l_Lean_Syntax_node2(x_183, x_211, x_194, x_210); lean_inc(x_212); x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); @@ -48117,14 +47148,14 @@ if (x_54 == 0) 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; lean_object* x_70; uint8_t x_71; x_55 = lean_ctor_get(x_53, 0); x_56 = lean_ctor_get(x_53, 1); -x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_57 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_58 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_59 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_59, 0, x_48); lean_ctor_set(x_59, 1, x_57); lean_ctor_set(x_59, 2, x_58); -x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_60 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_59); lean_inc(x_48); x_61 = l_Lean_Syntax_node1(x_48, x_60, x_59); @@ -48137,10 +47168,10 @@ lean_ctor_set(x_65, 0, x_48); lean_ctor_set(x_65, 1, x_64); lean_ctor_set(x_65, 2, x_63); lean_ctor_set(x_65, 3, x_28); -x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_66 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_67 = l_Lean_Syntax_node2(x_48, x_66, x_65, x_59); -x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_68 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_69 = l_Lean_Syntax_node2(x_48, x_68, x_61, x_67); x_70 = l_Lean_Elab_Command_getRef(x_9, x_10, x_56); x_71 = !lean_is_exclusive(x_70); @@ -48245,7 +47276,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_117); lean_ctor_set(x_109, 0, x_108); -x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_118); @@ -48262,12 +47293,12 @@ lean_ctor_set(x_123, 0, x_108); lean_ctor_set(x_123, 1, x_121); lean_ctor_set(x_123, 2, x_120); lean_ctor_set(x_123, 3, x_122); -x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_124); lean_ctor_set(x_99, 0, x_108); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_125); @@ -48278,7 +47309,7 @@ x_126 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_127 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_126); -x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_128); @@ -48286,7 +47317,7 @@ lean_ctor_set(x_91, 0, x_108); x_129 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_130 = l_Lean_Syntax_node3(x_108, x_129, x_99, x_127, x_91); -x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_131 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_131); @@ -48306,7 +47337,7 @@ lean_ctor_set(x_136, 3, x_135); lean_inc(x_103); lean_inc(x_108); x_137 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_138 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_139 = l_Lean_Syntax_node2(x_108, x_138, x_136, x_137); x_140 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -48316,30 +47347,30 @@ lean_inc(x_32); lean_inc(x_116); lean_inc(x_108); x_141 = l_Lean_Syntax_node8(x_108, x_140, x_116, x_109, x_32, x_104, x_123, x_130, x_70, x_139); -x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_142 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_142); lean_ctor_set(x_53, 0, x_108); -x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_143 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_143); lean_ctor_set(x_49, 0, x_32); x_144 = lean_array_mk(x_49); x_145 = lean_box(2); -x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_146 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_147 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); lean_ctor_set(x_147, 2, x_144); -x_148 = l_Lake_DSL_buildDeclSig___closed__19; +x_148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_149 = l_Lean_Syntax_node2(x_108, x_148, x_104, x_97); lean_inc(x_108); x_150 = l_Lean_Syntax_node1(x_108, x_57, x_149); -x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_151 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_116); lean_inc(x_108); x_152 = l_Lean_Syntax_node2(x_108, x_151, x_116, x_150); @@ -48359,20 +47390,20 @@ lean_inc(x_108); x_158 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_159 = l_Lean_Syntax_node2(x_108, x_138, x_157, x_158); -x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_160 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_116, 2); lean_inc(x_108); x_161 = l_Lean_Syntax_node2(x_108, x_160, x_116, x_116); -x_162 = l_Lake_DSL_buildDeclSig___closed__24; +x_162 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_116); lean_inc(x_161); lean_inc(x_70); lean_inc(x_108); x_163 = l_Lean_Syntax_node4(x_108, x_162, x_70, x_159, x_161, x_116); -x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_164 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_165 = l_Lean_Syntax_node4(x_108, x_164, x_53, x_147, x_152, x_163); -x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_166 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_166); @@ -48386,17 +47417,17 @@ x_169 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_169, 0, x_108); lean_ctor_set(x_169, 1, x_57); lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_170 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_170); lean_ctor_set(x_40, 0, x_108); -x_171 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_171 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_172 = l_Lean_Syntax_node3(x_108, x_171, x_44, x_169, x_40); lean_inc(x_108); x_173 = l_Lean_Syntax_node1(x_108, x_57, x_172); -x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_174 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_116, 5); lean_inc(x_108); x_175 = l_Lean_Syntax_node6(x_108, x_174, x_116, x_173, x_116, x_116, x_116, x_116); @@ -48463,13 +47494,13 @@ x_199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_116); lean_inc(x_108); x_200 = l_Lean_Syntax_node5(x_108, x_199, x_18, x_182, x_190, x_198, x_116); -x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_202 = l_Lean_Syntax_node2(x_108, x_201, x_175, x_200); if (lean_obj_tag(x_5) == 0) { lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_108); @@ -48526,7 +47557,7 @@ lean_inc(x_108); lean_ctor_set_tag(x_109, 2); lean_ctor_set(x_109, 1, x_218); lean_ctor_set(x_109, 0, x_108); -x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_219 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_219); @@ -48543,12 +47574,12 @@ lean_ctor_set(x_224, 0, x_108); lean_ctor_set(x_224, 1, x_222); lean_ctor_set(x_224, 2, x_221); lean_ctor_set(x_224, 3, x_223); -x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_225); lean_ctor_set(x_99, 0, x_108); -x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_226 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_226); @@ -48559,7 +47590,7 @@ x_227 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_228 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_227); -x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_229 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_229); @@ -48567,7 +47598,7 @@ lean_ctor_set(x_91, 0, x_108); x_230 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_231 = l_Lean_Syntax_node3(x_108, x_230, x_99, x_228, x_91); -x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_232); @@ -48587,7 +47618,7 @@ lean_ctor_set(x_237, 3, x_236); lean_inc(x_103); lean_inc(x_108); x_238 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_239 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_240 = l_Lean_Syntax_node2(x_108, x_239, x_237, x_238); x_241 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -48597,30 +47628,30 @@ lean_inc(x_32); lean_inc(x_217); lean_inc(x_108); x_242 = l_Lean_Syntax_node8(x_108, x_241, x_217, x_109, x_32, x_104, x_224, x_231, x_70, x_240); -x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_243 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_243); lean_ctor_set(x_53, 0, x_108); -x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_244 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_244); lean_ctor_set(x_49, 0, x_32); x_245 = lean_array_mk(x_49); x_246 = lean_box(2); -x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_247 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_248 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_248, 0, x_246); lean_ctor_set(x_248, 1, x_247); lean_ctor_set(x_248, 2, x_245); -x_249 = l_Lake_DSL_buildDeclSig___closed__19; +x_249 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_250 = l_Lean_Syntax_node2(x_108, x_249, x_104, x_97); lean_inc(x_108); x_251 = l_Lean_Syntax_node1(x_108, x_57, x_250); -x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_252 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_217); lean_inc(x_108); x_253 = l_Lean_Syntax_node2(x_108, x_252, x_217, x_251); @@ -48640,20 +47671,20 @@ lean_inc(x_108); x_259 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_260 = l_Lean_Syntax_node2(x_108, x_239, x_258, x_259); -x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_261 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_217, 2); lean_inc(x_108); x_262 = l_Lean_Syntax_node2(x_108, x_261, x_217, x_217); -x_263 = l_Lake_DSL_buildDeclSig___closed__24; +x_263 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_217); lean_inc(x_262); lean_inc(x_70); lean_inc(x_108); x_264 = l_Lean_Syntax_node4(x_108, x_263, x_70, x_260, x_262, x_217); -x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_265 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_266 = l_Lean_Syntax_node4(x_108, x_265, x_53, x_248, x_253, x_264); -x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_267 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_267); @@ -48667,17 +47698,17 @@ x_270 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_270, 0, x_108); lean_ctor_set(x_270, 1, x_57); lean_ctor_set(x_270, 2, x_269); -x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_271 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_271); lean_ctor_set(x_40, 0, x_108); -x_272 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_272 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_273 = l_Lean_Syntax_node3(x_108, x_272, x_44, x_270, x_40); lean_inc(x_108); x_274 = l_Lean_Syntax_node1(x_108, x_57, x_273); -x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_275 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_217, 5); lean_inc(x_108); x_276 = l_Lean_Syntax_node6(x_108, x_275, x_217, x_274, x_217, x_217, x_217, x_217); @@ -48744,13 +47775,13 @@ x_300 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_217); lean_inc(x_108); x_301 = l_Lean_Syntax_node5(x_108, x_300, x_18, x_283, x_291, x_299, x_217); -x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_303 = l_Lean_Syntax_node2(x_108, x_302, x_276, x_301); if (lean_obj_tag(x_5) == 0) { lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_305 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_305, 0, x_108); @@ -48826,7 +47857,7 @@ lean_inc(x_108); x_326 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_326, 0, x_108); lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_108); lean_ctor_set_tag(x_104, 2); lean_ctor_set(x_104, 1, x_327); @@ -48843,12 +47874,12 @@ lean_ctor_set(x_332, 0, x_108); lean_ctor_set(x_332, 1, x_330); lean_ctor_set(x_332, 2, x_329); lean_ctor_set(x_332, 3, x_331); -x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_333 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_108); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_333); lean_ctor_set(x_99, 0, x_108); -x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_334 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_108); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_334); @@ -48859,7 +47890,7 @@ x_335 = l_Lean_Syntax_node1(x_108, x_57, x_35); lean_inc(x_93); lean_inc(x_108); x_336 = l_Lean_Syntax_node3(x_108, x_57, x_93, x_95, x_335); -x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_108); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_337); @@ -48867,7 +47898,7 @@ lean_ctor_set(x_91, 0, x_108); x_338 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_108); x_339 = l_Lean_Syntax_node3(x_108, x_338, x_99, x_336, x_91); -x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_340 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_108); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_340); @@ -48887,7 +47918,7 @@ lean_ctor_set(x_345, 3, x_344); lean_inc(x_103); lean_inc(x_108); x_346 = l_Lean_Syntax_node1(x_108, x_57, x_103); -x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_347 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_108); x_348 = l_Lean_Syntax_node2(x_108, x_347, x_345, x_346); x_349 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -48897,30 +47928,30 @@ lean_inc(x_32); lean_inc(x_324); lean_inc(x_108); x_350 = l_Lean_Syntax_node8(x_108, x_349, x_324, x_326, x_32, x_104, x_332, x_339, x_70, x_348); -x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_351 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_108); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_351); lean_ctor_set(x_53, 0, x_108); -x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_352 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_352); lean_ctor_set(x_49, 0, x_32); x_353 = lean_array_mk(x_49); x_354 = lean_box(2); -x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_355 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_356 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); lean_ctor_set(x_356, 2, x_353); -x_357 = l_Lake_DSL_buildDeclSig___closed__19; +x_357 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_104); lean_inc(x_108); x_358 = l_Lean_Syntax_node2(x_108, x_357, x_104, x_97); lean_inc(x_108); x_359 = l_Lean_Syntax_node1(x_108, x_57, x_358); -x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_324); lean_inc(x_108); x_361 = l_Lean_Syntax_node2(x_108, x_360, x_324, x_359); @@ -48940,20 +47971,20 @@ lean_inc(x_108); x_367 = l_Lean_Syntax_node4(x_108, x_57, x_93, x_35, x_103, x_30); lean_inc(x_108); x_368 = l_Lean_Syntax_node2(x_108, x_347, x_366, x_367); -x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_369 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_324, 2); lean_inc(x_108); x_370 = l_Lean_Syntax_node2(x_108, x_369, x_324, x_324); -x_371 = l_Lake_DSL_buildDeclSig___closed__24; +x_371 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_324); lean_inc(x_370); lean_inc(x_70); lean_inc(x_108); x_372 = l_Lean_Syntax_node4(x_108, x_371, x_70, x_368, x_370, x_324); -x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_373 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_108); x_374 = l_Lean_Syntax_node4(x_108, x_373, x_53, x_356, x_361, x_372); -x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_375 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_108); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_375); @@ -48967,17 +47998,17 @@ x_378 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_378, 0, x_108); lean_ctor_set(x_378, 1, x_57); lean_ctor_set(x_378, 2, x_377); -x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_379 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_108); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_379); lean_ctor_set(x_40, 0, x_108); -x_380 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_380 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_108); x_381 = l_Lean_Syntax_node3(x_108, x_380, x_44, x_378, x_40); lean_inc(x_108); x_382 = l_Lean_Syntax_node1(x_108, x_57, x_381); -x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_383 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_324, 5); lean_inc(x_108); x_384 = l_Lean_Syntax_node6(x_108, x_383, x_324, x_382, x_324, x_324, x_324, x_324); @@ -49044,13 +48075,13 @@ x_408 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_324); lean_inc(x_108); x_409 = l_Lean_Syntax_node5(x_108, x_408, x_18, x_391, x_399, x_407, x_324); -x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_410 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_108); x_411 = l_Lean_Syntax_node2(x_108, x_410, x_384, x_409); if (lean_obj_tag(x_5) == 0) { lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_412 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_108); x_413 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_413, 0, x_108); @@ -49155,7 +48186,7 @@ if (lean_is_scalar(x_432)) { } lean_ctor_set(x_439, 0, x_428); lean_ctor_set(x_439, 1, x_438); -x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_440 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_428); x_441 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_441, 0, x_428); @@ -49172,12 +48203,12 @@ lean_ctor_set(x_446, 0, x_428); lean_ctor_set(x_446, 1, x_444); lean_ctor_set(x_446, 2, x_443); lean_ctor_set(x_446, 3, x_445); -x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_447 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_428); lean_ctor_set_tag(x_99, 2); lean_ctor_set(x_99, 1, x_447); lean_ctor_set(x_99, 0, x_428); -x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_448 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_428); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_448); @@ -49188,7 +48219,7 @@ x_449 = l_Lean_Syntax_node1(x_428, x_57, x_35); lean_inc(x_93); lean_inc(x_428); x_450 = l_Lean_Syntax_node3(x_428, x_57, x_93, x_95, x_449); -x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_428); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_451); @@ -49196,7 +48227,7 @@ lean_ctor_set(x_91, 0, x_428); x_452 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_428); x_453 = l_Lean_Syntax_node3(x_428, x_452, x_99, x_450, x_91); -x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_428); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_454); @@ -49216,7 +48247,7 @@ lean_ctor_set(x_459, 3, x_458); lean_inc(x_103); lean_inc(x_428); x_460 = l_Lean_Syntax_node1(x_428, x_57, x_103); -x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_461 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_428); x_462 = l_Lean_Syntax_node2(x_428, x_461, x_459, x_460); x_463 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -49226,30 +48257,30 @@ lean_inc(x_32); lean_inc(x_437); lean_inc(x_428); x_464 = l_Lean_Syntax_node8(x_428, x_463, x_437, x_439, x_32, x_441, x_446, x_453, x_70, x_462); -x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_465 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_428); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_465); lean_ctor_set(x_53, 0, x_428); -x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_466 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_466); lean_ctor_set(x_49, 0, x_32); x_467 = lean_array_mk(x_49); x_468 = lean_box(2); -x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_469 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_470 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_470, 0, x_468); lean_ctor_set(x_470, 1, x_469); lean_ctor_set(x_470, 2, x_467); -x_471 = l_Lake_DSL_buildDeclSig___closed__19; +x_471 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_441); lean_inc(x_428); x_472 = l_Lean_Syntax_node2(x_428, x_471, x_441, x_97); lean_inc(x_428); x_473 = l_Lean_Syntax_node1(x_428, x_57, x_472); -x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_437); lean_inc(x_428); x_475 = l_Lean_Syntax_node2(x_428, x_474, x_437, x_473); @@ -49269,20 +48300,20 @@ lean_inc(x_428); x_481 = l_Lean_Syntax_node4(x_428, x_57, x_93, x_35, x_103, x_30); lean_inc(x_428); x_482 = l_Lean_Syntax_node2(x_428, x_461, x_480, x_481); -x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_483 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_437, 2); lean_inc(x_428); x_484 = l_Lean_Syntax_node2(x_428, x_483, x_437, x_437); -x_485 = l_Lake_DSL_buildDeclSig___closed__24; +x_485 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_437); lean_inc(x_484); lean_inc(x_70); lean_inc(x_428); x_486 = l_Lean_Syntax_node4(x_428, x_485, x_70, x_482, x_484, x_437); -x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_487 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_428); x_488 = l_Lean_Syntax_node4(x_428, x_487, x_53, x_470, x_475, x_486); -x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_489 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_428); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_489); @@ -49296,17 +48327,17 @@ x_492 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_492, 0, x_428); lean_ctor_set(x_492, 1, x_57); lean_ctor_set(x_492, 2, x_491); -x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_493 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_428); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_493); lean_ctor_set(x_40, 0, x_428); -x_494 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_494 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_428); x_495 = l_Lean_Syntax_node3(x_428, x_494, x_44, x_492, x_40); lean_inc(x_428); x_496 = l_Lean_Syntax_node1(x_428, x_57, x_495); -x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_497 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_437, 5); lean_inc(x_428); x_498 = l_Lean_Syntax_node6(x_428, x_497, x_437, x_496, x_437, x_437, x_437, x_437); @@ -49373,13 +48404,13 @@ x_522 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_437); lean_inc(x_428); x_523 = l_Lean_Syntax_node5(x_428, x_522, x_18, x_505, x_513, x_521, x_437); -x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_524 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_428); x_525 = l_Lean_Syntax_node2(x_428, x_524, x_498, x_523); if (lean_obj_tag(x_5) == 0) { lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_526 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_428); x_527 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_527, 0, x_428); @@ -49498,7 +48529,7 @@ if (lean_is_scalar(x_551)) { } lean_ctor_set(x_558, 0, x_547); lean_ctor_set(x_558, 1, x_557); -x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_547); if (lean_is_scalar(x_546)) { x_560 = lean_alloc_ctor(2, 2, 0); @@ -49520,12 +48551,12 @@ lean_ctor_set(x_565, 0, x_547); lean_ctor_set(x_565, 1, x_563); lean_ctor_set(x_565, 2, x_562); lean_ctor_set(x_565, 3, x_564); -x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_566 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_547); x_567 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_567, 0, x_547); lean_ctor_set(x_567, 1, x_566); -x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_568 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_547); lean_ctor_set_tag(x_95, 2); lean_ctor_set(x_95, 1, x_568); @@ -49536,7 +48567,7 @@ x_569 = l_Lean_Syntax_node1(x_547, x_57, x_35); lean_inc(x_93); lean_inc(x_547); x_570 = l_Lean_Syntax_node3(x_547, x_57, x_93, x_95, x_569); -x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_571 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_547); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_571); @@ -49544,7 +48575,7 @@ lean_ctor_set(x_91, 0, x_547); x_572 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_547); x_573 = l_Lean_Syntax_node3(x_547, x_572, x_567, x_570, x_91); -x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_574 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_547); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_574); @@ -49564,7 +48595,7 @@ lean_ctor_set(x_579, 3, x_578); lean_inc(x_542); lean_inc(x_547); x_580 = l_Lean_Syntax_node1(x_547, x_57, x_542); -x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_581 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_547); x_582 = l_Lean_Syntax_node2(x_547, x_581, x_579, x_580); x_583 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -49574,30 +48605,30 @@ lean_inc(x_32); lean_inc(x_556); lean_inc(x_547); x_584 = l_Lean_Syntax_node8(x_547, x_583, x_556, x_558, x_32, x_560, x_565, x_573, x_70, x_582); -x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_585 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_547); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_585); lean_ctor_set(x_53, 0, x_547); -x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_586 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_586); lean_ctor_set(x_49, 0, x_32); x_587 = lean_array_mk(x_49); x_588 = lean_box(2); -x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_589 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_590 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_590, 0, x_588); lean_ctor_set(x_590, 1, x_589); lean_ctor_set(x_590, 2, x_587); -x_591 = l_Lake_DSL_buildDeclSig___closed__19; +x_591 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_560); lean_inc(x_547); x_592 = l_Lean_Syntax_node2(x_547, x_591, x_560, x_97); lean_inc(x_547); x_593 = l_Lean_Syntax_node1(x_547, x_57, x_592); -x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_556); lean_inc(x_547); x_595 = l_Lean_Syntax_node2(x_547, x_594, x_556, x_593); @@ -49617,20 +48648,20 @@ lean_inc(x_547); x_601 = l_Lean_Syntax_node4(x_547, x_57, x_93, x_35, x_542, x_30); lean_inc(x_547); x_602 = l_Lean_Syntax_node2(x_547, x_581, x_600, x_601); -x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_603 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_556, 2); lean_inc(x_547); x_604 = l_Lean_Syntax_node2(x_547, x_603, x_556, x_556); -x_605 = l_Lake_DSL_buildDeclSig___closed__24; +x_605 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_556); lean_inc(x_604); lean_inc(x_70); lean_inc(x_547); x_606 = l_Lean_Syntax_node4(x_547, x_605, x_70, x_602, x_604, x_556); -x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_547); x_608 = l_Lean_Syntax_node4(x_547, x_607, x_53, x_590, x_595, x_606); -x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_609 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_547); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_609); @@ -49644,17 +48675,17 @@ x_612 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_612, 0, x_547); lean_ctor_set(x_612, 1, x_57); lean_ctor_set(x_612, 2, x_611); -x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_547); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_613); lean_ctor_set(x_40, 0, x_547); -x_614 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_614 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_547); x_615 = l_Lean_Syntax_node3(x_547, x_614, x_44, x_612, x_40); lean_inc(x_547); x_616 = l_Lean_Syntax_node1(x_547, x_57, x_615); -x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_617 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_556, 5); lean_inc(x_547); x_618 = l_Lean_Syntax_node6(x_547, x_617, x_556, x_616, x_556, x_556, x_556, x_556); @@ -49721,13 +48752,13 @@ x_642 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_556); lean_inc(x_547); x_643 = l_Lean_Syntax_node5(x_547, x_642, x_18, x_625, x_633, x_641, x_556); -x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_547); x_645 = l_Lean_Syntax_node2(x_547, x_644, x_618, x_643); if (lean_obj_tag(x_5) == 0) { lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_646 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_547); x_647 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_647, 0, x_547); @@ -49859,7 +48890,7 @@ if (lean_is_scalar(x_675)) { } lean_ctor_set(x_682, 0, x_671); lean_ctor_set(x_682, 1, x_681); -x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_683 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_671); if (lean_is_scalar(x_670)) { x_684 = lean_alloc_ctor(2, 2, 0); @@ -49881,7 +48912,7 @@ lean_ctor_set(x_689, 0, x_671); lean_ctor_set(x_689, 1, x_687); lean_ctor_set(x_689, 2, x_686); lean_ctor_set(x_689, 3, x_688); -x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_690 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_671); if (lean_is_scalar(x_665)) { x_691 = lean_alloc_ctor(2, 2, 0); @@ -49891,7 +48922,7 @@ if (lean_is_scalar(x_665)) { } lean_ctor_set(x_691, 0, x_671); lean_ctor_set(x_691, 1, x_690); -x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_692 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_671); x_693 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_693, 0, x_671); @@ -49902,7 +48933,7 @@ x_694 = l_Lean_Syntax_node1(x_671, x_57, x_35); lean_inc(x_93); lean_inc(x_671); x_695 = l_Lean_Syntax_node3(x_671, x_57, x_93, x_693, x_694); -x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_696 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_671); lean_ctor_set_tag(x_91, 2); lean_ctor_set(x_91, 1, x_696); @@ -49910,7 +48941,7 @@ lean_ctor_set(x_91, 0, x_671); x_697 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_671); x_698 = l_Lean_Syntax_node3(x_671, x_697, x_691, x_695, x_91); -x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_699 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_671); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_699); @@ -49930,7 +48961,7 @@ lean_ctor_set(x_704, 3, x_703); lean_inc(x_666); lean_inc(x_671); x_705 = l_Lean_Syntax_node1(x_671, x_57, x_666); -x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_706 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_671); x_707 = l_Lean_Syntax_node2(x_671, x_706, x_704, x_705); x_708 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -49940,30 +48971,30 @@ lean_inc(x_32); lean_inc(x_680); lean_inc(x_671); x_709 = l_Lean_Syntax_node8(x_671, x_708, x_680, x_682, x_32, x_684, x_689, x_698, x_70, x_707); -x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_710 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_671); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_710); lean_ctor_set(x_53, 0, x_671); -x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_711); lean_ctor_set(x_49, 0, x_32); x_712 = lean_array_mk(x_49); x_713 = lean_box(2); -x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_715 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_715, 0, x_713); lean_ctor_set(x_715, 1, x_714); lean_ctor_set(x_715, 2, x_712); -x_716 = l_Lake_DSL_buildDeclSig___closed__19; +x_716 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_684); lean_inc(x_671); x_717 = l_Lean_Syntax_node2(x_671, x_716, x_684, x_660); lean_inc(x_671); x_718 = l_Lean_Syntax_node1(x_671, x_57, x_717); -x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_719 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_680); lean_inc(x_671); x_720 = l_Lean_Syntax_node2(x_671, x_719, x_680, x_718); @@ -49983,20 +49014,20 @@ lean_inc(x_671); x_726 = l_Lean_Syntax_node4(x_671, x_57, x_93, x_35, x_666, x_30); lean_inc(x_671); x_727 = l_Lean_Syntax_node2(x_671, x_706, x_725, x_726); -x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_728 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_680, 2); lean_inc(x_671); x_729 = l_Lean_Syntax_node2(x_671, x_728, x_680, x_680); -x_730 = l_Lake_DSL_buildDeclSig___closed__24; +x_730 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_680); lean_inc(x_729); lean_inc(x_70); lean_inc(x_671); x_731 = l_Lean_Syntax_node4(x_671, x_730, x_70, x_727, x_729, x_680); -x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_732 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_671); x_733 = l_Lean_Syntax_node4(x_671, x_732, x_53, x_715, x_720, x_731); -x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_734 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_671); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_734); @@ -50010,17 +49041,17 @@ x_737 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_737, 0, x_671); lean_ctor_set(x_737, 1, x_57); lean_ctor_set(x_737, 2, x_736); -x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_738 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_671); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_738); lean_ctor_set(x_40, 0, x_671); -x_739 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_739 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_671); x_740 = l_Lean_Syntax_node3(x_671, x_739, x_44, x_737, x_40); lean_inc(x_671); x_741 = l_Lean_Syntax_node1(x_671, x_57, x_740); -x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_742 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_680, 5); lean_inc(x_671); x_743 = l_Lean_Syntax_node6(x_671, x_742, x_680, x_741, x_680, x_680, x_680, x_680); @@ -50087,13 +49118,13 @@ x_767 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_680); lean_inc(x_671); x_768 = l_Lean_Syntax_node5(x_671, x_767, x_18, x_750, x_758, x_766, x_680); -x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_769 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_671); x_770 = l_Lean_Syntax_node2(x_671, x_769, x_743, x_768); if (lean_obj_tag(x_5) == 0) { lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_771 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_671); x_772 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_772, 0, x_671); @@ -50238,7 +49269,7 @@ if (lean_is_scalar(x_804)) { } lean_ctor_set(x_811, 0, x_800); lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_812 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_800); if (lean_is_scalar(x_799)) { x_813 = lean_alloc_ctor(2, 2, 0); @@ -50260,7 +49291,7 @@ lean_ctor_set(x_818, 0, x_800); lean_ctor_set(x_818, 1, x_816); lean_ctor_set(x_818, 2, x_815); lean_ctor_set(x_818, 3, x_817); -x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_819 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_800); if (lean_is_scalar(x_794)) { x_820 = lean_alloc_ctor(2, 2, 0); @@ -50270,7 +49301,7 @@ if (lean_is_scalar(x_794)) { } lean_ctor_set(x_820, 0, x_800); lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_821 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_800); if (lean_is_scalar(x_790)) { x_822 = lean_alloc_ctor(2, 2, 0); @@ -50286,7 +49317,7 @@ x_823 = l_Lean_Syntax_node1(x_800, x_57, x_35); lean_inc(x_785); lean_inc(x_800); x_824 = l_Lean_Syntax_node3(x_800, x_57, x_785, x_822, x_823); -x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_825 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_800); x_826 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_826, 0, x_800); @@ -50294,7 +49325,7 @@ lean_ctor_set(x_826, 1, x_825); x_827 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_800); x_828 = l_Lean_Syntax_node3(x_800, x_827, x_820, x_824, x_826); -x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_800); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_829); @@ -50314,7 +49345,7 @@ lean_ctor_set(x_834, 3, x_833); lean_inc(x_795); lean_inc(x_800); x_835 = l_Lean_Syntax_node1(x_800, x_57, x_795); -x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_836 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_800); x_837 = l_Lean_Syntax_node2(x_800, x_836, x_834, x_835); x_838 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -50324,30 +49355,30 @@ lean_inc(x_32); lean_inc(x_809); lean_inc(x_800); x_839 = l_Lean_Syntax_node8(x_800, x_838, x_809, x_811, x_32, x_813, x_818, x_828, x_70, x_837); -x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_840 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_800); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_840); lean_ctor_set(x_53, 0, x_800); -x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_841 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_841); lean_ctor_set(x_49, 0, x_32); x_842 = lean_array_mk(x_49); x_843 = lean_box(2); -x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_844 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_845 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_845, 0, x_843); lean_ctor_set(x_845, 1, x_844); lean_ctor_set(x_845, 2, x_842); -x_846 = l_Lake_DSL_buildDeclSig___closed__19; +x_846 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_813); lean_inc(x_800); x_847 = l_Lean_Syntax_node2(x_800, x_846, x_813, x_788); lean_inc(x_800); x_848 = l_Lean_Syntax_node1(x_800, x_57, x_847); -x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_849 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_809); lean_inc(x_800); x_850 = l_Lean_Syntax_node2(x_800, x_849, x_809, x_848); @@ -50367,20 +49398,20 @@ lean_inc(x_800); x_856 = l_Lean_Syntax_node4(x_800, x_57, x_785, x_35, x_795, x_30); lean_inc(x_800); x_857 = l_Lean_Syntax_node2(x_800, x_836, x_855, x_856); -x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_858 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_809, 2); lean_inc(x_800); x_859 = l_Lean_Syntax_node2(x_800, x_858, x_809, x_809); -x_860 = l_Lake_DSL_buildDeclSig___closed__24; +x_860 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_809); lean_inc(x_859); lean_inc(x_70); lean_inc(x_800); x_861 = l_Lean_Syntax_node4(x_800, x_860, x_70, x_857, x_859, x_809); -x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_862 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_800); x_863 = l_Lean_Syntax_node4(x_800, x_862, x_53, x_845, x_850, x_861); -x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_864 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_800); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_864); @@ -50394,17 +49425,17 @@ x_867 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_867, 0, x_800); lean_ctor_set(x_867, 1, x_57); lean_ctor_set(x_867, 2, x_866); -x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_868 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_800); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_868); lean_ctor_set(x_40, 0, x_800); -x_869 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_869 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_800); x_870 = l_Lean_Syntax_node3(x_800, x_869, x_44, x_867, x_40); lean_inc(x_800); x_871 = l_Lean_Syntax_node1(x_800, x_57, x_870); -x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_872 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_809, 5); lean_inc(x_800); x_873 = l_Lean_Syntax_node6(x_800, x_872, x_809, x_871, x_809, x_809, x_809, x_809); @@ -50471,13 +49502,13 @@ x_897 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_809); lean_inc(x_800); x_898 = l_Lean_Syntax_node5(x_800, x_897, x_18, x_880, x_888, x_896, x_809); -x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_800); x_900 = l_Lean_Syntax_node2(x_800, x_899, x_873, x_898); if (lean_obj_tag(x_5) == 0) { lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_901 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_800); x_902 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_902, 0, x_800); @@ -50655,7 +49686,7 @@ if (lean_is_scalar(x_946)) { } lean_ctor_set(x_953, 0, x_942); lean_ctor_set(x_953, 1, x_952); -x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_954 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_942); if (lean_is_scalar(x_941)) { x_955 = lean_alloc_ctor(2, 2, 0); @@ -50677,7 +49708,7 @@ lean_ctor_set(x_960, 0, x_942); lean_ctor_set(x_960, 1, x_958); lean_ctor_set(x_960, 2, x_957); lean_ctor_set(x_960, 3, x_959); -x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_961 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_942); if (lean_is_scalar(x_936)) { x_962 = lean_alloc_ctor(2, 2, 0); @@ -50687,7 +49718,7 @@ if (lean_is_scalar(x_936)) { } lean_ctor_set(x_962, 0, x_942); lean_ctor_set(x_962, 1, x_961); -x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_963 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_942); if (lean_is_scalar(x_932)) { x_964 = lean_alloc_ctor(2, 2, 0); @@ -50703,7 +49734,7 @@ x_965 = l_Lean_Syntax_node1(x_942, x_57, x_35); lean_inc(x_926); lean_inc(x_942); x_966 = l_Lean_Syntax_node3(x_942, x_57, x_926, x_964, x_965); -x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_967 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_942); if (lean_is_scalar(x_928)) { x_968 = lean_alloc_ctor(2, 2, 0); @@ -50716,7 +49747,7 @@ lean_ctor_set(x_968, 1, x_967); x_969 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_942); x_970 = l_Lean_Syntax_node3(x_942, x_969, x_962, x_966, x_968); -x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_971 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_942); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_971); @@ -50736,7 +49767,7 @@ lean_ctor_set(x_976, 3, x_975); lean_inc(x_937); lean_inc(x_942); x_977 = l_Lean_Syntax_node1(x_942, x_57, x_937); -x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_978 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_942); x_979 = l_Lean_Syntax_node2(x_942, x_978, x_976, x_977); x_980 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -50746,30 +49777,30 @@ lean_inc(x_32); lean_inc(x_951); lean_inc(x_942); x_981 = l_Lean_Syntax_node8(x_942, x_980, x_951, x_953, x_32, x_955, x_960, x_970, x_70, x_979); -x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_982 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_942); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_982); lean_ctor_set(x_53, 0, x_942); -x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_983 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_983); lean_ctor_set(x_49, 0, x_32); x_984 = lean_array_mk(x_49); x_985 = lean_box(2); -x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_986 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_987 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_987, 0, x_985); lean_ctor_set(x_987, 1, x_986); lean_ctor_set(x_987, 2, x_984); -x_988 = l_Lake_DSL_buildDeclSig___closed__19; +x_988 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_955); lean_inc(x_942); x_989 = l_Lean_Syntax_node2(x_942, x_988, x_955, x_930); lean_inc(x_942); x_990 = l_Lean_Syntax_node1(x_942, x_57, x_989); -x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_991 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_951); lean_inc(x_942); x_992 = l_Lean_Syntax_node2(x_942, x_991, x_951, x_990); @@ -50789,20 +49820,20 @@ lean_inc(x_942); x_998 = l_Lean_Syntax_node4(x_942, x_57, x_926, x_35, x_937, x_30); lean_inc(x_942); x_999 = l_Lean_Syntax_node2(x_942, x_978, x_997, x_998); -x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1000 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_951, 2); lean_inc(x_942); x_1001 = l_Lean_Syntax_node2(x_942, x_1000, x_951, x_951); -x_1002 = l_Lake_DSL_buildDeclSig___closed__24; +x_1002 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_951); lean_inc(x_1001); lean_inc(x_70); lean_inc(x_942); x_1003 = l_Lean_Syntax_node4(x_942, x_1002, x_70, x_999, x_1001, x_951); -x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1004 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_942); x_1005 = l_Lean_Syntax_node4(x_942, x_1004, x_53, x_987, x_992, x_1003); -x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1006 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_942); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1006); @@ -50816,17 +49847,17 @@ x_1009 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1009, 0, x_942); lean_ctor_set(x_1009, 1, x_57); lean_ctor_set(x_1009, 2, x_1008); -x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1010 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_942); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1010); lean_ctor_set(x_40, 0, x_942); -x_1011 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1011 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_942); x_1012 = l_Lean_Syntax_node3(x_942, x_1011, x_44, x_1009, x_40); lean_inc(x_942); x_1013 = l_Lean_Syntax_node1(x_942, x_57, x_1012); -x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_951, 5); lean_inc(x_942); x_1015 = l_Lean_Syntax_node6(x_942, x_1014, x_951, x_1013, x_951, x_951, x_951, x_951); @@ -50893,13 +49924,13 @@ x_1039 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_951); lean_inc(x_942); x_1040 = l_Lean_Syntax_node5(x_942, x_1039, x_18, x_1022, x_1030, x_1038, x_951); -x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1041 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_942); x_1042 = l_Lean_Syntax_node2(x_942, x_1041, x_1015, x_1040); if (lean_obj_tag(x_5) == 0) { lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; -x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1043 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_942); x_1044 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1044, 0, x_942); @@ -51093,7 +50124,7 @@ if (lean_is_scalar(x_1092)) { } lean_ctor_set(x_1099, 0, x_1088); lean_ctor_set(x_1099, 1, x_1098); -x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1100 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1088); if (lean_is_scalar(x_1087)) { x_1101 = lean_alloc_ctor(2, 2, 0); @@ -51115,7 +50146,7 @@ lean_ctor_set(x_1106, 0, x_1088); lean_ctor_set(x_1106, 1, x_1104); lean_ctor_set(x_1106, 2, x_1103); lean_ctor_set(x_1106, 3, x_1105); -x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1107 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1088); if (lean_is_scalar(x_1082)) { x_1108 = lean_alloc_ctor(2, 2, 0); @@ -51125,7 +50156,7 @@ if (lean_is_scalar(x_1082)) { } lean_ctor_set(x_1108, 0, x_1088); lean_ctor_set(x_1108, 1, x_1107); -x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1088); if (lean_is_scalar(x_1078)) { x_1110 = lean_alloc_ctor(2, 2, 0); @@ -51141,7 +50172,7 @@ x_1111 = l_Lean_Syntax_node1(x_1088, x_57, x_35); lean_inc(x_1072); lean_inc(x_1088); x_1112 = l_Lean_Syntax_node3(x_1088, x_57, x_1072, x_1110, x_1111); -x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1113 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1088); if (lean_is_scalar(x_1074)) { x_1114 = lean_alloc_ctor(2, 2, 0); @@ -51154,7 +50185,7 @@ lean_ctor_set(x_1114, 1, x_1113); x_1115 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1088); x_1116 = l_Lean_Syntax_node3(x_1088, x_1115, x_1108, x_1112, x_1114); -x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1117 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1088); lean_ctor_set_tag(x_70, 2); lean_ctor_set(x_70, 1, x_1117); @@ -51174,7 +50205,7 @@ lean_ctor_set(x_1122, 3, x_1121); lean_inc(x_1083); lean_inc(x_1088); x_1123 = l_Lean_Syntax_node1(x_1088, x_57, x_1083); -x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1124 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1088); x_1125 = l_Lean_Syntax_node2(x_1088, x_1124, x_1122, x_1123); x_1126 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -51184,30 +50215,30 @@ lean_inc(x_32); lean_inc(x_1097); lean_inc(x_1088); x_1127 = l_Lean_Syntax_node8(x_1088, x_1126, x_1097, x_1099, x_32, x_1101, x_1106, x_1116, x_70, x_1125); -x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1128 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1088); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1128); lean_ctor_set(x_53, 0, x_1088); -x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1129 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1129); lean_ctor_set(x_49, 0, x_32); x_1130 = lean_array_mk(x_49); x_1131 = lean_box(2); -x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1132 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1133 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1133, 0, x_1131); lean_ctor_set(x_1133, 1, x_1132); lean_ctor_set(x_1133, 2, x_1130); -x_1134 = l_Lake_DSL_buildDeclSig___closed__19; +x_1134 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1101); lean_inc(x_1088); x_1135 = l_Lean_Syntax_node2(x_1088, x_1134, x_1101, x_1076); lean_inc(x_1088); x_1136 = l_Lean_Syntax_node1(x_1088, x_57, x_1135); -x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1137 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1097); lean_inc(x_1088); x_1138 = l_Lean_Syntax_node2(x_1088, x_1137, x_1097, x_1136); @@ -51227,20 +50258,20 @@ lean_inc(x_1088); x_1144 = l_Lean_Syntax_node4(x_1088, x_57, x_1072, x_35, x_1083, x_30); lean_inc(x_1088); x_1145 = l_Lean_Syntax_node2(x_1088, x_1124, x_1143, x_1144); -x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1146 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1097, 2); lean_inc(x_1088); x_1147 = l_Lean_Syntax_node2(x_1088, x_1146, x_1097, x_1097); -x_1148 = l_Lake_DSL_buildDeclSig___closed__24; +x_1148 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1097); lean_inc(x_1147); lean_inc(x_70); lean_inc(x_1088); x_1149 = l_Lean_Syntax_node4(x_1088, x_1148, x_70, x_1145, x_1147, x_1097); -x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1150 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1088); x_1151 = l_Lean_Syntax_node4(x_1088, x_1150, x_53, x_1133, x_1138, x_1149); -x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1152 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1088); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1152); @@ -51254,17 +50285,17 @@ x_1155 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1155, 0, x_1088); lean_ctor_set(x_1155, 1, x_57); lean_ctor_set(x_1155, 2, x_1154); -x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1088); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1156); lean_ctor_set(x_40, 0, x_1088); -x_1157 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1157 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1088); x_1158 = l_Lean_Syntax_node3(x_1088, x_1157, x_44, x_1155, x_40); lean_inc(x_1088); x_1159 = l_Lean_Syntax_node1(x_1088, x_57, x_1158); -x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1160 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1097, 5); lean_inc(x_1088); x_1161 = l_Lean_Syntax_node6(x_1088, x_1160, x_1097, x_1159, x_1097, x_1097, x_1097, x_1097); @@ -51331,13 +50362,13 @@ x_1185 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1097); lean_inc(x_1088); x_1186 = l_Lean_Syntax_node5(x_1088, x_1185, x_18, x_1168, x_1176, x_1184, x_1097); -x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1187 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1088); x_1188 = l_Lean_Syntax_node2(x_1088, x_1187, x_1161, x_1186); if (lean_obj_tag(x_5) == 0) { lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; -x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1088); x_1190 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1190, 0, x_1088); @@ -51551,7 +50582,7 @@ if (lean_is_scalar(x_1243)) { } lean_ctor_set(x_1250, 0, x_1239); lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1251 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1239); if (lean_is_scalar(x_1238)) { x_1252 = lean_alloc_ctor(2, 2, 0); @@ -51573,7 +50604,7 @@ lean_ctor_set(x_1257, 0, x_1239); lean_ctor_set(x_1257, 1, x_1255); lean_ctor_set(x_1257, 2, x_1254); lean_ctor_set(x_1257, 3, x_1256); -x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1258 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1239); if (lean_is_scalar(x_1233)) { x_1259 = lean_alloc_ctor(2, 2, 0); @@ -51583,7 +50614,7 @@ if (lean_is_scalar(x_1233)) { } lean_ctor_set(x_1259, 0, x_1239); lean_ctor_set(x_1259, 1, x_1258); -x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1260 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1239); if (lean_is_scalar(x_1229)) { x_1261 = lean_alloc_ctor(2, 2, 0); @@ -51599,7 +50630,7 @@ x_1262 = l_Lean_Syntax_node1(x_1239, x_57, x_35); lean_inc(x_1223); lean_inc(x_1239); x_1263 = l_Lean_Syntax_node3(x_1239, x_57, x_1223, x_1261, x_1262); -x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1239); if (lean_is_scalar(x_1225)) { x_1265 = lean_alloc_ctor(2, 2, 0); @@ -51612,7 +50643,7 @@ lean_ctor_set(x_1265, 1, x_1264); x_1266 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1239); x_1267 = l_Lean_Syntax_node3(x_1239, x_1266, x_1259, x_1263, x_1265); -x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1268 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1239); x_1269 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1269, 0, x_1239); @@ -51632,7 +50663,7 @@ lean_ctor_set(x_1274, 3, x_1273); lean_inc(x_1234); lean_inc(x_1239); x_1275 = l_Lean_Syntax_node1(x_1239, x_57, x_1234); -x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1276 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1239); x_1277 = l_Lean_Syntax_node2(x_1239, x_1276, x_1274, x_1275); x_1278 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -51642,30 +50673,30 @@ lean_inc(x_32); lean_inc(x_1248); lean_inc(x_1239); x_1279 = l_Lean_Syntax_node8(x_1239, x_1278, x_1248, x_1250, x_32, x_1252, x_1257, x_1267, x_1269, x_1277); -x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1280 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1239); lean_ctor_set_tag(x_53, 2); lean_ctor_set(x_53, 1, x_1280); lean_ctor_set(x_53, 0, x_1239); -x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1281 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1281); lean_ctor_set(x_49, 0, x_32); x_1282 = lean_array_mk(x_49); x_1283 = lean_box(2); -x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1284 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1285 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1285, 0, x_1283); lean_ctor_set(x_1285, 1, x_1284); lean_ctor_set(x_1285, 2, x_1282); -x_1286 = l_Lake_DSL_buildDeclSig___closed__19; +x_1286 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1252); lean_inc(x_1239); x_1287 = l_Lean_Syntax_node2(x_1239, x_1286, x_1252, x_1227); lean_inc(x_1239); x_1288 = l_Lean_Syntax_node1(x_1239, x_57, x_1287); -x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1289 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1248); lean_inc(x_1239); x_1290 = l_Lean_Syntax_node2(x_1239, x_1289, x_1248, x_1288); @@ -51685,20 +50716,20 @@ lean_inc(x_1239); x_1296 = l_Lean_Syntax_node4(x_1239, x_57, x_1223, x_35, x_1234, x_30); lean_inc(x_1239); x_1297 = l_Lean_Syntax_node2(x_1239, x_1276, x_1295, x_1296); -x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1298 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1248, 2); lean_inc(x_1239); x_1299 = l_Lean_Syntax_node2(x_1239, x_1298, x_1248, x_1248); -x_1300 = l_Lake_DSL_buildDeclSig___closed__24; +x_1300 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1248); lean_inc(x_1299); lean_inc(x_1269); lean_inc(x_1239); x_1301 = l_Lean_Syntax_node4(x_1239, x_1300, x_1269, x_1297, x_1299, x_1248); -x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1302 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1239); x_1303 = l_Lean_Syntax_node4(x_1239, x_1302, x_53, x_1285, x_1290, x_1301); -x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1304 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1239); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1304); @@ -51712,17 +50743,17 @@ x_1307 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1307, 0, x_1239); lean_ctor_set(x_1307, 1, x_57); lean_ctor_set(x_1307, 2, x_1306); -x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1308 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1239); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1308); lean_ctor_set(x_40, 0, x_1239); -x_1309 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1309 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1239); x_1310 = l_Lean_Syntax_node3(x_1239, x_1309, x_44, x_1307, x_40); lean_inc(x_1239); x_1311 = l_Lean_Syntax_node1(x_1239, x_57, x_1310); -x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1312 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1248, 5); lean_inc(x_1239); x_1313 = l_Lean_Syntax_node6(x_1239, x_1312, x_1248, x_1311, x_1248, x_1248, x_1248, x_1248); @@ -51789,13 +50820,13 @@ x_1337 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1248); lean_inc(x_1239); x_1338 = l_Lean_Syntax_node5(x_1239, x_1337, x_18, x_1320, x_1328, x_1336, x_1248); -x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1339 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1239); x_1340 = l_Lean_Syntax_node2(x_1239, x_1339, x_1313, x_1338); if (lean_obj_tag(x_5) == 0) { lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1341 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1239); x_1342 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1342, 0, x_1239); @@ -51855,14 +50886,14 @@ x_1356 = lean_ctor_get(x_53, 1); lean_inc(x_1356); lean_inc(x_1355); lean_dec(x_53); -x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1357 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1358 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1359 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1359, 0, x_48); lean_ctor_set(x_1359, 1, x_1357); lean_ctor_set(x_1359, 2, x_1358); -x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1360 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1359); lean_inc(x_48); x_1361 = l_Lean_Syntax_node1(x_48, x_1360, x_1359); @@ -51875,10 +50906,10 @@ lean_ctor_set(x_1365, 0, x_48); lean_ctor_set(x_1365, 1, x_1364); lean_ctor_set(x_1365, 2, x_1363); lean_ctor_set(x_1365, 3, x_28); -x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1366 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1367 = l_Lean_Syntax_node2(x_48, x_1366, x_1365, x_1359); -x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1368 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1369 = l_Lean_Syntax_node2(x_48, x_1368, x_1361, x_1367); x_1370 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1356); x_1371 = lean_ctor_get(x_1370, 0); @@ -52047,7 +51078,7 @@ if (lean_is_scalar(x_1412)) { } lean_ctor_set(x_1419, 0, x_1408); lean_ctor_set(x_1419, 1, x_1418); -x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1408); if (lean_is_scalar(x_1407)) { x_1421 = lean_alloc_ctor(2, 2, 0); @@ -52069,7 +51100,7 @@ lean_ctor_set(x_1426, 0, x_1408); lean_ctor_set(x_1426, 1, x_1424); lean_ctor_set(x_1426, 2, x_1423); lean_ctor_set(x_1426, 3, x_1425); -x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1427 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1408); if (lean_is_scalar(x_1402)) { x_1428 = lean_alloc_ctor(2, 2, 0); @@ -52079,7 +51110,7 @@ if (lean_is_scalar(x_1402)) { } lean_ctor_set(x_1428, 0, x_1408); lean_ctor_set(x_1428, 1, x_1427); -x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1408); if (lean_is_scalar(x_1398)) { x_1430 = lean_alloc_ctor(2, 2, 0); @@ -52095,7 +51126,7 @@ x_1431 = l_Lean_Syntax_node1(x_1408, x_1357, x_35); lean_inc(x_1392); lean_inc(x_1408); x_1432 = l_Lean_Syntax_node3(x_1408, x_1357, x_1392, x_1430, x_1431); -x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1433 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1408); if (lean_is_scalar(x_1394)) { x_1434 = lean_alloc_ctor(2, 2, 0); @@ -52108,7 +51139,7 @@ lean_ctor_set(x_1434, 1, x_1433); x_1435 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1408); x_1436 = l_Lean_Syntax_node3(x_1408, x_1435, x_1428, x_1432, x_1434); -x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1437 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1408); if (lean_is_scalar(x_1373)) { x_1438 = lean_alloc_ctor(2, 2, 0); @@ -52133,7 +51164,7 @@ lean_ctor_set(x_1443, 3, x_1442); lean_inc(x_1403); lean_inc(x_1408); x_1444 = l_Lean_Syntax_node1(x_1408, x_1357, x_1403); -x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1445 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1408); x_1446 = l_Lean_Syntax_node2(x_1408, x_1445, x_1443, x_1444); x_1447 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -52143,30 +51174,30 @@ lean_inc(x_32); lean_inc(x_1417); lean_inc(x_1408); x_1448 = l_Lean_Syntax_node8(x_1408, x_1447, x_1417, x_1419, x_32, x_1421, x_1426, x_1436, x_1438, x_1446); -x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1408); x_1450 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1450, 0, x_1408); lean_ctor_set(x_1450, 1, x_1449); -x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); lean_ctor_set_tag(x_49, 1); lean_ctor_set(x_49, 1, x_1451); lean_ctor_set(x_49, 0, x_32); x_1452 = lean_array_mk(x_49); x_1453 = lean_box(2); -x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1455 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1455, 0, x_1453); lean_ctor_set(x_1455, 1, x_1454); lean_ctor_set(x_1455, 2, x_1452); -x_1456 = l_Lake_DSL_buildDeclSig___closed__19; +x_1456 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1421); lean_inc(x_1408); x_1457 = l_Lean_Syntax_node2(x_1408, x_1456, x_1421, x_1396); lean_inc(x_1408); x_1458 = l_Lean_Syntax_node1(x_1408, x_1357, x_1457); -x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1459 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1417); lean_inc(x_1408); x_1460 = l_Lean_Syntax_node2(x_1408, x_1459, x_1417, x_1458); @@ -52186,20 +51217,20 @@ lean_inc(x_1408); x_1466 = l_Lean_Syntax_node4(x_1408, x_1357, x_1392, x_35, x_1403, x_30); lean_inc(x_1408); x_1467 = l_Lean_Syntax_node2(x_1408, x_1445, x_1465, x_1466); -x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1468 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1417, 2); lean_inc(x_1408); x_1469 = l_Lean_Syntax_node2(x_1408, x_1468, x_1417, x_1417); -x_1470 = l_Lake_DSL_buildDeclSig___closed__24; +x_1470 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1417); lean_inc(x_1469); lean_inc(x_1438); lean_inc(x_1408); x_1471 = l_Lean_Syntax_node4(x_1408, x_1470, x_1438, x_1467, x_1469, x_1417); -x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1472 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1408); x_1473 = l_Lean_Syntax_node4(x_1408, x_1472, x_1450, x_1455, x_1460, x_1471); -x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1474 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1408); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1474); @@ -52213,17 +51244,17 @@ x_1477 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1477, 0, x_1408); lean_ctor_set(x_1477, 1, x_1357); lean_ctor_set(x_1477, 2, x_1476); -x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1478 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1408); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1478); lean_ctor_set(x_40, 0, x_1408); -x_1479 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1479 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1408); x_1480 = l_Lean_Syntax_node3(x_1408, x_1479, x_44, x_1477, x_40); lean_inc(x_1408); x_1481 = l_Lean_Syntax_node1(x_1408, x_1357, x_1480); -x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1417, 5); lean_inc(x_1408); x_1483 = l_Lean_Syntax_node6(x_1408, x_1482, x_1417, x_1481, x_1417, x_1417, x_1417, x_1417); @@ -52290,13 +51321,13 @@ x_1507 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1417); lean_inc(x_1408); x_1508 = l_Lean_Syntax_node5(x_1408, x_1507, x_18, x_1490, x_1498, x_1506, x_1417); -x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1509 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1408); x_1510 = l_Lean_Syntax_node2(x_1408, x_1509, x_1483, x_1508); if (lean_obj_tag(x_5) == 0) { lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1511 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1408); x_1512 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1512, 0, x_1408); @@ -52369,14 +51400,14 @@ if (lean_is_exclusive(x_1527)) { lean_dec_ref(x_1527); x_1530 = lean_box(0); } -x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1531 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1532 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_48); x_1533 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1533, 0, x_48); lean_ctor_set(x_1533, 1, x_1531); lean_ctor_set(x_1533, 2, x_1532); -x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1534 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1533); lean_inc(x_48); x_1535 = l_Lean_Syntax_node1(x_48, x_1534, x_1533); @@ -52389,10 +51420,10 @@ lean_ctor_set(x_1539, 0, x_48); lean_ctor_set(x_1539, 1, x_1538); lean_ctor_set(x_1539, 2, x_1537); lean_ctor_set(x_1539, 3, x_28); -x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1540 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_48); x_1541 = l_Lean_Syntax_node2(x_48, x_1540, x_1539, x_1533); -x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1542 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1543 = l_Lean_Syntax_node2(x_48, x_1542, x_1535, x_1541); x_1544 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1529); x_1545 = lean_ctor_get(x_1544, 0); @@ -52561,7 +51592,7 @@ if (lean_is_scalar(x_1586)) { } lean_ctor_set(x_1593, 0, x_1582); lean_ctor_set(x_1593, 1, x_1592); -x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1594 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1582); if (lean_is_scalar(x_1581)) { x_1595 = lean_alloc_ctor(2, 2, 0); @@ -52583,7 +51614,7 @@ lean_ctor_set(x_1600, 0, x_1582); lean_ctor_set(x_1600, 1, x_1598); lean_ctor_set(x_1600, 2, x_1597); lean_ctor_set(x_1600, 3, x_1599); -x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1601 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1582); if (lean_is_scalar(x_1576)) { x_1602 = lean_alloc_ctor(2, 2, 0); @@ -52593,7 +51624,7 @@ if (lean_is_scalar(x_1576)) { } lean_ctor_set(x_1602, 0, x_1582); lean_ctor_set(x_1602, 1, x_1601); -x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1603 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1582); if (lean_is_scalar(x_1572)) { x_1604 = lean_alloc_ctor(2, 2, 0); @@ -52609,7 +51640,7 @@ x_1605 = l_Lean_Syntax_node1(x_1582, x_1531, x_35); lean_inc(x_1566); lean_inc(x_1582); x_1606 = l_Lean_Syntax_node3(x_1582, x_1531, x_1566, x_1604, x_1605); -x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1607 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1582); if (lean_is_scalar(x_1568)) { x_1608 = lean_alloc_ctor(2, 2, 0); @@ -52622,7 +51653,7 @@ lean_ctor_set(x_1608, 1, x_1607); x_1609 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1582); x_1610 = l_Lean_Syntax_node3(x_1582, x_1609, x_1602, x_1606, x_1608); -x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1611 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1582); if (lean_is_scalar(x_1547)) { x_1612 = lean_alloc_ctor(2, 2, 0); @@ -52647,7 +51678,7 @@ lean_ctor_set(x_1617, 3, x_1616); lean_inc(x_1577); lean_inc(x_1582); x_1618 = l_Lean_Syntax_node1(x_1582, x_1531, x_1577); -x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1619 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1582); x_1620 = l_Lean_Syntax_node2(x_1582, x_1619, x_1617, x_1618); x_1621 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -52657,7 +51688,7 @@ lean_inc(x_32); lean_inc(x_1591); lean_inc(x_1582); x_1622 = l_Lean_Syntax_node8(x_1582, x_1621, x_1591, x_1593, x_32, x_1595, x_1600, x_1610, x_1612, x_1620); -x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1623 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1582); if (lean_is_scalar(x_1530)) { x_1624 = lean_alloc_ctor(2, 2, 0); @@ -52667,25 +51698,25 @@ if (lean_is_scalar(x_1530)) { } lean_ctor_set(x_1624, 0, x_1582); lean_ctor_set(x_1624, 1, x_1623); -x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1625 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); x_1626 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1626, 0, x_32); lean_ctor_set(x_1626, 1, x_1625); x_1627 = lean_array_mk(x_1626); x_1628 = lean_box(2); -x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1629 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1630 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1630, 0, x_1628); lean_ctor_set(x_1630, 1, x_1629); lean_ctor_set(x_1630, 2, x_1627); -x_1631 = l_Lake_DSL_buildDeclSig___closed__19; +x_1631 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1595); lean_inc(x_1582); x_1632 = l_Lean_Syntax_node2(x_1582, x_1631, x_1595, x_1570); lean_inc(x_1582); x_1633 = l_Lean_Syntax_node1(x_1582, x_1531, x_1632); -x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1634 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1591); lean_inc(x_1582); x_1635 = l_Lean_Syntax_node2(x_1582, x_1634, x_1591, x_1633); @@ -52705,20 +51736,20 @@ lean_inc(x_1582); x_1641 = l_Lean_Syntax_node4(x_1582, x_1531, x_1566, x_35, x_1577, x_30); lean_inc(x_1582); x_1642 = l_Lean_Syntax_node2(x_1582, x_1619, x_1640, x_1641); -x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1643 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1591, 2); lean_inc(x_1582); x_1644 = l_Lean_Syntax_node2(x_1582, x_1643, x_1591, x_1591); -x_1645 = l_Lake_DSL_buildDeclSig___closed__24; +x_1645 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1591); lean_inc(x_1644); lean_inc(x_1612); lean_inc(x_1582); x_1646 = l_Lean_Syntax_node4(x_1582, x_1645, x_1612, x_1642, x_1644, x_1591); -x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1647 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1582); x_1648 = l_Lean_Syntax_node4(x_1582, x_1647, x_1624, x_1630, x_1635, x_1646); -x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1649 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1582); lean_ctor_set_tag(x_44, 2); lean_ctor_set(x_44, 1, x_1649); @@ -52732,17 +51763,17 @@ x_1652 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1652, 0, x_1582); lean_ctor_set(x_1652, 1, x_1531); lean_ctor_set(x_1652, 2, x_1651); -x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1582); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1653); lean_ctor_set(x_40, 0, x_1582); -x_1654 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1654 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1582); x_1655 = l_Lean_Syntax_node3(x_1582, x_1654, x_44, x_1652, x_40); lean_inc(x_1582); x_1656 = l_Lean_Syntax_node1(x_1582, x_1531, x_1655); -x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1657 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1591, 5); lean_inc(x_1582); x_1658 = l_Lean_Syntax_node6(x_1582, x_1657, x_1591, x_1656, x_1591, x_1591, x_1591, x_1591); @@ -52809,13 +51840,13 @@ x_1682 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1591); lean_inc(x_1582); x_1683 = l_Lean_Syntax_node5(x_1582, x_1682, x_18, x_1665, x_1673, x_1681, x_1591); -x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1684 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1582); x_1685 = l_Lean_Syntax_node2(x_1582, x_1684, x_1658, x_1683); if (lean_obj_tag(x_5) == 0) { lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; -x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1686 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1582); x_1687 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1687, 0, x_1582); @@ -52903,14 +51934,14 @@ if (lean_is_exclusive(x_1707)) { lean_dec_ref(x_1707); x_1710 = lean_box(0); } -x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1711 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1712 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1702); x_1713 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1713, 0, x_1702); lean_ctor_set(x_1713, 1, x_1711); lean_ctor_set(x_1713, 2, x_1712); -x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1714 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1713); lean_inc(x_1702); x_1715 = l_Lean_Syntax_node1(x_1702, x_1714, x_1713); @@ -52923,10 +51954,10 @@ lean_ctor_set(x_1719, 0, x_1702); lean_ctor_set(x_1719, 1, x_1718); lean_ctor_set(x_1719, 2, x_1717); lean_ctor_set(x_1719, 3, x_28); -x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1720 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1702); x_1721 = l_Lean_Syntax_node2(x_1702, x_1720, x_1719, x_1713); -x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1722 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1723 = l_Lean_Syntax_node2(x_1702, x_1722, x_1715, x_1721); x_1724 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1709); x_1725 = lean_ctor_get(x_1724, 0); @@ -53095,7 +52126,7 @@ if (lean_is_scalar(x_1766)) { } lean_ctor_set(x_1773, 0, x_1762); lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1774 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1762); if (lean_is_scalar(x_1761)) { x_1775 = lean_alloc_ctor(2, 2, 0); @@ -53117,7 +52148,7 @@ lean_ctor_set(x_1780, 0, x_1762); lean_ctor_set(x_1780, 1, x_1778); lean_ctor_set(x_1780, 2, x_1777); lean_ctor_set(x_1780, 3, x_1779); -x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1781 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1762); if (lean_is_scalar(x_1756)) { x_1782 = lean_alloc_ctor(2, 2, 0); @@ -53127,7 +52158,7 @@ if (lean_is_scalar(x_1756)) { } lean_ctor_set(x_1782, 0, x_1762); lean_ctor_set(x_1782, 1, x_1781); -x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1783 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1762); if (lean_is_scalar(x_1752)) { x_1784 = lean_alloc_ctor(2, 2, 0); @@ -53143,7 +52174,7 @@ x_1785 = l_Lean_Syntax_node1(x_1762, x_1711, x_35); lean_inc(x_1746); lean_inc(x_1762); x_1786 = l_Lean_Syntax_node3(x_1762, x_1711, x_1746, x_1784, x_1785); -x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1787 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1762); if (lean_is_scalar(x_1748)) { x_1788 = lean_alloc_ctor(2, 2, 0); @@ -53156,7 +52187,7 @@ lean_ctor_set(x_1788, 1, x_1787); x_1789 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1762); x_1790 = l_Lean_Syntax_node3(x_1762, x_1789, x_1782, x_1786, x_1788); -x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1791 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1762); if (lean_is_scalar(x_1727)) { x_1792 = lean_alloc_ctor(2, 2, 0); @@ -53181,7 +52212,7 @@ lean_ctor_set(x_1797, 3, x_1796); lean_inc(x_1757); lean_inc(x_1762); x_1798 = l_Lean_Syntax_node1(x_1762, x_1711, x_1757); -x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1799 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1762); x_1800 = l_Lean_Syntax_node2(x_1762, x_1799, x_1797, x_1798); x_1801 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -53191,7 +52222,7 @@ lean_inc(x_32); lean_inc(x_1771); lean_inc(x_1762); x_1802 = l_Lean_Syntax_node8(x_1762, x_1801, x_1771, x_1773, x_32, x_1775, x_1780, x_1790, x_1792, x_1800); -x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1803 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1762); if (lean_is_scalar(x_1710)) { x_1804 = lean_alloc_ctor(2, 2, 0); @@ -53201,7 +52232,7 @@ if (lean_is_scalar(x_1710)) { } lean_ctor_set(x_1804, 0, x_1762); lean_ctor_set(x_1804, 1, x_1803); -x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1805 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1706)) { x_1806 = lean_alloc_ctor(1, 2, 0); @@ -53213,18 +52244,18 @@ lean_ctor_set(x_1806, 0, x_32); lean_ctor_set(x_1806, 1, x_1805); x_1807 = lean_array_mk(x_1806); x_1808 = lean_box(2); -x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1809 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1810 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1810, 0, x_1808); lean_ctor_set(x_1810, 1, x_1809); lean_ctor_set(x_1810, 2, x_1807); -x_1811 = l_Lake_DSL_buildDeclSig___closed__19; +x_1811 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1775); lean_inc(x_1762); x_1812 = l_Lean_Syntax_node2(x_1762, x_1811, x_1775, x_1750); lean_inc(x_1762); x_1813 = l_Lean_Syntax_node1(x_1762, x_1711, x_1812); -x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1814 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1771); lean_inc(x_1762); x_1815 = l_Lean_Syntax_node2(x_1762, x_1814, x_1771, x_1813); @@ -53244,20 +52275,20 @@ lean_inc(x_1762); x_1821 = l_Lean_Syntax_node4(x_1762, x_1711, x_1746, x_35, x_1757, x_30); lean_inc(x_1762); x_1822 = l_Lean_Syntax_node2(x_1762, x_1799, x_1820, x_1821); -x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_1823 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1771, 2); lean_inc(x_1762); x_1824 = l_Lean_Syntax_node2(x_1762, x_1823, x_1771, x_1771); -x_1825 = l_Lake_DSL_buildDeclSig___closed__24; +x_1825 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1771); lean_inc(x_1824); lean_inc(x_1792); lean_inc(x_1762); x_1826 = l_Lean_Syntax_node4(x_1762, x_1825, x_1792, x_1822, x_1824, x_1771); -x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_1827 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1762); x_1828 = l_Lean_Syntax_node4(x_1762, x_1827, x_1804, x_1810, x_1815, x_1826); -x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_1829 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1762); x_1830 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1830, 0, x_1762); @@ -53271,17 +52302,17 @@ x_1833 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1833, 0, x_1762); lean_ctor_set(x_1833, 1, x_1711); lean_ctor_set(x_1833, 2, x_1832); -x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_1834 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1762); lean_ctor_set_tag(x_40, 2); lean_ctor_set(x_40, 1, x_1834); lean_ctor_set(x_40, 0, x_1762); -x_1835 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_1835 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1762); x_1836 = l_Lean_Syntax_node3(x_1762, x_1835, x_1830, x_1833, x_40); lean_inc(x_1762); x_1837 = l_Lean_Syntax_node1(x_1762, x_1711, x_1836); -x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_1838 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1771, 5); lean_inc(x_1762); x_1839 = l_Lean_Syntax_node6(x_1762, x_1838, x_1771, x_1837, x_1771, x_1771, x_1771, x_1771); @@ -53348,13 +52379,13 @@ x_1863 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1771); lean_inc(x_1762); x_1864 = l_Lean_Syntax_node5(x_1762, x_1863, x_18, x_1846, x_1854, x_1862, x_1771); -x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_1865 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1762); x_1866 = l_Lean_Syntax_node2(x_1762, x_1865, x_1839, x_1864); if (lean_obj_tag(x_5) == 0) { lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; -x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_1867 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1762); x_1868 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1868, 0, x_1762); @@ -53455,14 +52486,14 @@ if (lean_is_exclusive(x_1892)) { lean_dec_ref(x_1892); x_1895 = lean_box(0); } -x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_1896 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_1897 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_1887); x_1898 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1898, 0, x_1887); lean_ctor_set(x_1898, 1, x_1896); lean_ctor_set(x_1898, 2, x_1897); -x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_1899 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_1898); lean_inc(x_1887); x_1900 = l_Lean_Syntax_node1(x_1887, x_1899, x_1898); @@ -53475,10 +52506,10 @@ lean_ctor_set(x_1904, 0, x_1887); lean_ctor_set(x_1904, 1, x_1903); lean_ctor_set(x_1904, 2, x_1902); lean_ctor_set(x_1904, 3, x_28); -x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_1905 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_1887); x_1906 = l_Lean_Syntax_node2(x_1887, x_1905, x_1904, x_1898); -x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_1907 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_1908 = l_Lean_Syntax_node2(x_1887, x_1907, x_1900, x_1906); x_1909 = l_Lean_Elab_Command_getRef(x_9, x_10, x_1894); x_1910 = lean_ctor_get(x_1909, 0); @@ -53647,7 +52678,7 @@ if (lean_is_scalar(x_1951)) { } lean_ctor_set(x_1958, 0, x_1947); lean_ctor_set(x_1958, 1, x_1957); -x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_1959 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_1947); if (lean_is_scalar(x_1946)) { x_1960 = lean_alloc_ctor(2, 2, 0); @@ -53669,7 +52700,7 @@ lean_ctor_set(x_1965, 0, x_1947); lean_ctor_set(x_1965, 1, x_1963); lean_ctor_set(x_1965, 2, x_1962); lean_ctor_set(x_1965, 3, x_1964); -x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_1966 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_1947); if (lean_is_scalar(x_1941)) { x_1967 = lean_alloc_ctor(2, 2, 0); @@ -53679,7 +52710,7 @@ if (lean_is_scalar(x_1941)) { } lean_ctor_set(x_1967, 0, x_1947); lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_1968 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_1947); if (lean_is_scalar(x_1937)) { x_1969 = lean_alloc_ctor(2, 2, 0); @@ -53695,7 +52726,7 @@ x_1970 = l_Lean_Syntax_node1(x_1947, x_1896, x_35); lean_inc(x_1931); lean_inc(x_1947); x_1971 = l_Lean_Syntax_node3(x_1947, x_1896, x_1931, x_1969, x_1970); -x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_1972 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_1947); if (lean_is_scalar(x_1933)) { x_1973 = lean_alloc_ctor(2, 2, 0); @@ -53708,7 +52739,7 @@ lean_ctor_set(x_1973, 1, x_1972); x_1974 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_1947); x_1975 = l_Lean_Syntax_node3(x_1947, x_1974, x_1967, x_1971, x_1973); -x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_1976 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_1947); if (lean_is_scalar(x_1912)) { x_1977 = lean_alloc_ctor(2, 2, 0); @@ -53733,7 +52764,7 @@ lean_ctor_set(x_1982, 3, x_1981); lean_inc(x_1942); lean_inc(x_1947); x_1983 = l_Lean_Syntax_node1(x_1947, x_1896, x_1942); -x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_1984 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_1947); x_1985 = l_Lean_Syntax_node2(x_1947, x_1984, x_1982, x_1983); x_1986 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -53743,7 +52774,7 @@ lean_inc(x_32); lean_inc(x_1956); lean_inc(x_1947); x_1987 = l_Lean_Syntax_node8(x_1947, x_1986, x_1956, x_1958, x_32, x_1960, x_1965, x_1975, x_1977, x_1985); -x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_1988 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_1947); if (lean_is_scalar(x_1895)) { x_1989 = lean_alloc_ctor(2, 2, 0); @@ -53753,7 +52784,7 @@ if (lean_is_scalar(x_1895)) { } lean_ctor_set(x_1989, 0, x_1947); lean_ctor_set(x_1989, 1, x_1988); -x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_1990 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_32); if (lean_is_scalar(x_1891)) { x_1991 = lean_alloc_ctor(1, 2, 0); @@ -53765,18 +52796,18 @@ lean_ctor_set(x_1991, 0, x_32); lean_ctor_set(x_1991, 1, x_1990); x_1992 = lean_array_mk(x_1991); x_1993 = lean_box(2); -x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_1994 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_1995 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_1995, 0, x_1993); lean_ctor_set(x_1995, 1, x_1994); lean_ctor_set(x_1995, 2, x_1992); -x_1996 = l_Lake_DSL_buildDeclSig___closed__19; +x_1996 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_1960); lean_inc(x_1947); x_1997 = l_Lean_Syntax_node2(x_1947, x_1996, x_1960, x_1935); lean_inc(x_1947); x_1998 = l_Lean_Syntax_node1(x_1947, x_1896, x_1997); -x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_1999 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_1956); lean_inc(x_1947); x_2000 = l_Lean_Syntax_node2(x_1947, x_1999, x_1956, x_1998); @@ -53796,20 +52827,20 @@ lean_inc(x_1947); x_2006 = l_Lean_Syntax_node4(x_1947, x_1896, x_1931, x_35, x_1942, x_30); lean_inc(x_1947); x_2007 = l_Lean_Syntax_node2(x_1947, x_1984, x_2005, x_2006); -x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2008 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_1956, 2); lean_inc(x_1947); x_2009 = l_Lean_Syntax_node2(x_1947, x_2008, x_1956, x_1956); -x_2010 = l_Lake_DSL_buildDeclSig___closed__24; +x_2010 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_1956); lean_inc(x_2009); lean_inc(x_1977); lean_inc(x_1947); x_2011 = l_Lean_Syntax_node4(x_1947, x_2010, x_1977, x_2007, x_2009, x_1956); -x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2012 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_1947); x_2013 = l_Lean_Syntax_node4(x_1947, x_2012, x_1989, x_1995, x_2000, x_2011); -x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2014 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_1947); if (lean_is_scalar(x_1886)) { x_2015 = lean_alloc_ctor(2, 2, 0); @@ -53828,17 +52859,17 @@ x_2018 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2018, 0, x_1947); lean_ctor_set(x_2018, 1, x_1896); lean_ctor_set(x_2018, 2, x_2017); -x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2019 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_1947); x_2020 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2020, 0, x_1947); lean_ctor_set(x_2020, 1, x_2019); -x_2021 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2021 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_1947); x_2022 = l_Lean_Syntax_node3(x_1947, x_2021, x_2015, x_2018, x_2020); lean_inc(x_1947); x_2023 = l_Lean_Syntax_node1(x_1947, x_1896, x_2022); -x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2024 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_1956, 5); lean_inc(x_1947); x_2025 = l_Lean_Syntax_node6(x_1947, x_2024, x_1956, x_2023, x_1956, x_1956, x_1956, x_1956); @@ -53905,13 +52936,13 @@ x_2049 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_1956); lean_inc(x_1947); x_2050 = l_Lean_Syntax_node5(x_1947, x_2049, x_18, x_2032, x_2040, x_2048, x_1956); -x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2051 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_1947); x_2052 = l_Lean_Syntax_node2(x_1947, x_2051, x_2025, x_2050); if (lean_obj_tag(x_5) == 0) { lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; -x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2053 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_1947); x_2054 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2054, 0, x_1947); @@ -54136,14 +53167,14 @@ if (lean_is_exclusive(x_2105)) { lean_dec_ref(x_2105); x_2108 = lean_box(0); } -x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2109 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2110 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2100); x_2111 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2111, 0, x_2100); lean_ctor_set(x_2111, 1, x_2109); lean_ctor_set(x_2111, 2, x_2110); -x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2112 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2111); lean_inc(x_2100); x_2113 = l_Lean_Syntax_node1(x_2100, x_2112, x_2111); @@ -54156,10 +53187,10 @@ lean_ctor_set(x_2117, 0, x_2100); lean_ctor_set(x_2117, 1, x_2116); lean_ctor_set(x_2117, 2, x_2115); lean_ctor_set(x_2117, 3, x_2079); -x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2118 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2100); x_2119 = l_Lean_Syntax_node2(x_2100, x_2118, x_2117, x_2111); -x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2121 = l_Lean_Syntax_node2(x_2100, x_2120, x_2113, x_2119); x_2122 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2107); x_2123 = lean_ctor_get(x_2122, 0); @@ -54328,7 +53359,7 @@ if (lean_is_scalar(x_2164)) { } lean_ctor_set(x_2171, 0, x_2160); lean_ctor_set(x_2171, 1, x_2170); -x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2172 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2160); if (lean_is_scalar(x_2159)) { x_2173 = lean_alloc_ctor(2, 2, 0); @@ -54350,7 +53381,7 @@ lean_ctor_set(x_2178, 0, x_2160); lean_ctor_set(x_2178, 1, x_2176); lean_ctor_set(x_2178, 2, x_2175); lean_ctor_set(x_2178, 3, x_2177); -x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2179 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2160); if (lean_is_scalar(x_2154)) { x_2180 = lean_alloc_ctor(2, 2, 0); @@ -54360,7 +53391,7 @@ if (lean_is_scalar(x_2154)) { } lean_ctor_set(x_2180, 0, x_2160); lean_ctor_set(x_2180, 1, x_2179); -x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2181 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2160); if (lean_is_scalar(x_2150)) { x_2182 = lean_alloc_ctor(2, 2, 0); @@ -54376,7 +53407,7 @@ x_2183 = l_Lean_Syntax_node1(x_2160, x_2109, x_2086); lean_inc(x_2144); lean_inc(x_2160); x_2184 = l_Lean_Syntax_node3(x_2160, x_2109, x_2144, x_2182, x_2183); -x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2185 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2160); if (lean_is_scalar(x_2146)) { x_2186 = lean_alloc_ctor(2, 2, 0); @@ -54389,7 +53420,7 @@ lean_ctor_set(x_2186, 1, x_2185); x_2187 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2160); x_2188 = l_Lean_Syntax_node3(x_2160, x_2187, x_2180, x_2184, x_2186); -x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2189 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2160); if (lean_is_scalar(x_2125)) { x_2190 = lean_alloc_ctor(2, 2, 0); @@ -54414,7 +53445,7 @@ lean_ctor_set(x_2195, 3, x_2194); lean_inc(x_2155); lean_inc(x_2160); x_2196 = l_Lean_Syntax_node1(x_2160, x_2109, x_2155); -x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2197 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2160); x_2198 = l_Lean_Syntax_node2(x_2160, x_2197, x_2195, x_2196); x_2199 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -54424,7 +53455,7 @@ lean_inc(x_2083); lean_inc(x_2169); lean_inc(x_2160); x_2200 = l_Lean_Syntax_node8(x_2160, x_2199, x_2169, x_2171, x_2083, x_2173, x_2178, x_2188, x_2190, x_2198); -x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2201 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2160); if (lean_is_scalar(x_2108)) { x_2202 = lean_alloc_ctor(2, 2, 0); @@ -54434,7 +53465,7 @@ if (lean_is_scalar(x_2108)) { } lean_ctor_set(x_2202, 0, x_2160); lean_ctor_set(x_2202, 1, x_2201); -x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2203 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2083); if (lean_is_scalar(x_2104)) { x_2204 = lean_alloc_ctor(1, 2, 0); @@ -54446,18 +53477,18 @@ lean_ctor_set(x_2204, 0, x_2083); lean_ctor_set(x_2204, 1, x_2203); x_2205 = lean_array_mk(x_2204); x_2206 = lean_box(2); -x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2207 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2208 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2208, 0, x_2206); lean_ctor_set(x_2208, 1, x_2207); lean_ctor_set(x_2208, 2, x_2205); -x_2209 = l_Lake_DSL_buildDeclSig___closed__19; +x_2209 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2173); lean_inc(x_2160); x_2210 = l_Lean_Syntax_node2(x_2160, x_2209, x_2173, x_2148); lean_inc(x_2160); x_2211 = l_Lean_Syntax_node1(x_2160, x_2109, x_2210); -x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2212 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2169); lean_inc(x_2160); x_2213 = l_Lean_Syntax_node2(x_2160, x_2212, x_2169, x_2211); @@ -54477,20 +53508,20 @@ lean_inc(x_2160); x_2219 = l_Lean_Syntax_node4(x_2160, x_2109, x_2144, x_2086, x_2155, x_2081); lean_inc(x_2160); x_2220 = l_Lean_Syntax_node2(x_2160, x_2197, x_2218, x_2219); -x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2221 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2169, 2); lean_inc(x_2160); x_2222 = l_Lean_Syntax_node2(x_2160, x_2221, x_2169, x_2169); -x_2223 = l_Lake_DSL_buildDeclSig___closed__24; +x_2223 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2169); lean_inc(x_2222); lean_inc(x_2190); lean_inc(x_2160); x_2224 = l_Lean_Syntax_node4(x_2160, x_2223, x_2190, x_2220, x_2222, x_2169); -x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2225 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2160); x_2226 = l_Lean_Syntax_node4(x_2160, x_2225, x_2202, x_2208, x_2213, x_2224); -x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2227 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2160); if (lean_is_scalar(x_2099)) { x_2228 = lean_alloc_ctor(2, 2, 0); @@ -54509,7 +53540,7 @@ x_2231 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2231, 0, x_2160); lean_ctor_set(x_2231, 1, x_2109); lean_ctor_set(x_2231, 2, x_2230); -x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2232 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2160); if (lean_is_scalar(x_2095)) { x_2233 = lean_alloc_ctor(2, 2, 0); @@ -54519,12 +53550,12 @@ if (lean_is_scalar(x_2095)) { } lean_ctor_set(x_2233, 0, x_2160); lean_ctor_set(x_2233, 1, x_2232); -x_2234 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2234 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2160); x_2235 = l_Lean_Syntax_node3(x_2160, x_2234, x_2228, x_2231, x_2233); lean_inc(x_2160); x_2236 = l_Lean_Syntax_node1(x_2160, x_2109, x_2235); -x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2237 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2169, 5); lean_inc(x_2160); x_2238 = l_Lean_Syntax_node6(x_2160, x_2237, x_2169, x_2236, x_2169, x_2169, x_2169, x_2169); @@ -54591,13 +53622,13 @@ x_2262 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2169); lean_inc(x_2160); x_2263 = l_Lean_Syntax_node5(x_2160, x_2262, x_18, x_2245, x_2253, x_2261, x_2169); -x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2264 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2160); x_2265 = l_Lean_Syntax_node2(x_2160, x_2264, x_2238, x_2263); if (lean_obj_tag(x_5) == 0) { lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; -x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2266 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2160); x_2267 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2267, 0, x_2160); @@ -54843,14 +53874,14 @@ if (lean_is_exclusive(x_2322)) { lean_dec_ref(x_2322); x_2325 = lean_box(0); } -x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2326 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2327 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2317); x_2328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2328, 0, x_2317); lean_ctor_set(x_2328, 1, x_2326); lean_ctor_set(x_2328, 2, x_2327); -x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2329 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2328); lean_inc(x_2317); x_2330 = l_Lean_Syntax_node1(x_2317, x_2329, x_2328); @@ -54863,10 +53894,10 @@ lean_ctor_set(x_2334, 0, x_2317); lean_ctor_set(x_2334, 1, x_2333); lean_ctor_set(x_2334, 2, x_2332); lean_ctor_set(x_2334, 3, x_2296); -x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2335 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2317); x_2336 = l_Lean_Syntax_node2(x_2317, x_2335, x_2334, x_2328); -x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2337 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2338 = l_Lean_Syntax_node2(x_2317, x_2337, x_2330, x_2336); x_2339 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2324); x_2340 = lean_ctor_get(x_2339, 0); @@ -55035,7 +54066,7 @@ if (lean_is_scalar(x_2381)) { } lean_ctor_set(x_2388, 0, x_2377); lean_ctor_set(x_2388, 1, x_2387); -x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2389 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2377); if (lean_is_scalar(x_2376)) { x_2390 = lean_alloc_ctor(2, 2, 0); @@ -55057,7 +54088,7 @@ lean_ctor_set(x_2395, 0, x_2377); lean_ctor_set(x_2395, 1, x_2393); lean_ctor_set(x_2395, 2, x_2392); lean_ctor_set(x_2395, 3, x_2394); -x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2396 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2377); if (lean_is_scalar(x_2371)) { x_2397 = lean_alloc_ctor(2, 2, 0); @@ -55067,7 +54098,7 @@ if (lean_is_scalar(x_2371)) { } lean_ctor_set(x_2397, 0, x_2377); lean_ctor_set(x_2397, 1, x_2396); -x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2398 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2377); if (lean_is_scalar(x_2367)) { x_2399 = lean_alloc_ctor(2, 2, 0); @@ -55083,7 +54114,7 @@ x_2400 = l_Lean_Syntax_node1(x_2377, x_2326, x_2303); lean_inc(x_2361); lean_inc(x_2377); x_2401 = l_Lean_Syntax_node3(x_2377, x_2326, x_2361, x_2399, x_2400); -x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2402 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2377); if (lean_is_scalar(x_2363)) { x_2403 = lean_alloc_ctor(2, 2, 0); @@ -55096,7 +54127,7 @@ lean_ctor_set(x_2403, 1, x_2402); x_2404 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2377); x_2405 = l_Lean_Syntax_node3(x_2377, x_2404, x_2397, x_2401, x_2403); -x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2406 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2377); if (lean_is_scalar(x_2342)) { x_2407 = lean_alloc_ctor(2, 2, 0); @@ -55121,7 +54152,7 @@ lean_ctor_set(x_2412, 3, x_2411); lean_inc(x_2372); lean_inc(x_2377); x_2413 = l_Lean_Syntax_node1(x_2377, x_2326, x_2372); -x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2414 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2377); x_2415 = l_Lean_Syntax_node2(x_2377, x_2414, x_2412, x_2413); x_2416 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -55131,7 +54162,7 @@ lean_inc(x_2300); lean_inc(x_2386); lean_inc(x_2377); x_2417 = l_Lean_Syntax_node8(x_2377, x_2416, x_2386, x_2388, x_2300, x_2390, x_2395, x_2405, x_2407, x_2415); -x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2418 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2377); if (lean_is_scalar(x_2325)) { x_2419 = lean_alloc_ctor(2, 2, 0); @@ -55141,7 +54172,7 @@ if (lean_is_scalar(x_2325)) { } lean_ctor_set(x_2419, 0, x_2377); lean_ctor_set(x_2419, 1, x_2418); -x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2420 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2300); if (lean_is_scalar(x_2321)) { x_2421 = lean_alloc_ctor(1, 2, 0); @@ -55153,18 +54184,18 @@ lean_ctor_set(x_2421, 0, x_2300); lean_ctor_set(x_2421, 1, x_2420); x_2422 = lean_array_mk(x_2421); x_2423 = lean_box(2); -x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2424 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2425 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2425, 0, x_2423); lean_ctor_set(x_2425, 1, x_2424); lean_ctor_set(x_2425, 2, x_2422); -x_2426 = l_Lake_DSL_buildDeclSig___closed__19; +x_2426 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2390); lean_inc(x_2377); x_2427 = l_Lean_Syntax_node2(x_2377, x_2426, x_2390, x_2365); lean_inc(x_2377); x_2428 = l_Lean_Syntax_node1(x_2377, x_2326, x_2427); -x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2429 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2386); lean_inc(x_2377); x_2430 = l_Lean_Syntax_node2(x_2377, x_2429, x_2386, x_2428); @@ -55184,20 +54215,20 @@ lean_inc(x_2377); x_2436 = l_Lean_Syntax_node4(x_2377, x_2326, x_2361, x_2303, x_2372, x_2298); lean_inc(x_2377); x_2437 = l_Lean_Syntax_node2(x_2377, x_2414, x_2435, x_2436); -x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2438 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2386, 2); lean_inc(x_2377); x_2439 = l_Lean_Syntax_node2(x_2377, x_2438, x_2386, x_2386); -x_2440 = l_Lake_DSL_buildDeclSig___closed__24; +x_2440 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2386); lean_inc(x_2439); lean_inc(x_2407); lean_inc(x_2377); x_2441 = l_Lean_Syntax_node4(x_2377, x_2440, x_2407, x_2437, x_2439, x_2386); -x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2442 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2377); x_2443 = l_Lean_Syntax_node4(x_2377, x_2442, x_2419, x_2425, x_2430, x_2441); -x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2444 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2377); if (lean_is_scalar(x_2316)) { x_2445 = lean_alloc_ctor(2, 2, 0); @@ -55216,7 +54247,7 @@ x_2448 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2448, 0, x_2377); lean_ctor_set(x_2448, 1, x_2326); lean_ctor_set(x_2448, 2, x_2447); -x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2449 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2377); if (lean_is_scalar(x_2312)) { x_2450 = lean_alloc_ctor(2, 2, 0); @@ -55226,12 +54257,12 @@ if (lean_is_scalar(x_2312)) { } lean_ctor_set(x_2450, 0, x_2377); lean_ctor_set(x_2450, 1, x_2449); -x_2451 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2451 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2377); x_2452 = l_Lean_Syntax_node3(x_2377, x_2451, x_2445, x_2448, x_2450); lean_inc(x_2377); x_2453 = l_Lean_Syntax_node1(x_2377, x_2326, x_2452); -x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2454 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2386, 5); lean_inc(x_2377); x_2455 = l_Lean_Syntax_node6(x_2377, x_2454, x_2386, x_2453, x_2386, x_2386, x_2386, x_2386); @@ -55298,13 +54329,13 @@ x_2480 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2386); lean_inc(x_2377); x_2481 = l_Lean_Syntax_node5(x_2377, x_2480, x_2457, x_2463, x_2471, x_2479, x_2386); -x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2482 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2377); x_2483 = l_Lean_Syntax_node2(x_2377, x_2482, x_2455, x_2481); if (lean_obj_tag(x_5) == 0) { lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; -x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2484 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2377); x_2485 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2485, 0, x_2377); @@ -55565,14 +54596,14 @@ if (lean_is_exclusive(x_2546)) { lean_dec_ref(x_2546); x_2549 = lean_box(0); } -x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_2550 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_2551 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_2541); x_2552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2552, 0, x_2541); lean_ctor_set(x_2552, 1, x_2550); lean_ctor_set(x_2552, 2, x_2551); -x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_2553 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_2552); lean_inc(x_2541); x_2554 = l_Lean_Syntax_node1(x_2541, x_2553, x_2552); @@ -55585,10 +54616,10 @@ lean_ctor_set(x_2558, 0, x_2541); lean_ctor_set(x_2558, 1, x_2557); lean_ctor_set(x_2558, 2, x_2556); lean_ctor_set(x_2558, 3, x_2520); -x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_2559 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_2541); x_2560 = l_Lean_Syntax_node2(x_2541, x_2559, x_2558, x_2552); -x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_2561 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; x_2562 = l_Lean_Syntax_node2(x_2541, x_2561, x_2554, x_2560); x_2563 = l_Lean_Elab_Command_getRef(x_9, x_10, x_2548); x_2564 = lean_ctor_get(x_2563, 0); @@ -55757,7 +54788,7 @@ if (lean_is_scalar(x_2605)) { } lean_ctor_set(x_2612, 0, x_2601); lean_ctor_set(x_2612, 1, x_2611); -x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2613 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_2601); if (lean_is_scalar(x_2600)) { x_2614 = lean_alloc_ctor(2, 2, 0); @@ -55779,7 +54810,7 @@ lean_ctor_set(x_2619, 0, x_2601); lean_ctor_set(x_2619, 1, x_2617); lean_ctor_set(x_2619, 2, x_2616); lean_ctor_set(x_2619, 3, x_2618); -x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_2620 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_2601); if (lean_is_scalar(x_2595)) { x_2621 = lean_alloc_ctor(2, 2, 0); @@ -55789,7 +54820,7 @@ if (lean_is_scalar(x_2595)) { } lean_ctor_set(x_2621, 0, x_2601); lean_ctor_set(x_2621, 1, x_2620); -x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_2622 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_2601); if (lean_is_scalar(x_2591)) { x_2623 = lean_alloc_ctor(2, 2, 0); @@ -55805,7 +54836,7 @@ x_2624 = l_Lean_Syntax_node1(x_2601, x_2550, x_2527); lean_inc(x_2585); lean_inc(x_2601); x_2625 = l_Lean_Syntax_node3(x_2601, x_2550, x_2585, x_2623, x_2624); -x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_2626 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_2601); if (lean_is_scalar(x_2587)) { x_2627 = lean_alloc_ctor(2, 2, 0); @@ -55818,7 +54849,7 @@ lean_ctor_set(x_2627, 1, x_2626); x_2628 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__17; lean_inc(x_2601); x_2629 = l_Lean_Syntax_node3(x_2601, x_2628, x_2621, x_2625, x_2627); -x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_2630 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_2601); if (lean_is_scalar(x_2566)) { x_2631 = lean_alloc_ctor(2, 2, 0); @@ -55843,7 +54874,7 @@ lean_ctor_set(x_2636, 3, x_2635); lean_inc(x_2596); lean_inc(x_2601); x_2637 = l_Lean_Syntax_node1(x_2601, x_2550, x_2596); -x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_2638 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_2601); x_2639 = l_Lean_Syntax_node2(x_2601, x_2638, x_2636, x_2637); x_2640 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -55853,7 +54884,7 @@ lean_inc(x_2524); lean_inc(x_2610); lean_inc(x_2601); x_2641 = l_Lean_Syntax_node8(x_2601, x_2640, x_2610, x_2612, x_2524, x_2614, x_2619, x_2629, x_2631, x_2639); -x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__26; +x_2642 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__33; lean_inc(x_2601); if (lean_is_scalar(x_2549)) { x_2643 = lean_alloc_ctor(2, 2, 0); @@ -55863,7 +54894,7 @@ if (lean_is_scalar(x_2549)) { } lean_ctor_set(x_2643, 0, x_2601); lean_ctor_set(x_2643, 1, x_2642); -x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_2644 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_2524); if (lean_is_scalar(x_2545)) { x_2645 = lean_alloc_ctor(1, 2, 0); @@ -55875,18 +54906,18 @@ lean_ctor_set(x_2645, 0, x_2524); lean_ctor_set(x_2645, 1, x_2644); x_2646 = lean_array_mk(x_2645); x_2647 = lean_box(2); -x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_2648 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_2649 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2649, 0, x_2647); lean_ctor_set(x_2649, 1, x_2648); lean_ctor_set(x_2649, 2, x_2646); -x_2650 = l_Lake_DSL_buildDeclSig___closed__19; +x_2650 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_2614); lean_inc(x_2601); x_2651 = l_Lean_Syntax_node2(x_2601, x_2650, x_2614, x_2589); lean_inc(x_2601); x_2652 = l_Lean_Syntax_node1(x_2601, x_2550, x_2651); -x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_2653 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_2610); lean_inc(x_2601); x_2654 = l_Lean_Syntax_node2(x_2601, x_2653, x_2610, x_2652); @@ -55906,20 +54937,20 @@ lean_inc(x_2601); x_2660 = l_Lean_Syntax_node4(x_2601, x_2550, x_2585, x_2527, x_2596, x_2522); lean_inc(x_2601); x_2661 = l_Lean_Syntax_node2(x_2601, x_2638, x_2659, x_2660); -x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_2662 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc_n(x_2610, 2); lean_inc(x_2601); x_2663 = l_Lean_Syntax_node2(x_2601, x_2662, x_2610, x_2610); -x_2664 = l_Lake_DSL_buildDeclSig___closed__24; +x_2664 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_2610); lean_inc(x_2663); lean_inc(x_2631); lean_inc(x_2601); x_2665 = l_Lean_Syntax_node4(x_2601, x_2664, x_2631, x_2661, x_2663, x_2610); -x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; +x_2666 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; lean_inc(x_2601); x_2667 = l_Lean_Syntax_node4(x_2601, x_2666, x_2643, x_2649, x_2654, x_2665); -x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_2668 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_2601); if (lean_is_scalar(x_2540)) { x_2669 = lean_alloc_ctor(2, 2, 0); @@ -55938,7 +54969,7 @@ x_2672 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2672, 0, x_2601); lean_ctor_set(x_2672, 1, x_2550); lean_ctor_set(x_2672, 2, x_2671); -x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_2673 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_2601); if (lean_is_scalar(x_2536)) { x_2674 = lean_alloc_ctor(2, 2, 0); @@ -55948,12 +54979,12 @@ if (lean_is_scalar(x_2536)) { } lean_ctor_set(x_2674, 0, x_2601); lean_ctor_set(x_2674, 1, x_2673); -x_2675 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_2675 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_2601); x_2676 = l_Lean_Syntax_node3(x_2601, x_2675, x_2669, x_2672, x_2674); lean_inc(x_2601); x_2677 = l_Lean_Syntax_node1(x_2601, x_2550, x_2676); -x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_2678 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_2610, 5); lean_inc(x_2601); x_2679 = l_Lean_Syntax_node6(x_2601, x_2678, x_2610, x_2677, x_2610, x_2610, x_2610, x_2610); @@ -56025,13 +55056,13 @@ x_2705 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__25; lean_inc(x_2610); lean_inc(x_2601); x_2706 = l_Lean_Syntax_node5(x_2601, x_2705, x_2681, x_2687, x_2695, x_2704, x_2610); -x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_2707 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_2601); x_2708 = l_Lean_Syntax_node2(x_2601, x_2707, x_2679, x_2706); if (lean_obj_tag(x_5) == 0) { lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; -x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_2709 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_2601); x_2710 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_2710, 0, x_2601); @@ -56161,20 +55192,39 @@ static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("ill-formed input_dir declaration", 32, 32); +x_1 = lean_mk_string_unchecked("inputDirCommand", 15, 15); return x_1; } } static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_elabInputDirCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed input_dir declaration", 32, 32); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_elabInputDirCommand___closed__1; +x_1 = l_Lake_DSL_elabInputDirCommand___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__3() { +static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__5() { _start: { lean_object* x_1; @@ -56182,12 +55232,12 @@ x_1 = lean_mk_string_unchecked("InputDirConfig", 14, 14); return x_1; } } -static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__4() { +static lean_object* _init_l_Lake_DSL_elabInputDirCommand___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_elabInputDirCommand___closed__3; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_elabInputDirCommand___closed__5; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } @@ -56196,13 +55246,13 @@ LEAN_EXPORT lean_object* l_Lake_DSL_elabInputDirCommand(lean_object* x_1, lean_o _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lake_DSL_inputDirCommand___closed__2; +x_5 = l_Lake_DSL_elabInputDirCommand___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; -x_7 = l_Lake_DSL_elabInputDirCommand___closed__2; +x_7 = l_Lake_DSL_elabInputDirCommand___closed__4; x_8 = l_Lean_throwErrorAt___at_Lake_DSL_elabLeanLibCommand___spec__1(x_1, x_7, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); @@ -56345,7 +55395,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean x_30 = lean_ctor_get(x_2, 6); lean_dec(x_30); lean_ctor_set(x_2, 6, x_28); -x_31 = l_Lake_DSL_elabInputDirCommand___closed__4; +x_31 = l_Lake_DSL_elabInputDirCommand___closed__6; x_32 = l_Lake_InputDir_keyword; x_33 = l_Lake_instTypeNameInputDirDecl; lean_inc(x_3); @@ -56423,7 +55473,7 @@ lean_ctor_set(x_52, 6, x_28); lean_ctor_set(x_52, 7, x_49); lean_ctor_set(x_52, 8, x_50); lean_ctor_set_uint8(x_52, sizeof(void*)*9, x_51); -x_53 = l_Lake_DSL_elabInputDirCommand___closed__4; +x_53 = l_Lake_DSL_elabInputDirCommand___closed__6; x_54 = l_Lake_InputDir_keyword; x_55 = l_Lake_instTypeNameInputDirDecl; lean_inc(x_3); @@ -56493,7 +55543,7 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean x_74 = lean_ctor_get(x_2, 6); lean_dec(x_74); lean_ctor_set(x_2, 6, x_72); -x_75 = l_Lake_DSL_elabInputDirCommand___closed__4; +x_75 = l_Lake_DSL_elabInputDirCommand___closed__6; x_76 = l_Lake_InputDir_keyword; x_77 = l_Lake_instTypeNameInputDirDecl; lean_inc(x_3); @@ -56571,7 +55621,7 @@ lean_ctor_set(x_96, 6, x_72); lean_ctor_set(x_96, 7, x_93); lean_ctor_set(x_96, 8, x_94); lean_ctor_set_uint8(x_96, sizeof(void*)*9, x_95); -x_97 = l_Lake_DSL_elabInputDirCommand___closed__4; +x_97 = l_Lake_DSL_elabInputDirCommand___closed__6; x_98 = l_Lake_InputDir_keyword; x_99 = l_Lake_instTypeNameInputDirDecl; lean_inc(x_3); @@ -56647,8 +55697,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_elabInputDirCommand__1___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -56667,7 +55717,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__3; -x_3 = l_Lake_DSL_inputDirCommand___closed__2; +x_3 = l_Lake_DSL_elabInputDirCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -56728,148 +55778,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("externLibDeclSpec", 17, 17); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_externLibDeclSpec___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_buildDeclSig___closed__14; -x_3 = l_Lake_DSL_buildDeclSig___closed__25; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibDeclSpec___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_externLibDeclSpec___closed__1; -x_2 = l_Lake_DSL_externLibDeclSpec___closed__2; -x_3 = l_Lake_DSL_externLibDeclSpec___closed__3; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibDeclSpec() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_externLibDeclSpec___closed__4; -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("externLibCommand", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; -x_3 = l_Lake_DSL_externLibCommand___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("extern_lib ", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_DSL_externLibCommand___closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_moduleFacetDecl___closed__11; -x_3 = l_Lake_DSL_externLibCommand___closed__4; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__6; -x_2 = l_Lake_DSL_externLibCommand___closed__5; -x_3 = l_Lake_DSL_externLibDeclSpec; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_externLibCommand___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lake_DSL_externLibCommand___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_DSL_externLibCommand() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_DSL_externLibCommand___closed__7; -return x_1; -} -} static lean_object* _init_l_Lake_DSL_expandExternLibCommand___lambda__1___closed__1() { _start: { @@ -57005,7 +55913,7 @@ static lean_object* _init_l_Lake_DSL_expandExternLibCommand___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; x_2 = l_Lake_DSL_expandExternLibCommand___lambda__1___closed__12; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; @@ -57064,8 +55972,8 @@ static lean_object* _init_l_Lake_DSL_expandExternLibCommand___lambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l_Lake_DSL_expandExternLibCommand___lambda__1___closed__20; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -57129,14 +56037,14 @@ lean_dec(x_11); x_17 = 0; x_18 = l_Lean_SourceInfo_fromRef(x_14, x_17); lean_dec(x_14); -x_19 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__6; -x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; +x_19 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__9; +x_20 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; lean_inc(x_18); x_21 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_21, 0, x_18); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_20); -x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__4; +x_22 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__7; lean_inc(x_21); lean_inc(x_18); x_23 = l_Lean_Syntax_node1(x_18, x_22, x_21); @@ -57152,11 +56060,11 @@ lean_ctor_set(x_28, 0, x_18); lean_ctor_set(x_28, 1, x_27); lean_ctor_set(x_28, 2, x_25); lean_ctor_set(x_28, 3, x_26); -x_29 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__10; +x_29 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__13; lean_inc(x_21); lean_inc(x_18); x_30 = l_Lean_Syntax_node2(x_18, x_29, x_28, x_21); -x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2; +x_31 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__5; lean_inc(x_23); lean_inc(x_18); x_32 = l_Lean_Syntax_node2(x_18, x_31, x_23, x_30); @@ -57201,7 +56109,7 @@ lean_inc(x_18); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_18); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_54 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; lean_inc(x_18); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_18); @@ -57218,11 +56126,11 @@ lean_ctor_set(x_60, 0, x_18); lean_ctor_set(x_60, 1, x_58); lean_ctor_set(x_60, 2, x_57); lean_ctor_set(x_60, 3, x_59); -x_61 = l_Lake_DSL_buildDeclSig___closed__19; +x_61 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2; lean_inc(x_55); lean_inc(x_18); x_62 = l_Lean_Syntax_node2(x_18, x_61, x_55, x_60); -x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__35; +x_63 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__42; lean_inc(x_18); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_18); @@ -57247,12 +56155,12 @@ lean_ctor_set(x_72, 0, x_18); lean_ctor_set(x_72, 1, x_70); lean_ctor_set(x_72, 2, x_69); lean_ctor_set(x_72, 3, x_71); -x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__46; +x_73 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54; lean_inc(x_18); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_18); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__24; +x_75 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__31; lean_inc(x_18); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_18); @@ -57263,7 +56171,7 @@ x_77 = l_Lean_Syntax_node1(x_18, x_19, x_49); lean_inc(x_46); lean_inc(x_18); x_78 = l_Lean_Syntax_node3(x_18, x_19, x_46, x_76, x_77); -x_79 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__52; +x_79 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60; lean_inc(x_18); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_18); @@ -57285,7 +56193,7 @@ lean_ctor_set(x_87, 2, x_84); lean_ctor_set(x_87, 3, x_86); lean_inc(x_18); x_88 = l_Lean_Syntax_node1(x_18, x_19, x_51); -x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__37; +x_89 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__44; lean_inc(x_18); x_90 = l_Lean_Syntax_node2(x_18, x_89, x_87, x_88); x_91 = l_Lake_DSL_expandTargetCommand___lambda__1___closed__8; @@ -57300,14 +56208,14 @@ lean_inc(x_18); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_18); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; +x_95 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__39; lean_inc(x_44); x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_44); lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_mk(x_96); x_98 = lean_box(2); -x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; +x_99 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__36; x_100 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_100, 0, x_98); lean_ctor_set(x_100, 1, x_99); @@ -57329,7 +56237,7 @@ lean_inc(x_18); x_106 = l_Lean_Syntax_node2(x_18, x_61, x_55, x_105); lean_inc(x_18); x_107 = l_Lean_Syntax_node1(x_18, x_19, x_106); -x_108 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__34; +x_108 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__41; lean_inc(x_21); lean_inc(x_18); x_109 = l_Lean_Syntax_node2(x_18, x_108, x_21, x_107); @@ -57360,7 +56268,7 @@ lean_inc(x_21); lean_inc(x_94); lean_inc(x_18); x_119 = l_Lean_Syntax_node5(x_18, x_118, x_94, x_100, x_109, x_117, x_21); -x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__23; +x_120 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__30; lean_inc(x_18); x_121 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_121, 0, x_18); @@ -57374,17 +56282,17 @@ x_124 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_124, 0, x_18); lean_ctor_set(x_124, 1, x_19); lean_ctor_set(x_124, 2, x_123); -x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; +x_125 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__32; lean_inc(x_18); x_126 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_126, 0, x_18); lean_ctor_set(x_126, 1, x_125); -x_127 = l_Lake_DSL_moduleFacetDecl___closed__8; +x_127 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__29; lean_inc(x_18); x_128 = l_Lean_Syntax_node3(x_18, x_127, x_121, x_124, x_126); lean_inc(x_18); x_129 = l_Lean_Syntax_node1(x_18, x_19, x_128); -x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__22; +x_130 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__27; lean_inc_n(x_21, 5); lean_inc(x_18); x_131 = l_Lean_Syntax_node6(x_18, x_130, x_21, x_129, x_21, x_21, x_21, x_21); @@ -57449,7 +56357,7 @@ x_154 = l_Lean_Syntax_node4(x_18, x_5, x_64, x_153, x_65, x_21); lean_inc(x_21); lean_inc(x_18); x_155 = l_Lean_Syntax_node5(x_18, x_118, x_94, x_137, x_145, x_154, x_21); -x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__20; +x_156 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__25; lean_inc(x_18); x_157 = l_Lean_Syntax_node2(x_18, x_156, x_131, x_155); if (x_48 == 0) @@ -57505,7 +56413,7 @@ block_193: lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; x_159 = l_Lean_mkIdentFrom(x_44, x_158, x_17); lean_dec(x_44); -x_160 = l_Lake_DSL_expandTargetCommand___closed__3; +x_160 = l_Lake_DSL_expandTargetCommand___closed__5; lean_inc(x_18); x_161 = l_Lean_Syntax_node1(x_18, x_160, x_159); if (lean_obj_tag(x_8) == 0) @@ -57560,17 +56468,17 @@ lean_ctor_set(x_167, 1, x_19); lean_ctor_set(x_167, 2, x_166); lean_inc(x_18); x_168 = l_Lean_Syntax_node4(x_18, x_5, x_64, x_6, x_65, x_167); -x_169 = l_Lake_DSL_buildDeclSig___closed__4; +x_169 = l_Lake_DSL_expandModuleFacetDecl___closed__4; lean_inc(x_18); x_170 = l_Lean_Syntax_node4(x_18, x_169, x_161, x_164, x_62, x_168); -x_171 = l_Lake_DSL_targetCommand___closed__2; +x_171 = l_Lake_DSL_expandTargetCommand___closed__2; lean_inc_n(x_21, 2); lean_inc(x_18); x_172 = l_Lean_Syntax_node4(x_18, x_171, x_21, x_21, x_53, x_170); if (lean_obj_tag(x_7) == 0) { lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_173 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53; +x_173 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61; lean_inc(x_18); x_174 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_174, 0, x_18); @@ -57631,7 +56539,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lake_DSL_buildDeclSig___closed__24; +x_12 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -57653,7 +56561,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint x_16 = lean_unsigned_to_nat(1u); x_17 = l_Lean_Syntax_getArg(x_11, x_16); x_18 = l_Lean_Syntax_getArg(x_11, x_10); -x_19 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__4; +x_19 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8; lean_inc(x_18); x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); if (x_20 == 0) @@ -57743,7 +56651,7 @@ else lean_object* x_38; lean_object* x_39; uint8_t x_40; x_38 = l_Lean_Syntax_getArg(x_33, x_23); lean_dec(x_33); -x_39 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6; +x_39 = l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10; lean_inc(x_38); x_40 = l_Lean_Syntax_isOfKind(x_38, x_39); if (x_40 == 0) @@ -57790,21 +56698,59 @@ static lean_object* _init_l_Lake_DSL_expandExternLibCommand___closed__1() { _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("externLibCommand", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandExternLibCommand___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandExternLibCommand___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lake_DSL_expandExternLibCommand___closed__3() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("ill-formed external library declaration", 39, 39); return x_1; } } +static lean_object* _init_l_Lake_DSL_expandExternLibCommand___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("externLibDeclSpec", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lake_DSL_expandExternLibCommand___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; +x_3 = l_Lake_DSL_expandExternLibCommand___closed__4; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lake_DSL_expandExternLibCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lake_DSL_externLibCommand___closed__2; +x_4 = l_Lake_DSL_expandExternLibCommand___closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -x_6 = l_Lake_DSL_expandExternLibCommand___closed__1; +x_6 = l_Lake_DSL_expandExternLibCommand___closed__3; x_7 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_6, x_2, x_3); lean_dec(x_1); return x_7; @@ -57825,7 +56771,7 @@ x_16 = l_Lean_Syntax_getOptional_x3f(x_11); lean_dec(x_11); x_17 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_18 = l_Lake_DSL_externLibDeclSpec___closed__2; +x_18 = l_Lake_DSL_expandExternLibCommand___closed__5; lean_inc(x_15); x_19 = l_Lean_Syntax_isOfKind(x_15, x_18); if (lean_obj_tag(x_16) == 0) @@ -57984,8 +56930,8 @@ static lean_object* _init_l___regBuiltin_Lake_DSL_expandExternLibCommand__1___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_DSL_buildDeclSig___closed__1; -x_2 = l_Lake_DSL_buildDeclSig___closed__2; +x_1 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__18; +x_2 = l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__47; x_3 = l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -58004,7 +56950,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__3; -x_3 = l_Lake_DSL_externLibCommand___closed__2; +x_3 = l_Lake_DSL_expandExternLibCommand___closed__2; x_4 = l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__2; x_5 = l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -58012,6 +56958,7 @@ return x_6; } } lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Config_FacetConfig(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Config_TargetConfig(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Build_Job(uint8_t builtin, lean_object*); @@ -58023,6 +56970,9 @@ _G_initialized = true; res = initialize_Lake_DSL_DeclUtil(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lake_Config_FacetConfig(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -58032,96 +56982,6 @@ lean_dec_ref(res); res = initialize_Lake_Build_Job(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lake_DSL_buildDeclSig___closed__1 = _init_l_Lake_DSL_buildDeclSig___closed__1(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__1); -l_Lake_DSL_buildDeclSig___closed__2 = _init_l_Lake_DSL_buildDeclSig___closed__2(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__2); -l_Lake_DSL_buildDeclSig___closed__3 = _init_l_Lake_DSL_buildDeclSig___closed__3(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__3); -l_Lake_DSL_buildDeclSig___closed__4 = _init_l_Lake_DSL_buildDeclSig___closed__4(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__4); -l_Lake_DSL_buildDeclSig___closed__5 = _init_l_Lake_DSL_buildDeclSig___closed__5(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__5); -l_Lake_DSL_buildDeclSig___closed__6 = _init_l_Lake_DSL_buildDeclSig___closed__6(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__6); -l_Lake_DSL_buildDeclSig___closed__7 = _init_l_Lake_DSL_buildDeclSig___closed__7(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__7); -l_Lake_DSL_buildDeclSig___closed__8 = _init_l_Lake_DSL_buildDeclSig___closed__8(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__8); -l_Lake_DSL_buildDeclSig___closed__9 = _init_l_Lake_DSL_buildDeclSig___closed__9(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__9); -l_Lake_DSL_buildDeclSig___closed__10 = _init_l_Lake_DSL_buildDeclSig___closed__10(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__10); -l_Lake_DSL_buildDeclSig___closed__11 = _init_l_Lake_DSL_buildDeclSig___closed__11(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__11); -l_Lake_DSL_buildDeclSig___closed__12 = _init_l_Lake_DSL_buildDeclSig___closed__12(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__12); -l_Lake_DSL_buildDeclSig___closed__13 = _init_l_Lake_DSL_buildDeclSig___closed__13(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__13); -l_Lake_DSL_buildDeclSig___closed__14 = _init_l_Lake_DSL_buildDeclSig___closed__14(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__14); -l_Lake_DSL_buildDeclSig___closed__15 = _init_l_Lake_DSL_buildDeclSig___closed__15(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__15); -l_Lake_DSL_buildDeclSig___closed__16 = _init_l_Lake_DSL_buildDeclSig___closed__16(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__16); -l_Lake_DSL_buildDeclSig___closed__17 = _init_l_Lake_DSL_buildDeclSig___closed__17(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__17); -l_Lake_DSL_buildDeclSig___closed__18 = _init_l_Lake_DSL_buildDeclSig___closed__18(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__18); -l_Lake_DSL_buildDeclSig___closed__19 = _init_l_Lake_DSL_buildDeclSig___closed__19(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__19); -l_Lake_DSL_buildDeclSig___closed__20 = _init_l_Lake_DSL_buildDeclSig___closed__20(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__20); -l_Lake_DSL_buildDeclSig___closed__21 = _init_l_Lake_DSL_buildDeclSig___closed__21(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__21); -l_Lake_DSL_buildDeclSig___closed__22 = _init_l_Lake_DSL_buildDeclSig___closed__22(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__22); -l_Lake_DSL_buildDeclSig___closed__23 = _init_l_Lake_DSL_buildDeclSig___closed__23(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__23); -l_Lake_DSL_buildDeclSig___closed__24 = _init_l_Lake_DSL_buildDeclSig___closed__24(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__24); -l_Lake_DSL_buildDeclSig___closed__25 = _init_l_Lake_DSL_buildDeclSig___closed__25(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__25); -l_Lake_DSL_buildDeclSig___closed__26 = _init_l_Lake_DSL_buildDeclSig___closed__26(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__26); -l_Lake_DSL_buildDeclSig___closed__27 = _init_l_Lake_DSL_buildDeclSig___closed__27(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig___closed__27); -l_Lake_DSL_buildDeclSig = _init_l_Lake_DSL_buildDeclSig(); -lean_mark_persistent(l_Lake_DSL_buildDeclSig); -l_Lake_DSL_moduleFacetDecl___closed__1 = _init_l_Lake_DSL_moduleFacetDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__1); -l_Lake_DSL_moduleFacetDecl___closed__2 = _init_l_Lake_DSL_moduleFacetDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__2); -l_Lake_DSL_moduleFacetDecl___closed__3 = _init_l_Lake_DSL_moduleFacetDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__3); -l_Lake_DSL_moduleFacetDecl___closed__4 = _init_l_Lake_DSL_moduleFacetDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__4); -l_Lake_DSL_moduleFacetDecl___closed__5 = _init_l_Lake_DSL_moduleFacetDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__5); -l_Lake_DSL_moduleFacetDecl___closed__6 = _init_l_Lake_DSL_moduleFacetDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__6); -l_Lake_DSL_moduleFacetDecl___closed__7 = _init_l_Lake_DSL_moduleFacetDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__7); -l_Lake_DSL_moduleFacetDecl___closed__8 = _init_l_Lake_DSL_moduleFacetDecl___closed__8(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__8); -l_Lake_DSL_moduleFacetDecl___closed__9 = _init_l_Lake_DSL_moduleFacetDecl___closed__9(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__9); -l_Lake_DSL_moduleFacetDecl___closed__10 = _init_l_Lake_DSL_moduleFacetDecl___closed__10(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__10); -l_Lake_DSL_moduleFacetDecl___closed__11 = _init_l_Lake_DSL_moduleFacetDecl___closed__11(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__11); -l_Lake_DSL_moduleFacetDecl___closed__12 = _init_l_Lake_DSL_moduleFacetDecl___closed__12(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__12); -l_Lake_DSL_moduleFacetDecl___closed__13 = _init_l_Lake_DSL_moduleFacetDecl___closed__13(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__13); -l_Lake_DSL_moduleFacetDecl___closed__14 = _init_l_Lake_DSL_moduleFacetDecl___closed__14(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__14); -l_Lake_DSL_moduleFacetDecl___closed__15 = _init_l_Lake_DSL_moduleFacetDecl___closed__15(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__15); -l_Lake_DSL_moduleFacetDecl___closed__16 = _init_l_Lake_DSL_moduleFacetDecl___closed__16(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl___closed__16); -l_Lake_DSL_moduleFacetDecl = _init_l_Lake_DSL_moduleFacetDecl(); -lean_mark_persistent(l_Lake_DSL_moduleFacetDecl); l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__1); l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__2(); @@ -58230,6 +57090,22 @@ l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53 = _init_l_Lake_DSL_exp lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__53); l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54(); lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__54); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__55); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__56); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__57); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__58); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__59); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__60); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__61); +l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__1___closed__62); l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1(); lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__1); l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__2(); @@ -58242,6 +57118,22 @@ l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5 = _init_l_Lake_DSL_expa lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__5); l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6(); lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__6); +l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__7); +l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__8); +l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__9); +l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10 = _init_l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___lambda__2___closed__10); +l_Lake_DSL_expandModuleFacetDecl___closed__1 = _init_l_Lake_DSL_expandModuleFacetDecl___closed__1(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___closed__1); +l_Lake_DSL_expandModuleFacetDecl___closed__2 = _init_l_Lake_DSL_expandModuleFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___closed__2); +l_Lake_DSL_expandModuleFacetDecl___closed__3 = _init_l_Lake_DSL_expandModuleFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___closed__3); +l_Lake_DSL_expandModuleFacetDecl___closed__4 = _init_l_Lake_DSL_expandModuleFacetDecl___closed__4(); +lean_mark_persistent(l_Lake_DSL_expandModuleFacetDecl___closed__4); l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__2(); @@ -58253,23 +57145,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1___closed__ if (builtin) {res = l___regBuiltin_Lake_DSL_expandModuleFacetDecl__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_packageFacetDecl___closed__1 = _init_l_Lake_DSL_packageFacetDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__1); -l_Lake_DSL_packageFacetDecl___closed__2 = _init_l_Lake_DSL_packageFacetDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__2); -l_Lake_DSL_packageFacetDecl___closed__3 = _init_l_Lake_DSL_packageFacetDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__3); -l_Lake_DSL_packageFacetDecl___closed__4 = _init_l_Lake_DSL_packageFacetDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__4); -l_Lake_DSL_packageFacetDecl___closed__5 = _init_l_Lake_DSL_packageFacetDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__5); -l_Lake_DSL_packageFacetDecl___closed__6 = _init_l_Lake_DSL_packageFacetDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__6); -l_Lake_DSL_packageFacetDecl___closed__7 = _init_l_Lake_DSL_packageFacetDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl___closed__7); -l_Lake_DSL_packageFacetDecl = _init_l_Lake_DSL_packageFacetDecl(); -lean_mark_persistent(l_Lake_DSL_packageFacetDecl); -l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1(); +}l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__1); l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__2 = _init_l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__2(); lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___lambda__1___closed__2); @@ -58301,6 +57177,10 @@ l_Lake_DSL_expandPackageFacetDecl___lambda__2___closed__1 = _init_l_Lake_DSL_exp lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___lambda__2___closed__1); l_Lake_DSL_expandPackageFacetDecl___closed__1 = _init_l_Lake_DSL_expandPackageFacetDecl___closed__1(); lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___closed__1); +l_Lake_DSL_expandPackageFacetDecl___closed__2 = _init_l_Lake_DSL_expandPackageFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___closed__2); +l_Lake_DSL_expandPackageFacetDecl___closed__3 = _init_l_Lake_DSL_expandPackageFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandPackageFacetDecl___closed__3); l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandPackageFacetDecl__1___closed__2(); @@ -58314,22 +57194,6 @@ lean_dec_ref(res); lean_mark_persistent(l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__1); l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2 = _init_l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2(); lean_mark_persistent(l_Lake_DSL_mkLibraryFacetDecl___rarg___closed__2); -l_Lake_DSL_libraryFacetDecl___closed__1 = _init_l_Lake_DSL_libraryFacetDecl___closed__1(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__1); -l_Lake_DSL_libraryFacetDecl___closed__2 = _init_l_Lake_DSL_libraryFacetDecl___closed__2(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__2); -l_Lake_DSL_libraryFacetDecl___closed__3 = _init_l_Lake_DSL_libraryFacetDecl___closed__3(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__3); -l_Lake_DSL_libraryFacetDecl___closed__4 = _init_l_Lake_DSL_libraryFacetDecl___closed__4(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__4); -l_Lake_DSL_libraryFacetDecl___closed__5 = _init_l_Lake_DSL_libraryFacetDecl___closed__5(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__5); -l_Lake_DSL_libraryFacetDecl___closed__6 = _init_l_Lake_DSL_libraryFacetDecl___closed__6(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__6); -l_Lake_DSL_libraryFacetDecl___closed__7 = _init_l_Lake_DSL_libraryFacetDecl___closed__7(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl___closed__7); -l_Lake_DSL_libraryFacetDecl = _init_l_Lake_DSL_libraryFacetDecl(); -lean_mark_persistent(l_Lake_DSL_libraryFacetDecl); l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__1 = _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__1); l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__2 = _init_l_Lake_DSL_expandLibraryFacetDecl___lambda__1___closed__2(); @@ -58374,6 +57238,10 @@ l_Lake_DSL_expandLibraryFacetDecl___lambda__2___closed__1 = _init_l_Lake_DSL_exp lean_mark_persistent(l_Lake_DSL_expandLibraryFacetDecl___lambda__2___closed__1); l_Lake_DSL_expandLibraryFacetDecl___closed__1 = _init_l_Lake_DSL_expandLibraryFacetDecl___closed__1(); lean_mark_persistent(l_Lake_DSL_expandLibraryFacetDecl___closed__1); +l_Lake_DSL_expandLibraryFacetDecl___closed__2 = _init_l_Lake_DSL_expandLibraryFacetDecl___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandLibraryFacetDecl___closed__2); +l_Lake_DSL_expandLibraryFacetDecl___closed__3 = _init_l_Lake_DSL_expandLibraryFacetDecl___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandLibraryFacetDecl___closed__3); l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__1); l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed__2(); @@ -58383,23 +57251,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1___closed_ if (builtin) {res = l___regBuiltin_Lake_DSL_expandLibraryFacetDecl__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_targetCommand___closed__1 = _init_l_Lake_DSL_targetCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__1); -l_Lake_DSL_targetCommand___closed__2 = _init_l_Lake_DSL_targetCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__2); -l_Lake_DSL_targetCommand___closed__3 = _init_l_Lake_DSL_targetCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__3); -l_Lake_DSL_targetCommand___closed__4 = _init_l_Lake_DSL_targetCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__4); -l_Lake_DSL_targetCommand___closed__5 = _init_l_Lake_DSL_targetCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__5); -l_Lake_DSL_targetCommand___closed__6 = _init_l_Lake_DSL_targetCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__6); -l_Lake_DSL_targetCommand___closed__7 = _init_l_Lake_DSL_targetCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_targetCommand___closed__7); -l_Lake_DSL_targetCommand = _init_l_Lake_DSL_targetCommand(); -lean_mark_persistent(l_Lake_DSL_targetCommand); -l_Lake_DSL_expandTargetCommand___lambda__1___closed__1 = _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__1(); +}l_Lake_DSL_expandTargetCommand___lambda__1___closed__1 = _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandTargetCommand___lambda__1___closed__1); l_Lake_DSL_expandTargetCommand___lambda__1___closed__2 = _init_l_Lake_DSL_expandTargetCommand___lambda__1___closed__2(); lean_mark_persistent(l_Lake_DSL_expandTargetCommand___lambda__1___closed__2); @@ -58503,6 +57355,10 @@ l_Lake_DSL_expandTargetCommand___closed__4 = _init_l_Lake_DSL_expandTargetComman lean_mark_persistent(l_Lake_DSL_expandTargetCommand___closed__4); l_Lake_DSL_expandTargetCommand___closed__5 = _init_l_Lake_DSL_expandTargetCommand___closed__5(); lean_mark_persistent(l_Lake_DSL_expandTargetCommand___closed__5); +l_Lake_DSL_expandTargetCommand___closed__6 = _init_l_Lake_DSL_expandTargetCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_expandTargetCommand___closed__6); +l_Lake_DSL_expandTargetCommand___closed__7 = _init_l_Lake_DSL_expandTargetCommand___closed__7(); +lean_mark_persistent(l_Lake_DSL_expandTargetCommand___closed__7); l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__1); l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandTargetCommand__1___closed__2(); @@ -58546,26 +57402,6 @@ l_Lake_DSL_mkConfigDeclDef___closed__16 = _init_l_Lake_DSL_mkConfigDeclDef___clo lean_mark_persistent(l_Lake_DSL_mkConfigDeclDef___closed__16); l_Lake_DSL_mkConfigDeclDef___closed__17 = _init_l_Lake_DSL_mkConfigDeclDef___closed__17(); lean_mark_persistent(l_Lake_DSL_mkConfigDeclDef___closed__17); -l_Lake_DSL_leanLibCommand___closed__1 = _init_l_Lake_DSL_leanLibCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__1); -l_Lake_DSL_leanLibCommand___closed__2 = _init_l_Lake_DSL_leanLibCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__2); -l_Lake_DSL_leanLibCommand___closed__3 = _init_l_Lake_DSL_leanLibCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__3); -l_Lake_DSL_leanLibCommand___closed__4 = _init_l_Lake_DSL_leanLibCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__4); -l_Lake_DSL_leanLibCommand___closed__5 = _init_l_Lake_DSL_leanLibCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__5); -l_Lake_DSL_leanLibCommand___closed__6 = _init_l_Lake_DSL_leanLibCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__6); -l_Lake_DSL_leanLibCommand___closed__7 = _init_l_Lake_DSL_leanLibCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__7); -l_Lake_DSL_leanLibCommand___closed__8 = _init_l_Lake_DSL_leanLibCommand___closed__8(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__8); -l_Lake_DSL_leanLibCommand___closed__9 = _init_l_Lake_DSL_leanLibCommand___closed__9(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand___closed__9); -l_Lake_DSL_leanLibCommand = _init_l_Lake_DSL_leanLibCommand(); -lean_mark_persistent(l_Lake_DSL_leanLibCommand); l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__1 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__1); l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__2 = _init_l_Lake_DSL_elabConfig___at_Lake_DSL_elabLeanLibCommand___spec__3___lambda__1___closed__2(); @@ -58614,6 +57450,10 @@ l_Lake_DSL_elabLeanLibCommand___closed__3 = _init_l_Lake_DSL_elabLeanLibCommand_ lean_mark_persistent(l_Lake_DSL_elabLeanLibCommand___closed__3); l_Lake_DSL_elabLeanLibCommand___closed__4 = _init_l_Lake_DSL_elabLeanLibCommand___closed__4(); lean_mark_persistent(l_Lake_DSL_elabLeanLibCommand___closed__4); +l_Lake_DSL_elabLeanLibCommand___closed__5 = _init_l_Lake_DSL_elabLeanLibCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_elabLeanLibCommand___closed__5); +l_Lake_DSL_elabLeanLibCommand___closed__6 = _init_l_Lake_DSL_elabLeanLibCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_elabLeanLibCommand___closed__6); l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__1); l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__2(); @@ -58625,25 +57465,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabLeanLibCommand__1___closed__4); if (builtin) {res = l___regBuiltin_Lake_DSL_elabLeanLibCommand__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_leanExeCommand___closed__1 = _init_l_Lake_DSL_leanExeCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__1); -l_Lake_DSL_leanExeCommand___closed__2 = _init_l_Lake_DSL_leanExeCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__2); -l_Lake_DSL_leanExeCommand___closed__3 = _init_l_Lake_DSL_leanExeCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__3); -l_Lake_DSL_leanExeCommand___closed__4 = _init_l_Lake_DSL_leanExeCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__4); -l_Lake_DSL_leanExeCommand___closed__5 = _init_l_Lake_DSL_leanExeCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__5); -l_Lake_DSL_leanExeCommand___closed__6 = _init_l_Lake_DSL_leanExeCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__6); -l_Lake_DSL_leanExeCommand___closed__7 = _init_l_Lake_DSL_leanExeCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__7); -l_Lake_DSL_leanExeCommand___closed__8 = _init_l_Lake_DSL_leanExeCommand___closed__8(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand___closed__8); -l_Lake_DSL_leanExeCommand = _init_l_Lake_DSL_leanExeCommand(); -lean_mark_persistent(l_Lake_DSL_leanExeCommand); -l_Lake_DSL_elabLeanExeCommand___closed__1 = _init_l_Lake_DSL_elabLeanExeCommand___closed__1(); +}l_Lake_DSL_elabLeanExeCommand___closed__1 = _init_l_Lake_DSL_elabLeanExeCommand___closed__1(); lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__1); l_Lake_DSL_elabLeanExeCommand___closed__2 = _init_l_Lake_DSL_elabLeanExeCommand___closed__2(); lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__2); @@ -58651,6 +57473,10 @@ l_Lake_DSL_elabLeanExeCommand___closed__3 = _init_l_Lake_DSL_elabLeanExeCommand_ lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__3); l_Lake_DSL_elabLeanExeCommand___closed__4 = _init_l_Lake_DSL_elabLeanExeCommand___closed__4(); lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__4); +l_Lake_DSL_elabLeanExeCommand___closed__5 = _init_l_Lake_DSL_elabLeanExeCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__5); +l_Lake_DSL_elabLeanExeCommand___closed__6 = _init_l_Lake_DSL_elabLeanExeCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_elabLeanExeCommand___closed__6); l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__1); l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__2(); @@ -58660,25 +57486,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabLeanExeCommand__1___closed__3); if (builtin) {res = l___regBuiltin_Lake_DSL_elabLeanExeCommand__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_inputFileCommand___closed__1 = _init_l_Lake_DSL_inputFileCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__1); -l_Lake_DSL_inputFileCommand___closed__2 = _init_l_Lake_DSL_inputFileCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__2); -l_Lake_DSL_inputFileCommand___closed__3 = _init_l_Lake_DSL_inputFileCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__3); -l_Lake_DSL_inputFileCommand___closed__4 = _init_l_Lake_DSL_inputFileCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__4); -l_Lake_DSL_inputFileCommand___closed__5 = _init_l_Lake_DSL_inputFileCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__5); -l_Lake_DSL_inputFileCommand___closed__6 = _init_l_Lake_DSL_inputFileCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__6); -l_Lake_DSL_inputFileCommand___closed__7 = _init_l_Lake_DSL_inputFileCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__7); -l_Lake_DSL_inputFileCommand___closed__8 = _init_l_Lake_DSL_inputFileCommand___closed__8(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand___closed__8); -l_Lake_DSL_inputFileCommand = _init_l_Lake_DSL_inputFileCommand(); -lean_mark_persistent(l_Lake_DSL_inputFileCommand); -l_Lake_DSL_elabInputfileCommand___closed__1 = _init_l_Lake_DSL_elabInputfileCommand___closed__1(); +}l_Lake_DSL_elabInputfileCommand___closed__1 = _init_l_Lake_DSL_elabInputfileCommand___closed__1(); lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__1); l_Lake_DSL_elabInputfileCommand___closed__2 = _init_l_Lake_DSL_elabInputfileCommand___closed__2(); lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__2); @@ -58686,6 +57494,10 @@ l_Lake_DSL_elabInputfileCommand___closed__3 = _init_l_Lake_DSL_elabInputfileComm lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__3); l_Lake_DSL_elabInputfileCommand___closed__4 = _init_l_Lake_DSL_elabInputfileCommand___closed__4(); lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__4); +l_Lake_DSL_elabInputfileCommand___closed__5 = _init_l_Lake_DSL_elabInputfileCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__5); +l_Lake_DSL_elabInputfileCommand___closed__6 = _init_l_Lake_DSL_elabInputfileCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_elabInputfileCommand___closed__6); l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__1); l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__2(); @@ -58695,25 +57507,7 @@ lean_mark_persistent(l___regBuiltin_Lake_DSL_elabInputfileCommand__1___closed__3 if (builtin) {res = l___regBuiltin_Lake_DSL_elabInputfileCommand__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lake_DSL_inputDirCommand___closed__1 = _init_l_Lake_DSL_inputDirCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__1); -l_Lake_DSL_inputDirCommand___closed__2 = _init_l_Lake_DSL_inputDirCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__2); -l_Lake_DSL_inputDirCommand___closed__3 = _init_l_Lake_DSL_inputDirCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__3); -l_Lake_DSL_inputDirCommand___closed__4 = _init_l_Lake_DSL_inputDirCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__4); -l_Lake_DSL_inputDirCommand___closed__5 = _init_l_Lake_DSL_inputDirCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__5); -l_Lake_DSL_inputDirCommand___closed__6 = _init_l_Lake_DSL_inputDirCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__6); -l_Lake_DSL_inputDirCommand___closed__7 = _init_l_Lake_DSL_inputDirCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__7); -l_Lake_DSL_inputDirCommand___closed__8 = _init_l_Lake_DSL_inputDirCommand___closed__8(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand___closed__8); -l_Lake_DSL_inputDirCommand = _init_l_Lake_DSL_inputDirCommand(); -lean_mark_persistent(l_Lake_DSL_inputDirCommand); -l_Lake_DSL_elabInputDirCommand___closed__1 = _init_l_Lake_DSL_elabInputDirCommand___closed__1(); +}l_Lake_DSL_elabInputDirCommand___closed__1 = _init_l_Lake_DSL_elabInputDirCommand___closed__1(); lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__1); l_Lake_DSL_elabInputDirCommand___closed__2 = _init_l_Lake_DSL_elabInputDirCommand___closed__2(); lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__2); @@ -58721,6 +57515,10 @@ l_Lake_DSL_elabInputDirCommand___closed__3 = _init_l_Lake_DSL_elabInputDirComman lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__3); l_Lake_DSL_elabInputDirCommand___closed__4 = _init_l_Lake_DSL_elabInputDirCommand___closed__4(); lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__4); +l_Lake_DSL_elabInputDirCommand___closed__5 = _init_l_Lake_DSL_elabInputDirCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__5); +l_Lake_DSL_elabInputDirCommand___closed__6 = _init_l_Lake_DSL_elabInputDirCommand___closed__6(); +lean_mark_persistent(l_Lake_DSL_elabInputDirCommand___closed__6); l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__1); l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_elabInputDirCommand__1___closed__2(); @@ -58732,32 +57530,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lake_DSL_mkExternLibDecl___closed__1 = _init_l_Lake_DSL_mkExternLibDecl___closed__1(); lean_mark_persistent(l_Lake_DSL_mkExternLibDecl___closed__1); -l_Lake_DSL_externLibDeclSpec___closed__1 = _init_l_Lake_DSL_externLibDeclSpec___closed__1(); -lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__1); -l_Lake_DSL_externLibDeclSpec___closed__2 = _init_l_Lake_DSL_externLibDeclSpec___closed__2(); -lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__2); -l_Lake_DSL_externLibDeclSpec___closed__3 = _init_l_Lake_DSL_externLibDeclSpec___closed__3(); -lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__3); -l_Lake_DSL_externLibDeclSpec___closed__4 = _init_l_Lake_DSL_externLibDeclSpec___closed__4(); -lean_mark_persistent(l_Lake_DSL_externLibDeclSpec___closed__4); -l_Lake_DSL_externLibDeclSpec = _init_l_Lake_DSL_externLibDeclSpec(); -lean_mark_persistent(l_Lake_DSL_externLibDeclSpec); -l_Lake_DSL_externLibCommand___closed__1 = _init_l_Lake_DSL_externLibCommand___closed__1(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__1); -l_Lake_DSL_externLibCommand___closed__2 = _init_l_Lake_DSL_externLibCommand___closed__2(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__2); -l_Lake_DSL_externLibCommand___closed__3 = _init_l_Lake_DSL_externLibCommand___closed__3(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__3); -l_Lake_DSL_externLibCommand___closed__4 = _init_l_Lake_DSL_externLibCommand___closed__4(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__4); -l_Lake_DSL_externLibCommand___closed__5 = _init_l_Lake_DSL_externLibCommand___closed__5(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__5); -l_Lake_DSL_externLibCommand___closed__6 = _init_l_Lake_DSL_externLibCommand___closed__6(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__6); -l_Lake_DSL_externLibCommand___closed__7 = _init_l_Lake_DSL_externLibCommand___closed__7(); -lean_mark_persistent(l_Lake_DSL_externLibCommand___closed__7); -l_Lake_DSL_externLibCommand = _init_l_Lake_DSL_externLibCommand(); -lean_mark_persistent(l_Lake_DSL_externLibCommand); l_Lake_DSL_expandExternLibCommand___lambda__1___closed__1 = _init_l_Lake_DSL_expandExternLibCommand___lambda__1___closed__1(); lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___lambda__1___closed__1); l_Lake_DSL_expandExternLibCommand___lambda__1___closed__2 = _init_l_Lake_DSL_expandExternLibCommand___lambda__1___closed__2(); @@ -58812,6 +57584,14 @@ l_Lake_DSL_expandExternLibCommand___lambda__2___closed__1 = _init_l_Lake_DSL_exp lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___lambda__2___closed__1); l_Lake_DSL_expandExternLibCommand___closed__1 = _init_l_Lake_DSL_expandExternLibCommand___closed__1(); lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___closed__1); +l_Lake_DSL_expandExternLibCommand___closed__2 = _init_l_Lake_DSL_expandExternLibCommand___closed__2(); +lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___closed__2); +l_Lake_DSL_expandExternLibCommand___closed__3 = _init_l_Lake_DSL_expandExternLibCommand___closed__3(); +lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___closed__3); +l_Lake_DSL_expandExternLibCommand___closed__4 = _init_l_Lake_DSL_expandExternLibCommand___closed__4(); +lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___closed__4); +l_Lake_DSL_expandExternLibCommand___closed__5 = _init_l_Lake_DSL_expandExternLibCommand___closed__5(); +lean_mark_persistent(l_Lake_DSL_expandExternLibCommand___closed__5); l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__1 = _init_l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__1); l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__2 = _init_l___regBuiltin_Lake_DSL_expandExternLibCommand__1___closed__2(); diff --git a/stage0/stdlib/Lake/DSL/VerLit.c b/stage0/stdlib/Lake/DSL/VerLit.c index 4b519afcd5..ba6d8ea48a 100644 --- a/stage0/stdlib/Lake/DSL/VerLit.c +++ b/stage0/stdlib/Lake/DSL/VerLit.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.DSL.VerLit -// Imports: Lean.Elab.Eval Lake.Util.Version +// Imports: Lean.Elab.Eval Lake.Util.Version Lake.DSL.Syntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -24,58 +24,43 @@ static lean_object* l_Lake_instToExprStdVer___closed__3; static lean_object* l_Lake_instToExprStdVer___lambda__1___closed__4; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lake_instToExprSemVerCore___lambda__1___closed__1; -static lean_object* l_Lake_verLit___closed__8; static lean_object* l_Lake_elabVerLit___closed__31; static lean_object* l_Lake_elabVerLit___closed__28; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2; static lean_object* l_Lake_elabVerLit___closed__26; static lean_object* l_Lake_elabVerLit___closed__9; -static lean_object* l_Lake_verLit___closed__7; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_verLit___closed__16; static lean_object* l___regBuiltin_Lake_elabVerLit__1___closed__4; static lean_object* l_Lake_elabVerLit___closed__3; LEAN_EXPORT lean_object* l___private_Lake_DSL_VerLit_0__Lake_toResultExpr(lean_object*); static lean_object* l_Lake_elabVerLit___closed__27; static lean_object* l_Lake_elabVerLit___closed__32; static lean_object* l_Lake_elabVerLit___closed__6; -static lean_object* l_Lake_verLit___closed__14; -static lean_object* l_Lake_verLit___closed__2; -static lean_object* l_Lake_verLit___closed__13; static lean_object* l_Lake_elabVerLit___closed__36; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_elabVerLit___closed__38; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lake_elabVerLit___closed__17; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lake_elabVerLit___closed__18; -static lean_object* l_Lake_verLit___closed__15; static lean_object* l_Lake_instToExprSemVerCore___closed__4; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_elabVerLit___closed__19; -static lean_object* l_Lake_verLit___closed__3; lean_object* l_Lean_mkStrLit(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg(lean_object*); static lean_object* l_Lake_elabVerLit___closed__4; LEAN_EXPORT lean_object* l_Lake_elabVerLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_elabVerLit___closed__30; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lake_elabVerLit___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); static lean_object* l_Lake_elabVerLit___closed__35; static lean_object* l_Lake_elabVerLit___closed__34; lean_object* l_Lean_Meta_evalExpr___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_verLit___closed__11; -static lean_object* l_Lake_verLit___closed__9; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l_Lake_instToExprSemVerCore___lambda__1___closed__5; -static lean_object* l_Lake_verLit___closed__12; +static lean_object* l_Lake_elabVerLit___closed__42; static lean_object* l_Lake_elabVerLit___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_verLit___closed__1; extern lean_object* l_Lean_Elab_Term_termElabAttribute; -LEAN_EXPORT lean_object* l_Lake_verLit; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lake_instToExprStdVer___lambda__1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lake_elabVerLit__1(lean_object*); @@ -88,10 +73,8 @@ static lean_object* l_Lake_elabVerLit___closed__12; static lean_object* l___regBuiltin_Lake_elabVerLit__1___closed__3; static lean_object* l_Lake_instToExprStdVer___closed__4; static lean_object* l_Lake_elabVerLit___closed__39; -static lean_object* l_Lake_verLit___closed__17; static lean_object* l_Lake_elabVerLit___closed__29; static lean_object* l_Lake_elabVerLit___closed__22; -static lean_object* l_Lake_verLit___closed__10; static lean_object* l_Lake_instToExprSemVerCore___lambda__1___closed__3; static lean_object* l_Lake_instToExprSemVerCore___lambda__1___closed__4; LEAN_EXPORT lean_object* l___private_Lake_DSL_VerLit_0__Lake_toResultExpr___rarg(lean_object*, lean_object*); @@ -99,13 +82,13 @@ static lean_object* l_Lake_elabVerLit___closed__14; static lean_object* l_Lake_elabVerLit___closed__21; static lean_object* l_Lake_elabVerLit___closed__23; static lean_object* l_Lake_elabVerLit___closed__33; -static lean_object* l_Lake_verLit___closed__5; static lean_object* l_Lake_elabVerLit___closed__7; LEAN_EXPORT lean_object* l_Lake_instToExprSemVerCore___lambda__1(lean_object*); lean_object* l_Lean_Environment_mainModule(lean_object*); LEAN_EXPORT lean_object* l_Lake_elabVerLit_unsafe__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lake_elabVerLit__1___closed__1; +static lean_object* l_Lake_elabVerLit___closed__43; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_elabVerLit___closed__8; static lean_object* l_Lake_elabVerLit___closed__11; @@ -125,16 +108,11 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* static lean_object* l_Lake_instToExprStdVer___closed__1; static lean_object* l_Lake_instToExprSemVerCore___closed__2; static lean_object* l_Lake_elabVerLit___closed__5; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1; static lean_object* l_Lake_elabVerLit___closed__41; -extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -static lean_object* l_Lake_verLit___closed__18; static lean_object* l_Lake_instToExprStdVer___closed__2; static lean_object* l_Lake_elabVerLit___closed__25; static lean_object* l_Lake_instToExprSemVerCore___closed__1; -static lean_object* l_Lake_verLit___closed__4; lean_object* l_String_toSubstring_x27(lean_object*); -static lean_object* l_Lake_verLit___closed__6; static lean_object* l_Lake_elabVerLit___closed__10; static lean_object* l_Lake_elabVerLit___closed__16; static lean_object* _init_l_Lake_instToExprSemVerCore___lambda__1___closed__1() { @@ -458,198 +436,6 @@ x_2 = lean_alloc_closure((void*)(l___private_Lake_DSL_VerLit_0__Lake_toResultExp return x_2; } } -static lean_object* _init_l_Lake_verLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("verLit", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; -x_2 = l_Lake_verLit___closed__1; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_verLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("andthen", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_verLit___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_verLit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("v!", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_verLit___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_verLit___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("noWs", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_verLit___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_verLit___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_verLit___closed__8; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_verLit___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_verLit___closed__4; -x_2 = l_Lake_verLit___closed__6; -x_3 = l_Lake_verLit___closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_verLit___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("interpolatedStr", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_verLit___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_verLit___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lake_verLit___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_verLit___closed__13; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_verLit___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_verLit___closed__14; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(7, 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_verLit___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_verLit___closed__12; -x_2 = l_Lake_verLit___closed__15; -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_Lake_verLit___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_verLit___closed__4; -x_2 = l_Lake_verLit___closed__10; -x_3 = l_Lake_verLit___closed__16; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_verLit___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lake_verLit___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lake_verLit___closed__17; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lake_verLit() { -_start: -{ -lean_object* x_1; -x_1 = l_Lake_verLit___closed__18; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_elabVerLit_unsafe__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: { @@ -659,46 +445,25 @@ x_9 = l_Lean_Meta_evalExpr___rarg(x_1, x_2, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1() { +static lean_object* _init_l_Lake_elabVerLit___closed__1() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_1 = lean_mk_string_unchecked("verLit", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2() { +static lean_object* _init_l_Lake_elabVerLit___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; +x_2 = l_Lake_elabVerLit___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2; -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; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__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) { -_start: -{ -lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg), 1, 0); -return x_7; -} -} -static lean_object* _init_l_Lake_elabVerLit___closed__1() { +static lean_object* _init_l_Lake_elabVerLit___closed__3() { _start: { lean_object* x_1; @@ -706,38 +471,20 @@ x_1 = lean_mk_string_unchecked("expected type is not known", 26, 26); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_elabVerLit___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lake_elabVerLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Except", 6, 6); -return x_1; -} -} static lean_object* _init_l_Lake_elabVerLit___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_elabVerLit___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } static lean_object* _init_l_Lake_elabVerLit___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("String", 6, 6); +x_1 = lean_mk_string_unchecked("Except", 6, 6); return x_1; } } @@ -754,14 +501,32 @@ return x_3; static lean_object* _init_l_Lake_elabVerLit___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("String", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__6; +x_2 = l_Lake_elabVerLit___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_elabVerLit___closed__8; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lake_elabVerLit___closed__8() { +static lean_object* _init_l_Lake_elabVerLit___closed__10() { _start: { lean_object* x_1; @@ -769,7 +534,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__9() { +static lean_object* _init_l_Lake_elabVerLit___closed__11() { _start: { lean_object* x_1; @@ -777,7 +542,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__10() { +static lean_object* _init_l_Lake_elabVerLit___closed__12() { _start: { lean_object* x_1; @@ -785,7 +550,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__11() { +static lean_object* _init_l_Lake_elabVerLit___closed__13() { _start: { lean_object* x_1; @@ -793,19 +558,19 @@ x_1 = lean_mk_string_unchecked("app", 3, 3); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__12() { +static lean_object* _init_l_Lake_elabVerLit___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_Lake_elabVerLit___closed__8; -x_2 = l_Lake_elabVerLit___closed__9; -x_3 = l_Lake_elabVerLit___closed__10; -x_4 = l_Lake_elabVerLit___closed__11; +x_1 = l_Lake_elabVerLit___closed__10; +x_2 = l_Lake_elabVerLit___closed__11; +x_3 = l_Lake_elabVerLit___closed__12; +x_4 = l_Lake_elabVerLit___closed__13; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lake_elabVerLit___closed__13() { +static lean_object* _init_l_Lake_elabVerLit___closed__15() { _start: { lean_object* x_1; @@ -813,26 +578,26 @@ x_1 = lean_mk_string_unchecked("decodeVersion", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__14() { +static lean_object* _init_l_Lake_elabVerLit___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_elabVerLit___closed__13; +x_1 = l_Lake_elabVerLit___closed__15; x_2 = l_String_toSubstring_x27(x_1); return x_2; } } -static lean_object* _init_l_Lake_elabVerLit___closed__15() { +static lean_object* _init_l_Lake_elabVerLit___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__13; +x_2 = l_Lake_elabVerLit___closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_elabVerLit___closed__16() { +static lean_object* _init_l_Lake_elabVerLit___closed__18() { _start: { lean_object* x_1; @@ -840,47 +605,27 @@ x_1 = lean_mk_string_unchecked("DecodeVersion", 13, 13); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__17() { +static lean_object* _init_l_Lake_elabVerLit___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; -x_2 = l_Lake_elabVerLit___closed__16; -x_3 = l_Lake_elabVerLit___closed__13; +x_2 = l_Lake_elabVerLit___closed__18; +x_3 = l_Lake_elabVerLit___closed__15; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lake_elabVerLit___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__17; -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_Lake_elabVerLit___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__18; -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_Lake_elabVerLit___closed__20() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("null", 4, 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_elabVerLit___closed__19; +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_Lake_elabVerLit___closed__21() { @@ -889,7 +634,9 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lake_elabVerLit___closed__20; -x_3 = l_Lean_Name_str___override(x_1, x_2); +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; } } @@ -897,7 +644,7 @@ static lean_object* _init_l_Lake_elabVerLit___closed__22() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("termS!_", 7, 7); +x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } @@ -915,47 +662,43 @@ static lean_object* _init_l_Lake_elabVerLit___closed__24() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("s!", 2, 2); +x_1 = lean_mk_string_unchecked("termS!_", 7, 7); return x_1; } } static lean_object* _init_l_Lake_elabVerLit___closed__25() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_elabVerLit___closed__24; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("s!", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__27() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_unchecked("Expr", 4, 4); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__8; -x_2 = l_Lake_elabVerLit___closed__25; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_elabVerLit___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__26; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} static lean_object* _init_l_Lake_elabVerLit___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lake_elabVerLit___closed__10; x_2 = l_Lake_elabVerLit___closed__27; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } @@ -963,24 +706,46 @@ static lean_object* _init_l_Lake_elabVerLit___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__7; +x_1 = lean_box(0); x_2 = l_Lake_elabVerLit___closed__28; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } static lean_object* _init_l_Lake_elabVerLit___closed__30() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_elabVerLit___closed__29; +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_Lake_elabVerLit___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_elabVerLit___closed__9; +x_2 = l_Lake_elabVerLit___closed__30; +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_Lake_elabVerLit___closed__32() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lake_elabVerLit___closed__29; +x_1 = l_Lake_elabVerLit___closed__31; x_2 = lean_array_mk(x_1); return x_2; } } -static lean_object* _init_l_Lake_elabVerLit___closed__31() { +static lean_object* _init_l_Lake_elabVerLit___closed__33() { _start: { lean_object* x_1; @@ -988,40 +753,22 @@ x_1 = lean_mk_string_unchecked("_private", 8, 8); return x_1; } } -static lean_object* _init_l_Lake_elabVerLit___closed__32() { +static lean_object* _init_l_Lake_elabVerLit___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lake_elabVerLit___closed__31; +x_2 = l_Lake_elabVerLit___closed__33; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lake_elabVerLit___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__32; -x_2 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lake_elabVerLit___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("DSL", 3, 3); -return x_1; -} -} static lean_object* _init_l_Lake_elabVerLit___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__33; -x_2 = l_Lake_elabVerLit___closed__34; +x_1 = l_Lake_elabVerLit___closed__34; +x_2 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1030,7 +777,7 @@ static lean_object* _init_l_Lake_elabVerLit___closed__36() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("VerLit", 6, 6); +x_1 = lean_mk_string_unchecked("DSL", 3, 3); return x_1; } } @@ -1047,19 +794,17 @@ return x_3; static lean_object* _init_l_Lake_elabVerLit___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__37; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Name_num___override(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("VerLit", 6, 6); +return x_1; } } static lean_object* _init_l_Lake_elabVerLit___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__38; -x_2 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; +x_1 = l_Lake_elabVerLit___closed__37; +x_2 = l_Lake_elabVerLit___closed__38; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1067,17 +812,37 @@ return x_3; static lean_object* _init_l_Lake_elabVerLit___closed__40() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("toResultExpr", 12, 12); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_elabVerLit___closed__39; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lake_elabVerLit___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_elabVerLit___closed__39; -x_2 = l_Lake_elabVerLit___closed__40; +x_1 = l_Lake_elabVerLit___closed__40; +x_2 = l_Lake_instToExprSemVerCore___lambda__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("toResultExpr", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lake_elabVerLit___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_elabVerLit___closed__41; +x_2 = l_Lake_elabVerLit___closed__42; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1086,7 +851,7 @@ LEAN_EXPORT lean_object* l_Lake_elabVerLit(lean_object* x_1, lean_object* x_2, l _start: { lean_object* x_10; uint8_t x_11; -x_10 = l_Lake_verLit___closed__2; +x_10 = l_Lake_elabVerLit___closed__2; lean_inc(x_1); x_11 = l_Lean_Syntax_isOfKind(x_1, x_10); if (x_11 == 0) @@ -1100,7 +865,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg(x_9); +x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(x_9); return x_12; } else @@ -1124,7 +889,7 @@ lean_dec(x_14); x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lake_elabVerLit___closed__2; +x_17 = l_Lake_elabVerLit___closed__4; x_18 = l_Lean_throwError___at_Lean_Elab_Term_mkCoe___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_16); lean_dec(x_8); lean_dec(x_7); @@ -1148,12 +913,12 @@ x_22 = lean_box(0); x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lake_elabVerLit___closed__7; +x_24 = l_Lake_elabVerLit___closed__9; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); x_26 = lean_array_mk(x_25); -x_27 = l_Lake_elabVerLit___closed__4; +x_27 = l_Lake_elabVerLit___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1186,28 +951,28 @@ lean_inc(x_39); lean_dec(x_37); x_40 = l_Lean_Environment_mainModule(x_39); lean_dec(x_39); -x_41 = l_Lake_elabVerLit___closed__15; +x_41 = l_Lake_elabVerLit___closed__17; x_42 = l_Lean_addMacroScope(x_40, x_41, x_34); -x_43 = l_Lake_elabVerLit___closed__14; -x_44 = l_Lake_elabVerLit___closed__19; +x_43 = l_Lake_elabVerLit___closed__16; +x_44 = l_Lake_elabVerLit___closed__21; lean_inc(x_33); x_45 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_45, 0, x_33); lean_ctor_set(x_45, 1, x_43); lean_ctor_set(x_45, 2, x_42); lean_ctor_set(x_45, 3, x_44); -x_46 = l_Lake_elabVerLit___closed__24; +x_46 = l_Lake_elabVerLit___closed__26; lean_inc(x_33); lean_ctor_set_tag(x_35, 2); lean_ctor_set(x_35, 1, x_46); lean_ctor_set(x_35, 0, x_33); -x_47 = l_Lake_elabVerLit___closed__23; +x_47 = l_Lake_elabVerLit___closed__25; lean_inc(x_33); x_48 = l_Lean_Syntax_node2(x_33, x_47, x_35, x_14); -x_49 = l_Lake_elabVerLit___closed__21; +x_49 = l_Lake_elabVerLit___closed__23; lean_inc(x_33); x_50 = l_Lean_Syntax_node1(x_33, x_49, x_48); -x_51 = l_Lake_elabVerLit___closed__12; +x_51 = l_Lake_elabVerLit___closed__14; x_52 = l_Lean_Syntax_node2(x_33, x_51, x_45, x_50); lean_ctor_set(x_2, 0, x_29); x_53 = lean_box(0); @@ -1227,7 +992,7 @@ lean_inc(x_56); x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec(x_55); -x_58 = l_Lake_elabVerLit___closed__30; +x_58 = l_Lake_elabVerLit___closed__32; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1245,7 +1010,7 @@ x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_56); lean_ctor_set(x_62, 1, x_22); x_63 = lean_array_mk(x_62); -x_64 = l_Lake_elabVerLit___closed__41; +x_64 = l_Lake_elabVerLit___closed__43; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1476,28 +1241,28 @@ lean_inc(x_103); lean_dec(x_101); x_104 = l_Lean_Environment_mainModule(x_103); lean_dec(x_103); -x_105 = l_Lake_elabVerLit___closed__15; +x_105 = l_Lake_elabVerLit___closed__17; x_106 = l_Lean_addMacroScope(x_104, x_105, x_34); -x_107 = l_Lake_elabVerLit___closed__14; -x_108 = l_Lake_elabVerLit___closed__19; +x_107 = l_Lake_elabVerLit___closed__16; +x_108 = l_Lake_elabVerLit___closed__21; lean_inc(x_33); x_109 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_109, 0, x_33); lean_ctor_set(x_109, 1, x_107); lean_ctor_set(x_109, 2, x_106); lean_ctor_set(x_109, 3, x_108); -x_110 = l_Lake_elabVerLit___closed__24; +x_110 = l_Lake_elabVerLit___closed__26; lean_inc(x_33); x_111 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_111, 0, x_33); lean_ctor_set(x_111, 1, x_110); -x_112 = l_Lake_elabVerLit___closed__23; +x_112 = l_Lake_elabVerLit___closed__25; lean_inc(x_33); x_113 = l_Lean_Syntax_node2(x_33, x_112, x_111, x_14); -x_114 = l_Lake_elabVerLit___closed__21; +x_114 = l_Lake_elabVerLit___closed__23; lean_inc(x_33); x_115 = l_Lean_Syntax_node1(x_33, x_114, x_113); -x_116 = l_Lake_elabVerLit___closed__12; +x_116 = l_Lake_elabVerLit___closed__14; x_117 = l_Lean_Syntax_node2(x_33, x_116, x_109, x_115); lean_ctor_set(x_2, 0, x_29); x_118 = lean_box(0); @@ -1517,7 +1282,7 @@ lean_inc(x_121); x_122 = lean_ctor_get(x_120, 1); lean_inc(x_122); lean_dec(x_120); -x_123 = l_Lake_elabVerLit___closed__30; +x_123 = l_Lake_elabVerLit___closed__32; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1535,7 +1300,7 @@ x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_121); lean_ctor_set(x_127, 1, x_22); x_128 = lean_array_mk(x_127); -x_129 = l_Lake_elabVerLit___closed__41; +x_129 = l_Lake_elabVerLit___closed__43; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1791,12 +1556,12 @@ x_167 = lean_box(0); x_168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_168, 0, x_166); lean_ctor_set(x_168, 1, x_167); -x_169 = l_Lake_elabVerLit___closed__7; +x_169 = l_Lake_elabVerLit___closed__9; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); x_171 = lean_array_mk(x_170); -x_172 = l_Lake_elabVerLit___closed__4; +x_172 = l_Lake_elabVerLit___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1835,17 +1600,17 @@ lean_inc(x_184); lean_dec(x_181); x_185 = l_Lean_Environment_mainModule(x_184); lean_dec(x_184); -x_186 = l_Lake_elabVerLit___closed__15; +x_186 = l_Lake_elabVerLit___closed__17; x_187 = l_Lean_addMacroScope(x_185, x_186, x_179); -x_188 = l_Lake_elabVerLit___closed__14; -x_189 = l_Lake_elabVerLit___closed__19; +x_188 = l_Lake_elabVerLit___closed__16; +x_189 = l_Lake_elabVerLit___closed__21; lean_inc(x_178); x_190 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_190, 0, x_178); lean_ctor_set(x_190, 1, x_188); lean_ctor_set(x_190, 2, x_187); lean_ctor_set(x_190, 3, x_189); -x_191 = l_Lake_elabVerLit___closed__24; +x_191 = l_Lake_elabVerLit___closed__26; lean_inc(x_178); if (lean_is_scalar(x_183)) { x_192 = lean_alloc_ctor(2, 2, 0); @@ -1855,13 +1620,13 @@ if (lean_is_scalar(x_183)) { } lean_ctor_set(x_192, 0, x_178); lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lake_elabVerLit___closed__23; +x_193 = l_Lake_elabVerLit___closed__25; lean_inc(x_178); x_194 = l_Lean_Syntax_node2(x_178, x_193, x_192, x_14); -x_195 = l_Lake_elabVerLit___closed__21; +x_195 = l_Lake_elabVerLit___closed__23; lean_inc(x_178); x_196 = l_Lean_Syntax_node1(x_178, x_195, x_194); -x_197 = l_Lake_elabVerLit___closed__12; +x_197 = l_Lake_elabVerLit___closed__14; x_198 = l_Lean_Syntax_node2(x_178, x_197, x_190, x_196); x_199 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_199, 0, x_174); @@ -1882,7 +1647,7 @@ lean_inc(x_203); x_204 = lean_ctor_get(x_202, 1); lean_inc(x_204); lean_dec(x_202); -x_205 = l_Lake_elabVerLit___closed__30; +x_205 = l_Lake_elabVerLit___closed__32; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1900,7 +1665,7 @@ x_209 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_209, 0, x_203); lean_ctor_set(x_209, 1, x_167); x_210 = lean_array_mk(x_209); -x_211 = l_Lake_elabVerLit___closed__41; +x_211 = l_Lake_elabVerLit___closed__43; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -2181,20 +1946,6 @@ return x_251; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} static lean_object* _init_l___regBuiltin_Lake_elabVerLit__1___closed__1() { _start: { @@ -2234,7 +1985,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l___regBuiltin_Lake_elabVerLit__1___closed__3; -x_3 = l_Lake_verLit___closed__2; +x_3 = l_Lake_elabVerLit___closed__2; x_4 = l___regBuiltin_Lake_elabVerLit__1___closed__2; x_5 = l___regBuiltin_Lake_elabVerLit__1___closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -2243,6 +1994,7 @@ return x_6; } lean_object* initialize_Lean_Elab_Eval(uint8_t builtin, lean_object*); lean_object* initialize_Lake_Util_Version(uint8_t builtin, lean_object*); +lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lake_DSL_VerLit(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2254,6 +2006,9 @@ lean_dec_ref(res); res = initialize_Lake_Util_Version(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lake_DSL_Syntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lake_instToExprSemVerCore___lambda__1___closed__1 = _init_l_Lake_instToExprSemVerCore___lambda__1___closed__1(); lean_mark_persistent(l_Lake_instToExprSemVerCore___lambda__1___closed__1); l_Lake_instToExprSemVerCore___lambda__1___closed__2 = _init_l_Lake_instToExprSemVerCore___lambda__1___closed__2(); @@ -2292,48 +2047,6 @@ l_Lake_instToExprStdVer___closed__4 = _init_l_Lake_instToExprStdVer___closed__4( lean_mark_persistent(l_Lake_instToExprStdVer___closed__4); l_Lake_instToExprStdVer = _init_l_Lake_instToExprStdVer(); lean_mark_persistent(l_Lake_instToExprStdVer); -l_Lake_verLit___closed__1 = _init_l_Lake_verLit___closed__1(); -lean_mark_persistent(l_Lake_verLit___closed__1); -l_Lake_verLit___closed__2 = _init_l_Lake_verLit___closed__2(); -lean_mark_persistent(l_Lake_verLit___closed__2); -l_Lake_verLit___closed__3 = _init_l_Lake_verLit___closed__3(); -lean_mark_persistent(l_Lake_verLit___closed__3); -l_Lake_verLit___closed__4 = _init_l_Lake_verLit___closed__4(); -lean_mark_persistent(l_Lake_verLit___closed__4); -l_Lake_verLit___closed__5 = _init_l_Lake_verLit___closed__5(); -lean_mark_persistent(l_Lake_verLit___closed__5); -l_Lake_verLit___closed__6 = _init_l_Lake_verLit___closed__6(); -lean_mark_persistent(l_Lake_verLit___closed__6); -l_Lake_verLit___closed__7 = _init_l_Lake_verLit___closed__7(); -lean_mark_persistent(l_Lake_verLit___closed__7); -l_Lake_verLit___closed__8 = _init_l_Lake_verLit___closed__8(); -lean_mark_persistent(l_Lake_verLit___closed__8); -l_Lake_verLit___closed__9 = _init_l_Lake_verLit___closed__9(); -lean_mark_persistent(l_Lake_verLit___closed__9); -l_Lake_verLit___closed__10 = _init_l_Lake_verLit___closed__10(); -lean_mark_persistent(l_Lake_verLit___closed__10); -l_Lake_verLit___closed__11 = _init_l_Lake_verLit___closed__11(); -lean_mark_persistent(l_Lake_verLit___closed__11); -l_Lake_verLit___closed__12 = _init_l_Lake_verLit___closed__12(); -lean_mark_persistent(l_Lake_verLit___closed__12); -l_Lake_verLit___closed__13 = _init_l_Lake_verLit___closed__13(); -lean_mark_persistent(l_Lake_verLit___closed__13); -l_Lake_verLit___closed__14 = _init_l_Lake_verLit___closed__14(); -lean_mark_persistent(l_Lake_verLit___closed__14); -l_Lake_verLit___closed__15 = _init_l_Lake_verLit___closed__15(); -lean_mark_persistent(l_Lake_verLit___closed__15); -l_Lake_verLit___closed__16 = _init_l_Lake_verLit___closed__16(); -lean_mark_persistent(l_Lake_verLit___closed__16); -l_Lake_verLit___closed__17 = _init_l_Lake_verLit___closed__17(); -lean_mark_persistent(l_Lake_verLit___closed__17); -l_Lake_verLit___closed__18 = _init_l_Lake_verLit___closed__18(); -lean_mark_persistent(l_Lake_verLit___closed__18); -l_Lake_verLit = _init_l_Lake_verLit(); -lean_mark_persistent(l_Lake_verLit); -l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lake_elabVerLit___spec__1___rarg___closed__2); l_Lake_elabVerLit___closed__1 = _init_l_Lake_elabVerLit___closed__1(); lean_mark_persistent(l_Lake_elabVerLit___closed__1); l_Lake_elabVerLit___closed__2 = _init_l_Lake_elabVerLit___closed__2(); @@ -2416,6 +2129,10 @@ l_Lake_elabVerLit___closed__40 = _init_l_Lake_elabVerLit___closed__40(); lean_mark_persistent(l_Lake_elabVerLit___closed__40); l_Lake_elabVerLit___closed__41 = _init_l_Lake_elabVerLit___closed__41(); lean_mark_persistent(l_Lake_elabVerLit___closed__41); +l_Lake_elabVerLit___closed__42 = _init_l_Lake_elabVerLit___closed__42(); +lean_mark_persistent(l_Lake_elabVerLit___closed__42); +l_Lake_elabVerLit___closed__43 = _init_l_Lake_elabVerLit___closed__43(); +lean_mark_persistent(l_Lake_elabVerLit___closed__43); l___regBuiltin_Lake_elabVerLit__1___closed__1 = _init_l___regBuiltin_Lake_elabVerLit__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lake_elabVerLit__1___closed__1); l___regBuiltin_Lake_elabVerLit__1___closed__2 = _init_l___regBuiltin_Lake_elabVerLit__1___closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Level.c b/stage0/stdlib/Lean/Compiler/LCNF/Level.c index e6466b7d04..3117259573 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Level.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Level.c @@ -809,75 +809,78 @@ x_103 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Compiler_LCNF_NormLe lean_dec(x_102); if (lean_obj_tag(x_103) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; x_104 = lean_ctor_get(x_2, 0); lean_inc(x_104); x_105 = l_Lean_Compiler_LCNF_NormLevelParam_normLevel___closed__2; x_106 = lean_name_append_index_after(x_105, x_104); x_107 = l_Lean_Level_param___override(x_106); -x_108 = !lean_is_exclusive(x_2); -if (x_108 == 0) +x_108 = lean_ctor_get(x_2, 0); +lean_inc(x_108); +x_109 = !lean_is_exclusive(x_2); +if (x_109 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_109 = lean_ctor_get(x_2, 0); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; x_110 = lean_ctor_get(x_2, 1); x_111 = lean_ctor_get(x_2, 2); -x_112 = lean_unsigned_to_nat(1u); -x_113 = lean_nat_add(x_109, x_112); -lean_dec(x_109); +x_112 = lean_ctor_get(x_2, 0); +lean_dec(x_112); +x_113 = lean_unsigned_to_nat(1u); +x_114 = lean_nat_add(x_108, x_113); +lean_dec(x_108); lean_inc(x_85); -x_114 = lean_array_push(x_111, x_85); -x_115 = !lean_is_exclusive(x_110); -if (x_115 == 0) +x_115 = lean_array_push(x_111, x_85); +x_116 = !lean_is_exclusive(x_110); +if (x_116 == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; size_t x_119; size_t x_120; size_t x_121; lean_object* x_122; uint8_t x_123; -x_116 = lean_ctor_get(x_110, 0); -x_117 = lean_ctor_get(x_110, 1); -x_118 = lean_array_get_size(x_117); -x_119 = lean_usize_of_nat(x_118); -lean_dec(x_118); -x_120 = lean_usize_sub(x_119, x_99); -x_121 = lean_usize_land(x_97, x_120); -x_122 = lean_array_uget(x_117, x_121); -x_123 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__2(x_85, x_122); -if (x_123 == 0) +lean_object* x_117; lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; size_t x_122; lean_object* x_123; uint8_t x_124; +x_117 = lean_ctor_get(x_110, 0); +x_118 = lean_ctor_get(x_110, 1); +x_119 = lean_array_get_size(x_118); +x_120 = lean_usize_of_nat(x_119); +lean_dec(x_119); +x_121 = lean_usize_sub(x_120, x_99); +x_122 = lean_usize_land(x_97, x_121); +x_123 = lean_array_uget(x_118, x_122); +x_124 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__2(x_85, x_123); +if (x_124 == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_124 = lean_nat_add(x_116, x_112); -lean_dec(x_116); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_125 = lean_nat_add(x_117, x_113); +lean_dec(x_117); lean_inc(x_107); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_85); -lean_ctor_set(x_125, 1, x_107); -lean_ctor_set(x_125, 2, x_122); -x_126 = lean_array_uset(x_117, x_121, x_125); -x_127 = lean_unsigned_to_nat(4u); -x_128 = lean_nat_mul(x_124, x_127); -x_129 = lean_unsigned_to_nat(3u); -x_130 = lean_nat_div(x_128, x_129); -lean_dec(x_128); -x_131 = lean_array_get_size(x_126); -x_132 = lean_nat_dec_le(x_130, x_131); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_85); +lean_ctor_set(x_126, 1, x_107); +lean_ctor_set(x_126, 2, x_123); +x_127 = lean_array_uset(x_118, x_122, x_126); +x_128 = lean_unsigned_to_nat(4u); +x_129 = lean_nat_mul(x_125, x_128); +x_130 = lean_unsigned_to_nat(3u); +x_131 = lean_nat_div(x_129, x_130); +lean_dec(x_129); +x_132 = lean_array_get_size(x_127); +x_133 = lean_nat_dec_le(x_131, x_132); +lean_dec(x_132); lean_dec(x_131); -lean_dec(x_130); -if (x_132 == 0) +if (x_133 == 0) { -lean_object* x_133; -x_133 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__3(x_126); -lean_ctor_set(x_110, 1, x_133); -lean_ctor_set(x_110, 0, x_124); -lean_ctor_set(x_2, 2, x_114); -lean_ctor_set(x_2, 0, x_113); +lean_object* x_134; +x_134 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__3(x_127); +lean_ctor_set(x_110, 1, x_134); +lean_ctor_set(x_110, 0, x_125); +lean_ctor_set(x_2, 2, x_115); +lean_ctor_set(x_2, 0, x_114); lean_ctor_set(x_84, 1, x_2); lean_ctor_set(x_84, 0, x_107); return x_84; } else { -lean_ctor_set(x_110, 1, x_126); -lean_ctor_set(x_110, 0, x_124); -lean_ctor_set(x_2, 2, x_114); -lean_ctor_set(x_2, 0, x_113); +lean_ctor_set(x_110, 1, x_127); +lean_ctor_set(x_110, 0, x_125); +lean_ctor_set(x_2, 2, x_115); +lean_ctor_set(x_2, 0, x_114); lean_ctor_set(x_84, 1, x_2); lean_ctor_set(x_84, 0, x_107); return x_84; @@ -885,15 +888,15 @@ return x_84; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_134 = lean_box(0); -x_135 = lean_array_uset(x_117, x_121, x_134); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = lean_box(0); +x_136 = lean_array_uset(x_118, x_122, x_135); lean_inc(x_107); -x_136 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__6(x_85, x_107, x_122); -x_137 = lean_array_uset(x_135, x_121, x_136); -lean_ctor_set(x_110, 1, x_137); -lean_ctor_set(x_2, 2, x_114); -lean_ctor_set(x_2, 0, x_113); +x_137 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__6(x_85, x_107, x_123); +x_138 = lean_array_uset(x_136, x_122, x_137); +lean_ctor_set(x_110, 1, x_138); +lean_ctor_set(x_2, 2, x_115); +lean_ctor_set(x_2, 0, x_114); lean_ctor_set(x_84, 1, x_2); lean_ctor_set(x_84, 0, x_107); return x_84; @@ -901,62 +904,62 @@ return x_84; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; size_t x_141; size_t x_142; size_t x_143; lean_object* x_144; uint8_t x_145; -x_138 = lean_ctor_get(x_110, 0); -x_139 = lean_ctor_get(x_110, 1); +lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; size_t x_144; lean_object* x_145; uint8_t x_146; +x_139 = lean_ctor_get(x_110, 0); +x_140 = lean_ctor_get(x_110, 1); +lean_inc(x_140); lean_inc(x_139); -lean_inc(x_138); lean_dec(x_110); -x_140 = lean_array_get_size(x_139); -x_141 = lean_usize_of_nat(x_140); -lean_dec(x_140); -x_142 = lean_usize_sub(x_141, x_99); -x_143 = lean_usize_land(x_97, x_142); -x_144 = lean_array_uget(x_139, x_143); -x_145 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__2(x_85, x_144); -if (x_145 == 0) +x_141 = lean_array_get_size(x_140); +x_142 = lean_usize_of_nat(x_141); +lean_dec(x_141); +x_143 = lean_usize_sub(x_142, x_99); +x_144 = lean_usize_land(x_97, x_143); +x_145 = lean_array_uget(x_140, x_144); +x_146 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__2(x_85, x_145); +if (x_146 == 0) { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_146 = lean_nat_add(x_138, x_112); -lean_dec(x_138); +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +x_147 = lean_nat_add(x_139, x_113); +lean_dec(x_139); lean_inc(x_107); -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_85); -lean_ctor_set(x_147, 1, x_107); -lean_ctor_set(x_147, 2, x_144); -x_148 = lean_array_uset(x_139, x_143, x_147); -x_149 = lean_unsigned_to_nat(4u); -x_150 = lean_nat_mul(x_146, x_149); -x_151 = lean_unsigned_to_nat(3u); -x_152 = lean_nat_div(x_150, x_151); -lean_dec(x_150); -x_153 = lean_array_get_size(x_148); -x_154 = lean_nat_dec_le(x_152, x_153); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_85); +lean_ctor_set(x_148, 1, x_107); +lean_ctor_set(x_148, 2, x_145); +x_149 = lean_array_uset(x_140, x_144, x_148); +x_150 = lean_unsigned_to_nat(4u); +x_151 = lean_nat_mul(x_147, x_150); +x_152 = lean_unsigned_to_nat(3u); +x_153 = lean_nat_div(x_151, x_152); +lean_dec(x_151); +x_154 = lean_array_get_size(x_149); +x_155 = lean_nat_dec_le(x_153, x_154); +lean_dec(x_154); lean_dec(x_153); -lean_dec(x_152); -if (x_154 == 0) +if (x_155 == 0) { -lean_object* x_155; lean_object* x_156; -x_155 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__3(x_148); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_146); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set(x_2, 2, x_114); -lean_ctor_set(x_2, 1, x_156); -lean_ctor_set(x_2, 0, x_113); -lean_ctor_set(x_84, 1, x_2); -lean_ctor_set(x_84, 0, x_107); -return x_84; -} -else -{ -lean_object* x_157; +lean_object* x_156; lean_object* x_157; +x_156 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__3(x_149); x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_146); -lean_ctor_set(x_157, 1, x_148); -lean_ctor_set(x_2, 2, x_114); +lean_ctor_set(x_157, 0, x_147); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_2, 2, x_115); lean_ctor_set(x_2, 1, x_157); -lean_ctor_set(x_2, 0, x_113); +lean_ctor_set(x_2, 0, x_114); +lean_ctor_set(x_84, 1, x_2); +lean_ctor_set(x_84, 0, x_107); +return x_84; +} +else +{ +lean_object* x_158; +x_158 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_158, 0, x_147); +lean_ctor_set(x_158, 1, x_149); +lean_ctor_set(x_2, 2, x_115); +lean_ctor_set(x_2, 1, x_158); +lean_ctor_set(x_2, 0, x_114); lean_ctor_set(x_84, 1, x_2); lean_ctor_set(x_84, 0, x_107); return x_84; @@ -964,18 +967,18 @@ return x_84; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_158 = lean_box(0); -x_159 = lean_array_uset(x_139, x_143, x_158); +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_159 = lean_box(0); +x_160 = lean_array_uset(x_140, x_144, x_159); lean_inc(x_107); -x_160 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__6(x_85, x_107, x_144); -x_161 = lean_array_uset(x_159, x_143, x_160); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_138); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_2, 2, x_114); -lean_ctor_set(x_2, 1, x_162); -lean_ctor_set(x_2, 0, x_113); +x_161 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_NormLevelParam_normLevel___spec__6(x_85, x_107, x_145); +x_162 = lean_array_uset(x_160, x_144, x_161); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_139); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_2, 2, x_115); +lean_ctor_set(x_2, 1, x_163); +lean_ctor_set(x_2, 0, x_114); lean_ctor_set(x_84, 1, x_2); lean_ctor_set(x_84, 0, x_107); return x_84; @@ -984,17 +987,15 @@ return x_84; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; size_t x_173; size_t x_174; size_t x_175; lean_object* x_176; uint8_t x_177; -x_163 = lean_ctor_get(x_2, 0); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; size_t x_173; size_t x_174; size_t x_175; lean_object* x_176; uint8_t x_177; x_164 = lean_ctor_get(x_2, 1); x_165 = lean_ctor_get(x_2, 2); lean_inc(x_165); lean_inc(x_164); -lean_inc(x_163); lean_dec(x_2); x_166 = lean_unsigned_to_nat(1u); -x_167 = lean_nat_add(x_163, x_166); -lean_dec(x_163); +x_167 = lean_nat_add(x_108, x_166); +lean_dec(x_108); lean_inc(x_85); x_168 = lean_array_push(x_165, x_85); x_169 = lean_ctor_get(x_164, 0); diff --git a/stage0/stdlib/Lean/Elab/Frontend.c b/stage0/stdlib/Lean/Elab/Frontend.c index 30aed3107b..8191801e35 100644 --- a/stage0/stdlib/Lean/Elab/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Frontend.c @@ -16,7 +16,7 @@ extern "C" { lean_object* l_Lean_Language_Lean_process(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_profileit(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommands___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setMessages___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Firefox_Profile_export(lean_object*, double, lean_object*, lean_object*, lean_object*); @@ -24,24 +24,21 @@ lean_object* l_Lean_Json_compress(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getParserState(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_IO_processCommandsIncrementally(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_runFrontend___lambda__4___closed__2; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); double lean_float_div(double, double); -static lean_object* l_Lean_Elab_runFrontend___lambda__9___closed__1; static lean_object* l_Lean_Elab_process___closed__1; lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Elab_runFrontend___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getParserState___rarg(lean_object*, lean_object*); lean_object* l___private_Init_GetElem_0__List_get_x21Internal___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_runFrontend___lambda__2___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_runFrontend___spec__1(size_t, size_t, lean_object*); @@ -49,10 +46,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__1___boxed(lean_object LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setCommandState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Language_Lean_Types_0__Lean_Language_Lean_pushOpt___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommands(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_runFrontend___lambda__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7___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_runFrontend___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__1; +static lean_object* l_Lean_Elab_runFrontend___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); @@ -62,13 +59,13 @@ static lean_object* l_Lean_Elab_runFrontend___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM(lean_object*); static double l_Lean_Elab_runFrontend___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___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_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_findModuleRefs(lean_object*, lean_object*, uint8_t, uint8_t); +static lean_object* l_Lean_Elab_runFrontend___lambda__8___closed__1; static lean_object* l_Lean_Elab_runFrontend___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8___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*); size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Parser_isTerminalCommand(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -77,7 +74,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend(lean_object* lean_object* l_Lean_Language_Lean_processCommands(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_runFrontend___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,7 +85,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_IO_processCommandsInc extern lean_object* l_Lean_Elab_async; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setParserState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__6___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_runFrontend___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*, uint8_t); lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_toJsonProfile____x40_Lean_Util_Profiler___hyg_4847_(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -100,22 +97,17 @@ lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5(size_t, size_t, lean_object*); -uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_runFrontend___lambda__2___closed__3; -extern lean_object* l_Lean_Language_Lean_experimental_module; lean_object* lean_task_get_own(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_ModuleRefs_toLspModuleRefs(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__1; double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__2; -static lean_object* l_Lean_Elab_runFrontend___lambda__5___closed__2; LEAN_EXPORT lean_object* lean_run_frontend(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_runFrontend___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setMessages(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_runFrontend___lambda__3(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getCommandState(lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__3; @@ -127,15 +119,14 @@ lean_object* l_Lean_Language_Lean_instToSnapshotTreeCommandParsedSnapshot_go(lea lean_object* l_Lean_Language_Lean_waitForFinalCmdState_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__3(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_IO_processCommandsIncrementally_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__1(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_runFrontend___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__5___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_Elab_Command_instInhabitedScope; @@ -147,7 +138,7 @@ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Language_SnapshotTask_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Elab_runFrontend___lambda__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getInputContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); @@ -163,16 +154,16 @@ lean_object* lean_array_get_size(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setParserState(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Frontend_processCommand___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_getParserState___boxed(lean_object*); lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_internal_cmdlineSnapshots; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos(lean_object*); static lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___closed__4; @@ -3045,75 +3036,7 @@ lean_ctor_set(x_10, 1, x_7); return x_10; } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Language_Lean_experimental_module; -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`module` keyword is experimental and not enabled here", 53, 53); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_runFrontend___lambda__2___closed__2; -x_2 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2(lean_object* x_1, lean_object* x_2, uint32_t 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; uint8_t x_10; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_5, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Elab_runFrontend___lambda__2___closed__1; -x_12 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_2, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_Elab_runFrontend___lambda__2___closed__3; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_7); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lean_Elab_runFrontend___lambda__1(x_1, x_2, x_3, x_4, x_15, x_6, x_7); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l_Lean_Elab_runFrontend___lambda__1(x_1, x_2, x_3, x_4, x_17, x_6, x_7); -return x_18; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -3144,7 +3067,7 @@ return x_11; } } } -LEAN_EXPORT uint8_t l_Lean_Elab_runFrontend___lambda__4(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Lean_Elab_runFrontend___lambda__3(lean_object* x_1) { _start: { uint8_t x_2; @@ -3152,7 +3075,7 @@ x_2 = 0; return x_2; } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Elab_runFrontend___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -3160,26 +3083,26 @@ x_1 = l_Lean_trace_profiler_output; return x_1; } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Elab_runFrontend___lambda__4___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__4___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__3___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Elab_runFrontend___lambda__5___closed__1; +x_8 = l_Lean_Elab_runFrontend___lambda__4___closed__1; x_9 = l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(x_3, x_8); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; lean_dec(x_4); x_10 = lean_box(0); -x_11 = l_Lean_Elab_runFrontend___lambda__3(x_1, x_2, x_10, x_7); +x_11 = l_Lean_Elab_runFrontend___lambda__2(x_1, x_2, x_10, x_7); return x_11; } else @@ -3194,7 +3117,7 @@ x_14 = lean_array_size(x_13); x_15 = 0; x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_runFrontend___spec__1(x_14, x_15, x_13); x_17 = 1; -x_18 = l_Lean_Elab_runFrontend___lambda__5___closed__2; +x_18 = l_Lean_Elab_runFrontend___lambda__4___closed__2; x_19 = l_Lean_Name_toString(x_4, x_17, x_18); x_20 = l_Lean_Firefox_Profile_export(x_19, x_5, x_16, x_3, x_7); lean_dec(x_16); @@ -3216,7 +3139,7 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_Elab_runFrontend___lambda__3(x_1, x_2, x_26, x_27); +x_28 = l_Lean_Elab_runFrontend___lambda__2(x_1, x_2, x_26, x_27); lean_dec(x_26); return x_28; } @@ -3247,7 +3170,7 @@ return x_32; } } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__6___closed__1() { +static lean_object* _init_l_Lean_Elab_runFrontend___lambda__5___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3256,7 +3179,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_6) == 0) @@ -3264,7 +3187,7 @@ if (lean_obj_tag(x_6) == 0) lean_object* x_10; lean_object* x_11; lean_dec(x_7); x_10 = lean_box(0); -x_11 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_10, x_9); +x_11 = l_Lean_Elab_runFrontend___lambda__4(x_1, x_2, x_3, x_4, x_5, x_10, x_9); return x_11; } else @@ -3284,7 +3207,7 @@ lean_dec(x_13); x_17 = lean_ctor_get(x_7, 2); lean_inc(x_17); lean_dec(x_7); -x_18 = l_Lean_Elab_runFrontend___lambda__6___closed__1; +x_18 = l_Lean_Elab_runFrontend___lambda__5___closed__1; x_19 = 0; x_20 = l_Lean_Server_findModuleRefs(x_17, x_18, x_19, x_19); x_21 = l_Lean_Server_ModuleRefs_toLspModuleRefs(x_20, x_9); @@ -3311,7 +3234,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_29, x_30); +x_31 = l_Lean_Elab_runFrontend___lambda__4(x_1, x_2, x_3, x_4, x_5, x_29, x_30); lean_dec(x_29); return x_31; } @@ -3353,7 +3276,7 @@ if (x_37 == 0) lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_dec(x_14); lean_dec(x_13); -x_38 = l_Lean_Elab_runFrontend___lambda__6___closed__1; +x_38 = l_Lean_Elab_runFrontend___lambda__5___closed__1; x_39 = 0; x_40 = l_Lean_Server_findModuleRefs(x_36, x_38, x_39, x_39); x_41 = l_Lean_Server_ModuleRefs_toLspModuleRefs(x_40, x_9); @@ -3380,7 +3303,7 @@ lean_inc(x_49); x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); lean_dec(x_48); -x_51 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_49, x_50); +x_51 = l_Lean_Elab_runFrontend___lambda__4(x_1, x_2, x_3, x_4, x_5, x_49, x_50); lean_dec(x_49); return x_51; } @@ -3416,7 +3339,7 @@ size_t x_56; size_t x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; le x_56 = 0; x_57 = lean_usize_of_nat(x_14); lean_dec(x_14); -x_58 = l_Lean_Elab_runFrontend___lambda__6___closed__1; +x_58 = l_Lean_Elab_runFrontend___lambda__5___closed__1; x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_runFrontend___spec__2(x_13, x_56, x_57, x_58); lean_dec(x_13); x_60 = 0; @@ -3446,7 +3369,7 @@ lean_inc(x_70); x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); lean_dec(x_69); -x_72 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_70, x_71); +x_72 = l_Lean_Elab_runFrontend___lambda__4(x_1, x_2, x_3, x_4, x_5, x_70, x_71); lean_dec(x_70); return x_72; } @@ -3480,7 +3403,7 @@ return x_76; } } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__7___closed__1() { +static lean_object* _init_l_Lean_Elab_runFrontend___lambda__6___closed__1() { _start: { lean_object* x_1; @@ -3488,14 +3411,14 @@ x_1 = lean_mk_string_unchecked(".olean serialization", 20, 20); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double 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_runFrontend___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double 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: { if (lean_obj_tag(x_8) == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l_Lean_Elab_runFrontend___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_11); +x_13 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_11); return x_13; } else @@ -3508,7 +3431,7 @@ lean_inc(x_2); x_15 = lean_alloc_closure((void*)(l_Lean_writeModule), 3, 2); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_14); -x_16 = l_Lean_Elab_runFrontend___lambda__7___closed__1; +x_16 = l_Lean_Elab_runFrontend___lambda__6___closed__1; x_17 = lean_box(0); x_18 = l_Lean_profileitIOUnsafe___rarg(x_16, x_9, x_15, x_17, x_11); if (lean_obj_tag(x_18) == 0) @@ -3519,7 +3442,7 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Lean_Elab_runFrontend___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_20); +x_21 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_20); lean_dec(x_19); return x_21; } @@ -3552,7 +3475,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, double 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_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, double 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) { _start: { if (x_1 == 0) @@ -3560,7 +3483,7 @@ if (x_1 == 0) lean_object* x_14; lean_object* x_15; lean_dec(x_11); x_14 = lean_box(0); -x_15 = l_Lean_Elab_runFrontend___lambda__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_13); +x_15 = l_Lean_Elab_runFrontend___lambda__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_13); return x_15; } else @@ -3578,7 +3501,7 @@ return x_16; } } } -static lean_object* _init_l_Lean_Elab_runFrontend___lambda__9___closed__1() { +static lean_object* _init_l_Lean_Elab_runFrontend___lambda__8___closed__1() { _start: { lean_object* x_1; @@ -3586,7 +3509,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Language_Lean_instToSnapshotTreeCommandP return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -3640,7 +3563,7 @@ x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = l_Lean_Elab_runFrontend___lambda__9___closed__1; +x_18 = l_Lean_Elab_runFrontend___lambda__8___closed__1; x_19 = 1; x_20 = l_Lean_Language_SnapshotTask_map___rarg(x_15, x_18, x_16, x_17, x_19); lean_ctor_set(x_4, 0, x_20); @@ -3661,7 +3584,7 @@ x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = l_Lean_Elab_runFrontend___lambda__9___closed__1; +x_26 = l_Lean_Elab_runFrontend___lambda__8___closed__1; x_27 = 1; x_28 = l_Lean_Language_SnapshotTask_map___rarg(x_23, x_26, x_24, x_25, x_27); x_29 = lean_alloc_ctor(1, 1, 0); @@ -3693,7 +3616,7 @@ x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = l_Lean_Elab_runFrontend___lambda__9___closed__1; +x_37 = l_Lean_Elab_runFrontend___lambda__8___closed__1; x_38 = 1; x_39 = l_Lean_Language_SnapshotTask_map___rarg(x_34, x_37, x_35, x_36, x_38); if (lean_is_scalar(x_33)) { @@ -3773,7 +3696,7 @@ x_26 = l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader__ x_27 = lean_box_uint32(x_5); lean_inc(x_26); lean_inc(x_4); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__2___boxed), 7, 4); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__1___boxed), 7, 4); lean_closure_set(x_28, 0, x_4); lean_closure_set(x_28, 1, x_26); lean_closure_set(x_28, 2, x_27); @@ -3815,7 +3738,7 @@ x_101 = lean_ctor_get(x_100, 1); lean_inc(x_101); lean_dec(x_100); x_102 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; -x_103 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__9), 3, 2); +x_103 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_103, 0, x_29); lean_closure_set(x_103, 1, x_102); x_104 = lean_ctor_get(x_101, 0); @@ -3840,7 +3763,7 @@ x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); x_110 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; -x_111 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__9), 3, 2); +x_111 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_111, 0, x_29); lean_closure_set(x_111, 1, x_110); x_112 = lean_ctor_get(x_109, 0); @@ -3941,7 +3864,7 @@ lean_dec(x_50); x_52 = lean_box(0); x_53 = lean_unbox(x_43); lean_dec(x_43); -x_54 = l_Lean_Elab_runFrontend___lambda__8(x_53, x_39, x_47, x_26, x_4, x_20, x_7, x_22, x_6, x_51, x_29, x_52, x_44); +x_54 = l_Lean_Elab_runFrontend___lambda__7(x_53, x_39, x_47, x_26, x_4, x_20, x_7, x_22, x_6, x_51, x_29, x_52, x_44); lean_dec(x_51); lean_dec(x_7); lean_dec(x_26); @@ -3965,7 +3888,7 @@ lean_inc(x_58); lean_dec(x_56); x_59 = lean_unbox(x_43); lean_dec(x_43); -x_60 = l_Lean_Elab_runFrontend___lambda__8(x_59, x_39, x_47, x_26, x_4, x_20, x_7, x_22, x_6, x_55, x_29, x_57, x_58); +x_60 = l_Lean_Elab_runFrontend___lambda__7(x_59, x_39, x_47, x_26, x_4, x_20, x_7, x_22, x_6, x_55, x_29, x_57, x_58); lean_dec(x_57); lean_dec(x_55); lean_dec(x_7); @@ -4053,7 +3976,7 @@ lean_dec(x_73); x_75 = lean_box(0); x_76 = lean_unbox(x_65); lean_dec(x_65); -x_77 = l_Lean_Elab_runFrontend___lambda__8(x_76, x_39, x_70, x_26, x_4, x_20, x_7, x_22, x_6, x_74, x_29, x_75, x_66); +x_77 = l_Lean_Elab_runFrontend___lambda__7(x_76, x_39, x_70, x_26, x_4, x_20, x_7, x_22, x_6, x_74, x_29, x_75, x_66); lean_dec(x_74); lean_dec(x_7); lean_dec(x_26); @@ -4077,7 +4000,7 @@ lean_inc(x_81); lean_dec(x_79); x_82 = lean_unbox(x_65); lean_dec(x_65); -x_83 = l_Lean_Elab_runFrontend___lambda__8(x_82, x_39, x_70, x_26, x_4, x_20, x_7, x_22, x_6, x_78, x_29, x_80, x_81); +x_83 = l_Lean_Elab_runFrontend___lambda__7(x_82, x_39, x_70, x_26, x_4, x_20, x_7, x_22, x_6, x_78, x_29, x_80, x_81); lean_dec(x_80); lean_dec(x_78); lean_dec(x_7); @@ -4194,7 +4117,7 @@ x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); lean_dec(x_163); x_166 = l_Array_filterMapM___at_Lean_Elab_IO_processCommandsIncrementally_go___spec__3___closed__1; -x_167 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__9), 3, 2); +x_167 = lean_alloc_closure((void*)(l_Lean_Elab_runFrontend___lambda__8), 3, 2); lean_closure_set(x_167, 0, x_29); lean_closure_set(x_167, 1, x_166); x_168 = lean_ctor_get(x_165, 0); @@ -4312,7 +4235,7 @@ lean_dec(x_136); x_138 = lean_box(0); x_139 = lean_unbox(x_127); lean_dec(x_127); -x_140 = l_Lean_Elab_runFrontend___lambda__8(x_139, x_124, x_133, x_26, x_4, x_20, x_7, x_22, x_6, x_137, x_29, x_138, x_128); +x_140 = l_Lean_Elab_runFrontend___lambda__7(x_139, x_124, x_133, x_26, x_4, x_20, x_7, x_22, x_6, x_137, x_29, x_138, x_128); lean_dec(x_137); lean_dec(x_7); lean_dec(x_26); @@ -4336,7 +4259,7 @@ lean_inc(x_144); lean_dec(x_142); x_145 = lean_unbox(x_127); lean_dec(x_127); -x_146 = l_Lean_Elab_runFrontend___lambda__8(x_145, x_124, x_133, x_26, x_4, x_20, x_7, x_22, x_6, x_141, x_29, x_143, x_144); +x_146 = l_Lean_Elab_runFrontend___lambda__7(x_145, x_124, x_133, x_26, x_4, x_20, x_7, x_22, x_6, x_141, x_29, x_143, x_144); lean_dec(x_143); lean_dec(x_141); lean_dec(x_7); @@ -4465,69 +4388,57 @@ lean_dec(x_5); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___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) { -_start: -{ -uint32_t x_8; lean_object* x_9; -x_8 = lean_unbox_uint32(x_3); -lean_dec(x_3); -x_9 = l_Lean_Elab_runFrontend___lambda__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_runFrontend___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_runFrontend___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__4___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__3___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_runFrontend___lambda__4(x_1); +x_2 = l_Lean_Elab_runFrontend___lambda__3(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5___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_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__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, lean_object* x_7) { _start: { double x_8; lean_object* x_9; x_8 = lean_unbox_float(x_5); lean_dec(x_5); -x_9 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +x_9 = l_Lean_Elab_runFrontend___lambda__4(x_1, x_2, x_3, x_4, x_8, x_6, x_7); lean_dec(x_6); lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__6___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_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__5___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: { double x_10; lean_object* x_11; x_10 = lean_unbox_float(x_5); lean_dec(x_5); -x_11 = l_Lean_Elab_runFrontend___lambda__6(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_runFrontend___lambda__5(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7___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_runFrontend___lambda__6___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: { double x_12; lean_object* x_13; x_12 = lean_unbox_float(x_5); lean_dec(x_5); -x_13 = l_Lean_Elab_runFrontend___lambda__7(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_Elab_runFrontend___lambda__6(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_6); @@ -4535,7 +4446,7 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__8___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_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__7___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_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; double x_15; lean_object* x_16; @@ -4543,7 +4454,7 @@ x_14 = lean_unbox(x_1); lean_dec(x_1); x_15 = lean_unbox_float(x_6); lean_dec(x_6); -x_16 = l_Lean_Elab_runFrontend___lambda__8(x_14, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Elab_runFrontend___lambda__7(x_14, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_10); lean_dec(x_7); @@ -4606,22 +4517,16 @@ l_Lean_Elab_process___closed__1 = _init_l_Lean_Elab_process___closed__1(); lean_mark_persistent(l_Lean_Elab_process___closed__1); l_Lean_Elab_process___closed__2 = _init_l_Lean_Elab_process___closed__2(); lean_mark_persistent(l_Lean_Elab_process___closed__2); -l_Lean_Elab_runFrontend___lambda__2___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__2___closed__1); -l_Lean_Elab_runFrontend___lambda__2___closed__2 = _init_l_Lean_Elab_runFrontend___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__2___closed__2); -l_Lean_Elab_runFrontend___lambda__2___closed__3 = _init_l_Lean_Elab_runFrontend___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__2___closed__3); +l_Lean_Elab_runFrontend___lambda__4___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__4___closed__1); +l_Lean_Elab_runFrontend___lambda__4___closed__2 = _init_l_Lean_Elab_runFrontend___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__4___closed__2); l_Lean_Elab_runFrontend___lambda__5___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__5___closed__1(); lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__5___closed__1); -l_Lean_Elab_runFrontend___lambda__5___closed__2 = _init_l_Lean_Elab_runFrontend___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__5___closed__2); l_Lean_Elab_runFrontend___lambda__6___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__6___closed__1(); lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__6___closed__1); -l_Lean_Elab_runFrontend___lambda__7___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__7___closed__1); -l_Lean_Elab_runFrontend___lambda__9___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__9___closed__1(); -lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__9___closed__1); +l_Lean_Elab_runFrontend___lambda__8___closed__1 = _init_l_Lean_Elab_runFrontend___lambda__8___closed__1(); +lean_mark_persistent(l_Lean_Elab_runFrontend___lambda__8___closed__1); l_Lean_Elab_runFrontend___closed__1 = _init_l_Lean_Elab_runFrontend___closed__1(); l_Lean_Elab_runFrontend___closed__2 = _init_l_Lean_Elab_runFrontend___closed__2(); lean_mark_persistent(l_Lean_Elab_runFrontend___closed__2); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index 03bad175f5..a3fb831101 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -22,7 +22,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getSt LEAN_EXPORT lean_object* l_Lean_throwAlreadyImported___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_AsyncMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instBEqConstantKind___closed__1; LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadEnvOfMonadLift(lean_object*, lean_object*); @@ -36,6 +35,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40 static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__17; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_modifyCheckedAsync(lean_object*, lean_object*); static lean_object* l_Lean_OLeanLevel_adjustFileName___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitCheckEnv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__50; @@ -70,7 +70,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40 LEAN_EXPORT lean_object* l_Lean_Environment_header___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_evalConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_instDecidableEqOLeanLevel(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_ImportStateM_run___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_modifyState___rarg___lambda__1(lean_object*, lean_object*); @@ -84,7 +84,9 @@ static lean_object* l_Lean_instInhabitedAsyncConstantInfo___closed__6; LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__31; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_Environment_Diagnostics_isEnabled___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_findAsyncCore_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,7 +137,6 @@ lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_instInhabited___rarg(lean_object*, lean_object*); lean_object* lean_save_module_data_parts(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Environment_realizeConst___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerEnvExtension_unsafe__1___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_findRecTask___lambda__1(lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, size_t, lean_object*, lean_object*); @@ -147,10 +148,10 @@ size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_finalizeImport___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___closed__3; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Environment_dbgFormatAsyncState___spec__21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(lean_object*); static lean_object* l_Lean_instModuleIdxBEq___closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__2(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_6____closed__4; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336_(uint8_t, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_6____closed__6; lean_object* l_String_quote(lean_object*); @@ -159,7 +160,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_registerPersistentEnvE lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_Environment___hyg_219____closed__10; LEAN_EXPORT lean_object* l_Lean_instInhabitedEnvExtensionState; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instGetElem_x3fArrayModuleIdxLtNatToNatSize___closed__2; LEAN_EXPORT uint8_t l_Lean_Environment_hasUnsafe___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); @@ -170,7 +170,6 @@ lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lean_Environment_enableRealizationsForConst___closed__2; static lean_object* l___private_Lean_Environment_0__Lean_Environment_findAsyncCore_x3f___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_enableRealizationsForConst_unsafe__1___boxed(lean_object*); static lean_object* l_Lean_registerEnvExtension___rarg___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -189,6 +188,7 @@ LEAN_EXPORT lean_object* l_Lean_Environment_realizeConst___lambda__1(lean_object static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_6____closed__2; static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__40; LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitCheckEnv___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_findLongestPrefix_x3f___at___private_Lean_Environment_0__Lean_AsyncConsts_findPrefix_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_registerPersistentEnvExtensionUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,7 +202,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at_Lean_Enviro LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_mkModuleData___spec__1(lean_object*, uint8_t, size_t, size_t, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_importModulesCore(lean_object*, uint8_t, lean_object*, lean_object*); -uint8_t l_Lean_NameHashSet_contains(lean_object*, lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__14; static lean_object* l_Lean_Environment_realizeConst___closed__1; LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState_unsafe__3___rarg(lean_object*, lean_object*, lean_object*); @@ -244,6 +243,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40 LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__10(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_asyncPrefix_x3f(lean_object*); lean_object* lean_get_num_attributes(lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__18; @@ -274,10 +274,10 @@ LEAN_EXPORT lean_object* l_Lean_Environment_dbgFormatCheckedSyncState(lean_objec LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_findRec_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getNumBuiltinAttributes___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__9; LEAN_EXPORT uint8_t l___private_Lean_Environment_0__Lean_AsyncContext_mayContain(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Environment_enableRealizationsForConst___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_enterAsync(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_getDiagnostics(lean_object*); @@ -287,12 +287,13 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_EnvExtension_setState___spec__2(lean_ static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_Environment___hyg_219____closed__5; static lean_object* l_Lean_instInhabitedAsyncConstantInfo___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_importModules___lambda__1(lean_object*, uint8_t, lean_object*, uint32_t, uint8_t, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_importModules___lambda__1(uint8_t, lean_object*, lean_object*, uint32_t, uint8_t, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instImpl____x40_Lean_Environment___hyg_1961____closed__8; LEAN_EXPORT lean_object* l_Lean_finalizeImport_unsafe__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__8(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_addDeclCore___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(lean_object*, lean_object*, lean_object*); lean_object* lean_io_get_num_heartbeats(lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* lean_kernel_check(lean_object*, lean_object*, lean_object*); @@ -305,6 +306,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_m LEAN_EXPORT lean_object* l_Lean_OLeanLevel_noConfusion___rarg(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ConstantKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_mkInitialExtensionStates(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState_unsafe__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_setStateImpl___rarg(lean_object*, lean_object*, lean_object*); @@ -339,7 +341,6 @@ LEAN_EXPORT lean_object* l_Lean_finalizeImport___boxed(lean_object*, lean_object lean_object* l_Lean_ConstantInfo_value_x21(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__8(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_mkExtNameMap___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_enableDiag___lambda__1(uint8_t, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); @@ -356,12 +357,12 @@ LEAN_EXPORT lean_object* l_Lean_Environment_findConstVal_x3f___lambda__1___boxed LEAN_EXPORT lean_object* l_panic___at_Lean_Environment_replayConsts_replayKernel___spec__5(lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Lean_Environment_dbgFormatAsyncState___spec__14___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__2(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_elab_environment_update_base_after_kernel_add(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__18; static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__9; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at_Lean_Environment_addExtraName___spec__3(lean_object*, size_t, lean_object*); extern lean_object* l_instInhabitedPUnit; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__3; static lean_object* l_Lean_importModules___lambda__1___closed__1; @@ -374,8 +375,6 @@ static lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec lean_object* lean_elab_add_decl_without_checking(lean_object*, lean_object*); static lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__8___closed__5; static lean_object* l___private_Lean_Environment_0__Lean_Environment_lakeAdd___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrefixTreeNode_findLongestPrefix_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitSignature___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_isReservedName___boxed(lean_object*, lean_object*); @@ -383,6 +382,7 @@ LEAN_EXPORT lean_object* lean_environment_mark_quot_init(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Environment_dbgFormatAsyncState___spec__30(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_findRec_x3f___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_setMainModule_unsafe__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg___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*, lean_object*, lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__8; static lean_object* l_Lean_readModuleData___closed__3; @@ -392,6 +392,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Kernel_Env static lean_object* l_Lean_getMaxHeight___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_envExtensionsRef; LEAN_EXPORT lean_object* l_Lean_registerEnvExtension(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*); lean_object* lean_io_promise_result_opt(lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__14; @@ -421,7 +422,6 @@ static lean_object* l_Lean_getMaxHeight___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_addDeclWithoutChecking___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__3; LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState_unsafe__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__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_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_throwAlreadyImported___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_OLeanLevel_toCtorIdx___boxed(lean_object*); @@ -441,6 +441,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackC static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__10; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_throwAlreadyImported___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_evalConstCheck(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_promiseChecked___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_setState(lean_object*, lean_object*, lean_object*); @@ -474,6 +475,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(l static lean_object* l_panic___at_Lean_Environment_enableRealizationsForConst___spec__1___closed__1; static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__42; static lean_object* l_Lean_instImpl____x40_Lean_Environment___hyg_1961____closed__6; +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at_Lean_Environment_addExtraName___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_freeRegions___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); @@ -484,18 +486,16 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_throwU static lean_object* l_Lean_Environment_addDeclCore___closed__1; static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__5; static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__12; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkEmptyEnvironment___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__7; -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___boxed(lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___closed__4; static lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___closed__1; LEAN_EXPORT lean_object* l_Lean_instModuleIdxBEq; LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState_unsafe__3___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__12(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ConstantKind_toCtorIdx(uint8_t); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -504,9 +504,9 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_display LEAN_EXPORT lean_object* l_Lean_Kernel_Environment_isDiagnosticsEnabled___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_enableRealizationsForConst___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkEmptyEnvironment___lambda__1(uint32_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_Environment___hyg_219____closed__11; static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193_(lean_object*); static lean_object* l_Lean_instImpl____x40_Lean_Environment___hyg_1961____closed__4; static lean_object* l_Lean_Environment_dbgFormatAsyncState___closed__3; @@ -537,6 +537,7 @@ LEAN_EXPORT uint8_t l_Lean_Kernel_Environment_isDiagnosticsEnabled(lean_object*) LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__21; LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__17; static lean_object* l_Prod_repr___at_Lean_Environment_dbgFormatAsyncState___spec__14___closed__3; LEAN_EXPORT uint8_t l_List_elem___at_Lean_Environment_realizeConst___spec__5(lean_object*, lean_object*); @@ -557,11 +558,12 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_mkPtrSet___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__7; LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__4; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, uint32_t, uint8_t, uint8_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, uint32_t, uint8_t, uint8_t, size_t, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1___closed__4; LEAN_EXPORT uint8_t l_Lean_Environment_asyncMayContain(lean_object*, lean_object*); @@ -575,19 +577,17 @@ static lean_object* l_Prod_repr___at_Lean_Environment_dbgFormatAsyncState___spec static lean_object* l_Lean_instInhabitedModuleData___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ensureExtensionsArraySize(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_Lean_Environment_addExtraName___spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(size_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_replayConsts___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_Lean_Environment_addExtraName___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_numBuckets___at_Lean_Environment_displayStats___spec__5(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_mkExtNameMap___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Kernel_Environment_find_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtension_mkInitialExtStates___spec__1(size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Environment_dbgFormatCheckedSyncState___closed__1; LEAN_EXPORT lean_object* l_Lean_withImportModules___rarg(lean_object*, lean_object*, lean_object*, uint32_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_OLeanLevel_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_importEnv_x3f_unsafe__1(lean_object*); @@ -606,7 +606,6 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConst lean_object* l_Lean_privateToUserName(lean_object*); lean_object* l_Array_get_x21Internal___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_instInhabitedConstantKind; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerEnvExtension___rarg___closed__2; LEAN_EXPORT uint8_t lean_environment_quot_init(lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__6; @@ -648,9 +647,10 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_toList___at_Lean_Environment_dbgFormatAsyn lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__2(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_ConstantKind_ofConstantInfo(lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Environment_dbgFormatAsyncState___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_EnvExtension_modifyState___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_OLeanLevel_adjustFileName___boxed(lean_object*, lean_object*); lean_object* l_instToStringNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToStringImport___lambda__1___boxed(lean_object*); @@ -675,6 +675,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_setSt static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__25; static lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__8___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries_unsafe__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ConstantInfo_instantiateValueLevelParams_x21___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_ensureExtensionsArraySize_loop(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findStateAsyncUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -703,15 +704,15 @@ static lean_object* l_Lean_mkEmptyEnvironment___closed__2; lean_object* lean_task_get_own(lean_object*); extern lean_object* l_Std_Format_defWidth; lean_object* l_Lean_Declaration_getTopLevelNames(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_mkExtNameMap___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_freeRegions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_Environment_enableDiag___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState_unsafe__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__6; LEAN_EXPORT lean_object* l_Lean_registerEnvExtension___rarg(lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__3; static lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_modifyStateImpl___rarg___closed__2; static lean_object* l_Lean_PersistentHashMap_toList___at_Lean_Environment_dbgFormatAsyncState___spec__23___closed__1; @@ -725,10 +726,12 @@ static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_isDefEqGuarded___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3; LEAN_EXPORT uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_setStateImpl___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Option_repr___at_Lean_Environment_dbgFormatAsyncState___spec__17___closed__4; @@ -744,6 +747,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Environment_repl LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwAlreadyImported___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_AsyncMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f___boxed(lean_object*); static lean_object* l_Lean_Kernel_instInhabitedDiagnostics___closed__2; static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__1; LEAN_EXPORT lean_object* l_Lean_Environment_findConstVal_x3f___boxed(lean_object*, lean_object*, lean_object*); @@ -765,6 +769,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_display static lean_object* l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; LEAN_EXPORT lean_object* l_Lean_finalizeImport_unsafe__3(lean_object*); LEAN_EXPORT lean_object* l_List_toString___at_Lean_Environment_displayStats___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Environment_dbgFormatAsyncState___spec__22(lean_object*, lean_object*, lean_object*); @@ -793,15 +798,13 @@ LEAN_EXPORT lean_object* l_Lean_registerEnvExtension_unsafe__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_findTaskCore___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findStateAsyncUnsafe___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_hasUnsafe___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Environment_realizeConst___spec__4(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Option_repr___at_Lean_Environment_dbgFormatAsyncState___spec__29(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__9; static lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_instGetElemArrayModuleIdxLtNatToNatSize___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_setState___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___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_Environment_getModuleIdx_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_load_plugin(lean_object*, lean_object*); @@ -811,6 +814,7 @@ LEAN_EXPORT uint8_t l_Lean_OLeanLevel_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_enableRealizationsForConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__1(lean_object*, uint8_t, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Environment_replayConsts(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -819,8 +823,10 @@ LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitSignature( static lean_object* l_Lean_OLeanLevel_adjustFileName___closed__1; lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_IO_println___at_Lean_Environment_displayStats___spec__3(lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2; static lean_object* l_Lean_instReprImport___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_mkExtNameMap___spec__6(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_finalizeImport___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprImport; @@ -875,9 +881,11 @@ lean_object* l_Lean_findOLean(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___spec__1(lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__7; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_isConstructor___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_realizeConst___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_promiseChecked(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateImpl___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -888,12 +896,15 @@ LEAN_EXPORT lean_object* l_Lean_Environment_isRealizing___boxed(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Environment_replayConsts_replayKernel___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ConstantInfo_instantiateTypeLevelParams___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Environment_realizeConst___lambda__5___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1; static lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__8___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_mkModuleData___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Environment_isSafeDefinition(lean_object*, lean_object*); static lean_object* l_Lean_Environment_PromiseCheckedResult_commitChecked___closed__1; lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Environment_replayConsts_replayKernel(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); LEAN_EXPORT uint8_t l_Lean_Environment_addDeclCore___lambda__2(lean_object*, lean_object*); @@ -916,6 +927,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_ static lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_importModulesCore___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_Promise_result_x21___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__4(lean_object*, lean_object*, lean_object*); @@ -928,10 +940,12 @@ LEAN_EXPORT lean_object* l_Lean_mkModuleData___boxed(lean_object*, lean_object*, static lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_findRecTask___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_instBEqConstantKind; lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_importModulesCore___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_findAsyncCore_x3f___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_setMainModule___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_realizeConst___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2(lean_object*, lean_object*, lean_object*); @@ -940,9 +954,11 @@ LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferrringUnsafe___rarg(lean_obje static lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__5; lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Kernel_isDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__7; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_replayConsts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_NameHashSet_insert(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_findPrefix_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_addEntry(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__24; @@ -957,7 +973,6 @@ LEAN_EXPORT lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___la LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionStateSpec; static lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___closed__8; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_findTaskCore___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CompactedRegion_free___boxed(lean_object*, lean_object*); @@ -971,6 +986,7 @@ LEAN_EXPORT lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, le lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_Environment_dbgFormatAsyncState___spec__25(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_6____closed__7; static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_realizeConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -983,11 +999,11 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_ static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__8; lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries_unsafe__1___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(lean_object*); static lean_object* l_Lean_Environment_realizeConst___lambda__5___closed__4; static lean_object* l_Lean_Environment_enableRealizationsForConst___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_6_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_imports(lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__36; static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__10; @@ -995,7 +1011,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries static lean_object* l_Lean_readModuleData___closed__2; size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___rarg(lean_object*); @@ -1023,6 +1038,7 @@ LEAN_EXPORT lean_object* l_List_toString___at_Lean_Environment_dbgFormatAsyncSta LEAN_EXPORT lean_object* l_Lean_RBMap_toList___at_Lean_Environment_dbgFormatAsyncState___spec__1___boxed(lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__2; static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__27; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___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_Environment_getModuleIdxFor_x3f___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findStateAsyncUnsafe_findRecExts_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1033,10 +1049,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_AsyncConsts_find_x LEAN_EXPORT lean_object* l_Lean_registerEnvExtension___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_ConstantKind_noConfusion(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1; LEAN_EXPORT lean_object* l_repr___at_Lean_Environment_dbgFormatAsyncState___spec__19(lean_object*); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Environment_replayConsts_replayKernel___spec__3(lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_enableRealizationsForConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__5; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Environment_replayConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1067,9 +1083,11 @@ static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Kernel_Environment_find LEAN_EXPORT lean_object* l_Lean_Environment_findTask___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_mkModuleData___spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Lean_Environment_dbgFormatAsyncState___spec__9(lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__10; static lean_object* l_Lean_Kernel_instInhabitedDiagnostics___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_lakeAdd___closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_replayConsts_replayKernel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Environment_dbgFormatAsyncState___spec__5(lean_object*, lean_object*); @@ -1105,7 +1123,6 @@ static lean_object* l_Lean_instInhabitedAsyncConstantInfo___closed__9; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_importModules___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_8063_(lean_object*); lean_object* lean_find_expr(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_kernel_record_unfold(lean_object*, lean_object*); @@ -1121,26 +1138,24 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtension_mkInitial static lean_object* l_Lean_Environment_AddConstAsyncResult_commitConst___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_instImpl____x40_Lean_Environment___hyg_1961_; lean_object* lean_expr_dbg_to_string(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8(size_t, size_t, lean_object*); static lean_object* l_Lean_Environment_realizeConst___lambda__5___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_mkExtNameMap___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(lean_object*, size_t, size_t, lean_object*); lean_object* lean_compacted_region_free(size_t, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instGetElem_x3fArrayModuleIdxLtNatToNatSize___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_runtime_mark_persistent(lean_object*, lean_object*); static lean_object* l_Lean_instModuleIdxBEq___closed__1; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Kernel_enableDiag___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__9___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_equivInfo___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_environment_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Lean_Environment_dbgFormatAsyncState___spec__12___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_importModules(lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_EnvExtension_modifyState___rarg___closed__5; static lean_object* l___private_Lean_Environment_0__Lean_reprImport____x40_Lean_Environment___hyg_219____closed__1; +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(lean_object*, lean_object*); static lean_object* l_Lean_Environment_dbgFormatAsyncState___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findStateAsyncUnsafe_findRecExts_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__1___boxed(lean_object*, lean_object*); @@ -1155,17 +1170,18 @@ lean_object* lean_kernel_whnf(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__45; static lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__2; static lean_object* l_Option_repr___at_Lean_Environment_dbgFormatAsyncState___spec__17___closed__2; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Kernel_Environment_Diagnostics_recordUnfold___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__6; LEAN_EXPORT lean_object* lean_kernel_get_diag(lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_setMainModule_unsafe__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__1___closed__3; static lean_object* l_Lean_EnvExtension_ensureExtensionsArraySize_loop___closed__1; LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__6(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AsyncConstantInfo_ofConstantInfo(lean_object*); +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1(lean_object*, lean_object*, lean_object*); @@ -1188,6 +1204,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findS static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__8; static lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_findStateAsync___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_OLeanLevel_adjustFileName(lean_object*, uint8_t); @@ -1197,6 +1214,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_findTa static lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___closed__6; static lean_object* l_Lean_Environment_AddConstAsyncResult_commitSignature___closed__1; LEAN_EXPORT lean_object* l_Lean_EnvExtension_setState(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object*); LEAN_EXPORT lean_object* l_List_toString___at_Lean_Environment_AddConstAsyncResult_commitConst___spec__1(lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_withImportModules___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1209,7 +1227,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_setState___rarg(lean_obje LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_asyncMayContain___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__9(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_realizeConst___lambda__5___closed__5; lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*); @@ -22476,6 +22493,155 @@ x_6 = l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop(x_2 return x_6; } } +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 1); +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_fget(x_2, x_4); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*5); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +else +{ +uint8_t x_11; +x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_3); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_8); +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_8); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_lt(x_13, x_3); +lean_dec(x_3); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_array_fget(x_2, x_13); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 1); +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_fget(x_2, x_4); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*5); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +else +{ +lean_object* x_11; uint8_t x_12; +lean_dec(x_8); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_lt(x_11, x_3); +lean_dec(x_3); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_box(0); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_array_fget(x_2, x_11); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} static lean_object* _init_l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_throwAlreadyImported___spec__1___closed__1() { _start: { @@ -22891,7 +23057,282 @@ x_6 = lean_apply_2(x_5, x_2, x_3); return x_6; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1() { +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_name_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_importModulesCore___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = l_Lean_Name_hash___override(x_4); +x_8 = 32; +x_9 = lean_uint64_shift_right(x_7, x_8); +x_10 = lean_uint64_xor(x_7, x_9); +x_11 = 16; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = lean_uint64_to_usize(x_13); +x_15 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_16 = 1; +x_17 = lean_usize_sub(x_15, x_16); +x_18 = lean_usize_land(x_14, x_17); +x_19 = lean_array_uget(x_1, x_18); +lean_ctor_set(x_2, 2, x_19); +x_20 = lean_array_uset(x_1, x_18, x_2); +x_1 = x_20; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_22 = lean_ctor_get(x_2, 0); +x_23 = lean_ctor_get(x_2, 1); +x_24 = lean_ctor_get(x_2, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_2); +x_25 = lean_array_get_size(x_1); +x_26 = l_Lean_Name_hash___override(x_22); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_1, x_37); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_23); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_array_uset(x_1, x_37, x_39); +x_1 = x_40; +x_2 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_importModulesCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_importModulesCore___spec__5(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_mul(x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = lean_mk_array(x_4, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_importModulesCore___spec__4(x_7, x_1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_name_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_name_eq(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_name_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.importModulesCore", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1; +x_3 = lean_unsigned_to_nat(1734u); +x_4 = lean_unsigned_to_nat(41u); +x_5 = l_Lean_readModuleData___closed__5; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -22901,446 +23342,1779 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.importModulesCore", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___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; lean_object* x_6; -x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(1714u); -x_4 = lean_unsigned_to_nat(83u); -x_5 = l_Lean_readModuleData___closed__5; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(uint8_t 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_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; x_7 = lean_read_module_data_parts(x_3, x_6); if (lean_obj_tag(x_7) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_50; uint8_t x_51; lean_object* x_52; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_50 = 0; -x_51 = l_Lean_instDecidableEqOLeanLevel(x_1, x_50); -x_52 = lean_array_get_size(x_8); -if (x_51 == 0) +x_10 = lean_array_get_size(x_8); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +lean_dec(x_10); +if (x_12 == 0) { -lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_53 = lean_unsigned_to_nat(1u); -x_54 = lean_nat_sub(x_52, x_53); -x_55 = lean_nat_dec_lt(x_54, x_52); -lean_dec(x_52); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -lean_dec(x_54); +lean_object* x_13; lean_object* x_14; lean_dec(x_8); lean_dec(x_2); -x_56 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3; -x_57 = l_panic___at_Lean_importModulesCore___spec__1(x_56, x_5, x_9); -if (lean_obj_tag(x_57) == 0) +x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2; +x_14 = l_panic___at_Lean_importModulesCore___spec__1(x_13, x_5, x_9); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_58; -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -x_60 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -lean_ctor_set(x_57, 0, x_60); -return x_57; +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_14, 0, x_17); +return x_14; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_57, 1); -lean_inc(x_61); -lean_dec(x_57); -x_62 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -return x_63; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; } } else { -uint8_t x_64; -x_64 = !lean_is_exclusive(x_57); -if (x_64 == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) { -return x_57; +return x_14; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_57, 0); -x_66 = lean_ctor_get(x_57, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_57); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } else { -lean_object* x_68; -x_68 = lean_array_fget(x_8, x_54); -lean_dec(x_54); -x_10 = x_68; -goto block_49; -} -} -else +lean_object* x_25; +x_25 = lean_array_fget(x_8, x_11); +if (x_1 == 0) { -lean_object* x_69; uint8_t x_70; -x_69 = lean_unsigned_to_nat(0u); -x_70 = lean_nat_dec_lt(x_69, x_52); -lean_dec(x_52); +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_ctor_get_uint8(x_26, sizeof(void*)*5); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +lean_dec(x_26); +x_29 = 1; +lean_inc(x_5); +x_30 = l_Lean_importModulesCore(x_28, x_29, x_5, x_9); +lean_dec(x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_take(x_5, x_31); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +lean_inc(x_2); +x_37 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_8); +lean_ctor_set_uint8(x_37, sizeof(void*)*2, x_1); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +lean_inc(x_2); +x_39 = lean_array_push(x_38, x_2); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; uint64_t x_47; uint64_t x_48; uint64_t x_49; uint64_t x_50; size_t x_51; size_t x_52; size_t x_53; size_t x_54; size_t x_55; lean_object* x_56; uint8_t x_57; +x_41 = lean_ctor_get(x_36, 0); +x_42 = lean_ctor_get(x_36, 1); +x_43 = lean_array_get_size(x_42); +x_44 = l_Lean_Name_hash___override(x_2); +x_45 = 32; +x_46 = lean_uint64_shift_right(x_44, x_45); +x_47 = lean_uint64_xor(x_44, x_46); +x_48 = 16; +x_49 = lean_uint64_shift_right(x_47, x_48); +x_50 = lean_uint64_xor(x_47, x_49); +x_51 = lean_uint64_to_usize(x_50); +x_52 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_53 = 1; +x_54 = lean_usize_sub(x_52, x_53); +x_55 = lean_usize_land(x_51, x_54); +x_56 = lean_array_uget(x_42, x_55); +x_57 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_56); +if (x_57 == 0) +{ +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; uint8_t x_67; +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_41, x_58); +lean_dec(x_41); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_2); +lean_ctor_set(x_60, 1, x_37); +lean_ctor_set(x_60, 2, x_56); +x_61 = lean_array_uset(x_42, x_55, x_60); +x_62 = lean_unsigned_to_nat(4u); +x_63 = lean_nat_mul(x_59, x_62); +x_64 = lean_unsigned_to_nat(3u); +x_65 = lean_nat_div(x_63, x_64); +lean_dec(x_63); +x_66 = lean_array_get_size(x_61); +x_67 = lean_nat_dec_le(x_65, x_66); +lean_dec(x_66); +lean_dec(x_65); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_68 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_61); +lean_ctor_set(x_36, 1, x_68); +lean_ctor_set(x_36, 0, x_59); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_36); +x_69 = lean_st_ref_set(x_5, x_32, x_35); +lean_dec(x_5); +x_70 = !lean_is_exclusive(x_69); if (x_70 == 0) { lean_object* x_71; lean_object* x_72; -lean_dec(x_8); -lean_dec(x_2); -x_71 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3; -x_72 = l_panic___at_Lean_importModulesCore___spec__1(x_71, x_5, x_9); -if (lean_obj_tag(x_72) == 0) -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_72, 0); -lean_dec(x_74); -x_75 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -lean_ctor_set(x_72, 0, x_75); -return x_72; +x_71 = lean_ctor_get(x_69, 0); +lean_dec(x_71); +x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_69, 0, x_72); +return x_69; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_dec(x_72); -x_77 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_69, 1); +lean_inc(x_73); +lean_dec(x_69); +x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +return x_75; } } else { -uint8_t x_79; -x_79 = !lean_is_exclusive(x_72); -if (x_79 == 0) +lean_object* x_76; uint8_t x_77; +lean_ctor_set(x_36, 1, x_61); +lean_ctor_set(x_36, 0, x_59); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_36); +x_76 = lean_st_ref_set(x_5, x_32, x_35); +lean_dec(x_5); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) { -return x_72; +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +x_79 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_76, 0, x_79); +return x_76; } else { lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_72, 0); -x_81 = lean_ctor_get(x_72, 1); -lean_inc(x_81); +x_80 = lean_ctor_get(x_76, 1); lean_inc(x_80); -lean_dec(x_72); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); +lean_dec(x_76); +x_81 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); return x_82; } } } else { -lean_object* x_83; -x_83 = lean_array_fget(x_8, x_69); -x_10 = x_83; -goto block_49; -} -} -block_49: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_inc(x_5); -x_13 = l_Lean_importModulesCore(x_12, x_1, x_5, x_9); -lean_dec(x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_take(x_5, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_ctor_get(x_16, 2); -x_21 = lean_ctor_get(x_16, 3); -x_22 = lean_array_push(x_19, x_2); -x_23 = lean_array_push(x_20, x_11); -x_24 = lean_array_push(x_21, x_8); -lean_ctor_set(x_16, 3, x_24); -lean_ctor_set(x_16, 2, x_23); -lean_ctor_set(x_16, 1, x_22); -x_25 = lean_st_ref_set(x_5, x_16, x_17); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_83 = lean_box(0); +x_84 = lean_array_uset(x_42, x_55, x_83); +x_85 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_37, x_56); +x_86 = lean_array_uset(x_84, x_55, x_85); +lean_ctor_set(x_36, 1, x_86); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_36); +x_87 = lean_st_ref_set(x_5, x_32, x_35); lean_dec(x_5); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_88 = !lean_is_exclusive(x_87); +if (x_88 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -lean_ctor_set(x_25, 0, x_28); -return x_25; +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_87, 0); +lean_dec(x_89); +x_90 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_87, 0, x_90); +return x_87; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +lean_dec(x_87); +x_92 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_32 = lean_ctor_get(x_16, 0); -x_33 = lean_ctor_get(x_16, 1); -x_34 = lean_ctor_get(x_16, 2); -x_35 = lean_ctor_get(x_16, 3); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_16); -x_36 = lean_array_push(x_33, x_2); -x_37 = lean_array_push(x_34, x_11); -x_38 = lean_array_push(x_35, x_8); -x_39 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_39, 0, x_32); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 2, x_37); -lean_ctor_set(x_39, 3, x_38); -x_40 = lean_st_ref_set(x_5, x_39, x_17); +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint64_t x_97; uint64_t x_98; uint64_t x_99; uint64_t x_100; uint64_t x_101; uint64_t x_102; uint64_t x_103; size_t x_104; size_t x_105; size_t x_106; size_t x_107; size_t x_108; lean_object* x_109; uint8_t x_110; +x_94 = lean_ctor_get(x_36, 0); +x_95 = lean_ctor_get(x_36, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_36); +x_96 = lean_array_get_size(x_95); +x_97 = l_Lean_Name_hash___override(x_2); +x_98 = 32; +x_99 = lean_uint64_shift_right(x_97, x_98); +x_100 = lean_uint64_xor(x_97, x_99); +x_101 = 16; +x_102 = lean_uint64_shift_right(x_100, x_101); +x_103 = lean_uint64_xor(x_100, x_102); +x_104 = lean_uint64_to_usize(x_103); +x_105 = lean_usize_of_nat(x_96); +lean_dec(x_96); +x_106 = 1; +x_107 = lean_usize_sub(x_105, x_106); +x_108 = lean_usize_land(x_104, x_107); +x_109 = lean_array_uget(x_95, x_108); +x_110 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_109); +if (x_110 == 0) +{ +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; uint8_t x_120; +x_111 = lean_unsigned_to_nat(1u); +x_112 = lean_nat_add(x_94, x_111); +lean_dec(x_94); +x_113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_113, 0, x_2); +lean_ctor_set(x_113, 1, x_37); +lean_ctor_set(x_113, 2, x_109); +x_114 = lean_array_uset(x_95, x_108, x_113); +x_115 = lean_unsigned_to_nat(4u); +x_116 = lean_nat_mul(x_112, x_115); +x_117 = lean_unsigned_to_nat(3u); +x_118 = lean_nat_div(x_116, x_117); +lean_dec(x_116); +x_119 = lean_array_get_size(x_114); +x_120 = lean_nat_dec_le(x_118, x_119); +lean_dec(x_119); +lean_dec(x_118); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_121 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_114); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_112); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_122); +x_123 = lean_st_ref_set(x_5, x_32, x_35); lean_dec(x_5); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_42 = x_40; +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_40); - x_42 = lean_box(0); + lean_dec_ref(x_123); + x_125 = lean_box(0); } -x_43 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1; -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); +x_126 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_125)) { + x_127 = lean_alloc_ctor(0, 2, 0); } else { - x_44 = x_42; + x_127 = x_125; } -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_124); +return x_127; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_112); +lean_ctor_set(x_128, 1, x_114); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_128); +x_129 = lean_st_ref_set(x_5, x_32, x_35); +lean_dec(x_5); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_131 = x_129; +} else { + lean_dec_ref(x_129); + x_131 = lean_box(0); +} +x_132 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_131)) { + x_133 = lean_alloc_ctor(0, 2, 0); +} else { + x_133 = x_131; +} +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_130); +return x_133; } } else { -uint8_t x_45; -lean_dec(x_11); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_134 = lean_box(0); +x_135 = lean_array_uset(x_95, x_108, x_134); +x_136 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_37, x_109); +x_137 = lean_array_uset(x_135, x_108, x_136); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_94); +lean_ctor_set(x_138, 1, x_137); +lean_ctor_set(x_32, 1, x_39); +lean_ctor_set(x_32, 0, x_138); +x_139 = lean_st_ref_set(x_5, x_32, x_35); +lean_dec(x_5); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); +} +x_142 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_141)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_141; +} +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_140); +return x_143; +} +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint64_t x_154; uint64_t x_155; uint64_t x_156; uint64_t x_157; uint64_t x_158; uint64_t x_159; uint64_t x_160; size_t x_161; size_t x_162; size_t x_163; size_t x_164; size_t x_165; lean_object* x_166; uint8_t x_167; +x_144 = lean_ctor_get(x_32, 0); +x_145 = lean_ctor_get(x_32, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_32); +x_146 = lean_ctor_get(x_144, 0); +lean_inc(x_146); +lean_inc(x_2); +x_147 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_147, 0, x_2); +lean_ctor_set(x_147, 1, x_8); +lean_ctor_set_uint8(x_147, sizeof(void*)*2, x_1); +x_148 = lean_ctor_get(x_144, 1); +lean_inc(x_148); +lean_dec(x_144); +lean_inc(x_2); +x_149 = lean_array_push(x_148, x_2); +x_150 = lean_ctor_get(x_146, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_146, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_152 = x_146; +} else { + lean_dec_ref(x_146); + x_152 = lean_box(0); +} +x_153 = lean_array_get_size(x_151); +x_154 = l_Lean_Name_hash___override(x_2); +x_155 = 32; +x_156 = lean_uint64_shift_right(x_154, x_155); +x_157 = lean_uint64_xor(x_154, x_156); +x_158 = 16; +x_159 = lean_uint64_shift_right(x_157, x_158); +x_160 = lean_uint64_xor(x_157, x_159); +x_161 = lean_uint64_to_usize(x_160); +x_162 = lean_usize_of_nat(x_153); +lean_dec(x_153); +x_163 = 1; +x_164 = lean_usize_sub(x_162, x_163); +x_165 = lean_usize_land(x_161, x_164); +x_166 = lean_array_uget(x_151, x_165); +x_167 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; +x_168 = lean_unsigned_to_nat(1u); +x_169 = lean_nat_add(x_150, x_168); +lean_dec(x_150); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_2); +lean_ctor_set(x_170, 1, x_147); +lean_ctor_set(x_170, 2, x_166); +x_171 = lean_array_uset(x_151, x_165, x_170); +x_172 = lean_unsigned_to_nat(4u); +x_173 = lean_nat_mul(x_169, x_172); +x_174 = lean_unsigned_to_nat(3u); +x_175 = lean_nat_div(x_173, x_174); +lean_dec(x_173); +x_176 = lean_array_get_size(x_171); +x_177 = lean_nat_dec_le(x_175, x_176); +lean_dec(x_176); +lean_dec(x_175); +if (x_177 == 0) +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_178 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_171); +if (lean_is_scalar(x_152)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_152; +} +lean_ctor_set(x_179, 0, x_169); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_149); +x_181 = lean_st_ref_set(x_5, x_180, x_145); +lean_dec(x_5); +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_183 = x_181; +} else { + lean_dec_ref(x_181); + x_183 = lean_box(0); +} +x_184 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_183)) { + x_185 = lean_alloc_ctor(0, 2, 0); +} else { + x_185 = x_183; +} +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_182); +return x_185; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +if (lean_is_scalar(x_152)) { + x_186 = lean_alloc_ctor(0, 2, 0); +} else { + x_186 = x_152; +} +lean_ctor_set(x_186, 0, x_169); +lean_ctor_set(x_186, 1, x_171); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_149); +x_188 = lean_st_ref_set(x_5, x_187, x_145); +lean_dec(x_5); +x_189 = lean_ctor_get(x_188, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + x_190 = x_188; +} else { + lean_dec_ref(x_188); + x_190 = lean_box(0); +} +x_191 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_190)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_190; +} +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_189); +return x_192; +} +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_193 = lean_box(0); +x_194 = lean_array_uset(x_151, x_165, x_193); +x_195 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_147, x_166); +x_196 = lean_array_uset(x_194, x_165, x_195); +if (lean_is_scalar(x_152)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_152; +} +lean_ctor_set(x_197, 0, x_150); +lean_ctor_set(x_197, 1, x_196); +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_149); +x_199 = lean_st_ref_set(x_5, x_198, x_145); +lean_dec(x_5); +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_201 = x_199; +} else { + lean_dec_ref(x_199); + x_201 = lean_box(0); +} +x_202 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_201)) { + x_203 = lean_alloc_ctor(0, 2, 0); +} else { + x_203 = x_201; +} +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_200); +return x_203; +} +} +} +else +{ +uint8_t x_204; lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_45 = !lean_is_exclusive(x_13); -if (x_45 == 0) +x_204 = !lean_is_exclusive(x_30); +if (x_204 == 0) { -return x_13; +return x_30; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_13, 0); -x_47 = lean_ctor_get(x_13, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_13); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_30, 0); +x_206 = lean_ctor_get(x_30, 1); +lean_inc(x_206); +lean_inc(x_205); +lean_dec(x_30); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +return x_207; } } } else { -uint8_t x_84; +lean_object* x_208; uint8_t x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_26, 0); +lean_inc(x_208); +lean_dec(x_26); +x_209 = 0; +lean_inc(x_5); +x_210 = l_Lean_importModulesCore(x_208, x_209, x_5, x_9); +lean_dec(x_208); +if (lean_obj_tag(x_210) == 0) +{ +lean_object* x_211; lean_object* x_212; uint8_t x_213; +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +lean_dec(x_210); +x_212 = lean_st_ref_take(x_5, x_211); +x_213 = !lean_is_exclusive(x_212); +if (x_213 == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; +x_214 = lean_ctor_get(x_212, 0); +x_215 = lean_ctor_get(x_212, 1); +x_216 = lean_ctor_get(x_214, 0); +lean_inc(x_216); +lean_inc(x_2); +x_217 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_217, 0, x_2); +lean_ctor_set(x_217, 1, x_8); +lean_ctor_set_uint8(x_217, sizeof(void*)*2, x_1); +x_218 = lean_ctor_get(x_214, 1); +lean_inc(x_218); +lean_dec(x_214); +lean_inc(x_2); +x_219 = lean_array_push(x_218, x_2); +x_220 = !lean_is_exclusive(x_216); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; uint64_t x_224; uint64_t x_225; uint64_t x_226; uint64_t x_227; uint64_t x_228; uint64_t x_229; uint64_t x_230; size_t x_231; size_t x_232; size_t x_233; size_t x_234; size_t x_235; lean_object* x_236; uint8_t x_237; +x_221 = lean_ctor_get(x_216, 0); +x_222 = lean_ctor_get(x_216, 1); +x_223 = lean_array_get_size(x_222); +x_224 = l_Lean_Name_hash___override(x_2); +x_225 = 32; +x_226 = lean_uint64_shift_right(x_224, x_225); +x_227 = lean_uint64_xor(x_224, x_226); +x_228 = 16; +x_229 = lean_uint64_shift_right(x_227, x_228); +x_230 = lean_uint64_xor(x_227, x_229); +x_231 = lean_uint64_to_usize(x_230); +x_232 = lean_usize_of_nat(x_223); +lean_dec(x_223); +x_233 = 1; +x_234 = lean_usize_sub(x_232, x_233); +x_235 = lean_usize_land(x_231, x_234); +x_236 = lean_array_uget(x_222, x_235); +x_237 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_236); +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; +x_238 = lean_unsigned_to_nat(1u); +x_239 = lean_nat_add(x_221, x_238); +lean_dec(x_221); +x_240 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_240, 0, x_2); +lean_ctor_set(x_240, 1, x_217); +lean_ctor_set(x_240, 2, x_236); +x_241 = lean_array_uset(x_222, x_235, x_240); +x_242 = lean_unsigned_to_nat(4u); +x_243 = lean_nat_mul(x_239, x_242); +x_244 = lean_unsigned_to_nat(3u); +x_245 = lean_nat_div(x_243, x_244); +lean_dec(x_243); +x_246 = lean_array_get_size(x_241); +x_247 = lean_nat_dec_le(x_245, x_246); +lean_dec(x_246); +lean_dec(x_245); +if (x_247 == 0) +{ +lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_248 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_241); +lean_ctor_set(x_216, 1, x_248); +lean_ctor_set(x_216, 0, x_239); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_216); +x_249 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_250 = !lean_is_exclusive(x_249); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; +x_251 = lean_ctor_get(x_249, 0); +lean_dec(x_251); +x_252 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_249, 0, x_252); +return x_249; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_249, 1); +lean_inc(x_253); +lean_dec(x_249); +x_254 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_255 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_253); +return x_255; +} +} +else +{ +lean_object* x_256; uint8_t x_257; +lean_ctor_set(x_216, 1, x_241); +lean_ctor_set(x_216, 0, x_239); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_216); +x_256 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_257 = !lean_is_exclusive(x_256); +if (x_257 == 0) +{ +lean_object* x_258; lean_object* x_259; +x_258 = lean_ctor_get(x_256, 0); +lean_dec(x_258); +x_259 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_256, 0, x_259); +return x_256; +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = lean_ctor_get(x_256, 1); +lean_inc(x_260); +lean_dec(x_256); +x_261 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +return x_262; +} +} +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; +x_263 = lean_box(0); +x_264 = lean_array_uset(x_222, x_235, x_263); +x_265 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_217, x_236); +x_266 = lean_array_uset(x_264, x_235, x_265); +lean_ctor_set(x_216, 1, x_266); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_216); +x_267 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_268 = !lean_is_exclusive(x_267); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; +x_269 = lean_ctor_get(x_267, 0); +lean_dec(x_269); +x_270 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_267, 0, x_270); +return x_267; +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_271 = lean_ctor_get(x_267, 1); +lean_inc(x_271); +lean_dec(x_267); +x_272 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +return x_273; +} +} +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; uint64_t x_277; uint64_t x_278; uint64_t x_279; uint64_t x_280; uint64_t x_281; uint64_t x_282; uint64_t x_283; size_t x_284; size_t x_285; size_t x_286; size_t x_287; size_t x_288; lean_object* x_289; uint8_t x_290; +x_274 = lean_ctor_get(x_216, 0); +x_275 = lean_ctor_get(x_216, 1); +lean_inc(x_275); +lean_inc(x_274); +lean_dec(x_216); +x_276 = lean_array_get_size(x_275); +x_277 = l_Lean_Name_hash___override(x_2); +x_278 = 32; +x_279 = lean_uint64_shift_right(x_277, x_278); +x_280 = lean_uint64_xor(x_277, x_279); +x_281 = 16; +x_282 = lean_uint64_shift_right(x_280, x_281); +x_283 = lean_uint64_xor(x_280, x_282); +x_284 = lean_uint64_to_usize(x_283); +x_285 = lean_usize_of_nat(x_276); +lean_dec(x_276); +x_286 = 1; +x_287 = lean_usize_sub(x_285, x_286); +x_288 = lean_usize_land(x_284, x_287); +x_289 = lean_array_uget(x_275, x_288); +x_290 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_289); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; +x_291 = lean_unsigned_to_nat(1u); +x_292 = lean_nat_add(x_274, x_291); +lean_dec(x_274); +x_293 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_293, 0, x_2); +lean_ctor_set(x_293, 1, x_217); +lean_ctor_set(x_293, 2, x_289); +x_294 = lean_array_uset(x_275, x_288, x_293); +x_295 = lean_unsigned_to_nat(4u); +x_296 = lean_nat_mul(x_292, x_295); +x_297 = lean_unsigned_to_nat(3u); +x_298 = lean_nat_div(x_296, x_297); +lean_dec(x_296); +x_299 = lean_array_get_size(x_294); +x_300 = lean_nat_dec_le(x_298, x_299); +lean_dec(x_299); +lean_dec(x_298); +if (x_300 == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_301 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_294); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_292); +lean_ctor_set(x_302, 1, x_301); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_302); +x_303 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_304 = lean_ctor_get(x_303, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_303)) { + lean_ctor_release(x_303, 0); + lean_ctor_release(x_303, 1); + x_305 = x_303; +} else { + lean_dec_ref(x_303); + x_305 = lean_box(0); +} +x_306 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_305)) { + x_307 = lean_alloc_ctor(0, 2, 0); +} else { + x_307 = x_305; +} +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_304); +return x_307; +} +else +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_292); +lean_ctor_set(x_308, 1, x_294); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_308); +x_309 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_310 = lean_ctor_get(x_309, 1); +lean_inc(x_310); +if (lean_is_exclusive(x_309)) { + lean_ctor_release(x_309, 0); + lean_ctor_release(x_309, 1); + x_311 = x_309; +} else { + lean_dec_ref(x_309); + x_311 = lean_box(0); +} +x_312 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_311)) { + x_313 = lean_alloc_ctor(0, 2, 0); +} else { + x_313 = x_311; +} +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_310); +return x_313; +} +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_314 = lean_box(0); +x_315 = lean_array_uset(x_275, x_288, x_314); +x_316 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_217, x_289); +x_317 = lean_array_uset(x_315, x_288, x_316); +x_318 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_318, 0, x_274); +lean_ctor_set(x_318, 1, x_317); +lean_ctor_set(x_212, 1, x_219); +lean_ctor_set(x_212, 0, x_318); +x_319 = lean_st_ref_set(x_5, x_212, x_215); +lean_dec(x_5); +x_320 = lean_ctor_get(x_319, 1); +lean_inc(x_320); +if (lean_is_exclusive(x_319)) { + lean_ctor_release(x_319, 0); + lean_ctor_release(x_319, 1); + x_321 = x_319; +} else { + lean_dec_ref(x_319); + x_321 = lean_box(0); +} +x_322 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_321)) { + x_323 = lean_alloc_ctor(0, 2, 0); +} else { + x_323 = x_321; +} +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_320); +return x_323; +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; uint64_t x_334; uint64_t x_335; uint64_t x_336; uint64_t x_337; uint64_t x_338; uint64_t x_339; uint64_t x_340; size_t x_341; size_t x_342; size_t x_343; size_t x_344; size_t x_345; lean_object* x_346; uint8_t x_347; +x_324 = lean_ctor_get(x_212, 0); +x_325 = lean_ctor_get(x_212, 1); +lean_inc(x_325); +lean_inc(x_324); +lean_dec(x_212); +x_326 = lean_ctor_get(x_324, 0); +lean_inc(x_326); +lean_inc(x_2); +x_327 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_327, 0, x_2); +lean_ctor_set(x_327, 1, x_8); +lean_ctor_set_uint8(x_327, sizeof(void*)*2, x_1); +x_328 = lean_ctor_get(x_324, 1); +lean_inc(x_328); +lean_dec(x_324); +lean_inc(x_2); +x_329 = lean_array_push(x_328, x_2); +x_330 = lean_ctor_get(x_326, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_326, 1); +lean_inc(x_331); +if (lean_is_exclusive(x_326)) { + lean_ctor_release(x_326, 0); + lean_ctor_release(x_326, 1); + x_332 = x_326; +} else { + lean_dec_ref(x_326); + x_332 = lean_box(0); +} +x_333 = lean_array_get_size(x_331); +x_334 = l_Lean_Name_hash___override(x_2); +x_335 = 32; +x_336 = lean_uint64_shift_right(x_334, x_335); +x_337 = lean_uint64_xor(x_334, x_336); +x_338 = 16; +x_339 = lean_uint64_shift_right(x_337, x_338); +x_340 = lean_uint64_xor(x_337, x_339); +x_341 = lean_uint64_to_usize(x_340); +x_342 = lean_usize_of_nat(x_333); +lean_dec(x_333); +x_343 = 1; +x_344 = lean_usize_sub(x_342, x_343); +x_345 = lean_usize_land(x_341, x_344); +x_346 = lean_array_uget(x_331, x_345); +x_347 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_346); +if (x_347 == 0) +{ +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +x_348 = lean_unsigned_to_nat(1u); +x_349 = lean_nat_add(x_330, x_348); +lean_dec(x_330); +x_350 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_350, 0, x_2); +lean_ctor_set(x_350, 1, x_327); +lean_ctor_set(x_350, 2, x_346); +x_351 = lean_array_uset(x_331, x_345, x_350); +x_352 = lean_unsigned_to_nat(4u); +x_353 = lean_nat_mul(x_349, x_352); +x_354 = lean_unsigned_to_nat(3u); +x_355 = lean_nat_div(x_353, x_354); +lean_dec(x_353); +x_356 = lean_array_get_size(x_351); +x_357 = lean_nat_dec_le(x_355, x_356); +lean_dec(x_356); +lean_dec(x_355); +if (x_357 == 0) +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_358 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_351); +if (lean_is_scalar(x_332)) { + x_359 = lean_alloc_ctor(0, 2, 0); +} else { + x_359 = x_332; +} +lean_ctor_set(x_359, 0, x_349); +lean_ctor_set(x_359, 1, x_358); +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_329); +x_361 = lean_st_ref_set(x_5, x_360, x_325); +lean_dec(x_5); +x_362 = lean_ctor_get(x_361, 1); +lean_inc(x_362); +if (lean_is_exclusive(x_361)) { + lean_ctor_release(x_361, 0); + lean_ctor_release(x_361, 1); + x_363 = x_361; +} else { + lean_dec_ref(x_361); + x_363 = lean_box(0); +} +x_364 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_363)) { + x_365 = lean_alloc_ctor(0, 2, 0); +} else { + x_365 = x_363; +} +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_362); +return x_365; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +if (lean_is_scalar(x_332)) { + x_366 = lean_alloc_ctor(0, 2, 0); +} else { + x_366 = x_332; +} +lean_ctor_set(x_366, 0, x_349); +lean_ctor_set(x_366, 1, x_351); +x_367 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_367, 0, x_366); +lean_ctor_set(x_367, 1, x_329); +x_368 = lean_st_ref_set(x_5, x_367, x_325); +lean_dec(x_5); +x_369 = lean_ctor_get(x_368, 1); +lean_inc(x_369); +if (lean_is_exclusive(x_368)) { + lean_ctor_release(x_368, 0); + lean_ctor_release(x_368, 1); + x_370 = x_368; +} else { + lean_dec_ref(x_368); + x_370 = lean_box(0); +} +x_371 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_370)) { + x_372 = lean_alloc_ctor(0, 2, 0); +} else { + x_372 = x_370; +} +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_369); +return x_372; +} +} +else +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_373 = lean_box(0); +x_374 = lean_array_uset(x_331, x_345, x_373); +x_375 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_327, x_346); +x_376 = lean_array_uset(x_374, x_345, x_375); +if (lean_is_scalar(x_332)) { + x_377 = lean_alloc_ctor(0, 2, 0); +} else { + x_377 = x_332; +} +lean_ctor_set(x_377, 0, x_330); +lean_ctor_set(x_377, 1, x_376); +x_378 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_329); +x_379 = lean_st_ref_set(x_5, x_378, x_325); +lean_dec(x_5); +x_380 = lean_ctor_get(x_379, 1); +lean_inc(x_380); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + x_381 = x_379; +} else { + lean_dec_ref(x_379); + x_381 = lean_box(0); +} +x_382 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_381)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_381; +} +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_380); +return x_383; +} +} +} +else +{ +uint8_t x_384; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_84 = !lean_is_exclusive(x_7); -if (x_84 == 0) +x_384 = !lean_is_exclusive(x_210); +if (x_384 == 0) +{ +return x_210; +} +else +{ +lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_385 = lean_ctor_get(x_210, 0); +x_386 = lean_ctor_get(x_210, 1); +lean_inc(x_386); +lean_inc(x_385); +lean_dec(x_210); +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_385); +lean_ctor_set(x_387, 1, x_386); +return x_387; +} +} +} +} +else +{ +lean_object* x_388; lean_object* x_389; uint8_t x_390; lean_object* x_391; +x_388 = lean_ctor_get(x_25, 0); +lean_inc(x_388); +lean_dec(x_25); +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +lean_dec(x_388); +x_390 = 1; +lean_inc(x_5); +x_391 = l_Lean_importModulesCore(x_389, x_390, x_5, x_9); +lean_dec(x_389); +if (lean_obj_tag(x_391) == 0) +{ +lean_object* x_392; lean_object* x_393; uint8_t x_394; +x_392 = lean_ctor_get(x_391, 1); +lean_inc(x_392); +lean_dec(x_391); +x_393 = lean_st_ref_take(x_5, x_392); +x_394 = !lean_is_exclusive(x_393); +if (x_394 == 0) +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; +x_395 = lean_ctor_get(x_393, 0); +x_396 = lean_ctor_get(x_393, 1); +x_397 = lean_ctor_get(x_395, 0); +lean_inc(x_397); +lean_inc(x_2); +x_398 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_398, 0, x_2); +lean_ctor_set(x_398, 1, x_8); +lean_ctor_set_uint8(x_398, sizeof(void*)*2, x_1); +x_399 = lean_ctor_get(x_395, 1); +lean_inc(x_399); +lean_dec(x_395); +lean_inc(x_2); +x_400 = lean_array_push(x_399, x_2); +x_401 = !lean_is_exclusive(x_397); +if (x_401 == 0) +{ +lean_object* x_402; lean_object* x_403; lean_object* x_404; uint64_t x_405; uint64_t x_406; uint64_t x_407; uint64_t x_408; uint64_t x_409; uint64_t x_410; uint64_t x_411; size_t x_412; size_t x_413; size_t x_414; size_t x_415; size_t x_416; lean_object* x_417; uint8_t x_418; +x_402 = lean_ctor_get(x_397, 0); +x_403 = lean_ctor_get(x_397, 1); +x_404 = lean_array_get_size(x_403); +x_405 = l_Lean_Name_hash___override(x_2); +x_406 = 32; +x_407 = lean_uint64_shift_right(x_405, x_406); +x_408 = lean_uint64_xor(x_405, x_407); +x_409 = 16; +x_410 = lean_uint64_shift_right(x_408, x_409); +x_411 = lean_uint64_xor(x_408, x_410); +x_412 = lean_uint64_to_usize(x_411); +x_413 = lean_usize_of_nat(x_404); +lean_dec(x_404); +x_414 = 1; +x_415 = lean_usize_sub(x_413, x_414); +x_416 = lean_usize_land(x_412, x_415); +x_417 = lean_array_uget(x_403, x_416); +x_418 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_417); +if (x_418 == 0) +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; +x_419 = lean_unsigned_to_nat(1u); +x_420 = lean_nat_add(x_402, x_419); +lean_dec(x_402); +x_421 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_421, 0, x_2); +lean_ctor_set(x_421, 1, x_398); +lean_ctor_set(x_421, 2, x_417); +x_422 = lean_array_uset(x_403, x_416, x_421); +x_423 = lean_unsigned_to_nat(4u); +x_424 = lean_nat_mul(x_420, x_423); +x_425 = lean_unsigned_to_nat(3u); +x_426 = lean_nat_div(x_424, x_425); +lean_dec(x_424); +x_427 = lean_array_get_size(x_422); +x_428 = lean_nat_dec_le(x_426, x_427); +lean_dec(x_427); +lean_dec(x_426); +if (x_428 == 0) +{ +lean_object* x_429; lean_object* x_430; uint8_t x_431; +x_429 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_422); +lean_ctor_set(x_397, 1, x_429); +lean_ctor_set(x_397, 0, x_420); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_397); +x_430 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_431 = !lean_is_exclusive(x_430); +if (x_431 == 0) +{ +lean_object* x_432; lean_object* x_433; +x_432 = lean_ctor_get(x_430, 0); +lean_dec(x_432); +x_433 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_430, 0, x_433); +return x_430; +} +else +{ +lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_434 = lean_ctor_get(x_430, 1); +lean_inc(x_434); +lean_dec(x_430); +x_435 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_436 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_436, 0, x_435); +lean_ctor_set(x_436, 1, x_434); +return x_436; +} +} +else +{ +lean_object* x_437; uint8_t x_438; +lean_ctor_set(x_397, 1, x_422); +lean_ctor_set(x_397, 0, x_420); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_397); +x_437 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_438 = !lean_is_exclusive(x_437); +if (x_438 == 0) +{ +lean_object* x_439; lean_object* x_440; +x_439 = lean_ctor_get(x_437, 0); +lean_dec(x_439); +x_440 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_437, 0, x_440); +return x_437; +} +else +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; +x_441 = lean_ctor_get(x_437, 1); +lean_inc(x_441); +lean_dec(x_437); +x_442 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_441); +return x_443; +} +} +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; uint8_t x_449; +x_444 = lean_box(0); +x_445 = lean_array_uset(x_403, x_416, x_444); +x_446 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_398, x_417); +x_447 = lean_array_uset(x_445, x_416, x_446); +lean_ctor_set(x_397, 1, x_447); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_397); +x_448 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_449 = !lean_is_exclusive(x_448); +if (x_449 == 0) +{ +lean_object* x_450; lean_object* x_451; +x_450 = lean_ctor_get(x_448, 0); +lean_dec(x_450); +x_451 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +lean_ctor_set(x_448, 0, x_451); +return x_448; +} +else +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; +x_452 = lean_ctor_get(x_448, 1); +lean_inc(x_452); +lean_dec(x_448); +x_453 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_454 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_452); +return x_454; +} +} +} +else +{ +lean_object* x_455; lean_object* x_456; lean_object* x_457; uint64_t x_458; uint64_t x_459; uint64_t x_460; uint64_t x_461; uint64_t x_462; uint64_t x_463; uint64_t x_464; size_t x_465; size_t x_466; size_t x_467; size_t x_468; size_t x_469; lean_object* x_470; uint8_t x_471; +x_455 = lean_ctor_get(x_397, 0); +x_456 = lean_ctor_get(x_397, 1); +lean_inc(x_456); +lean_inc(x_455); +lean_dec(x_397); +x_457 = lean_array_get_size(x_456); +x_458 = l_Lean_Name_hash___override(x_2); +x_459 = 32; +x_460 = lean_uint64_shift_right(x_458, x_459); +x_461 = lean_uint64_xor(x_458, x_460); +x_462 = 16; +x_463 = lean_uint64_shift_right(x_461, x_462); +x_464 = lean_uint64_xor(x_461, x_463); +x_465 = lean_uint64_to_usize(x_464); +x_466 = lean_usize_of_nat(x_457); +lean_dec(x_457); +x_467 = 1; +x_468 = lean_usize_sub(x_466, x_467); +x_469 = lean_usize_land(x_465, x_468); +x_470 = lean_array_uget(x_456, x_469); +x_471 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_470); +if (x_471 == 0) +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; +x_472 = lean_unsigned_to_nat(1u); +x_473 = lean_nat_add(x_455, x_472); +lean_dec(x_455); +x_474 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_474, 0, x_2); +lean_ctor_set(x_474, 1, x_398); +lean_ctor_set(x_474, 2, x_470); +x_475 = lean_array_uset(x_456, x_469, x_474); +x_476 = lean_unsigned_to_nat(4u); +x_477 = lean_nat_mul(x_473, x_476); +x_478 = lean_unsigned_to_nat(3u); +x_479 = lean_nat_div(x_477, x_478); +lean_dec(x_477); +x_480 = lean_array_get_size(x_475); +x_481 = lean_nat_dec_le(x_479, x_480); +lean_dec(x_480); +lean_dec(x_479); +if (x_481 == 0) +{ +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; +x_482 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_475); +x_483 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_483, 0, x_473); +lean_ctor_set(x_483, 1, x_482); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_483); +x_484 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_485 = lean_ctor_get(x_484, 1); +lean_inc(x_485); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_486 = x_484; +} else { + lean_dec_ref(x_484); + x_486 = lean_box(0); +} +x_487 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_486)) { + x_488 = lean_alloc_ctor(0, 2, 0); +} else { + x_488 = x_486; +} +lean_ctor_set(x_488, 0, x_487); +lean_ctor_set(x_488, 1, x_485); +return x_488; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; +x_489 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_489, 0, x_473); +lean_ctor_set(x_489, 1, x_475); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_489); +x_490 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_491 = lean_ctor_get(x_490, 1); +lean_inc(x_491); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_492 = x_490; +} else { + lean_dec_ref(x_490); + x_492 = lean_box(0); +} +x_493 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_492)) { + x_494 = lean_alloc_ctor(0, 2, 0); +} else { + x_494 = x_492; +} +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_491); +return x_494; +} +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_495 = lean_box(0); +x_496 = lean_array_uset(x_456, x_469, x_495); +x_497 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_398, x_470); +x_498 = lean_array_uset(x_496, x_469, x_497); +x_499 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_499, 0, x_455); +lean_ctor_set(x_499, 1, x_498); +lean_ctor_set(x_393, 1, x_400); +lean_ctor_set(x_393, 0, x_499); +x_500 = lean_st_ref_set(x_5, x_393, x_396); +lean_dec(x_5); +x_501 = lean_ctor_get(x_500, 1); +lean_inc(x_501); +if (lean_is_exclusive(x_500)) { + lean_ctor_release(x_500, 0); + lean_ctor_release(x_500, 1); + x_502 = x_500; +} else { + lean_dec_ref(x_500); + x_502 = lean_box(0); +} +x_503 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_502)) { + x_504 = lean_alloc_ctor(0, 2, 0); +} else { + x_504 = x_502; +} +lean_ctor_set(x_504, 0, x_503); +lean_ctor_set(x_504, 1, x_501); +return x_504; +} +} +} +else +{ +lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; uint64_t x_515; uint64_t x_516; uint64_t x_517; uint64_t x_518; uint64_t x_519; uint64_t x_520; uint64_t x_521; size_t x_522; size_t x_523; size_t x_524; size_t x_525; size_t x_526; lean_object* x_527; uint8_t x_528; +x_505 = lean_ctor_get(x_393, 0); +x_506 = lean_ctor_get(x_393, 1); +lean_inc(x_506); +lean_inc(x_505); +lean_dec(x_393); +x_507 = lean_ctor_get(x_505, 0); +lean_inc(x_507); +lean_inc(x_2); +x_508 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_508, 0, x_2); +lean_ctor_set(x_508, 1, x_8); +lean_ctor_set_uint8(x_508, sizeof(void*)*2, x_1); +x_509 = lean_ctor_get(x_505, 1); +lean_inc(x_509); +lean_dec(x_505); +lean_inc(x_2); +x_510 = lean_array_push(x_509, x_2); +x_511 = lean_ctor_get(x_507, 0); +lean_inc(x_511); +x_512 = lean_ctor_get(x_507, 1); +lean_inc(x_512); +if (lean_is_exclusive(x_507)) { + lean_ctor_release(x_507, 0); + lean_ctor_release(x_507, 1); + x_513 = x_507; +} else { + lean_dec_ref(x_507); + x_513 = lean_box(0); +} +x_514 = lean_array_get_size(x_512); +x_515 = l_Lean_Name_hash___override(x_2); +x_516 = 32; +x_517 = lean_uint64_shift_right(x_515, x_516); +x_518 = lean_uint64_xor(x_515, x_517); +x_519 = 16; +x_520 = lean_uint64_shift_right(x_518, x_519); +x_521 = lean_uint64_xor(x_518, x_520); +x_522 = lean_uint64_to_usize(x_521); +x_523 = lean_usize_of_nat(x_514); +lean_dec(x_514); +x_524 = 1; +x_525 = lean_usize_sub(x_523, x_524); +x_526 = lean_usize_land(x_522, x_525); +x_527 = lean_array_uget(x_512, x_526); +x_528 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_2, x_527); +if (x_528 == 0) +{ +lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; uint8_t x_538; +x_529 = lean_unsigned_to_nat(1u); +x_530 = lean_nat_add(x_511, x_529); +lean_dec(x_511); +x_531 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_531, 0, x_2); +lean_ctor_set(x_531, 1, x_508); +lean_ctor_set(x_531, 2, x_527); +x_532 = lean_array_uset(x_512, x_526, x_531); +x_533 = lean_unsigned_to_nat(4u); +x_534 = lean_nat_mul(x_530, x_533); +x_535 = lean_unsigned_to_nat(3u); +x_536 = lean_nat_div(x_534, x_535); +lean_dec(x_534); +x_537 = lean_array_get_size(x_532); +x_538 = lean_nat_dec_le(x_536, x_537); +lean_dec(x_537); +lean_dec(x_536); +if (x_538 == 0) +{ +lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_539 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_532); +if (lean_is_scalar(x_513)) { + x_540 = lean_alloc_ctor(0, 2, 0); +} else { + x_540 = x_513; +} +lean_ctor_set(x_540, 0, x_530); +lean_ctor_set(x_540, 1, x_539); +x_541 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_541, 0, x_540); +lean_ctor_set(x_541, 1, x_510); +x_542 = lean_st_ref_set(x_5, x_541, x_506); +lean_dec(x_5); +x_543 = lean_ctor_get(x_542, 1); +lean_inc(x_543); +if (lean_is_exclusive(x_542)) { + lean_ctor_release(x_542, 0); + lean_ctor_release(x_542, 1); + x_544 = x_542; +} else { + lean_dec_ref(x_542); + x_544 = lean_box(0); +} +x_545 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_544)) { + x_546 = lean_alloc_ctor(0, 2, 0); +} else { + x_546 = x_544; +} +lean_ctor_set(x_546, 0, x_545); +lean_ctor_set(x_546, 1, x_543); +return x_546; +} +else +{ +lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +if (lean_is_scalar(x_513)) { + x_547 = lean_alloc_ctor(0, 2, 0); +} else { + x_547 = x_513; +} +lean_ctor_set(x_547, 0, x_530); +lean_ctor_set(x_547, 1, x_532); +x_548 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_510); +x_549 = lean_st_ref_set(x_5, x_548, x_506); +lean_dec(x_5); +x_550 = lean_ctor_get(x_549, 1); +lean_inc(x_550); +if (lean_is_exclusive(x_549)) { + lean_ctor_release(x_549, 0); + lean_ctor_release(x_549, 1); + x_551 = x_549; +} else { + lean_dec_ref(x_549); + x_551 = lean_box(0); +} +x_552 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_551)) { + x_553 = lean_alloc_ctor(0, 2, 0); +} else { + x_553 = x_551; +} +lean_ctor_set(x_553, 0, x_552); +lean_ctor_set(x_553, 1, x_550); +return x_553; +} +} +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; +x_554 = lean_box(0); +x_555 = lean_array_uset(x_512, x_526, x_554); +x_556 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_2, x_508, x_527); +x_557 = lean_array_uset(x_555, x_526, x_556); +if (lean_is_scalar(x_513)) { + x_558 = lean_alloc_ctor(0, 2, 0); +} else { + x_558 = x_513; +} +lean_ctor_set(x_558, 0, x_511); +lean_ctor_set(x_558, 1, x_557); +x_559 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_559, 0, x_558); +lean_ctor_set(x_559, 1, x_510); +x_560 = lean_st_ref_set(x_5, x_559, x_506); +lean_dec(x_5); +x_561 = lean_ctor_get(x_560, 1); +lean_inc(x_561); +if (lean_is_exclusive(x_560)) { + lean_ctor_release(x_560, 0); + lean_ctor_release(x_560, 1); + x_562 = x_560; +} else { + lean_dec_ref(x_560); + x_562 = lean_box(0); +} +x_563 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +if (lean_is_scalar(x_562)) { + x_564 = lean_alloc_ctor(0, 2, 0); +} else { + x_564 = x_562; +} +lean_ctor_set(x_564, 0, x_563); +lean_ctor_set(x_564, 1, x_561); +return x_564; +} +} +} +else +{ +uint8_t x_565; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_565 = !lean_is_exclusive(x_391); +if (x_565 == 0) +{ +return x_391; +} +else +{ +lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_566 = lean_ctor_get(x_391, 0); +x_567 = lean_ctor_get(x_391, 1); +lean_inc(x_567); +lean_inc(x_566); +lean_dec(x_391); +x_568 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_568, 0, x_566); +lean_ctor_set(x_568, 1, x_567); +return x_568; +} +} +} +} +} +else +{ +uint8_t x_569; +lean_dec(x_5); +lean_dec(x_2); +x_569 = !lean_is_exclusive(x_7); +if (x_569 == 0) { return x_7; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_7, 0); -x_86 = lean_ctor_get(x_7, 1); -lean_inc(x_86); -lean_inc(x_85); +lean_object* x_570; lean_object* x_571; lean_object* x_572; +x_570 = lean_ctor_get(x_7, 0); +x_571 = lean_ctor_get(x_7, 1); +lean_inc(x_571); +lean_inc(x_570); lean_dec(x_7); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +x_572 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_572, 0, x_570); +lean_ctor_set(x_572, 1, x_571); +return x_572; } } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_7 = lean_box(0); lean_inc(x_1); x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_7); x_9 = lean_array_mk(x_8); -x_10 = 0; -x_11 = l_Lean_instDecidableEqOLeanLevel(x_2, x_10); -if (x_11 == 0) -{ -uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = 1; +x_10 = 1; lean_inc(x_1); -x_13 = l_Lean_OLeanLevel_adjustFileName(x_1, x_12); -x_14 = l_System_FilePath_pathExists(x_13, x_6); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_unbox(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = l_Lean_OLeanLevel_adjustFileName(x_1, x_10); +x_12 = l_System_FilePath_pathExists(x_11, x_6); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_11); lean_dec(x_1); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_box(0); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_2, x_3, x_9, x_18, x_5, x_17); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_box(0); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(x_2, x_3, x_9, x_16, x_5, x_15); lean_dec(x_9); -return x_19; +return x_17; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_dec(x_14); -x_21 = lean_array_push(x_9, x_13); -x_22 = 2; -x_23 = l_Lean_instDecidableEqOLeanLevel(x_2, x_22); -if (x_23 == 0) +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +x_19 = lean_array_push(x_9, x_11); +x_20 = 2; +x_21 = l_Lean_OLeanLevel_adjustFileName(x_1, x_20); +x_22 = l_System_FilePath_pathExists(x_21, x_18); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; -lean_dec(x_1); -x_24 = lean_box(0); -x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_2, x_3, x_21, x_24, x_5, x_20); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_21); -return x_25; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_box(0); +x_27 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(x_2, x_3, x_19, x_26, x_5, x_25); +lean_dec(x_19); +return x_27; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l_Lean_OLeanLevel_adjustFileName(x_1, x_22); -x_27 = l_System_FilePath_pathExists(x_26, x_20); -x_28 = lean_ctor_get(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_22, 1); lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_26); -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_box(0); -x_32 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_2, x_3, x_21, x_31, x_5, x_30); -lean_dec(x_21); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_dec(x_27); -x_34 = lean_array_push(x_21, x_26); -x_35 = lean_box(0); -x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_2, x_3, x_34, x_35, x_5, x_33); -lean_dec(x_34); -return x_36; +lean_dec(x_22); +x_29 = lean_array_push(x_19, x_21); +x_30 = lean_box(0); +x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(x_2, x_3, x_29, x_30, x_5, x_28); +lean_dec(x_29); +return x_31; } } } } -else -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_1); -x_37 = lean_box(0); -x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_2, x_3, x_9, x_37, x_5, x_6); -lean_dec(x_9); -return x_38; -} -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -23348,7 +25122,7 @@ x_1 = lean_mk_string_unchecked("object file '", 13, 13); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -23356,7 +25130,7 @@ x_1 = lean_mk_string_unchecked("' of module ", 12, 12); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -23364,374 +25138,533 @@ x_1 = lean_mk_string_unchecked(" does not exist", 15, 15); return x_1; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_st_ref_take(x_4, x_5); +lean_object* x_6; +x_6 = l_Lean_findOLean(x_1, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +x_9 = l_System_FilePath_pathExists(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 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_7, 0); -lean_inc(x_1); -x_11 = l_Lean_NameHashSet_insert(x_10, x_1); -lean_ctor_set(x_7, 0, x_11); -x_12 = lean_st_ref_set(x_4, x_7, x_8); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_findOLean(x_1, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_System_FilePath_pathExists(x_15, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_unbox(x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -uint8_t x_20; +uint8_t x_12; lean_dec(x_4); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t 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; -x_21 = lean_ctor_get(x_17, 0); -lean_dec(x_21); -x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1; -x_23 = lean_string_append(x_22, x_15); -lean_dec(x_15); -x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2; -x_25 = lean_string_append(x_23, x_24); -x_26 = 1; -x_27 = l_Lean_instToStringImport___closed__1; -x_28 = l_Lean_Name_toString(x_1, x_26, x_27); -x_29 = lean_string_append(x_25, x_28); -lean_dec(x_28); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3; -x_31 = lean_string_append(x_29, x_30); -x_32 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_32); -return x_17; +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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1; +x_15 = lean_string_append(x_14, x_7); +lean_dec(x_7); +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2; +x_17 = lean_string_append(x_15, x_16); +x_18 = 1; +x_19 = l_Lean_instToStringImport___closed__1; +x_20 = l_Lean_Name_toString(x_1, x_18, x_19); +x_21 = lean_string_append(x_17, x_20); +lean_dec(x_20); +x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_24); +return x_9; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t 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; -x_33 = lean_ctor_get(x_17, 1); -lean_inc(x_33); -lean_dec(x_17); -x_34 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1; -x_35 = lean_string_append(x_34, x_15); -lean_dec(x_15); -x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2; -x_37 = lean_string_append(x_35, x_36); -x_38 = 1; -x_39 = l_Lean_instToStringImport___closed__1; -x_40 = l_Lean_Name_toString(x_1, x_38, x_39); -x_41 = lean_string_append(x_37, x_40); -lean_dec(x_40); -x_42 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3; -x_43 = lean_string_append(x_41, x_42); -x_44 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_33); -return x_45; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_dec(x_9); +x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1; +x_27 = lean_string_append(x_26, x_7); +lean_dec(x_7); +x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2; +x_29 = lean_string_append(x_27, x_28); +x_30 = 1; +x_31 = l_Lean_instToStringImport___closed__1; +x_32 = l_Lean_Name_toString(x_1, x_30, x_31); +x_33 = lean_string_append(x_29, x_32); +lean_dec(x_32); +x_34 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3; +x_35 = lean_string_append(x_33, x_34); +x_36 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_25); +return x_37; } } else { +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_9, 1); +lean_inc(x_38); +lean_dec(x_9); +x_39 = lean_box(0); +x_40 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__2(x_7, x_2, x_1, x_39, x_4, x_38); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_4); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_6); +if (x_41 == 0) +{ +return x_6; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_6, 0); +x_43 = lean_ctor_get(x_6, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_6); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_17; +x_17 = lean_usize_dec_lt(x_6, x_5); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_8); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_7); +lean_ctor_set(x_18, 1, x_9); +return x_18; +} +else +{ +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; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_7); +x_19 = lean_array_uget(x_4, x_6); +x_20 = lean_st_ref_get(x_8, x_9); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_array_get_size(x_24); +x_26 = l_Lean_Name_hash___override(x_19); +x_27 = 32; +x_28 = lean_uint64_shift_right(x_26, x_27); +x_29 = lean_uint64_xor(x_26, x_28); +x_30 = 16; +x_31 = lean_uint64_shift_right(x_29, x_30); +x_32 = lean_uint64_xor(x_29, x_31); +x_33 = lean_uint64_to_usize(x_32); +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = 1; +x_36 = lean_usize_sub(x_34, x_35); +x_37 = lean_usize_land(x_33, x_36); +x_38 = lean_array_uget(x_24, x_37); +lean_dec(x_24); +x_39 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7(x_19, x_38); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_box(0); +lean_inc(x_8); +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3(x_19, x_2, x_40, x_8, x_23); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +lean_dec(x_8); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_41, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +lean_dec(x_42); +lean_ctor_set(x_41, 0, x_45); +return x_41; +} +else +{ lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_17, 1); +x_46 = lean_ctor_get(x_41, 1); lean_inc(x_46); -lean_dec(x_17); -x_47 = lean_box(0); -x_48 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2(x_15, x_2, x_1, x_47, x_4, x_46); +lean_dec(x_41); +x_47 = lean_ctor_get(x_42, 0); +lean_inc(x_47); +lean_dec(x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); return x_48; } } else { -uint8_t x_49; -lean_dec(x_4); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_14); -if (x_49 == 0) -{ -return x_14; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_14, 0); -x_51 = lean_ctor_get(x_14, 1); -lean_inc(x_51); +lean_object* x_49; lean_object* x_50; size_t x_51; +x_49 = lean_ctor_get(x_41, 1); +lean_inc(x_49); +lean_dec(x_41); +x_50 = lean_ctor_get(x_42, 0); lean_inc(x_50); -lean_dec(x_14); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} +lean_dec(x_42); +x_51 = lean_usize_add(x_6, x_35); +x_6 = x_51; +x_7 = x_50; +x_9 = x_49; +goto _start; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_53 = lean_ctor_get(x_7, 0); -x_54 = lean_ctor_get(x_7, 1); -x_55 = lean_ctor_get(x_7, 2); -x_56 = lean_ctor_get(x_7, 3); -lean_inc(x_56); +uint8_t x_53; +lean_dec(x_8); +x_53 = !lean_is_exclusive(x_41); +if (x_53 == 0) +{ +return x_41; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 1); lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_7); -lean_inc(x_1); -x_57 = l_Lean_NameHashSet_insert(x_53, x_1); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_54); -lean_ctor_set(x_58, 2, x_55); -lean_ctor_set(x_58, 3, x_56); -x_59 = lean_st_ref_set(x_4, x_58, x_8); -x_60 = lean_ctor_get(x_59, 1); +lean_dec(x_41); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +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; uint8_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_57 = lean_ctor_get(x_39, 0); +lean_inc(x_57); +lean_dec(x_39); +x_58 = lean_st_ref_take(x_8, x_23); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -lean_dec(x_59); -x_61 = l_Lean_findOLean(x_1, x_60); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_62 = lean_ctor_get(x_61, 0); +lean_dec(x_58); +x_61 = lean_ctor_get(x_59, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_59, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_63 = x_59; +} else { + lean_dec_ref(x_59); + x_63 = lean_box(0); +} +x_64 = lean_ctor_get(x_57, 0); +lean_inc(x_64); +x_65 = lean_ctor_get_uint8(x_57, sizeof(void*)*2); +x_66 = lean_ctor_get(x_57, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_67 = x_57; +} else { + lean_dec_ref(x_57); + x_67 = lean_box(0); +} +if (x_65 == 0) +{ +x_68 = x_2; +goto block_144; +} +else +{ +uint8_t x_145; +x_145 = 1; +x_68 = x_145; +goto block_144; +} +block_144: +{ +lean_object* x_69; uint8_t x_70; +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 1); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_64); +lean_ctor_set(x_69, 1, x_66); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_68); +x_70 = !lean_is_exclusive(x_61); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; size_t x_74; size_t x_75; size_t x_76; lean_object* x_77; uint8_t x_78; +x_71 = lean_ctor_get(x_61, 0); +x_72 = lean_ctor_get(x_61, 1); +x_73 = lean_array_get_size(x_72); +x_74 = lean_usize_of_nat(x_73); +lean_dec(x_73); +x_75 = lean_usize_sub(x_74, x_35); +x_76 = lean_usize_land(x_33, x_75); +x_77 = lean_array_uget(x_72, x_76); +x_78 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_19, x_77); +if (x_78 == 0) +{ +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; uint8_t x_88; +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_71, x_79); +lean_dec(x_71); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_19); +lean_ctor_set(x_81, 1, x_69); +lean_ctor_set(x_81, 2, x_77); +x_82 = lean_array_uset(x_72, x_76, x_81); +x_83 = lean_unsigned_to_nat(4u); +x_84 = lean_nat_mul(x_80, x_83); +x_85 = lean_unsigned_to_nat(3u); +x_86 = lean_nat_div(x_84, x_85); +lean_dec(x_84); +x_87 = lean_array_get_size(x_82); +x_88 = lean_nat_dec_le(x_86, x_87); +lean_dec(x_87); +lean_dec(x_86); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_89 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_82); +lean_ctor_set(x_61, 1, x_89); +lean_ctor_set(x_61, 0, x_80); +if (lean_is_scalar(x_63)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_63; +} +lean_ctor_set(x_90, 0, x_61); +lean_ctor_set(x_90, 1, x_62); +x_91 = lean_st_ref_set(x_8, x_90, x_60); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +lean_dec(x_91); +x_93 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_93; +x_11 = x_92; +goto block_16; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_ctor_set(x_61, 1, x_82); +lean_ctor_set(x_61, 0, x_80); +if (lean_is_scalar(x_63)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_63; +} +lean_ctor_set(x_94, 0, x_61); +lean_ctor_set(x_94, 1, x_62); +x_95 = lean_st_ref_set(x_8, x_94, x_60); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_97; +x_11 = x_96; +goto block_16; +} +} +else +{ +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; +x_98 = lean_box(0); +x_99 = lean_array_uset(x_72, x_76, x_98); +x_100 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_19, x_69, x_77); +x_101 = lean_array_uset(x_99, x_76, x_100); +lean_ctor_set(x_61, 1, x_101); +if (lean_is_scalar(x_63)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_63; +} +lean_ctor_set(x_102, 0, x_61); +lean_ctor_set(x_102, 1, x_62); +x_103 = lean_st_ref_set(x_8, x_102, x_60); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_105; +x_11 = x_104; +goto block_16; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; size_t x_109; size_t x_110; size_t x_111; lean_object* x_112; uint8_t x_113; +x_106 = lean_ctor_get(x_61, 0); +x_107 = lean_ctor_get(x_61, 1); +lean_inc(x_107); +lean_inc(x_106); lean_dec(x_61); -x_64 = l_System_FilePath_pathExists(x_62, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_unbox(x_65); -lean_dec(x_65); -if (x_66 == 0) +x_108 = lean_array_get_size(x_107); +x_109 = lean_usize_of_nat(x_108); +lean_dec(x_108); +x_110 = lean_usize_sub(x_109, x_35); +x_111 = lean_usize_land(x_33, x_110); +x_112 = lean_array_uget(x_107, x_111); +x_113 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_19, x_112); +if (x_113 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t 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_dec(x_4); -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_68 = x_64; +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; uint8_t x_123; +x_114 = lean_unsigned_to_nat(1u); +x_115 = lean_nat_add(x_106, x_114); +lean_dec(x_106); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_19); +lean_ctor_set(x_116, 1, x_69); +lean_ctor_set(x_116, 2, x_112); +x_117 = lean_array_uset(x_107, x_111, x_116); +x_118 = lean_unsigned_to_nat(4u); +x_119 = lean_nat_mul(x_115, x_118); +x_120 = lean_unsigned_to_nat(3u); +x_121 = lean_nat_div(x_119, x_120); +lean_dec(x_119); +x_122 = lean_array_get_size(x_117); +x_123 = lean_nat_dec_le(x_121, x_122); +lean_dec(x_122); +lean_dec(x_121); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_124 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_importModulesCore___spec__3(x_117); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_115); +lean_ctor_set(x_125, 1, x_124); +if (lean_is_scalar(x_63)) { + x_126 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_64); - x_68 = lean_box(0); + x_126 = x_63; } -x_69 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1; -x_70 = lean_string_append(x_69, x_62); -lean_dec(x_62); -x_71 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2; -x_72 = lean_string_append(x_70, x_71); -x_73 = 1; -x_74 = l_Lean_instToStringImport___closed__1; -x_75 = l_Lean_Name_toString(x_1, x_73, x_74); -x_76 = lean_string_append(x_72, x_75); -lean_dec(x_75); -x_77 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3; -x_78 = lean_string_append(x_76, x_77); -x_79 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_79, 0, x_78); -if (lean_is_scalar(x_68)) { - x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_62); +x_127 = lean_st_ref_set(x_8, x_126, x_60); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_129; +x_11 = x_128; +goto block_16; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_117); +if (lean_is_scalar(x_63)) { + x_131 = lean_alloc_ctor(0, 2, 0); } else { - x_80 = x_68; - lean_ctor_set_tag(x_80, 1); + x_131 = x_63; } -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_67); -return x_80; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_64, 1); -lean_inc(x_81); -lean_dec(x_64); -x_82 = lean_box(0); -x_83 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2(x_62, x_2, x_1, x_82, x_4, x_81); -return x_83; +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_62); +x_132 = lean_st_ref_set(x_8, x_131, x_60); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_134; +x_11 = x_133; +goto block_16; } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_4); -lean_dec(x_1); -x_84 = lean_ctor_get(x_61, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_61, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_86 = x_61; +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_135 = lean_box(0); +x_136 = lean_array_uset(x_107, x_111, x_135); +x_137 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_importModulesCore___spec__6(x_19, x_69, x_112); +x_138 = lean_array_uset(x_136, x_111, x_137); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_106); +lean_ctor_set(x_139, 1, x_138); +if (lean_is_scalar(x_63)) { + x_140 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_61); - x_86 = lean_box(0); + x_140 = x_63; } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -return x_87; +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_62); +x_141 = lean_st_ref_set(x_8, x_140, x_60); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3; +x_10 = x_143; +x_11 = x_142; +goto block_16; } } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +} +block_16: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_6, x_5); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_7); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -lean_dec(x_7); -x_12 = lean_array_uget(x_4, x_6); -x_13 = lean_st_ref_get(x_8, x_9); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_NameHashSet_contains(x_16, x_12); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -lean_inc(x_8); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3(x_12, x_2, x_18, x_8, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -lean_dec(x_8); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 0); -lean_dec(x_22); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_19, 0, x_23); -return x_19; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(x_19); -x_25 = lean_ctor_get(x_20, 0); -lean_inc(x_25); -lean_dec(x_20); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_dec(x_19); -x_28 = lean_ctor_get(x_20, 0); -lean_inc(x_28); -lean_dec(x_20); -x_29 = 1; -x_30 = lean_usize_add(x_6, x_29); -x_6 = x_30; -x_7 = x_28; -x_9 = x_27; +lean_object* x_12; size_t x_13; size_t x_14; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = 1; +x_14 = lean_usize_add(x_6, x_13); +x_6 = x_14; +x_7 = x_12; +x_9 = x_11; goto _start; } } -else -{ -uint8_t x_32; -lean_dec(x_8); -x_32 = !lean_is_exclusive(x_19); -if (x_32 == 0) -{ -return x_19; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_19, 0); -x_34 = lean_ctor_get(x_19, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_19); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -size_t x_36; size_t x_37; lean_object* x_38; -lean_dec(x_12); -x_36 = 1; -x_37 = lean_usize_add(x_6, x_36); -x_38 = lean_box(0); -x_6 = x_37; -x_7 = x_38; -x_9 = x_15; -goto _start; -} -} -} } LEAN_EXPORT lean_object* l_Lean_importModulesCore(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -23741,7 +25674,7 @@ x_5 = lean_box(0); x_6 = lean_array_size(x_1); x_7 = 0; x_8 = lean_box(0); -x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2(x_1, x_2, x_5, x_1, x_6, x_7, x_8, x_3, x_4); +x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8(x_1, x_2, x_5, x_1, x_6, x_7, x_8, x_3, x_4); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -23790,41 +25723,62 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___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_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_importModulesCore___spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_1); lean_dec(x_1); -x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__2(x_1, x_7, x_3, x_4, x_5, x_6); +x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__2(x_1, x_7, x_3, x_4, x_5, x_6); lean_dec(x_4); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3(x_1, x_6, x_3, x_4, x_5); lean_dec(x_3); return x_7; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___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_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___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: { uint8_t x_10; size_t x_11; size_t x_12; lean_object* x_13; @@ -23834,7 +25788,7 @@ x_11 = lean_unbox_usize(x_5); lean_dec(x_5); x_12 = lean_unbox_usize(x_6); lean_dec(x_6); -x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2(x_1, x_10, x_3, x_4, x_11, x_12, x_7, x_8, x_9); +x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8(x_1, x_10, x_3, x_4, x_11, x_12, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -23966,7 +25920,162 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; size_t x_20; size_t x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_1, 0); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_11 = lean_ctor_get(x_8, 1); +x_12 = lean_array_get_size(x_11); +x_13 = l_Lean_Name_hash___override(x_7); +x_14 = 32; +x_15 = lean_uint64_shift_right(x_13, x_14); +x_16 = lean_uint64_xor(x_13, x_15); +x_17 = 16; +x_18 = lean_uint64_shift_right(x_16, x_17); +x_19 = lean_uint64_xor(x_16, x_18); +x_20 = lean_uint64_to_usize(x_19); +x_21 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_22 = lean_usize_sub(x_21, x_9); +x_23 = lean_usize_land(x_20, x_22); +x_24 = lean_array_uget(x_11, x_23); +x_25 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_importModulesCore___spec__7(x_7, x_24); +lean_dec(x_24); +lean_dec(x_7); +if (lean_obj_tag(x_25) == 0) +{ +x_3 = x_10; +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_array_push(x_5, x_27); +x_3 = x_10; +x_5 = x_28; +goto _start; +} +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_le(x_4, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_usize_of_nat(x_3); +x_11 = lean_usize_of_nat(x_4); +x_12 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2(x_1, x_2, x_10, x_11, x_12); +return x_13; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("missing data file for module ", 29, 29); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_2, x_1); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_array_uget(x_3, x_2); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_3, x_2, x_8); +x_10 = l___private_Lean_Environment_0__Lean_ImportedModule_mainModule_x3f(x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; uint8_t 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_dec(x_9); +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = 1; +x_13 = l_Lean_instToStringImport___closed__1; +x_14 = l_Lean_Name_toString(x_11, x_12, x_13); +x_15 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__3; +x_18 = lean_string_append(x_16, x_17); +x_19 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; +} +else +{ +lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +lean_dec(x_7); +x_21 = lean_ctor_get(x_10, 0); +lean_inc(x_21); +lean_dec(x_10); +x_22 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_9, x_2, x_21); +x_2 = x_23; +x_3 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -23995,7 +26104,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__4(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__7(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -24069,7 +26178,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -24088,7 +26197,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj x_6 = lean_array_fget(x_2, x_1); x_7 = lean_box(0); x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__4(x_3, x_6); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_finalizeImport___spec__7(x_3, x_6); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_1, x_10); lean_dec(x_1); @@ -24099,7 +26208,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(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; @@ -24110,11 +26219,11 @@ lean_dec(x_2); x_5 = lean_box(0); x_6 = lean_mk_array(x_4, x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__3(x_7, x_1, x_6); +x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_finalizeImport___spec__6(x_7, x_1, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___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: { uint8_t x_8; @@ -24139,7 +26248,7 @@ x_21 = 1; x_22 = lean_usize_sub(x_20, x_21); x_23 = lean_usize_land(x_19, x_22); x_24 = lean_array_uget(x_10, x_23); -x_25 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_1, x_24); +x_25 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_1, x_24); if (x_25 == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; @@ -24163,7 +26272,7 @@ lean_dec(x_33); if (x_35 == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(x_29); +x_36 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(x_29); lean_ctor_set(x_4, 1, x_36); lean_ctor_set(x_4, 0, x_27); x_37 = lean_alloc_ctor(0, 2, 0); @@ -24241,7 +26350,7 @@ x_61 = 1; x_62 = lean_usize_sub(x_60, x_61); x_63 = lean_usize_land(x_59, x_62); x_64 = lean_array_uget(x_50, x_63); -x_65 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_1, x_64); +x_65 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_1, x_64); if (x_65 == 0) { 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; uint8_t x_75; @@ -24265,7 +26374,7 @@ lean_dec(x_73); if (x_75 == 0) { lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(x_69); +x_76 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(x_69); x_77 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_77, 0, x_67); lean_ctor_set(x_77, 1, x_76); @@ -24327,7 +26436,7 @@ return x_91; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -24588,7 +26697,7 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean lean_dec(x_28); x_33 = lean_box(0); lean_inc(x_2); -x_34 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_16, x_17, x_32, x_33, x_9); +x_34 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_16, x_17, x_32, x_33, x_9); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -24644,7 +26753,7 @@ else 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_48 = lean_box(0); lean_inc(x_2); -x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_16, x_17, x_32, x_48, x_9); +x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_16, x_17, x_32, x_48, x_9); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); @@ -24793,7 +26902,7 @@ lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_dec(x_123); x_129 = lean_box(0); lean_inc(x_2); -x_130 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_126, x_17, x_128, x_129, x_9); +x_130 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_126, x_17, x_128, x_129, x_9); x_131 = lean_ctor_get(x_130, 0); lean_inc(x_131); x_132 = lean_ctor_get(x_130, 1); @@ -24851,7 +26960,7 @@ else lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; size_t x_149; size_t x_150; x_144 = lean_box(0); lean_inc(x_2); -x_145 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_126, x_17, x_128, x_144, x_9); +x_145 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_126, x_17, x_128, x_144, x_9); x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); x_147 = lean_ctor_get(x_145, 1); @@ -25048,7 +27157,7 @@ lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_dec(x_198); x_204 = lean_box(0); lean_inc(x_2); -x_205 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_201, x_189, x_203, x_204, x_9); +x_205 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_201, x_189, x_203, x_204, x_9); x_206 = lean_ctor_get(x_205, 0); lean_inc(x_206); x_207 = lean_ctor_get(x_205, 1); @@ -25106,7 +27215,7 @@ else lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; size_t x_224; size_t x_225; x_219 = lean_box(0); lean_inc(x_2); -x_220 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_201, x_189, x_203, x_219, x_9); +x_220 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_201, x_189, x_203, x_219, x_9); x_221 = lean_ctor_get(x_220, 0); lean_inc(x_221); x_222 = lean_ctor_get(x_220, 1); @@ -25320,7 +27429,7 @@ lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_dec(x_276); x_282 = lean_box(0); lean_inc(x_2); -x_283 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_279, x_265, x_281, x_282, x_9); +x_283 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_279, x_265, x_281, x_282, x_9); x_284 = lean_ctor_get(x_283, 0); lean_inc(x_284); x_285 = lean_ctor_get(x_283, 1); @@ -25378,7 +27487,7 @@ else lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; size_t x_302; size_t x_303; x_297 = lean_box(0); lean_inc(x_2); -x_298 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_12, x_2, x_279, x_265, x_281, x_297, x_9); +x_298 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_12, x_2, x_279, x_265, x_281, x_297, x_9); x_299 = lean_ctor_get(x_298, 0); lean_inc(x_299); x_300 = lean_ctor_get(x_298, 1); @@ -25401,7 +27510,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -25440,7 +27549,7 @@ x_25 = 1; x_26 = lean_usize_sub(x_24, x_25); x_27 = lean_usize_land(x_23, x_26); x_28 = lean_array_uget(x_14, x_27); -x_29 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_11, x_28); +x_29 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_11, x_28); if (x_29 == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; @@ -25465,7 +27574,7 @@ lean_dec(x_37); if (x_39 == 0) { lean_object* x_40; size_t x_41; -x_40 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(x_33); +x_40 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(x_33); lean_ctor_set(x_7, 1, x_40); lean_ctor_set(x_7, 0, x_31); x_41 = lean_usize_add(x_6, x_25); @@ -25515,7 +27624,7 @@ x_59 = 1; x_60 = lean_usize_sub(x_58, x_59); x_61 = lean_usize_land(x_57, x_60); x_62 = lean_array_uget(x_48, x_61); -x_63 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_11, x_62); +x_63 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_11, x_62); if (x_63 == 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; lean_object* x_72; uint8_t x_73; @@ -25540,7 +27649,7 @@ lean_dec(x_71); if (x_73 == 0) { lean_object* x_74; lean_object* x_75; size_t x_76; -x_74 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__2(x_67); +x_74 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_finalizeImport___spec__5(x_67); x_75 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_75, 0, x_65); lean_ctor_set(x_75, 1, x_74); @@ -25578,45 +27687,44 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7(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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10(lean_object* 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) { _start: { -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_3, 1); -x_10 = lean_nat_dec_lt(x_5, x_9); -if (x_10 == 0) +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_4, 1); +x_11 = lean_nat_dec_lt(x_6, x_10); +if (x_11 == 0) { -lean_object* x_11; -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_8); -return x_11; +lean_object* x_12; +lean_dec(x_6); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_9); +return x_12; } else { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_4); -if (x_12 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_5); +if (x_13 == 0) { -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; size_t x_21; size_t x_22; lean_object* x_23; -x_13 = lean_array_fget(x_2, x_5); -x_14 = lean_ctor_get(x_13, 2); -lean_inc(x_14); -x_15 = lean_array_get_size(x_14); -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Array_toSubarray___rarg(x_14, x_16, x_15); -x_18 = lean_box(0); -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_4); -x_21 = lean_array_size(x_19); -x_22 = 0; -lean_inc(x_5); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5(x_1, x_5, x_18, x_19, x_19, x_21, x_22, x_20, x_8); -lean_dec(x_19); +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; size_t x_22; lean_object* x_23; +x_14 = lean_array_fget(x_3, x_6); +x_15 = lean_ctor_get(x_14, 2); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Array_toSubarray___rarg(x_15, x_17, x_16); +x_19 = lean_box(0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_5); +x_22 = lean_array_size(x_20); +lean_inc(x_6); +x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8(x_1, x_6, x_19, x_20, x_20, x_22, x_2, x_21, x_9); +lean_dec(x_20); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -25633,12 +27741,12 @@ if (x_27 == 0) { lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_28 = lean_ctor_get(x_25, 0); -x_29 = lean_ctor_get(x_13, 3); +x_29 = lean_ctor_get(x_14, 3); lean_inc(x_29); -lean_dec(x_13); +lean_dec(x_14); x_30 = lean_array_size(x_29); -lean_inc(x_5); -x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(x_5, x_18, x_29, x_29, x_30, x_22, x_28, x_26); +lean_inc(x_6); +x_31 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(x_6, x_19, x_29, x_29, x_30, x_2, x_28, x_26); lean_dec(x_29); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); @@ -25646,14 +27754,14 @@ x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); lean_ctor_set(x_25, 0, x_32); -x_34 = lean_ctor_get(x_3, 2); -x_35 = lean_nat_add(x_5, x_34); -lean_dec(x_5); -x_4 = x_25; -x_5 = x_35; -x_6 = lean_box(0); +x_34 = lean_ctor_get(x_4, 2); +x_35 = lean_nat_add(x_6, x_34); +lean_dec(x_6); +x_5 = x_25; +x_6 = x_35; x_7 = lean_box(0); -x_8 = x_33; +x_8 = lean_box(0); +x_9 = x_33; goto _start; } else @@ -25664,12 +27772,12 @@ x_38 = lean_ctor_get(x_25, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_25); -x_39 = lean_ctor_get(x_13, 3); +x_39 = lean_ctor_get(x_14, 3); lean_inc(x_39); -lean_dec(x_13); +lean_dec(x_14); x_40 = lean_array_size(x_39); -lean_inc(x_5); -x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(x_5, x_18, x_39, x_39, x_40, x_22, x_37, x_26); +lean_inc(x_6); +x_41 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(x_6, x_19, x_39, x_39, x_40, x_2, x_37, x_26); lean_dec(x_39); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); @@ -25679,22 +27787,22 @@ lean_dec(x_41); x_44 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_38); -x_45 = lean_ctor_get(x_3, 2); -x_46 = lean_nat_add(x_5, x_45); -lean_dec(x_5); -x_4 = x_44; -x_5 = x_46; -x_6 = lean_box(0); +x_45 = lean_ctor_get(x_4, 2); +x_46 = lean_nat_add(x_6, x_45); +lean_dec(x_6); +x_5 = x_44; +x_6 = x_46; x_7 = lean_box(0); -x_8 = x_43; +x_8 = lean_box(0); +x_9 = x_43; goto _start; } } else { uint8_t x_48; -lean_dec(x_13); -lean_dec(x_5); +lean_dec(x_14); +lean_dec(x_6); x_48 = !lean_is_exclusive(x_23); if (x_48 == 0) { @@ -25717,13 +27825,13 @@ return x_51; } else { -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; size_t x_63; size_t x_64; lean_object* x_65; -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_4, 1); +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; size_t x_63; lean_object* x_64; +x_52 = lean_ctor_get(x_5, 0); +x_53 = lean_ctor_get(x_5, 1); lean_inc(x_53); lean_inc(x_52); -lean_dec(x_4); -x_54 = lean_array_fget(x_2, x_5); +lean_dec(x_5); +x_54 = lean_array_fget(x_3, x_6); x_55 = lean_ctor_get(x_54, 2); lean_inc(x_55); x_56 = lean_array_get_size(x_55); @@ -25739,93 +27847,92 @@ x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_58); lean_ctor_set(x_62, 1, x_61); x_63 = lean_array_size(x_60); -x_64 = 0; -lean_inc(x_5); -x_65 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5(x_1, x_5, x_59, x_60, x_60, x_63, x_64, x_62, x_8); +lean_inc(x_6); +x_64 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8(x_1, x_6, x_59, x_60, x_60, x_63, x_2, x_62, x_9); lean_dec(x_60); -if (lean_obj_tag(x_65) == 0) +if (lean_obj_tag(x_64) == 0) { -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; size_t 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_66 = lean_ctor_get(x_65, 0); +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; size_t 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; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); lean_dec(x_65); -x_69 = lean_ctor_get(x_67, 0); +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_66, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_71 = x_67; +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_70 = x_66; } else { - lean_dec_ref(x_67); - x_71 = lean_box(0); + lean_dec_ref(x_66); + x_70 = lean_box(0); } -x_72 = lean_ctor_get(x_54, 3); -lean_inc(x_72); +x_71 = lean_ctor_get(x_54, 3); +lean_inc(x_71); lean_dec(x_54); -x_73 = lean_array_size(x_72); -lean_inc(x_5); -x_74 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(x_5, x_59, x_72, x_72, x_73, x_64, x_69, x_68); -lean_dec(x_72); -x_75 = lean_ctor_get(x_74, 0); +x_72 = lean_array_size(x_71); +lean_inc(x_6); +x_73 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(x_6, x_59, x_71, x_71, x_72, x_2, x_68, x_67); +lean_dec(x_71); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -if (lean_is_scalar(x_71)) { - x_77 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_73); +if (lean_is_scalar(x_70)) { + x_76 = lean_alloc_ctor(0, 2, 0); } else { - x_77 = x_71; + x_76 = x_70; } -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_70); -x_78 = lean_ctor_get(x_3, 2); -x_79 = lean_nat_add(x_5, x_78); -lean_dec(x_5); -x_4 = x_77; -x_5 = x_79; -x_6 = lean_box(0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_69); +x_77 = lean_ctor_get(x_4, 2); +x_78 = lean_nat_add(x_6, x_77); +lean_dec(x_6); +x_5 = x_76; +x_6 = x_78; x_7 = lean_box(0); -x_8 = x_76; +x_8 = lean_box(0); +x_9 = x_75; goto _start; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_dec(x_54); -lean_dec(x_5); -x_81 = lean_ctor_get(x_65, 0); +lean_dec(x_6); +x_80 = lean_ctor_get(x_64, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_64, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_65, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_83 = x_65; +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_82 = x_64; } else { - lean_dec_ref(x_65); - x_83 = lean_box(0); + lean_dec_ref(x_64); + x_82 = lean_box(0); } -if (lean_is_scalar(x_83)) { - x_84 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); } else { - x_84 = x_83; + x_83 = x_82; } -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_82); -return x_84; +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -25852,58 +27959,33 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(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_eq(x_2, x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_dec_lt(x_8, x_7); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -if (x_9 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_7); -lean_dec(x_7); -if (x_13 == 0) -{ +x_7 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_6); lean_dec(x_6); -x_2 = x_11; +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +if (lean_obj_tag(x_7) == 0) +{ +x_2 = x_9; goto _start; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_array_fget(x_6, x_12); -lean_dec(x_6); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_array_push(x_4, x_16); -x_2 = x_11; -x_4 = x_17; -goto _start; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); lean_dec(x_7); -x_19 = lean_array_fget(x_6, x_8); -lean_dec(x_6); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_array_push(x_4, x_20); -x_2 = x_11; -x_4 = x_21; +x_12 = lean_array_push(x_4, x_11); +x_2 = x_9; +x_4 = x_12; goto _start; } } @@ -25913,7 +27995,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -25942,39 +28024,41 @@ size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_usize_of_nat(x_2); x_10 = lean_usize_of_nat(x_3); x_11 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; -x_12 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10(x_1, x_9, x_10, x_11); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_1, x_9, x_10, x_11); return x_12; } } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(size_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) { -lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_array_size(x_6); -x_8 = 0; -x_9 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8(x_7, x_8, x_6); -x_10 = l_Array_append___rarg(x_4, x_9); -lean_dec(x_9); -x_11 = 1; -x_12 = lean_usize_add(x_2, x_11); -x_2 = x_12; -x_4 = x_10; +lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_array_size(x_8); +x_10 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11(x_9, x_1, x_8); +x_11 = l_Array_append___rarg(x_5, x_10); +lean_dec(x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_3 = x_13; +x_5 = x_11; goto _start; } else { -return x_4; +return x_5; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -26180,275 +28264,256 @@ return x_27; LEAN_EXPORT lean_object* l_Lean_finalizeImport(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint32_t x_4, uint8_t x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_9 = lean_ctor_get(x_1, 2); -lean_inc(x_9); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_1, 1); x_10 = lean_array_get_size(x_9); x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_nat_dec_lt(x_11, x_10); -x_13 = lean_box(0); -x_14 = lean_unsigned_to_nat(1u); -lean_inc(x_10); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 2, x_14); -if (x_12 == 0) -{ +x_12 = l_Array_filterMapM___at_Lean_finalizeImport___spec__1(x_1, x_9, x_11, x_10); lean_dec(x_10); -x_16 = x_11; -goto block_86; -} -else +x_13 = lean_array_size(x_12); +x_14 = 0; +lean_inc(x_12); +x_15 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3(x_13, x_14, x_12, x_8); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_87; -x_87 = lean_nat_dec_le(x_10, x_10); -if (x_87 == 0) -{ -lean_dec(x_10); -x_16 = x_11; -goto block_86; -} -else -{ -size_t x_88; size_t x_89; lean_object* x_90; -x_88 = 0; -x_89 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_90 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12(x_9, x_88, x_89, x_11); -x_16 = x_90; -goto block_86; -} -} -block_86: -{ -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_17 = lean_unsigned_to_nat(4u); -x_18 = lean_nat_mul(x_16, x_17); -lean_dec(x_16); -x_19 = lean_unsigned_to_nat(3u); -x_20 = lean_nat_div(x_18, x_19); -lean_dec(x_18); -x_21 = l_Nat_nextPowerOfTwo_go(x_20, x_14, lean_box(0)); -lean_dec(x_20); -x_22 = lean_mk_array(x_21, x_13); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_11); -lean_ctor_set(x_23, 1, x_22); -lean_inc(x_23); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7(x_1, x_9, x_15, x_24, x_11, lean_box(0), lean_box(0), x_8); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); lean_dec(x_15); -if (lean_obj_tag(x_25) == 0) +x_18 = lean_array_get_size(x_16); +x_19 = lean_nat_dec_lt(x_11, x_18); +x_20 = lean_box(0); +x_21 = lean_unsigned_to_nat(1u); +lean_inc(x_18); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_21); +if (x_19 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -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_18); +x_23 = x_11; +goto block_90; +} +else +{ +uint8_t x_91; +x_91 = lean_nat_dec_le(x_18, x_18); +if (x_91 == 0) +{ +lean_dec(x_18); +x_23 = x_11; +goto block_90; +} +else +{ +size_t x_92; lean_object* x_93; +x_92 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_93 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(x_16, x_14, x_92, x_11); +x_23 = x_93; +goto block_90; +} +} +block_90: +{ +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; +x_24 = lean_unsigned_to_nat(4u); +x_25 = lean_nat_mul(x_23, x_24); +lean_dec(x_23); +x_26 = lean_unsigned_to_nat(3u); +x_27 = lean_nat_div(x_25, x_26); lean_dec(x_25); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = 0; -x_31 = l_Lean_Kernel_instInhabitedDiagnostics___closed__2; -x_32 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*2, x_30); -x_33 = l_Lean_EnvExtension_mkInitialExtStates(x_27); -if (lean_obj_tag(x_33) == 0) +x_28 = l_Nat_nextPowerOfTwo_go(x_27, x_21, lean_box(0)); +lean_dec(x_27); +x_29 = lean_mk_array(x_28, x_20); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_11); +lean_ctor_set(x_30, 1, x_29); +lean_inc(x_30); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10(x_1, x_14, x_16, x_22, x_31, x_11, lean_box(0), lean_box(0), x_17); +lean_dec(x_22); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 0); lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); lean_dec(x_33); -x_36 = l_Array_isEmpty___rarg(x_2); -x_37 = lean_ctor_get(x_1, 3); -lean_inc(x_37); -x_38 = lean_array_get_size(x_37); -x_39 = lean_nat_dec_lt(x_11, x_38); -x_40 = lean_ctor_get(x_1, 1); -lean_inc(x_40); -lean_dec(x_1); -x_41 = lean_box(0); -x_42 = lean_box(0); -lean_inc(x_9); -x_43 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_34, x_9, x_11, x_35); -if (x_36 == 0) +x_37 = 0; +x_38 = l_Lean_Kernel_instInhabitedDiagnostics___closed__2; +x_39 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set_uint8(x_39, sizeof(void*)*2, x_37); +x_40 = l_Lean_EnvExtension_mkInitialExtStates(x_34); +if (lean_obj_tag(x_40) == 0) { -uint8_t x_77; -x_77 = 1; -x_44 = x_77; -goto block_76; +lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Array_isEmpty___rarg(x_2); +x_44 = lean_array_get_size(x_12); +x_45 = lean_nat_dec_lt(x_11, x_44); +x_46 = lean_box(0); +x_47 = lean_box(0); +lean_inc(x_16); +x_48 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_41, x_16, x_11, x_42); +if (x_43 == 0) +{ +uint8_t x_81; +x_81 = 1; +x_49 = x_81; +goto block_80; } else { -x_44 = x_30; -goto block_76; +x_49 = x_37; +goto block_80; } -block_76: +block_80: { -lean_object* x_45; -if (x_39 == 0) +lean_object* x_50; +if (x_45 == 0) { -lean_object* x_69; -x_69 = l_Lean_instInhabitedModuleData___closed__1; -x_45 = x_69; -goto block_68; -} -else -{ -uint8_t x_70; -x_70 = lean_nat_dec_le(x_38, x_38); -if (x_70 == 0) -{ -lean_object* x_71; -x_71 = l_Lean_instInhabitedModuleData___closed__1; -x_45 = x_71; -goto block_68; -} -else -{ -size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; -x_72 = 0; -x_73 = lean_usize_of_nat(x_38); +lean_object* x_74; x_74 = l_Lean_instInhabitedModuleData___closed__1; -x_75 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11(x_37, x_72, x_73, x_74); -x_45 = x_75; -goto block_68; +x_50 = x_74; +goto block_73; } -} -block_68: +else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_46 = lean_ctor_get(x_43, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(0); -lean_inc(x_9); -x_49 = lean_alloc_ctor(0, 5, 5); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_2); -lean_ctor_set(x_49, 2, x_45); -lean_ctor_set(x_49, 3, x_40); -lean_ctor_set(x_49, 4, x_9); -lean_ctor_set_uint32(x_49, sizeof(void*)*5, x_4); -lean_ctor_set_uint8(x_49, sizeof(void*)*5 + 4, x_7); -x_50 = l_Lean_Kernel_instInhabitedDiagnostics___closed__3; -x_51 = l_Lean_NameSet_empty; -lean_inc(x_46); -x_52 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_52, 0, x_32); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_52, 2, x_28); -lean_ctor_set(x_52, 3, x_46); -lean_ctor_set(x_52, 4, x_51); -lean_ctor_set(x_52, 5, x_49); -lean_ctor_set_uint8(x_52, sizeof(void*)*6, x_44); -x_53 = l_Array_filterMapM___at_Lean_finalizeImport___spec__9(x_37, x_11, x_38); -lean_dec(x_38); -lean_dec(x_37); -x_54 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_46, x_53, x_11, x_47); -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); +uint8_t x_75; +x_75 = lean_nat_dec_le(x_44, x_44); +if (x_75 == 0) +{ +lean_object* x_76; +x_76 = l_Lean_instInhabitedModuleData___closed__1; +x_50 = x_76; +goto block_73; +} +else +{ +size_t x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_usize_of_nat(x_44); +x_78 = l_Lean_instInhabitedModuleData___closed__1; +x_79 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(x_14, x_12, x_14, x_77, x_78); +x_50 = x_79; +goto block_73; +} +} +block_73: +{ +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; +x_51 = lean_ctor_get(x_48, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_48, 1); lean_inc(x_52); -x_57 = lean_task_pure(x_52); -x_58 = l_Lean_instInhabitedAsyncConsts___closed__2; -x_59 = l_Lean_Environment_ofKernelEnv___closed__1; -x_60 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_60, 0, x_52); -lean_ctor_set(x_60, 1, x_55); -lean_ctor_set(x_60, 2, x_57); -lean_ctor_set(x_60, 3, x_58); -lean_ctor_set(x_60, 4, x_42); -lean_ctor_set(x_60, 5, x_42); -lean_ctor_set(x_60, 6, x_41); -lean_ctor_set(x_60, 7, x_59); -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_30); +lean_dec(x_48); +x_53 = lean_box(0); +lean_inc(x_16); +lean_inc(x_9); +x_54 = lean_alloc_ctor(0, 5, 5); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_2); +lean_ctor_set(x_54, 2, x_50); +lean_ctor_set(x_54, 3, x_9); +lean_ctor_set(x_54, 4, x_16); +lean_ctor_set_uint32(x_54, sizeof(void*)*5, x_4); +lean_ctor_set_uint8(x_54, sizeof(void*)*5 + 4, x_7); +x_55 = l_Lean_Kernel_instInhabitedDiagnostics___closed__3; +x_56 = l_Lean_NameSet_empty; +lean_inc(x_51); +x_57 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_57, 0, x_39); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_57, 2, x_35); +lean_ctor_set(x_57, 3, x_51); +lean_ctor_set(x_57, 4, x_56); +lean_ctor_set(x_57, 5, x_54); +lean_ctor_set_uint8(x_57, sizeof(void*)*6, x_49); +x_58 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_12, x_11, x_44); +lean_dec(x_44); +lean_dec(x_12); +x_59 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_51, x_58, x_11, x_52); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +lean_inc(x_57); +x_62 = lean_task_pure(x_57); +x_63 = l_Lean_instInhabitedAsyncConsts___closed__2; +x_64 = l_Lean_Environment_ofKernelEnv___closed__1; +x_65 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_65, 0, x_57); +lean_ctor_set(x_65, 1, x_60); +lean_ctor_set(x_65, 2, x_62); +lean_ctor_set(x_65, 3, x_63); +lean_ctor_set(x_65, 4, x_47); +lean_ctor_set(x_65, 5, x_47); +lean_ctor_set(x_65, 6, x_46); +lean_ctor_set(x_65, 7, x_64); +lean_ctor_set_uint8(x_65, sizeof(void*)*8, x_37); if (x_5 == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = lean_box(0); -x_62 = l_Lean_finalizeImport___lambda__2(x_41, x_3, x_6, x_9, x_5, x_60, x_61, x_56); -return x_62; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_63 = lean_runtime_mark_persistent(x_60, x_56); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); +lean_object* x_66; lean_object* x_67; x_66 = lean_box(0); -x_67 = l_Lean_finalizeImport___lambda__2(x_41, x_3, x_6, x_9, x_5, x_64, x_66, x_65); +x_67 = l_Lean_finalizeImport___lambda__2(x_46, x_3, x_6, x_16, x_5, x_65, x_66, x_61); return x_67; } -} -} -} else { -uint8_t x_78; -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_78 = !lean_is_exclusive(x_33); -if (x_78 == 0) -{ -return x_33; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_runtime_mark_persistent(x_65, x_61); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_box(0); +x_72 = l_Lean_finalizeImport___lambda__2(x_46, x_3, x_6, x_16, x_5, x_69, x_71, x_70); +return x_72; } -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_33, 0); -x_80 = lean_ctor_get(x_33, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_33); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; } } } else { uint8_t x_82; -lean_dec(x_9); +lean_dec(x_39); +lean_dec(x_35); +lean_dec(x_16); +lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_25); +x_82 = !lean_is_exclusive(x_40); if (x_82 == 0) { -return x_25; +return x_40; } else { lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_25, 0); -x_84 = lean_ctor_get(x_25, 1); +x_83 = lean_ctor_get(x_40, 0); +x_84 = lean_ctor_get(x_40, 1); lean_inc(x_84); lean_inc(x_83); -lean_dec(x_25); +lean_dec(x_40); x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -26456,29 +28521,120 @@ return x_85; } } } +else +{ +uint8_t x_86; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_3); +lean_dec(x_2); +x_86 = !lean_is_exclusive(x_32); +if (x_86 == 0) +{ +return x_32; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_32, 0); +x_88 = lean_ctor_get(x_32, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_32); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +} +else +{ +uint8_t x_94; +lean_dec(x_12); +lean_dec(x_3); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_15); +if (x_94 == 0) +{ +return x_15; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_15, 0); +x_96 = lean_ctor_get(x_15, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_15); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__2(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_filterMapM___at_Lean_finalizeImport___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___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_1); +lean_dec(x_1); +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_1, x_2); +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___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) { _start: { lean_object* x_8; -x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8___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: { size_t x_10; size_t x_11; lean_object* x_12; @@ -26486,7 +28642,7 @@ x_10 = lean_unbox_usize(x_6); lean_dec(x_6); x_11 = lean_unbox_usize(x_7); lean_dec(x_7); -x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__5(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__8(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -26494,7 +28650,7 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -26502,25 +28658,27 @@ x_9 = lean_unbox_usize(x_5); lean_dec(x_5); x_10 = lean_unbox_usize(x_6); lean_dec(x_6); -x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__6(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_finalizeImport___spec__9(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7___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_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10___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_9; -x_9 = l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); +size_t x_10; lean_object* x_11; +x_10 = lean_unbox_usize(x_2); lean_dec(x_2); +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_finalizeImport___spec__10(x_1, x_10, 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_1); -return x_9; +return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -26528,11 +28686,11 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__8(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___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; @@ -26540,36 +28698,38 @@ 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_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__10(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_filterMapM___at_Lean_finalizeImport___spec__9(x_1, x_2, x_3); +x_4 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _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_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__11(x_1, x_5, x_6, x_4); +size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; +x_6 = lean_unbox_usize(x_1); lean_dec(x_1); -return x_7; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(x_6, x_2, x_7, x_8, x_5); +lean_dec(x_2); +return x_9; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15___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; @@ -26577,7 +28737,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_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__12(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } @@ -26617,6 +28777,7 @@ lean_dec(x_6); x_12 = lean_unbox(x_7); lean_dec(x_7); x_13 = l_Lean_finalizeImport(x_1, x_2, x_3, x_9, x_10, x_11, x_12, x_8); +lean_dec(x_1); return x_13; } } @@ -26744,85 +28905,85 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkEmptyEnvironment___lambda__1___closed__3; x_2 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1; -x_3 = lean_alloc_ctor(0, 4, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_2); -lean_ctor_set(x_3, 3, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_importModules___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint32_t x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_importModules___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint32_t x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Lean_importModules___lambda__1___closed__1; -x_10 = lean_st_mk_ref(x_9, x_8); -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); -lean_inc(x_11); -x_13 = l_Lean_importModulesCore(x_1, x_2, x_11, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 1); +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; +x_9 = 2; +x_10 = l_Lean_instDecidableEqOLeanLevel(x_1, x_9); +x_11 = l_Lean_importModules___lambda__1___closed__1; +x_12 = lean_st_mk_ref(x_11, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_11, x_14); -lean_dec(x_11); -x_16 = lean_box(x_2); -if (lean_obj_tag(x_16) == 2) +lean_dec(x_12); +lean_inc(x_13); +x_15 = l_Lean_importModulesCore(x_2, x_10, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_13, x_16); +lean_dec(x_13); +if (x_10 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_15); -x_19 = 0; -x_20 = l_Lean_finalizeImport(x_17, x_1, x_3, x_4, x_5, x_6, x_19, x_18); -return x_20; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = l_Lean_finalizeImport(x_18, x_2, x_3, x_4, x_5, x_6, x_20, x_19); +lean_dec(x_18); +return x_21; } else { -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -lean_dec(x_16); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_15, 1); +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_17, 0); lean_inc(x_22); -lean_dec(x_15); -x_23 = 1; -x_24 = l_Lean_finalizeImport(x_21, x_1, x_3, x_4, x_5, x_6, x_23, x_22); -return x_24; +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +x_24 = 0; +x_25 = l_Lean_finalizeImport(x_22, x_2, x_3, x_4, x_5, x_6, x_24, x_23); +lean_dec(x_22); +return x_25; } } else { -uint8_t x_25; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_13); -if (x_25 == 0) -{ -return x_13; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_13, 0); -x_27 = lean_ctor_get(x_13, 1); -lean_inc(x_27); -lean_inc(x_26); +uint8_t x_26; lean_dec(x_13); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_15); +if (x_26 == 0) +{ +return x_15; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_15, 0); +x_28 = lean_ctor_get(x_15, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_15); +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; } } } @@ -26837,20 +28998,20 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint32_t x_5, uint8_t x_6, uint8_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint32_t x_5, uint8_t x_6, uint8_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_11 = lean_array_get_size(x_1); x_12 = lean_unsigned_to_nat(0u); x_13 = lean_nat_dec_lt(x_12, x_11); -x_14 = lean_box(x_3); +x_14 = lean_box(x_2); x_15 = lean_box_uint32(x_5); x_16 = lean_box(x_6); x_17 = lean_box(x_7); x_18 = lean_alloc_closure((void*)(l_Lean_importModules___lambda__1___boxed), 8, 6); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_14); +lean_closure_set(x_18, 0, x_14); +lean_closure_set(x_18, 1, x_3); lean_closure_set(x_18, 2, x_4); lean_closure_set(x_18, 3, x_15); lean_closure_set(x_18, 4, x_16); @@ -26947,8 +29108,8 @@ x_19 = l_Lean_importModules___boxed__const__1; lean_inc(x_2); x_20 = lean_alloc_closure((void*)(l_Lean_importModules___lambda__2___boxed), 10, 8); lean_closure_set(x_20, 0, x_4); -lean_closure_set(x_20, 1, x_1); -lean_closure_set(x_20, 2, x_15); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); lean_closure_set(x_20, 3, x_2); lean_closure_set(x_20, 4, x_16); lean_closure_set(x_20, 5, x_17); @@ -26996,15 +29157,15 @@ LEAN_EXPORT lean_object* l_Lean_importModules___lambda__1___boxed(lean_object* x _start: { uint8_t x_9; uint32_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_9 = lean_unbox(x_2); -lean_dec(x_2); +x_9 = lean_unbox(x_1); +lean_dec(x_1); x_10 = lean_unbox_uint32(x_4); lean_dec(x_4); x_11 = lean_unbox(x_5); lean_dec(x_5); x_12 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_importModules___lambda__1(x_1, x_9, x_3, x_10, x_11, x_12, x_7, x_8); +x_13 = l_Lean_importModules___lambda__1(x_9, x_2, x_3, x_10, x_11, x_12, x_7, x_8); lean_dec(x_7); return x_13; } @@ -27013,8 +29174,8 @@ LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2___boxed(lean_object* x _start: { uint8_t x_11; uint32_t x_12; uint8_t x_13; uint8_t x_14; size_t x_15; lean_object* x_16; -x_11 = lean_unbox(x_3); -lean_dec(x_3); +x_11 = lean_unbox(x_2); +lean_dec(x_2); x_12 = lean_unbox_uint32(x_5); lean_dec(x_5); x_13 = lean_unbox(x_6); @@ -27023,7 +29184,7 @@ x_14 = lean_unbox(x_7); lean_dec(x_7); x_15 = lean_unbox_usize(x_8); lean_dec(x_8); -x_16 = l_Lean_importModules___lambda__2(x_1, x_2, x_11, x_4, x_12, x_13, x_14, x_15, x_9, x_10); +x_16 = l_Lean_importModules___lambda__2(x_1, x_11, x_3, x_4, x_12, x_13, x_14, x_15, x_9, x_10); lean_dec(x_9); return x_16; } @@ -28959,7 +31120,7 @@ x_14 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s x_15 = lean_string_append(x_13, x_14); x_16 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_17 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_18 = lean_unsigned_to_nat(1966u); +x_18 = lean_unsigned_to_nat(1994u); x_19 = lean_unsigned_to_nat(17u); x_20 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_16, x_17, x_18, x_19, x_15); lean_dec(x_15); @@ -28993,7 +31154,7 @@ x_31 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s x_32 = lean_string_append(x_30, x_31); x_33 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_34 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_35 = lean_unsigned_to_nat(1966u); +x_35 = lean_unsigned_to_nat(1994u); x_36 = lean_unsigned_to_nat(17u); x_37 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_33, x_34, x_35, x_36, x_32); lean_dec(x_32); @@ -29084,7 +31245,7 @@ x_61 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s x_62 = lean_string_append(x_60, x_61); x_63 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_64 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_65 = lean_unsigned_to_nat(1966u); +x_65 = lean_unsigned_to_nat(1994u); x_66 = lean_unsigned_to_nat(17u); x_67 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_63, x_64, x_65, x_66, x_62); lean_dec(x_62); @@ -29118,7 +31279,7 @@ x_78 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s x_79 = lean_string_append(x_77, x_78); x_80 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_81 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_82 = lean_unsigned_to_nat(1966u); +x_82 = lean_unsigned_to_nat(1994u); x_83 = lean_unsigned_to_nat(17u); x_84 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_80, x_81, x_82, x_83, x_79); lean_dec(x_79); @@ -29159,7 +31320,7 @@ x_98 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s x_99 = lean_string_append(x_97, x_98); x_100 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_101 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_102 = lean_unsigned_to_nat(1966u); +x_102 = lean_unsigned_to_nat(1994u); x_103 = lean_unsigned_to_nat(17u); x_104 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_100, x_101, x_102, x_103, x_99); lean_dec(x_99); @@ -29193,7 +31354,7 @@ x_115 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_116 = lean_string_append(x_114, x_115); x_117 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_118 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_119 = lean_unsigned_to_nat(1966u); +x_119 = lean_unsigned_to_nat(1994u); x_120 = lean_unsigned_to_nat(17u); x_121 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_117, x_118, x_119, x_120, x_116); lean_dec(x_116); @@ -29234,7 +31395,7 @@ x_135 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_136 = lean_string_append(x_134, x_135); x_137 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_138 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_139 = lean_unsigned_to_nat(1966u); +x_139 = lean_unsigned_to_nat(1994u); x_140 = lean_unsigned_to_nat(17u); x_141 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_137, x_138, x_139, x_140, x_136); lean_dec(x_136); @@ -29268,7 +31429,7 @@ x_152 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_153 = lean_string_append(x_151, x_152); x_154 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_155 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_156 = lean_unsigned_to_nat(1966u); +x_156 = lean_unsigned_to_nat(1994u); x_157 = lean_unsigned_to_nat(17u); x_158 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_154, x_155, x_156, x_157, x_153); lean_dec(x_153); @@ -29309,7 +31470,7 @@ x_172 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_173 = lean_string_append(x_171, x_172); x_174 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_175 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_176 = lean_unsigned_to_nat(1966u); +x_176 = lean_unsigned_to_nat(1994u); x_177 = lean_unsigned_to_nat(17u); x_178 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_174, x_175, x_176, x_177, x_173); lean_dec(x_173); @@ -29343,7 +31504,7 @@ x_189 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_190 = lean_string_append(x_188, x_189); x_191 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_192 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_193 = lean_unsigned_to_nat(1966u); +x_193 = lean_unsigned_to_nat(1994u); x_194 = lean_unsigned_to_nat(17u); x_195 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_191, x_192, x_193, x_194, x_190); lean_dec(x_190); @@ -29384,7 +31545,7 @@ x_209 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_210 = lean_string_append(x_208, x_209); x_211 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_212 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_213 = lean_unsigned_to_nat(1966u); +x_213 = lean_unsigned_to_nat(1994u); x_214 = lean_unsigned_to_nat(17u); x_215 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_211, x_212, x_213, x_214, x_210); lean_dec(x_210); @@ -29418,7 +31579,7 @@ x_226 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___ x_227 = lean_string_append(x_225, x_226); x_228 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4; x_229 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2; -x_230 = lean_unsigned_to_nat(1966u); +x_230 = lean_unsigned_to_nat(1994u); x_231 = lean_unsigned_to_nat(17u); x_232 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_228, x_229, x_230, x_231, x_227); lean_dec(x_227); @@ -32338,7 +34499,7 @@ x_26 = lean_usize_sub(x_24, x_25); x_27 = lean_usize_land(x_23, x_26); x_28 = lean_array_uget(x_13, x_27); lean_dec(x_13); -x_29 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_3, x_28); +x_29 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_3, x_28); lean_dec(x_28); if (x_29 == 0) { @@ -32434,7 +34595,7 @@ x_60 = lean_usize_sub(x_58, x_59); x_61 = lean_usize_land(x_57, x_60); x_62 = lean_array_uget(x_48, x_61); lean_dec(x_48); -x_63 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__1(x_3, x_62); +x_63 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_finalizeImport___spec__4(x_3, x_62); lean_dec(x_62); if (x_63 == 0) { @@ -33727,18 +35888,20 @@ l_panic___at_Lean_importModulesCore___spec__1___closed__2 = _init_l_panic___at_L lean_mark_persistent(l_panic___at_Lean_importModulesCore___spec__1___closed__2); l_panic___at_Lean_importModulesCore___spec__1___closed__3 = _init_l_panic___at_Lean_importModulesCore___spec__1___closed__3(); lean_mark_persistent(l_panic___at_Lean_importModulesCore___spec__1___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__1___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__2___lambda__3___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__3___closed__3); +l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__3___closed__1); l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__1(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__1); l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_importModules___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Language/Lean.c b/stage0/stdlib/Lean/Language/Lean.c index a178d8ec6e..2fec120fc2 100644 --- a/stage0/stdlib/Lean/Language/Lean.c +++ b/stage0/stdlib/Lean/Language/Lean.c @@ -90,6 +90,7 @@ static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Language_Lean_process_ lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__6; +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__3___closed__4; static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__10___closed__2; LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,6 +133,7 @@ static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHea static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__4___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f(lean_object*); static lean_object* l_Lean_Language_Lean_process_doElab___lambda__3___closed__3; +static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Language_Lean_instToSnapshotTreeCommandParsedSnapshot; static lean_object* l_List_forIn_x27_loop___at_Lean_Language_Lean_reparseOptions___spec__1___closed__14; @@ -161,6 +163,7 @@ static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed_ lean_object* l_Lean_Language_SnapshotTree_waitAll(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static double l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1; static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__6; extern lean_object* l_ByteArray_empty; LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -174,7 +177,7 @@ static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___clo static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__21; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Language_Lean_process_parseCmd___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__5; -static double l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1; +static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Language_Lean_instMonadLiftLeanProcessingMLeanProcessingTIO(lean_object*); static lean_object* l_Lean_Language_Lean_process_doElab___closed__3; static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3; @@ -211,7 +214,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoState_substituteLazy(lean_object*); static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__4; -LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toPArray_x27___rarg(lean_object*); static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__20; extern lean_object* l_Lean_MessageData_nil; @@ -248,6 +251,7 @@ uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__4; LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Language_Lean_process_doElab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__15; @@ -281,7 +285,7 @@ static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_doElab___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__8; -LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__19; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Language_Lean_process_parseCmd___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -322,6 +326,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Language_Lean lean_object* l_Lean_Language_SnapshotTask_bindIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__2; static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__21___closed__1; +uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_IO_Promise_result_x21___rarg(lean_object*); static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -414,13 +419,13 @@ LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__20(lean LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions(lean_object*); static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4; +static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3; static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__8; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Language_Lean_reparseOptions___spec__1___closed__5; static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__1; static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__3___closed__1; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); -static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4; static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__18; LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Language_Lean_process_doElab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_x27_loop___at_Lean_Language_Lean_reparseOptions___spec__1___closed__6; @@ -16236,7 +16241,79 @@ return x_71; } } } -static double _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1() { +static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Language_Lean_experimental_module; +return x_1; +} +} +static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`module` keyword is experimental and not enabled here", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2; +x_2 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, double x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_2, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1; +x_18 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_10, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21, x_12, x_13); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(0); +x_24 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_12, x_13); +return x_24; +} +} +} +static double _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; double x_4; @@ -16247,7 +16324,7 @@ x_4 = l_Float_ofScientific(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2() { +static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2() { _start: { lean_object* x_1; @@ -16255,25 +16332,17 @@ x_1 = lean_mk_string_unchecked("Init", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3() { +static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2; +x_2 = l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Language_Lean_experimental_module; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(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_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7(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_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; double x_14; double x_15; double x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -16287,13 +16356,13 @@ x_12 = 0; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Float_ofScientific(x_10, x_12, x_13); lean_dec(x_10); -x_15 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1; +x_15 = l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1; x_16 = lean_float_div(x_14, x_15); x_17 = lean_ctor_get(x_6, 1); lean_inc(x_17); x_18 = lean_ctor_get(x_6, 0); lean_inc(x_18); -x_19 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3; +x_19 = l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3; x_20 = l_Lean_Name_isPrefixOf(x_19, x_18); lean_dec(x_18); if (x_20 == 0) @@ -16301,25 +16370,25 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_17); -x_22 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_17, x_21, x_7, x_11); +x_22 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_17, x_21, x_7, x_11); lean_dec(x_17); return x_22; } else { lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4; +x_23 = l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1; x_24 = 1; lean_inc(x_17); x_25 = l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(x_17, x_23, x_24); x_26 = lean_box(0); -x_27 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_25, x_26, x_7, x_11); +x_27 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_25, x_26, x_7, x_11); lean_dec(x_17); return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7(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_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__8(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: { if (lean_obj_tag(x_6) == 0) @@ -16344,7 +16413,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_6, 0); lean_inc(x_11); lean_dec(x_6); -x_12 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8); +x_12 = l_Lean_Language_Lean_process_processHeader___lambda__7(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8); return x_12; } } @@ -16376,7 +16445,7 @@ x_15 = lean_alloc_closure((void*)(l_Lean_Language_Lean_process_processHeader___l lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_inc(x_4); -x_16 = lean_alloc_closure((void*)(l_Lean_Language_Lean_process_processHeader___lambda__7___boxed), 8, 5); +x_16 = lean_alloc_closure((void*)(l_Lean_Language_Lean_process_processHeader___lambda__8___boxed), 8, 5); lean_closure_set(x_16, 0, x_2); lean_closure_set(x_16, 1, x_8); lean_closure_set(x_16, 2, x_7); @@ -16445,13 +16514,19 @@ lean_dec(x_8); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___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_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___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_object* x_12, lean_object* x_13) { _start: { -lean_object* x_9; -x_9 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -return x_9; +double x_14; double x_15; lean_object* x_16; +x_14 = lean_unbox_float(x_4); +lean_dec(x_4); +x_15 = lean_unbox_float(x_9); +lean_dec(x_9); +x_16 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7___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) { @@ -16463,6 +16538,15 @@ lean_dec(x_7); return x_9; } } +LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Language_Lean_process_processHeader___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -20342,12 +20426,16 @@ lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__4___cl l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7 = _init_l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7(); lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7); l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1 = _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1); l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2 = _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2(); lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2); l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3 = _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3(); lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3); -l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4 = _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4(); -lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__6___closed__4); +l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1 = _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1(); +l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2 = _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2(); +lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2); +l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3 = _init_l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3(); +lean_mark_persistent(l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3); l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__1 = _init_l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__1); l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__2 = _init_l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index 2442cc0a84..2406b1c1b7 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -18,6 +18,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalIn LEAN_EXPORT lean_object* l_Lean_Meta_mkExprConfigCacheKey___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_exposeRelevantUniverses(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_processPostponed_loop___closed__1; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -45,7 +46,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLo LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadMetaM___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope(lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux_process___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___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_FVarId_hasForwardDeps___spec__60___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -54,11 +54,10 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Basi LEAN_EXPORT lean_object* l_Lean_Meta_getConfigWithKey___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqTransientCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__16; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(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_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withReplaceFVarId(lean_object*); -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2; static lean_object* l_Lean_Meta_mkFunUnit___closed__4; lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqDefEqCacheKey____x40_Lean_Meta_Basic___hyg_1932_(lean_object*, lean_object*); @@ -66,6 +65,7 @@ static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__5; static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__3; lean_object* l_instBEqOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_savingCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,7 +80,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Basic_0 LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__4; static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__3; @@ -107,11 +106,14 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDe static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_synthPending___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed_loop___boxed(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_Meta_realizeConst_realizeAndReport___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withZetaDeltaSet(lean_object*); +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mapError___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_orelseMergeErrors(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_getDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__3(lean_object*, lean_object*, lean_object*); @@ -129,16 +131,18 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambdaWithParamInfos(lean_object static lean_object* l_Lean_Meta_processPostponed___lambda__1___closed__3; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__25; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop(lean_object*); lean_object* l_Lean_log___at_Lean_Core_wrapAsyncAsSnapshot___spec__13(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshLMVarId___at_Lean_Meta_mkFreshLevelMVar___spec__1___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(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_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_whnfI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_FVarId_hasForwardDeps___spec__51(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, 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_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__9; LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_beqSynthInstanceCacheKey____x40_Lean_Meta_Basic___hyg_1546____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,6 +190,7 @@ static lean_object* l_Lean_Meta_recordSynthPendingFailure___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_toIO___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_get_set_stdout(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -202,7 +207,6 @@ LEAN_EXPORT uint64_t l_Lean_Meta_EtaStructMode_toUInt64(uint8_t); LEAN_EXPORT uint64_t l_Lean_Meta_instHashableDefEqCacheKey(lean_object*); size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_withLocalDecls_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,7 +222,6 @@ lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__46___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadLCtxMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForwardDeps___spec__5(lean_object*, lean_object*); @@ -285,6 +288,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withConfigWithKey___rarg___lambda__1(lean_o lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11816_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___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___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___boxed(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_Meta_realizeConst_realizeAndReport___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkFunUnit___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__59___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___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -331,6 +335,7 @@ LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1 LEAN_EXPORT lean_object* l_Lean_FVarId_isLetVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqDefEqCacheKey; lean_object* l_Array_qsort_sort___at_Lean_addTraceAsMessages___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3; static lean_object* l_Lean_Meta_instMonadEnvMetaM___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_FVarId_throwUnknown___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedProjReductionKind; @@ -367,6 +372,7 @@ static lean_object* l_Lean_MVarId_getDecl___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_1324____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_MetaM_toIO___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___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_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); @@ -383,6 +389,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKi static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__33; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsDND___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,9 +408,9 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_FVarId_hasForwardD LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore___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* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); +static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; static lean_object* l_Lean_Meta_instInhabitedExprParamInfo___closed__1; static lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler_useHeartbeats; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope(lean_object*); @@ -418,7 +425,6 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAu lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_Lean_Meta_recordSynthPendingFailure___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__11; @@ -433,6 +439,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMetaM___lambda__1(lean_object*, le uint8_t l_List_any___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__59(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__9(lean_object*, lean_object*, size_t, size_t); @@ -454,7 +461,6 @@ lean_object* l_Lean_LocalContext_addDecl(lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__5___closed__3; LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__62; @@ -464,7 +470,6 @@ uint8_t lean_string_validate_utf8(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__35___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_findDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_getKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -475,11 +480,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_recordSynthPendingFailure___boxed(lean_obje lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__56; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_processPostponed___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetCache___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1; uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -526,8 +533,6 @@ static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__1; static lean_object* l_Lean_Meta_instReprProjReductionKind___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1(lean_object*); -static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3; -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_whnfAtMostI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at_Lean_Meta_recordSynthPendingFailure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -560,11 +565,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_recordDefEqHeuristic(lean_object*, lean_obj LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeImp___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process___rarg___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_Meta_realizeConst_realizeAndReport___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withReducible___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__34; LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -595,6 +598,7 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___s LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getUserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589_(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_Context_setTransparency(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withAuxDeclImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedInfoCacheKey; @@ -621,7 +625,6 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_ lean_object* l_Lean_ppExprWithInfos(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_Basic___hyg_1677____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__12; @@ -691,7 +694,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getTransparency___boxed(lean_object*, lean_ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedConfig___closed__1; -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedPostponedEntry; LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___lambda__1___boxed(lean_object*); @@ -709,13 +711,11 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND(lean_object*); lean_object* lean_instantiate_level_mvars(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withReducibleAndInstances(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instReprProjReductionKind; -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332_(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_FVarId_hasForwardDeps___spec__50(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l_Lean_instInhabitedBinderInfo; @@ -727,7 +727,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDelta(lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_isLevelDefEqAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -751,7 +750,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedExprParamInfo; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__49; LEAN_EXPORT lean_object* l_Lean_Meta_withConfigWithKey(lean_object*); @@ -760,7 +758,6 @@ lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_obje static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__1; static lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqSynthInstanceCacheKey; LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDeltaSet___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -770,13 +767,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_obj lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__66; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__34(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_FVarId_throwUnknown___rarg___closed__1; lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshTypeMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -794,14 +788,14 @@ lean_object* l_Lean_MetavarContext_addExprMVarDecl(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__55(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___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*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instAddMessageContextMetaM___closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3; static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7; -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withDefault___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_liftMkBindingM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -820,7 +814,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDep LEAN_EXPORT lean_object* l_Lean_Meta_lambdaMetaTelescope_process(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_Meta_forallTelescope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_addTraceAsMessages___spec__2(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2(lean_object*); static lean_object* l_Lean_Meta_instInhabitedInfoCacheKey___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_fullApproxDefEq___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_quick_lt(lean_object*, lean_object*); @@ -831,13 +824,11 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_recordSy LEAN_EXPORT lean_object* l_Lean_Meta_modifyDiag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process(lean_object*); static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2; -static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1; LEAN_EXPORT lean_object* l_Lean_MVarId_setType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__3; static lean_object* l_Lean_Meta_realizeConst___lambda__6___closed__1; -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -856,12 +847,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_getDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_withLocalInstancesImp___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__22(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetSynthInstanceCache___boxed(lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__22; -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getValue_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__5___closed__1; @@ -869,11 +860,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceAll(lean_object*, lean_object*, extern lean_object* l_Task_Priority_default; LEAN_EXPORT lean_object* l_Lean_Meta_mapError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__3; +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_FVarId_hasForwardDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_Basic___hyg_1677____spec__1___boxed(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_Meta_realizeConst_realizeAndReport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Meta_mkLetFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkDefEqCacheKey(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__7(lean_object*, lean_object*, size_t, size_t); @@ -887,7 +879,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed(lean lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_FVarId_hasForwardDeps___spec__60(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_ParamInfo_isStrictImplicit___boxed(lean_object*); lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_exposeRelevantUniverses___lambda__1(lean_object*, lean_object*); @@ -913,6 +904,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames___lambda__1(lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDeltaSet(lean_object*); extern lean_object* l_Lean_trace_profiler_threshold; lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -920,6 +912,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withConfig___rarg(lean_object*, lean_object LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_FVarId_getBinderInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); lean_object* l_Lean_MetavarContext_mkBinding(uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*); @@ -933,6 +926,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instHashableSynthInstanceCacheKey; LEAN_EXPORT lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_instBEqExprConfigCacheKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_diagnostics; LEAN_EXPORT lean_object* l_Lean_Meta_withTransparency(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_recordSynthPendingFailure___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -942,8 +936,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___rarg(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Expr_abstractM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_saveState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); +static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Meta_mkFunUnit___closed__2; lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); @@ -967,6 +961,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_B LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallBoundedTelescopeImp___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_FVarId_throwUnknown___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___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_Meta_withIncRecDepth(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForwardDeps___spec__45___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMetaM; @@ -981,7 +976,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instBEqAbstractMVarsResult; LEAN_EXPORT lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM; lean_object* lean_string_from_utf8_unchecked(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__46; LEAN_EXPORT lean_object* l_Lean_Meta_withInstImplicitAsImplict___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__10(lean_object*, lean_object*, lean_object*); @@ -997,7 +991,6 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_L LEAN_EXPORT lean_object* l_Lean_Meta_mapForallTelescope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_1324____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_LMVarId_getLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1013,7 +1006,6 @@ LEAN_EXPORT lean_object* l_Lean_FVarId_throwUnknown___rarg___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Core_wrapAsyncAsSnapshot___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_LMVarId_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; @@ -1026,6 +1018,7 @@ lean_object* l_Lean_Level_collectMVars(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_withInstImplicitAsImplict___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__2; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1036,6 +1029,7 @@ LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at_Lean_Meta_record LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instAlternativeMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MVarId_getDecl___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9___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___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1045,7 +1039,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___lambda__1_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process(lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_mapForallTelescope_x27___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); @@ -1061,6 +1054,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderI LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyInferTypeCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl(lean_object*); @@ -1071,6 +1065,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withReducibleAndInstances___rarg(lean_objec static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedCache; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__20(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___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_Meta_throwIsDefEqStuck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1093,8 +1088,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstances(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Meta_processPostponed_loop___closed__2; +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceReducibleOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4; lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map3MetaM___rarg___lambda__1(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_Meta_realizeConst_realizeAndReport___closed__18; @@ -1109,9 +1106,9 @@ static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx(lean_object*); static uint64_t l___private_Lean_Meta_Basic_0__Lean_Meta_hashSynthInstanceCacheKey____x40_Lean_Meta_Basic___hyg_1496____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getPostponed___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1; static lean_object* l_Lean_Meta_instAlternativeMetaM___lambda__1___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_ParamInfo_isStrictImplicit(lean_object*); extern lean_object* l_Lean_NameSet_empty; @@ -1138,7 +1135,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___rarg(lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getResetPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(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_Meta_mapErrorImp(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_FVarId_throwUnknown___spec__1(lean_object*); @@ -1152,12 +1148,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_Meta_fullApproxDefEq(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__58; +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVarWithId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instBEqDefEqCacheKey___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2; lean_object* l_Lean_Environment_mainModule(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__31(lean_object*, lean_object*, size_t, size_t); lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_addTraceAsMessages___spec__7(lean_object*, lean_object*, lean_object*); @@ -1173,6 +1171,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_abstractRangeM(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedConfigWithKey; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_processPostponed___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__47(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsDND___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Kernel_Exception_toMessageData(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__38___boxed(lean_object*, lean_object*); @@ -1191,7 +1190,6 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKi static lean_object* l_Lean_Meta_instInhabitedCache___closed__1; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__10; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__1(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_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1___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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1213,14 +1211,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_modifyCache(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Meta_liftMetaM___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map1MetaM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instantiateForallWithParamInfos___boxed(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_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__28___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetDefEqPermCaches___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_setType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_instAlternativeMetaM___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withExistingLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1; -static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withConfigWithKey___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_processPostponed_loop___closed__5; @@ -1240,6 +1237,7 @@ static lean_object* l_Lean_Meta_processPostponed___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1___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*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg___closed__2; LEAN_EXPORT uint64_t l_Lean_Meta_ProjReductionKind_toUInt64(uint8_t); +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__6(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadMetaM___closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifier___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1254,7 +1252,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg(lean_object*, lea uint64_t lean_uint64_xor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetCache___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_toUInt64___boxed(lean_object*); lean_object* l_Lean_Core_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1279,6 +1276,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg(lean_object*, le LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescopeReducing(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1296,7 +1294,9 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withoutModifyingMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDeltaSet___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_get_set_stdin(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7; lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, 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_MetavarContext_setMVarType(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_4____closed__2; uint64_t lean_uint64_shift_left(uint64_t, uint64_t); @@ -1341,7 +1341,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instantiateForallWithParamInfos(lean_object LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqTransientCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__28(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2; static lean_object* l_Lean_Meta_instInhabitedParamInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6___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_Meta_instAlternativeMetaM; @@ -1363,32 +1362,31 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKi LEAN_EXPORT lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_fullApproxDefEqImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__6(uint8_t, lean_object*, lean_object*, 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_instantiateMVarsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_findDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM___rarg(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1; static lean_object* l_Lean_Meta_instMonadMetaM___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withFreshCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__56(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getParamNames___closed__1; -static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedParamInfo; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_instantiateForallWithParamInfos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); static lean_object* l_Lean_Meta_MetaM_toIO___rarg___closed__1; -LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LMVarId_isReadOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_MetavarContext_findLevelDepth_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Meta_realizeConst___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4; uint64_t lean_bool_to_uint64(uint8_t); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__19; LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_beqSynthInstanceCacheKey____x40_Lean_Meta_Basic___hyg_1546____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1441,7 +1439,6 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshLMVarId___at_Lean_Meta_mkFreshLevelMVar__ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_mkDefEqCacheKey___boxed(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_Meta_realizeConst_realizeAndReport___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux_process(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MetaM_toIO___rarg___lambda__1___closed__1; @@ -1455,7 +1452,6 @@ size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_toIO(lean_object*); static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_instantiateForallWithParamInfos___spec__2___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_recordInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__7; @@ -1473,6 +1469,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_L LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__62(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2; static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__1; static lean_object* l_Lean_Meta_withErasedFVars___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withInstImplicitAsImplict___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1487,16 +1484,17 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostpo LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution(lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_withInstImplicitAsImplict___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4___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_withTraceNode___at_Lean_Meta_processPostponed___spec__1___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*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Meta_processPostponed___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_getPostponed(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__5(uint8_t, lean_object*, lean_object*, 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_Core_logSnapshotTask(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing(lean_object*); +static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__23; static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__18; @@ -1507,11 +1505,9 @@ static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___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_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__14; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_useEtaStruct___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1___rarg(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1562,6 +1558,7 @@ lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_throwUnknown___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_realizeConst___lambda__5___closed__5; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_instantiateLambdaWithParamInfos___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__2; @@ -1613,6 +1610,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___ LEAN_EXPORT lean_object* l_Lean_Meta_getZetaDeltaFVarIds___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__7; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210____closed__13; lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_Basic___hyg_210_(uint8_t, lean_object*); @@ -1632,6 +1630,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaMetaTelescope___boxed(lean_object*, l LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_recordSynthPendingFailure___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedDiagnostics; static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__10; +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1648,6 +1647,7 @@ static lean_object* l_Lean_Meta_instBEqInfoCacheKey___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withDefault___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambdaWithParamInfos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); lean_object* l_Lean_LocalContext_replaceFVarId(lean_object*, lean_object*, lean_object*); @@ -1672,7 +1672,7 @@ lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object* static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___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_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg___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_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_11668_(uint8_t, lean_object*); static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__12; @@ -60763,7 +60763,758 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(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, size_t x_9, size_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_16) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_5); +x_7 = l_Lean_Meta_instTypeNameRealizeConstantResult; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_instMonadBaseIO; +x_11 = l_instInhabitedOfMonad___rarg(x_10, x_9); +x_12 = lean_panic_fn(x_11, x_3); +x_13 = lean_apply_1(x_12, x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(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_object* x_10; lean_object* x_11; +x_8 = lean_get_set_stdout(x_1, x_7); +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_apply_5(x_2, 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; uint8_t 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_get_set_stdout(x_9, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_dec(x_11); +x_21 = lean_get_set_stdout(x_9, x_20); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set_tag(x_21, 1); +lean_ctor_set(x_21, 0, x_19); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(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_object* x_10; lean_object* x_11; +x_8 = lean_get_set_stdin(x_1, x_7); +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_apply_5(x_2, 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; uint8_t 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_get_set_stdin(x_9, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_dec(x_11); +x_21 = lean_get_set_stdin(x_9, x_20); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set_tag(x_21, 1); +lean_ctor_set(x_21, 0, x_19); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__6(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_object* x_10; lean_object* x_11; +x_8 = lean_get_set_stderr(x_1, x_7); +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_apply_5(x_2, 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; uint8_t 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_get_set_stderr(x_9, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_dec(x_11); +x_21 = lean_get_set_stderr(x_9, x_20); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set_tag(x_21, 1); +lean_ctor_set(x_21, 0, x_19); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_ByteArray_empty; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 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_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Init.Data.String.Extra", 22, 22); +return x_1; +} +} +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("String.fromUTF8!", 16, 16); +return x_1; +} +} +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid UTF-8 string", 20, 20); +return x_1; +} +} +static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2; +x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3; +x_3 = lean_unsigned_to_nat(126u); +x_4 = lean_unsigned_to_nat(47u); +x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(lean_object* x_1, uint8_t 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_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1; +x_9 = lean_st_mk_ref(x_8, x_7); +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_st_mk_ref(x_8, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = l_IO_FS_Stream_ofBuffer(x_10); +lean_inc(x_14); +x_17 = l_IO_FS_Stream_ofBuffer(x_14); +if (x_2 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4), 7, 2); +lean_closure_set(x_18, 0, x_17); +lean_closure_set(x_18, 1, x_1); +x_19 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_16, x_18, x_3, x_4, x_5, x_6, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +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_st_ref_get(x_14, x_21); +lean_dec(x_14); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_string_validate_utf8(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_25); +x_27 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_28 = l_panic___at_String_fromUTF8_x21___spec__1(x_27); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_28); +lean_ctor_set(x_22, 0, x_12); +return x_22; +} +else +{ +lean_object* x_29; +x_29 = lean_string_from_utf8_unchecked(x_25); +lean_dec(x_25); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_29); +lean_ctor_set(x_22, 0, x_12); +return x_22; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_22); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_string_validate_utf8(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_32); +x_34 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_35 = l_panic___at_String_fromUTF8_x21___spec__1(x_34); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_35); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_12); +lean_ctor_set(x_36, 1, x_31); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_string_from_utf8_unchecked(x_32); +lean_dec(x_32); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_37); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_31); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_free_object(x_12); +lean_dec(x_14); +x_39 = !lean_is_exclusive(x_19); +if (x_39 == 0) +{ +return x_19; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_19, 0); +x_41 = lean_ctor_get(x_19, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_19); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_inc(x_17); +x_43 = lean_alloc_closure((void*)(l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__6), 7, 2); +lean_closure_set(x_43, 0, x_17); +lean_closure_set(x_43, 1, x_1); +x_44 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4), 7, 2); +lean_closure_set(x_44, 0, x_17); +lean_closure_set(x_44, 1, x_43); +x_45 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_16, x_44, x_3, x_4, x_5, x_6, x_15); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_st_ref_get(x_14, x_47); +lean_dec(x_14); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_48, 0); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_string_validate_utf8(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_51); +x_53 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_54 = l_panic___at_String_fromUTF8_x21___spec__1(x_53); +lean_ctor_set(x_12, 1, x_46); +lean_ctor_set(x_12, 0, x_54); +lean_ctor_set(x_48, 0, x_12); +return x_48; +} +else +{ +lean_object* x_55; +x_55 = lean_string_from_utf8_unchecked(x_51); +lean_dec(x_51); +lean_ctor_set(x_12, 1, x_46); +lean_ctor_set(x_12, 0, x_55); +lean_ctor_set(x_48, 0, x_12); +return x_48; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_48, 0); +x_57 = lean_ctor_get(x_48, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_48); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_string_validate_utf8(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_58); +x_60 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_61 = l_panic___at_String_fromUTF8_x21___spec__1(x_60); +lean_ctor_set(x_12, 1, x_46); +lean_ctor_set(x_12, 0, x_61); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_12); +lean_ctor_set(x_62, 1, x_57); +return x_62; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_string_from_utf8_unchecked(x_58); +lean_dec(x_58); +lean_ctor_set(x_12, 1, x_46); +lean_ctor_set(x_12, 0, x_63); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_12); +lean_ctor_set(x_64, 1, x_57); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_free_object(x_12); +lean_dec(x_14); +x_65 = !lean_is_exclusive(x_45); +if (x_65 == 0) +{ +return x_45; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_45, 0); +x_67 = lean_ctor_get(x_45, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_45); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_12, 0); +x_70 = lean_ctor_get(x_12, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_12); +x_71 = l_IO_FS_Stream_ofBuffer(x_10); +lean_inc(x_69); +x_72 = l_IO_FS_Stream_ofBuffer(x_69); +if (x_2 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4), 7, 2); +lean_closure_set(x_73, 0, x_72); +lean_closure_set(x_73, 1, x_1); +x_74 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_71, x_73, x_3, x_4, x_5, x_6, x_70); +if (lean_obj_tag(x_74) == 0) +{ +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; uint8_t x_82; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_st_ref_get(x_69, x_76); +lean_dec(x_69); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; +} else { + lean_dec_ref(x_77); + x_80 = lean_box(0); +} +x_81 = lean_ctor_get(x_78, 0); +lean_inc(x_81); +lean_dec(x_78); +x_82 = lean_string_validate_utf8(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_81); +x_83 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_84 = l_panic___at_String_fromUTF8_x21___spec__1(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_75); +if (lean_is_scalar(x_80)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_80; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_79); +return x_86; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_string_from_utf8_unchecked(x_81); +lean_dec(x_81); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_75); +if (lean_is_scalar(x_80)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_80; +} +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_79); +return x_89; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_69); +x_90 = lean_ctor_get(x_74, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_74, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_92 = x_74; +} else { + lean_dec_ref(x_74); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(1, 2, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_inc(x_72); +x_94 = lean_alloc_closure((void*)(l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__6), 7, 2); +lean_closure_set(x_94, 0, x_72); +lean_closure_set(x_94, 1, x_1); +x_95 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__4), 7, 2); +lean_closure_set(x_95, 0, x_72); +lean_closure_set(x_95, 1, x_94); +x_96 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_71, x_95, x_3, x_4, x_5, x_6, x_70); +if (lean_obj_tag(x_96) == 0) +{ +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; uint8_t x_104; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_st_ref_get(x_69, x_98); +lean_dec(x_69); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_102 = x_99; +} else { + lean_dec_ref(x_99); + x_102 = lean_box(0); +} +x_103 = lean_ctor_get(x_100, 0); +lean_inc(x_103); +lean_dec(x_100); +x_104 = lean_string_validate_utf8(x_103); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_103); +x_105 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5; +x_106 = l_panic___at_String_fromUTF8_x21___spec__1(x_105); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_97); +if (lean_is_scalar(x_102)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_102; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_string_from_utf8_unchecked(x_103); +lean_dec(x_103); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_97); +if (lean_is_scalar(x_102)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_102; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_101); +return x_111; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_69); +x_112 = lean_ctor_get(x_96, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_96, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_114 = x_96; +} else { + lean_dec_ref(x_96); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(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, size_t x_9, size_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_16) { _start: { uint8_t x_17; @@ -60791,7 +61542,7 @@ x_22 = lean_ctor_get(x_11, 0); lean_dec(x_22); lean_inc(x_21); lean_inc(x_3); -x_23 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(x_1, x_2, x_3, x_4, x_19, x_21, x_12, x_13, x_14, x_15, x_16); +x_23 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_1, x_2, x_3, x_4, x_19, x_21, x_12, x_13, x_14, x_15, x_16); lean_dec(x_19); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); @@ -60855,7 +61606,7 @@ lean_inc(x_36); lean_dec(x_11); lean_inc(x_36); lean_inc(x_3); -x_37 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(x_1, x_2, x_3, x_4, x_19, x_36, x_12, x_13, x_14, x_15, x_16); +x_37 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_1, x_2, x_3, x_4, x_19, x_36, x_12, x_13, x_14, x_15, x_16); lean_dec(x_19); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -60913,7 +61664,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__6(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, size_t x_8, size_t 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(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, size_t x_8, size_t 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) { _start: { uint8_t x_16; @@ -61194,7 +61945,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(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_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(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: { if (lean_obj_tag(x_5) == 0) @@ -61208,7 +61959,7 @@ lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_6); x_16 = lean_array_size(x_12); x_17 = 0; -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_1, x_2, x_3, x_4, x_12, x_13, x_14, x_12, x_16, x_17, x_15, x_7, x_8, x_9, x_10, x_11); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(x_1, x_2, x_3, x_4, x_12, x_13, x_14, x_12, x_16, x_17, x_15, x_7, x_8, x_9, x_10, x_11); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 0); @@ -61269,7 +62020,7 @@ lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_6); x_35 = lean_array_size(x_31); x_36 = 0; -x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__6(x_1, x_2, x_3, x_31, x_32, x_33, x_31, x_35, x_36, x_34, x_7, x_8, x_9, x_10, x_11); +x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(x_1, x_2, x_3, x_31, x_32, x_33, x_31, x_35, x_36, x_34, x_7, x_8, x_9, x_10, x_11); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); x_39 = lean_ctor_get(x_38, 0); @@ -61321,7 +62072,7 @@ return x_49; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(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, size_t x_8, size_t 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(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, size_t x_8, size_t 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) { _start: { uint8_t x_16; @@ -61602,14 +62353,14 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(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_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(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: { lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_ctor_get(x_4, 0); lean_inc(x_5); lean_inc(x_3); -x_12 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(x_1, x_2, x_3, x_5, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_1, x_2, x_3, x_5, x_11, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); @@ -61661,7 +62412,7 @@ lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_21); x_26 = lean_array_size(x_23); x_27 = 0; -x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(x_1, x_2, x_3, x_22, x_23, x_24, x_23, x_26, x_27, x_25, x_6, x_7, x_8, x_9, x_20); +x_28 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_1, x_2, x_3, x_22, x_23, x_24, x_23, x_26, x_27, x_25, x_6, x_7, x_8, x_9, x_20); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); x_30 = lean_ctor_get(x_29, 0); @@ -61730,7 +62481,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___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) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___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; uint8_t x_11; @@ -61957,7 +62708,7 @@ return x_78; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -61965,7 +62716,7 @@ x_1 = lean_mk_string_unchecked("trace", 5, 5); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2() { _start: { lean_object* x_1; @@ -61973,7 +62724,7 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -61981,7 +62732,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4() { _start: { lean_object* x_1; @@ -61989,7 +62740,7 @@ x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); return x_1; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -61997,7 +62748,7 @@ x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); return x_1; } } -LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2(lean_object* x_1) { +LEAN_EXPORT uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 1) @@ -62009,7 +62760,7 @@ case 0: { lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_1, 1); -x_4 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1; +x_4 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1; x_5 = lean_string_dec_eq(x_3, x_4); return x_5; } @@ -62022,12 +62773,12 @@ if (lean_obj_tag(x_6) == 0) lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_ctor_get(x_1, 1); x_8 = lean_ctor_get(x_2, 1); -x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2; +x_9 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2; x_10 = lean_string_dec_eq(x_8, x_9); if (x_10 == 0) { lean_object* x_11; uint8_t x_12; -x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3; +x_11 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3; x_12 = lean_string_dec_eq(x_8, x_11); if (x_12 == 0) { @@ -62038,7 +62789,7 @@ return x_13; else { lean_object* x_14; uint8_t x_15; -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4; +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4; x_15 = lean_string_dec_eq(x_7, x_14); return x_15; } @@ -62046,7 +62797,7 @@ return x_15; else { lean_object* x_16; uint8_t x_17; -x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5; +x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5; x_17 = lean_string_dec_eq(x_7, x_16); return x_17; } @@ -62074,17 +62825,17 @@ return x_20; } } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1; +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2() { _start: { lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; @@ -62101,15 +62852,15 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 16, x_3); return x_5; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3() { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(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) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(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; @@ -62139,13 +62890,13 @@ if (x_17 == 0) lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; x_18 = lean_ctor_get(x_15, 0); x_19 = lean_ctor_get(x_15, 1); -x_20 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2; +x_20 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2; x_21 = l_Lean_MessageData_nil; x_22 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); lean_ctor_set(x_22, 2, x_16); -x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1; +x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1; lean_ctor_set_tag(x_15, 8); lean_ctor_set(x_15, 1, x_22); lean_ctor_set(x_15, 0, x_23); @@ -62164,7 +62915,7 @@ if (x_26 == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; x_29 = lean_box(0); -x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(x_25, x_18, x_28, x_15, x_24, x_29, x_9, x_10, x_11); +x_30 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(x_25, x_18, x_28, x_15, x_24, x_29, x_9, x_10, x_11); lean_dec(x_18); x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); @@ -62179,7 +62930,7 @@ goto _start; else { lean_object* x_35; uint8_t x_36; -x_35 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3; +x_35 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3; lean_inc(x_15); x_36 = l_Lean_MessageData_hasTag(x_35, x_15); if (x_36 == 0) @@ -62201,7 +62952,7 @@ else { lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; x_41 = lean_box(0); -x_42 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(x_25, x_18, x_28, x_15, x_24, x_41, x_9, x_10, x_11); +x_42 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(x_25, x_18, x_28, x_15, x_24, x_41, x_9, x_10, x_11); lean_dec(x_18); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); @@ -62223,13 +62974,13 @@ x_48 = lean_ctor_get(x_15, 1); lean_inc(x_48); lean_inc(x_47); lean_dec(x_15); -x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2; +x_49 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2; x_50 = l_Lean_MessageData_nil; x_51 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_51, 2, x_16); -x_52 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1; +x_52 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1; x_53 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); @@ -62248,7 +62999,7 @@ if (x_56 == 0) { lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; x_59 = lean_box(0); -x_60 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(x_55, x_47, x_58, x_53, x_54, x_59, x_9, x_10, x_11); +x_60 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(x_55, x_47, x_58, x_53, x_54, x_59, x_9, x_10, x_11); lean_dec(x_47); x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); @@ -62263,7 +63014,7 @@ goto _start; else { lean_object* x_65; uint8_t x_66; -x_65 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3; +x_65 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3; lean_inc(x_53); x_66 = l_Lean_MessageData_hasTag(x_65, x_53); if (x_66 == 0) @@ -62285,7 +63036,7 @@ else { lean_object* x_71; lean_object* x_72; lean_object* x_73; size_t x_74; size_t x_75; x_71 = lean_box(0); -x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(x_55, x_47, x_58, x_53, x_54, x_71, x_9, x_10, x_11); +x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(x_55, x_47, x_58, x_53, x_54, x_71, x_9, x_10, x_11); lean_dec(x_47); x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); @@ -62302,7 +63053,7 @@ goto _start; } } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -62310,28 +63061,28 @@ x_1 = lean_alloc_closure((void*)(l_instDecidableEqPos___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1; +x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1; x_2 = lean_alloc_closure((void*)(l_instBEqOfDecidableEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2; +x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2; x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); lean_closure_set(x_2, 0, x_1); lean_closure_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -62339,26 +63090,26 @@ x_1 = lean_alloc_closure((void*)(l_instHashablePos___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4; +x_1 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); lean_closure_set(x_2, 0, x_1); lean_closure_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___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_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___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_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; uint8_t x_20; lean_object* x_21; size_t x_22; lean_object* x_23; lean_object* x_32; x_8 = lean_box(0); -x_9 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3; -x_10 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5; +x_9 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3; +x_10 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5; x_11 = l_Lean_localDeclDependsOn___at_Lean_FVarId_hasForwardDeps___spec__1___closed__3; -x_12 = l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(x_9, x_10, x_8, x_1, x_11, x_3, x_4, x_5, x_6, x_7); +x_12 = l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(x_9, x_10, x_8, x_1, x_11, x_3, x_4, x_5, x_6, x_7); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -62410,7 +63161,7 @@ block_31: size_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_array_size(x_23); x_25 = lean_box(0); -x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(x_21, x_23, x_23, x_24, x_22, x_25, x_3, x_4, x_5, x_6, x_14); +x_26 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(x_21, x_23, x_23, x_24, x_22, x_25, x_3, x_4, x_5, x_6, x_14); lean_dec(x_23); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) @@ -62474,7 +63225,7 @@ goto block_31; } } } -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__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_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__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) { _start: { lean_object* x_7; uint8_t x_8; @@ -62491,7 +63242,7 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; lean_free_object(x_7); x_12 = lean_box(0); -x_13 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1(x_9, x_12, x_2, x_3, x_4, x_5, x_10); +x_13 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1(x_9, x_12, x_2, x_3, x_4, x_5, x_10); lean_dec(x_9); return x_13; } @@ -62518,7 +63269,7 @@ if (x_17 == 0) { lean_object* x_18; lean_object* x_19; x_18 = lean_box(0); -x_19 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1(x_15, x_18, x_2, x_3, x_4, x_5, x_16); +x_19 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1(x_15, x_18, x_2, x_3, x_4, x_5, x_16); lean_dec(x_15); return x_19; } @@ -62536,15 +63287,15 @@ return x_21; } } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__2___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2() { +static lean_object* _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2() { _start: { lean_object* x_1; @@ -62552,14 +63303,14 @@ x_1 = l_Lean_trace_profiler_output; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_3, 2); lean_inc(x_6); -x_7 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1; -x_8 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2; +x_7 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1; +x_8 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2; x_9 = l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(x_6, x_8); lean_dec(x_6); if (lean_obj_tag(x_9) == 0) @@ -62585,757 +63336,6 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_5); -x_7 = l_Lean_Meta_instTypeNameRealizeConstantResult; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -x_10 = l_instMonadBaseIO; -x_11 = l_instInhabitedOfMonad___rarg(x_10, x_9); -x_12 = lean_panic_fn(x_11, x_3); -x_13 = lean_apply_1(x_12, x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(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_object* x_10; lean_object* x_11; -x_8 = lean_get_set_stdout(x_1, x_7); -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_apply_5(x_2, 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; uint8_t 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_get_set_stdout(x_9, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_get_set_stdout(x_9, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 0, x_19); -return x_21; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(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_object* x_10; lean_object* x_11; -x_8 = lean_get_set_stdin(x_1, x_7); -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_apply_5(x_2, 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; uint8_t 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_get_set_stdin(x_9, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_get_set_stdin(x_9, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 0, x_19); -return x_21; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(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_object* x_10; lean_object* x_11; -x_8 = lean_get_set_stderr(x_1, x_7); -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_apply_5(x_2, 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; uint8_t 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_get_set_stderr(x_9, x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_get_set_stderr(x_9, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set_tag(x_21, 1); -lean_ctor_set(x_21, 0, x_19); -return x_21; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_ByteArray_empty; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 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_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Init.Data.String.Extra", 22, 22); -return x_1; -} -} -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("String.fromUTF8!", 16, 16); -return x_1; -} -} -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("invalid UTF-8 string", 20, 20); -return x_1; -} -} -static lean_object* _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2; -x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3; -x_3 = lean_unsigned_to_nat(126u); -x_4 = lean_unsigned_to_nat(47u); -x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(lean_object* x_1, uint8_t 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_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_8 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1; -x_9 = lean_st_mk_ref(x_8, x_7); -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_st_mk_ref(x_8, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = l_IO_FS_Stream_ofBuffer(x_10); -lean_inc(x_14); -x_17 = l_IO_FS_Stream_ofBuffer(x_14); -if (x_2 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11), 7, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_1); -x_19 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_16, x_18, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -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_st_ref_get(x_14, x_21); -lean_dec(x_14); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_string_validate_utf8(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_25); -x_27 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_28 = l_panic___at_String_fromUTF8_x21___spec__1(x_27); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_12, 0, x_28); -lean_ctor_set(x_22, 0, x_12); -return x_22; -} -else -{ -lean_object* x_29; -x_29 = lean_string_from_utf8_unchecked(x_25); -lean_dec(x_25); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_12, 0, x_29); -lean_ctor_set(x_22, 0, x_12); -return x_22; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_string_validate_utf8(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_32); -x_34 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_35 = l_panic___at_String_fromUTF8_x21___spec__1(x_34); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_12, 0, x_35); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_12); -lean_ctor_set(x_36, 1, x_31); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_string_from_utf8_unchecked(x_32); -lean_dec(x_32); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_12, 0, x_37); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_12); -lean_ctor_set(x_38, 1, x_31); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_free_object(x_12); -lean_dec(x_14); -x_39 = !lean_is_exclusive(x_19); -if (x_39 == 0) -{ -return x_19; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_19, 0); -x_41 = lean_ctor_get(x_19, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_19); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_inc(x_17); -x_43 = lean_alloc_closure((void*)(l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__13), 7, 2); -lean_closure_set(x_43, 0, x_17); -lean_closure_set(x_43, 1, x_1); -x_44 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11), 7, 2); -lean_closure_set(x_44, 0, x_17); -lean_closure_set(x_44, 1, x_43); -x_45 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_16, x_44, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_st_ref_get(x_14, x_47); -lean_dec(x_14); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_string_validate_utf8(x_51); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_51); -x_53 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_54 = l_panic___at_String_fromUTF8_x21___spec__1(x_53); -lean_ctor_set(x_12, 1, x_46); -lean_ctor_set(x_12, 0, x_54); -lean_ctor_set(x_48, 0, x_12); -return x_48; -} -else -{ -lean_object* x_55; -x_55 = lean_string_from_utf8_unchecked(x_51); -lean_dec(x_51); -lean_ctor_set(x_12, 1, x_46); -lean_ctor_set(x_12, 0, x_55); -lean_ctor_set(x_48, 0, x_12); -return x_48; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_56 = lean_ctor_get(x_48, 0); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_48); -x_58 = lean_ctor_get(x_56, 0); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_string_validate_utf8(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_58); -x_60 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_61 = l_panic___at_String_fromUTF8_x21___spec__1(x_60); -lean_ctor_set(x_12, 1, x_46); -lean_ctor_set(x_12, 0, x_61); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_12); -lean_ctor_set(x_62, 1, x_57); -return x_62; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_string_from_utf8_unchecked(x_58); -lean_dec(x_58); -lean_ctor_set(x_12, 1, x_46); -lean_ctor_set(x_12, 0, x_63); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_12); -lean_ctor_set(x_64, 1, x_57); -return x_64; -} -} -} -else -{ -uint8_t x_65; -lean_free_object(x_12); -lean_dec(x_14); -x_65 = !lean_is_exclusive(x_45); -if (x_65 == 0) -{ -return x_45; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_45, 0); -x_67 = lean_ctor_get(x_45, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_45); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_12, 0); -x_70 = lean_ctor_get(x_12, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_12); -x_71 = l_IO_FS_Stream_ofBuffer(x_10); -lean_inc(x_69); -x_72 = l_IO_FS_Stream_ofBuffer(x_69); -if (x_2 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11), 7, 2); -lean_closure_set(x_73, 0, x_72); -lean_closure_set(x_73, 1, x_1); -x_74 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_71, x_73, x_3, x_4, x_5, x_6, x_70); -if (lean_obj_tag(x_74) == 0) -{ -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; uint8_t x_82; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_st_ref_get(x_69, x_76); -lean_dec(x_69); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_80 = x_77; -} else { - lean_dec_ref(x_77); - x_80 = lean_box(0); -} -x_81 = lean_ctor_get(x_78, 0); -lean_inc(x_81); -lean_dec(x_78); -x_82 = lean_string_validate_utf8(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_81); -x_83 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_84 = l_panic___at_String_fromUTF8_x21___spec__1(x_83); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_75); -if (lean_is_scalar(x_80)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_80; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_79); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_string_from_utf8_unchecked(x_81); -lean_dec(x_81); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_75); -if (lean_is_scalar(x_80)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_80; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_79); -return x_89; -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_69); -x_90 = lean_ctor_get(x_74, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_74, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_92 = x_74; -} else { - lean_dec_ref(x_74); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_inc(x_72); -x_94 = lean_alloc_closure((void*)(l_IO_withStderr___at_Lean_Meta_realizeConst_realizeAndReport___spec__13), 7, 2); -lean_closure_set(x_94, 0, x_72); -lean_closure_set(x_94, 1, x_1); -x_95 = lean_alloc_closure((void*)(l_IO_withStdout___at_Lean_Meta_realizeConst_realizeAndReport___spec__11), 7, 2); -lean_closure_set(x_95, 0, x_72); -lean_closure_set(x_95, 1, x_94); -x_96 = l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_71, x_95, x_3, x_4, x_5, x_6, x_70); -if (lean_obj_tag(x_96) == 0) -{ -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; uint8_t x_104; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_st_ref_get(x_69, x_98); -lean_dec(x_69); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_102 = x_99; -} else { - lean_dec_ref(x_99); - x_102 = lean_box(0); -} -x_103 = lean_ctor_get(x_100, 0); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_string_validate_utf8(x_103); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_103); -x_105 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5; -x_106 = l_panic___at_String_fromUTF8_x21___spec__1(x_105); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_97); -if (lean_is_scalar(x_102)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_102; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_101); -return x_108; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_string_from_utf8_unchecked(x_103); -lean_dec(x_103); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_97); -if (lean_is_scalar(x_102)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_102; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_101); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_69); -x_112 = lean_ctor_get(x_96, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_96, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_114 = x_96; -} else { - lean_dec_ref(x_96); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 2, 0); -} else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_113); -return x_115; -} -} -} -} -} static lean_object* _init_l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__1() { _start: { @@ -63597,169 +63597,249 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_17); -x_19 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(x_4, x_5, x_6, x_17, x_8, x_9, x_18); +lean_inc(x_6); +x_19 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(x_4, x_5, x_6, x_17, x_8, x_9, x_18); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_20; lean_object* x_21; lean_object* x_22; 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_st_ref_get(x_17, x_21); -lean_dec(x_17); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +lean_inc(x_17); +x_22 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(x_6, x_17, x_8, x_9, x_21); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_get(x_17, x_23); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_20); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); lean_dec(x_24); -lean_ctor_set(x_22, 0, x_20); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_20); +lean_dec(x_17); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ return x_22; } else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); lean_dec(x_22); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -return x_26; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} } } else { -uint8_t x_27; +uint8_t x_33; lean_dec(x_17); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) +lean_dec(x_8); +lean_dec(x_9); +lean_dec(x_6); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) { return x_19; } 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); -lean_inc(x_29); -lean_inc(x_28); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_19); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t 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; -x_31 = lean_ctor_get(x_8, 0); -x_32 = lean_ctor_get(x_8, 1); -x_33 = lean_ctor_get(x_8, 3); -x_34 = lean_ctor_get(x_8, 5); -x_35 = lean_ctor_get(x_8, 6); -x_36 = lean_ctor_get(x_8, 7); -x_37 = lean_ctor_get(x_8, 8); -x_38 = lean_ctor_get(x_8, 9); -x_39 = lean_ctor_get(x_8, 10); -x_40 = lean_ctor_get(x_8, 11); -x_41 = lean_ctor_get_uint8(x_8, sizeof(void*)*13 + 1); -x_42 = lean_ctor_get(x_8, 12); +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; uint8_t 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; +x_37 = lean_ctor_get(x_8, 0); +x_38 = lean_ctor_get(x_8, 1); +x_39 = lean_ctor_get(x_8, 3); +x_40 = lean_ctor_get(x_8, 5); +x_41 = lean_ctor_get(x_8, 6); +x_42 = lean_ctor_get(x_8, 7); +x_43 = lean_ctor_get(x_8, 8); +x_44 = lean_ctor_get(x_8, 9); +x_45 = lean_ctor_get(x_8, 10); +x_46 = lean_ctor_get(x_8, 11); +x_47 = lean_ctor_get_uint8(x_8, sizeof(void*)*13 + 1); +x_48 = lean_ctor_get(x_8, 12); +lean_inc(x_48); +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_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); lean_dec(x_8); -x_43 = l_Lean_Meta_MetaM_toIO___rarg___lambda__1___closed__1; -x_44 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_43); -x_45 = lean_alloc_ctor(0, 13, 2); -lean_ctor_set(x_45, 0, x_31); -lean_ctor_set(x_45, 1, x_32); -lean_ctor_set(x_45, 2, x_1); -lean_ctor_set(x_45, 3, x_33); -lean_ctor_set(x_45, 4, x_44); -lean_ctor_set(x_45, 5, x_34); -lean_ctor_set(x_45, 6, x_35); -lean_ctor_set(x_45, 7, x_36); -lean_ctor_set(x_45, 8, x_37); -lean_ctor_set(x_45, 9, x_38); -lean_ctor_set(x_45, 10, x_39); -lean_ctor_set(x_45, 11, x_40); -lean_ctor_set(x_45, 12, x_42); -lean_ctor_set_uint8(x_45, sizeof(void*)*13, x_2); -lean_ctor_set_uint8(x_45, sizeof(void*)*13 + 1, x_41); -x_46 = lean_st_mk_ref(x_3, x_10); -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); -lean_inc(x_47); -x_49 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(x_4, x_5, x_6, x_47, x_45, x_9, x_48); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_st_ref_get(x_47, x_51); -lean_dec(x_47); -x_53 = lean_ctor_get(x_52, 1); +x_49 = l_Lean_Meta_MetaM_toIO___rarg___lambda__1___closed__1; +x_50 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_49); +x_51 = lean_alloc_ctor(0, 13, 2); +lean_ctor_set(x_51, 0, x_37); +lean_ctor_set(x_51, 1, x_38); +lean_ctor_set(x_51, 2, x_1); +lean_ctor_set(x_51, 3, x_39); +lean_ctor_set(x_51, 4, x_50); +lean_ctor_set(x_51, 5, x_40); +lean_ctor_set(x_51, 6, x_41); +lean_ctor_set(x_51, 7, x_42); +lean_ctor_set(x_51, 8, x_43); +lean_ctor_set(x_51, 9, x_44); +lean_ctor_set(x_51, 10, x_45); +lean_ctor_set(x_51, 11, x_46); +lean_ctor_set(x_51, 12, x_48); +lean_ctor_set_uint8(x_51, sizeof(void*)*13, x_2); +lean_ctor_set_uint8(x_51, sizeof(void*)*13 + 1, x_47); +x_52 = lean_st_mk_ref(x_3, x_10); +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_inc(x_9); +lean_inc(x_51); +lean_inc(x_53); +lean_inc(x_6); +x_55 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(x_4, x_5, x_6, x_53, x_51, x_9, x_54); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +lean_inc(x_53); +x_58 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(x_6, x_53, x_51, x_9, x_57); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_st_ref_get(x_53, x_59); +lean_dec(x_53); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; } else { - lean_dec_ref(x_52); - x_54 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 2, 0); } else { - x_55 = x_54; + x_63 = x_62; } -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_53); -return x_55; +lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_63, 1, x_61); +return x_63; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_47); -x_56 = lean_ctor_get(x_49, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_49, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_58 = x_49; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_56); +lean_dec(x_53); +x_64 = lean_ctor_get(x_58, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_58, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_66 = x_58; } else { - lean_dec_ref(x_49); - x_58 = lean_box(0); + lean_dec_ref(x_58); + x_66 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); } else { - x_59 = x_58; + x_67 = x_66; } -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_57); -return x_59; +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_53); +lean_dec(x_51); +lean_dec(x_9); +lean_dec(x_6); +x_68 = lean_ctor_get(x_55, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_55, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_70 = x_55; +} else { + lean_dec_ref(x_55); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } } @@ -64189,7 +64269,7 @@ x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); x_41 = l_Lean_Meta_realizeConst_realizeAndReport___closed__21; -x_42 = l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_4, x_39, x_41, x_40); +x_42 = l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(x_4, x_39, x_41, x_40); return x_42; } else @@ -65147,7 +65227,7 @@ x_275 = lean_ctor_get(x_273, 1); lean_inc(x_275); lean_dec(x_273); x_276 = l_Lean_Meta_realizeConst_realizeAndReport___closed__21; -x_277 = l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_4, x_274, x_276, x_275); +x_277 = l_panic___at_Lean_Meta_realizeConst_realizeAndReport___spec__2(x_4, x_274, x_276, x_275); return x_277; } else @@ -65582,7 +65662,17 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___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) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +lean_dec(x_2); +x_9 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { size_t x_17; size_t x_18; lean_object* x_19; @@ -65590,7 +65680,7 @@ x_17 = lean_unbox_usize(x_9); lean_dec(x_9); x_18 = lean_unbox_usize(x_10); lean_dec(x_10); -x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_18, x_11, x_12, x_13, x_14, x_15, x_16); +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_18, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -65604,7 +65694,7 @@ lean_dec(x_1); return x_19; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__6___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -65612,7 +65702,7 @@ x_16 = lean_unbox_usize(x_8); lean_dec(x_8); x_17 = lean_unbox_usize(x_9); lean_dec(x_9); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -65625,11 +65715,11 @@ lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___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, 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_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9___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: { lean_object* x_12; -x_12 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_PersistentArray_forInAux___at_Lean_Meta_realizeConst_realizeAndReport___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -65641,7 +65731,7 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__12___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_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -65649,7 +65739,7 @@ x_16 = lean_unbox_usize(x_8); lean_dec(x_8); x_17 = lean_unbox_usize(x_9); lean_dec(x_9); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -65662,11 +65752,11 @@ lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___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_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___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: { lean_object* x_11; -x_11 = l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_PersistentArray_forIn___at_Lean_Meta_realizeConst_realizeAndReport___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -65677,11 +65767,11 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___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_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -65689,17 +65779,17 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2(x_1); +x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___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_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___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; @@ -65707,7 +65797,7 @@ 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_Meta_realizeConst_realizeAndReport___spec__8(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13(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_8); lean_dec(x_7); @@ -65717,11 +65807,11 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___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_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___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) { _start: { lean_object* x_8; -x_8 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); @@ -65730,11 +65820,11 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___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_EXPORT lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___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) { _start: { lean_object* x_7; -x_7 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -65742,16 +65832,6 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___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) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst_realizeAndReport___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) { _start: { @@ -67962,7 +68042,7 @@ lean_dec(x_5); return x_11; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -67972,73 +68052,73 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5; +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3476____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6; -x_2 = lean_unsigned_to_nat(21332u); +x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6; +x_2 = lean_unsigned_to_nat(21334u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Meta_processPostponed_loop___closed__3; x_3 = 0; -x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7; +x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -68724,46 +68804,46 @@ l_Lean_Meta_instImpl____x40_Lean_Meta_Basic___hyg_20297_ = _init_l_Lean_Meta_ins lean_mark_persistent(l_Lean_Meta_instImpl____x40_Lean_Meta_Basic___hyg_20297_); l_Lean_Meta_instTypeNameRealizeConstantResult = _init_l_Lean_Meta_instTypeNameRealizeConstantResult(); lean_mark_persistent(l_Lean_Meta_instTypeNameRealizeConstantResult); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__3); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__4); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___lambda__2___closed__5); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__1); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2); -l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__1); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__2); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__3); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__5); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__1); -l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___closed__2); -l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1); -l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__2); -l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__3); -l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__4); -l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5(); -lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__5); +l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__1); +l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2); +l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3); +l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4); +l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5 = _init_l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5(); +lean_mark_persistent(l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__5); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___lambda__2___closed__5); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__13___closed__3); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__1); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__2); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__3); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__4); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___lambda__1___closed__5); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__1); +l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2 = _init_l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2(); +lean_mark_persistent(l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__7___closed__2); l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__1 = _init_l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__1); l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__2 = _init_l_Lean_Meta_realizeConst_realizeAndReport___lambda__1___closed__2(); @@ -68827,21 +68907,21 @@ l_Lean_Meta_realizeConst___lambda__5___closed__5 = _init_l_Lean_Meta_realizeCons lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__5___closed__5); l_Lean_Meta_realizeConst___lambda__6___closed__1 = _init_l_Lean_Meta_realizeConst___lambda__6___closed__1(); lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__6___closed__1); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__1); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__2); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__3); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__4); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__5); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__6); -l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332____closed__7); -if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21332_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__1); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__2); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__3); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__4); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__5); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__6); +l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334____closed__7); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_21334_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c index 3448a28da9..2ac248b32b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c @@ -3062,89 +3062,90 @@ uint8_t x_5; x_5 = lean_usize_dec_eq(x_2, x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; uint8_t x_10; +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; x_6 = lean_array_uget(x_1, x_2); x_7 = lean_ctor_get(x_4, 0); lean_inc(x_7); x_8 = 1; x_9 = lean_usize_add(x_2, x_8); -x_10 = !lean_is_exclusive(x_4); -if (x_10 == 0) +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; uint64_t x_20; size_t x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; -x_11 = lean_ctor_get(x_4, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; uint64_t x_20; uint64_t x_21; size_t x_22; size_t x_23; size_t x_24; size_t x_25; lean_object* x_26; uint8_t x_27; x_12 = lean_ctor_get(x_4, 1); -x_13 = lean_array_get_size(x_12); -x_14 = l_Lean_Expr_hash(x_6); -x_15 = 32; -x_16 = lean_uint64_shift_right(x_14, x_15); -x_17 = lean_uint64_xor(x_14, x_16); -x_18 = 16; -x_19 = lean_uint64_shift_right(x_17, x_18); -x_20 = lean_uint64_xor(x_17, x_19); -x_21 = lean_uint64_to_usize(x_20); -x_22 = lean_usize_of_nat(x_13); +x_13 = lean_ctor_get(x_4, 0); lean_dec(x_13); -x_23 = lean_usize_sub(x_22, x_8); -x_24 = lean_usize_land(x_21, x_23); -x_25 = lean_array_uget(x_12, x_24); -x_26 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_AC_toACExpr___spec__2(x_6, x_25); -if (x_26 == 0) +x_14 = lean_array_get_size(x_12); +x_15 = l_Lean_Expr_hash(x_6); +x_16 = 32; +x_17 = lean_uint64_shift_right(x_15, x_16); +x_18 = lean_uint64_xor(x_15, x_17); +x_19 = 16; +x_20 = lean_uint64_shift_right(x_18, x_19); +x_21 = lean_uint64_xor(x_18, x_20); +x_22 = lean_uint64_to_usize(x_21); +x_23 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_24 = lean_usize_sub(x_23, x_8); +x_25 = lean_usize_land(x_22, x_24); +x_26 = lean_array_uget(x_12, x_25); +x_27 = l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_AC_toACExpr___spec__2(x_6, x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_11, x_27); -lean_dec(x_11); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_6); -lean_ctor_set(x_29, 1, x_7); -lean_ctor_set(x_29, 2, x_25); -x_30 = lean_array_uset(x_12, x_24, x_29); -x_31 = lean_unsigned_to_nat(4u); -x_32 = lean_nat_mul(x_28, x_31); -x_33 = lean_unsigned_to_nat(3u); -x_34 = lean_nat_div(x_32, x_33); -lean_dec(x_32); -x_35 = lean_array_get_size(x_30); -x_36 = lean_nat_dec_le(x_34, x_35); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_10, x_28); +lean_dec(x_10); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_6); +lean_ctor_set(x_30, 1, x_7); +lean_ctor_set(x_30, 2, x_26); +x_31 = lean_array_uset(x_12, x_25, x_30); +x_32 = lean_unsigned_to_nat(4u); +x_33 = lean_nat_mul(x_29, x_32); +x_34 = lean_unsigned_to_nat(3u); +x_35 = lean_nat_div(x_33, x_34); +lean_dec(x_33); +x_36 = lean_array_get_size(x_31); +x_37 = lean_nat_dec_le(x_35, x_36); +lean_dec(x_36); lean_dec(x_35); -lean_dec(x_34); -if (x_36 == 0) +if (x_37 == 0) { -lean_object* x_37; -x_37 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_AC_toACExpr___spec__3(x_30); -lean_ctor_set(x_4, 1, x_37); -lean_ctor_set(x_4, 0, x_28); +lean_object* x_38; +x_38 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_AC_toACExpr___spec__3(x_31); +lean_ctor_set(x_4, 1, x_38); +lean_ctor_set(x_4, 0, x_29); x_2 = x_9; goto _start; } else { -lean_ctor_set(x_4, 1, x_30); -lean_ctor_set(x_4, 0, x_28); +lean_ctor_set(x_4, 1, x_31); +lean_ctor_set(x_4, 0, x_29); x_2 = x_9; goto _start; } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_box(0); -x_41 = lean_array_uset(x_12, x_24, x_40); -x_42 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_AC_toACExpr___spec__6(x_6, x_7, x_25); -x_43 = lean_array_uset(x_41, x_24, x_42); -lean_ctor_set(x_4, 1, x_43); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_box(0); +x_42 = lean_array_uset(x_12, x_25, x_41); +x_43 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_AC_toACExpr___spec__6(x_6, x_7, x_26); +x_44 = lean_array_uset(x_42, x_25, x_43); +lean_ctor_set(x_4, 1, x_44); x_2 = x_9; goto _start; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint64_t x_48; uint64_t x_49; uint64_t x_50; uint64_t x_51; uint64_t x_52; uint64_t x_53; uint64_t x_54; size_t x_55; size_t x_56; size_t x_57; size_t x_58; lean_object* x_59; uint8_t x_60; -x_45 = lean_ctor_get(x_4, 0); +lean_object* x_46; lean_object* x_47; uint64_t x_48; uint64_t x_49; uint64_t x_50; uint64_t x_51; uint64_t x_52; uint64_t x_53; uint64_t x_54; size_t x_55; size_t x_56; size_t x_57; size_t x_58; lean_object* x_59; uint8_t x_60; x_46 = lean_ctor_get(x_4, 1); lean_inc(x_46); -lean_inc(x_45); lean_dec(x_4); x_47 = lean_array_get_size(x_46); x_48 = l_Lean_Expr_hash(x_6); @@ -3165,8 +3166,8 @@ if (x_60 == 0) { 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; uint8_t x_70; x_61 = lean_unsigned_to_nat(1u); -x_62 = lean_nat_add(x_45, x_61); -lean_dec(x_45); +x_62 = lean_nat_add(x_10, x_61); +lean_dec(x_10); x_63 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_63, 0, x_6); lean_ctor_set(x_63, 1, x_7); @@ -3211,7 +3212,7 @@ x_77 = lean_array_uset(x_46, x_58, x_76); x_78 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_AC_toACExpr___spec__6(x_6, x_7, x_59); x_79 = lean_array_uset(x_77, x_58, x_78); x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_45); +lean_ctor_set(x_80, 0, x_10); lean_ctor_set(x_80, 1, x_79); x_2 = x_9; x_4 = x_80; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c index 192b807a29..2df540d02b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c @@ -19,19 +19,25 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing__ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__9; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__3; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210____closed__1; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__23; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__17; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44_(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__12; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__14; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); @@ -53,22 +59,28 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing__ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__10; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210_(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__21; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168_(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__13; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__19; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__11; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22; static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1() { @@ -456,7 +468,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Comm _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("store", 5, 5); +x_1 = lean_mk_string_unchecked("queue", 5, 5); return x_1; } } @@ -497,7 +509,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Comm _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("discard", 7, 7); +x_1 = lean_mk_string_unchecked("basis", 5, 5); return x_1; } } @@ -538,19 +550,20 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Comm _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("simp", 4, 4); +x_1 = lean_mk_string_unchecked("discard", 7, 7); return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1; x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2; -x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__1; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__3() { @@ -568,12 +581,133 @@ _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__2; -x_3 = 0; +x_3 = 1; x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__3; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("simp", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22; +x_2 = lean_unsigned_to_nat(336u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336_(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2; +x_3 = 0; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("superpose", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22; +x_2 = lean_unsigned_to_nat(377u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2; +x_3 = 0; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____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_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22; +x_2 = lean_unsigned_to_nat(418u); +x_3 = l_Lean_Name_num___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2; +x_3 = 0; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3; +x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* initialize_Lean_Util_Trace(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Types(uint8_t builtin, lean_object*); @@ -735,6 +869,33 @@ lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_ if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2); +l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3); +if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c index f23e67119d..2522a9c06e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/DenoteExpr.c @@ -19,6 +19,7 @@ lean_object* l_Lean_mkNatLit(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__2; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr___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_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(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_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__1; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_denoteExpr_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -27,6 +28,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Power_denoteExpr___boxed(lean_obj static lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr___closed__1; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr_denoteTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum(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_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__5; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__3; @@ -36,6 +38,7 @@ lean_object* l_outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteExpr(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_Grind_CommRing_Mon_denoteExpr_go___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___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__6; +lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Power_denoteExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2120,6 +2123,104 @@ lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(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: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum___closed__8; +x_17 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr_0__Lean_Meta_Grind_Arith_CommRing_denoteNum(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Meta_mkEq(x_14, x_18, x_7, x_8, x_9, x_10, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_25 = !lean_is_exclusive(x_13); +if (x_25 == 0) +{ +return x_13; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_13, 0); +x_27 = lean_ctor_get(x_13, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_13); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr___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: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Util(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Var(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c index 6b4ed4233c..302d9b2f11 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/EqCnstr.c @@ -13,157 +13,198 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Grind_Arith_gcdExt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___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*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis(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_Grind_CommRing_Mon_findSimp_x3f___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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__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*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___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* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_mkEqCnstr___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___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___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*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2; -static lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5; +lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(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_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith(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_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2; lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(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_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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_Meta_Grind_Arith_CommRing_processNewEqImpl___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*, lean_object*, lean_object*); +lean_object* l_Lean_indentD(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1___boxed(lean_object**); static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2___closed__1; size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_reportIssue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___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_EXPORT lean_object* l_List_filterMapM_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___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___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__1; -lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyAndCheck(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_int_emod(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1; +lean_object* l_Lean_Grind_CommRing_Poly_mulConstC(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___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* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(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_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1(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_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___lambda__1(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_Meta_Grind_Arith_CommRing_mkEqCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___lambda__1(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_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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*); -extern lean_object* l_instInhabitedPUnit; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___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_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___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*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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_Grind_CommRing_Mon_findSimp_x3f_go___closed__1; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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_RBNode_setBlack___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f(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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; +lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify(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_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1(lean_object*, lean_object*); lean_object* l_outOfBounds___rarg(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(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_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1; lean_object* l_Lean_Meta_Grind_Arith_CommRing_hasChar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_process_ring_diseq(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_Meta_Grind_Arith_CommRing_simplify___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_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___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*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___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*); -static lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___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*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__3; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_Meta_Grind_isSameExpr_unsafe__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1___boxed(lean_object**); -lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__2; lean_object* l_Lean_mkNot(lean_object*); -lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2___boxed(lean_object**); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7; +lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; lean_object* l_Lean_Grind_CommRing_Expr_toPolyM(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_Grind_updateLastTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_instMonadMetaM; -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___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_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Grind_CommRing_Mon_findSimp_x3f_go___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_mulConst(lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_degree(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6; -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); -static lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; LEAN_EXPORT lean_object* lean_process_ring_eq(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_Meta_Grind_Arith_CommRing_simplify(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_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp(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_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_findSimp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(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_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2; static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__2___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_denoteExpr(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_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3; -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1(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_Grind_CommRing_Poly_findSimp_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1; lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___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*, lean_object*, lean_object*, lean_object*); -lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; +uint8_t lean_int_dec_lt(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue(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_Grind_CommRing_Poly_lc(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f(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_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4; -static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___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*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasis(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_Meta_Grind_Arith_CommRing_addNewEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); -lean_object* lean_array_mk(lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5(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_Grind_CommRing_Poly_divides(lean_object*, lean_object*); uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(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_Meta_Grind_Arith_CommRing_processNewDiseqImpl___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*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_simplify___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* lean_int_neg(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4(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 lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___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_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; -static lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1; -static lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1; lean_object* l_Lean_Meta_Grind_getConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___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_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instMonad___rarg(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; size_t lean_usize_land(size_t, size_t); +uint8_t l_Lean_Grind_CommRing_Mon_divides(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_inSameRing_x3f___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, lean_object* x_10, lean_object* x_11) { _start: { @@ -2619,469 +2660,19 @@ lean_dec(x_3); return x_14; } } -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_instMonadMetaM; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3; -x_2 = l_ReaderT_instMonad___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4; -x_2 = l_instInhabitedPUnit; -x_3 = l_instInhabitedOfMonad___rarg(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_instInhabitedReaderT___rarg___boxed), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__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, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6; -x_13 = lean_panic_fn(x_12, x_1); -x_14 = lean_apply_10(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___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, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_9, 12); -x_13 = lean_ctor_get(x_9, 2); -x_14 = l_Lean_checkTraceOption(x_12, x_13, x_1); -x_15 = lean_box(x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_11); -return x_16; -} -} -static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1() { -_start: -{ -lean_object* x_1; uint8_t x_2; double x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = 0; -x_3 = l_Float_ofScientific(x_1, x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_array_mk(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(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_object* x_12) { -_start: -{ -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; uint8_t x_20; -x_13 = lean_ctor_get(x_10, 5); -x_14 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_8, x_9, x_10, x_11, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_take(x_11, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_17, 1); -x_22 = lean_ctor_get(x_17, 0); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_18, 3); -lean_dec(x_24); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -lean_object* x_26; double x_27; uint8_t 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; uint8_t x_35; -x_26 = lean_ctor_get(x_19, 0); -x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_28 = 0; -x_29 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_30 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_30, 0, x_1); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set_float(x_30, sizeof(void*)*2, x_27); -lean_ctor_set_float(x_30, sizeof(void*)*2 + 8, x_27); -lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 16, x_28); -x_31 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_32 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_15); -lean_ctor_set(x_32, 2, x_31); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_32); -lean_ctor_set(x_17, 0, x_13); -x_33 = l_Lean_PersistentArray_push___rarg(x_26, x_17); -lean_ctor_set(x_19, 0, x_33); -x_34 = lean_st_ref_set(x_11, x_18, x_21); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} -} -else -{ -uint64_t x_41; lean_object* x_42; double x_43; uint8_t 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; -x_41 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_42 = lean_ctor_get(x_19, 0); -lean_inc(x_42); -lean_dec(x_19); -x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_44 = 0; -x_45 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_46 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_46, 0, x_1); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set_float(x_46, sizeof(void*)*2, x_43); -lean_ctor_set_float(x_46, sizeof(void*)*2 + 8, x_43); -lean_ctor_set_uint8(x_46, sizeof(void*)*2 + 16, x_44); -x_47 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_48 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_15); -lean_ctor_set(x_48, 2, x_47); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_48); -lean_ctor_set(x_17, 0, x_13); -x_49 = l_Lean_PersistentArray_push___rarg(x_42, x_17); -x_50 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set_uint64(x_50, sizeof(void*)*1, x_41); -lean_ctor_set(x_18, 3, x_50); -x_51 = lean_st_ref_set(x_11, x_18, x_21); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_53 = x_51; -} else { - lean_dec_ref(x_51); - x_53 = lean_box(0); -} -x_54 = lean_box(0); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; -} -} -else -{ -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; uint64_t x_63; lean_object* x_64; lean_object* x_65; double x_66; uint8_t 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_56 = lean_ctor_get(x_18, 0); -x_57 = lean_ctor_get(x_18, 1); -x_58 = lean_ctor_get(x_18, 2); -x_59 = lean_ctor_get(x_18, 4); -x_60 = lean_ctor_get(x_18, 5); -x_61 = lean_ctor_get(x_18, 6); -x_62 = lean_ctor_get(x_18, 7); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_18); -x_63 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_64 = lean_ctor_get(x_19, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_65 = x_19; -} else { - lean_dec_ref(x_19); - x_65 = lean_box(0); -} -x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_67 = 0; -x_68 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_69 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_69, 0, x_1); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set_float(x_69, sizeof(void*)*2, x_66); -lean_ctor_set_float(x_69, sizeof(void*)*2 + 8, x_66); -lean_ctor_set_uint8(x_69, sizeof(void*)*2 + 16, x_67); -x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_71 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_15); -lean_ctor_set(x_71, 2, x_70); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_71); -lean_ctor_set(x_17, 0, x_13); -x_72 = l_Lean_PersistentArray_push___rarg(x_64, x_17); -if (lean_is_scalar(x_65)) { - x_73 = lean_alloc_ctor(0, 1, 8); -} else { - x_73 = x_65; -} -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set_uint64(x_73, sizeof(void*)*1, x_63); -x_74 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_74, 0, x_56); -lean_ctor_set(x_74, 1, x_57); -lean_ctor_set(x_74, 2, x_58); -lean_ctor_set(x_74, 3, x_73); -lean_ctor_set(x_74, 4, x_59); -lean_ctor_set(x_74, 5, x_60); -lean_ctor_set(x_74, 6, x_61); -lean_ctor_set(x_74, 7, x_62); -x_75 = lean_st_ref_set(x_11, x_74, x_21); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -} -else -{ -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; uint64_t x_89; lean_object* x_90; lean_object* x_91; double x_92; uint8_t 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; -x_80 = lean_ctor_get(x_17, 1); -lean_inc(x_80); -lean_dec(x_17); -x_81 = lean_ctor_get(x_18, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_18, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_18, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_18, 4); -lean_inc(x_84); -x_85 = lean_ctor_get(x_18, 5); -lean_inc(x_85); -x_86 = lean_ctor_get(x_18, 6); -lean_inc(x_86); -x_87 = lean_ctor_get(x_18, 7); -lean_inc(x_87); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - lean_ctor_release(x_18, 2); - lean_ctor_release(x_18, 3); - lean_ctor_release(x_18, 4); - lean_ctor_release(x_18, 5); - lean_ctor_release(x_18, 6); - lean_ctor_release(x_18, 7); - x_88 = x_18; -} else { - lean_dec_ref(x_18); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_90 = lean_ctor_get(x_19, 0); -lean_inc(x_90); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_91 = x_19; -} else { - lean_dec_ref(x_19); - x_91 = lean_box(0); -} -x_92 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_93 = 0; -x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_95 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_95, 0, x_1); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set_float(x_95, sizeof(void*)*2, x_92); -lean_ctor_set_float(x_95, sizeof(void*)*2 + 8, x_92); -lean_ctor_set_uint8(x_95, sizeof(void*)*2 + 16, x_93); -x_96 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_97 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_15); -lean_ctor_set(x_97, 2, x_96); -lean_inc(x_13); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_13); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_PersistentArray_push___rarg(x_90, x_98); -if (lean_is_scalar(x_91)) { - x_100 = lean_alloc_ctor(0, 1, 8); -} else { - x_100 = x_91; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set_uint64(x_100, sizeof(void*)*1, x_89); -if (lean_is_scalar(x_88)) { - x_101 = lean_alloc_ctor(0, 8, 0); -} else { - x_101 = x_88; -} -lean_ctor_set(x_101, 0, x_81); -lean_ctor_set(x_101, 1, x_82); -lean_ctor_set(x_101, 2, x_83); -lean_ctor_set(x_101, 3, x_100); -lean_ctor_set(x_101, 4, x_84); -lean_ctor_set(x_101, 5, x_85); -lean_ctor_set(x_101, 6, x_86); -lean_ctor_set(x_101, 7, x_87); -x_102 = lean_st_ref_set(x_11, x_101, x_80); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_104 = x_102; -} else { - lean_dec_ref(x_102); - x_104 = lean_box(0); -} -x_105 = lean_box(0); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -return x_106; -} -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ring", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Meta.Tactic.Grind.Arith.CommRing.EqCnstr", 45, 45); -return x_1; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.Arith.CommRing.simplify", 39, 39); -return x_1; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unreachable code has been reached", 33, 33); -return x_1; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3; -x_3 = lean_unsigned_to_nat(74u); -x_4 = lean_unsigned_to_nat(35u); -x_5 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1() { _start: { lean_object* x_1; @@ -3089,7 +2680,15 @@ x_1 = lean_mk_string_unchecked("grind", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ring", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3() { _start: { lean_object* x_1; @@ -3097,90 +2696,21 @@ x_1 = lean_mk_string_unchecked("simp", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4(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_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(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_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_20; -x_20 = !lean_is_exclusive(x_2); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 0); -lean_dec(x_22); -x_23 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_24 = l_Lean_Core_checkSystem(x_23, x_10, x_11, x_12); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get(x_21, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_21, 2); -lean_inc(x_27); -x_28 = lean_ctor_get(x_21, 3); -lean_inc(x_28); -x_29 = 0; -lean_inc(x_26); -x_30 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_26, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_26); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -lean_inc(x_21); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_21); -lean_ctor_set(x_2, 0, x_33); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_2); -x_13 = x_34; -x_14 = x_32; -goto block_19; -} -else -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_38, x_26); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_37); -lean_dec(x_28); -lean_dec(x_27); -x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5; +lean_object* x_13; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -3190,26 +2720,30 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_41 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -if (lean_obj_tag(x_41) == 0) +x_13 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_42; -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -lean_inc(x_1); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_31, 0, x_2); -x_13 = x_31; -x_14 = x_42; -goto block_19; -} -else +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -uint8_t x_43; -lean_free_object(x_31); -lean_free_object(x_2); -lean_dec(x_21); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 3); +lean_inc(x_20); +x_21 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_17, x_18, x_15); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3219,128 +2753,238 @@ 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_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -return x_41; +x_22 = lean_box(0); +lean_ctor_set(x_13, 0, x_22); +return x_13; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_41, 0); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); +lean_object* x_23; uint8_t x_24; +lean_free_object(x_13); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +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; uint8_t x_33; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_23, 2); +x_28 = lean_ctor_get(x_23, 3); +x_29 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_1); +lean_ctor_set(x_29, 2, x_26); +lean_ctor_set(x_29, 3, x_27); +lean_ctor_set(x_29, 4, x_28); +lean_inc(x_25); +lean_ctor_set(x_23, 3, x_20); +lean_ctor_set(x_23, 2, x_19); +lean_ctor_set(x_23, 1, x_29); +x_30 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; +x_31 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_25); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_box(0); +x_36 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_11); +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); +lean_dec(x_3); +return x_36; +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_31, 1); +x_39 = lean_ctor_get(x_31, 0); +lean_dec(x_39); +x_40 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_42) == 0) +{ +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_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -lean_dec(x_41); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_free_object(x_31); -x_47 = !lean_is_exclusive(x_39); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_39, 0); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -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; uint8_t x_58; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_ctor_get(x_48, 1); -x_52 = lean_ctor_get(x_48, 2); -x_53 = lean_ctor_get(x_48, 3); -x_54 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_54, 0, x_37); -lean_ctor_set(x_54, 1, x_21); -lean_ctor_set(x_54, 2, x_51); -lean_ctor_set(x_54, 3, x_52); -lean_ctor_set(x_54, 4, x_53); +lean_dec(x_42); +x_45 = l_Lean_MessageData_ofExpr(x_43); +x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_31, 7); +lean_ctor_set(x_31, 1, x_45); +lean_ctor_set(x_31, 0, x_46); +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_31); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_30, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -lean_ctor_set(x_48, 3, x_28); -lean_ctor_set(x_48, 2, x_27); -lean_ctor_set(x_48, 1, x_54); -x_55 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; -x_56 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_unbox(x_57); -lean_dec(x_57); -if (x_58 == 0) -{ -lean_object* x_59; -lean_dec(x_50); -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_59); -lean_dec(x_56); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_48); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_39, 0, x_2); -x_13 = x_39; -x_14 = x_59; -goto block_19; +lean_dec(x_48); +x_51 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_50); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_49); +return x_51; } else { -uint8_t x_60; -x_60 = !lean_is_exclusive(x_56); -if (x_60 == 0) +uint8_t x_52; +lean_free_object(x_31); +lean_dec(x_23); +lean_dec(x_11); +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); +lean_dec(x_3); +x_52 = !lean_is_exclusive(x_42); +if (x_52 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_56, 1); -x_62 = lean_ctor_get(x_56, 0); -lean_dec(x_62); -x_63 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_61); +return x_42; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_42, 0); +x_54 = lean_ctor_get(x_42, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_42); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_free_object(x_31); +lean_dec(x_23); +lean_dec(x_25); +lean_dec(x_11); +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); +lean_dec(x_3); +x_56 = !lean_is_exclusive(x_40); +if (x_56 == 0) +{ +return x_40; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_40, 0); +x_58 = lean_ctor_get(x_40, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_40); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_31, 1); +lean_inc(x_60); +lean_dec(x_31); +x_61 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_60); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_62); if (lean_obj_tag(x_63) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_63, 1); +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; +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); lean_dec(x_63); -x_65 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); -if (lean_obj_tag(x_65) == 0) -{ -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; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_MessageData_ofExpr(x_66); -x_69 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -lean_ctor_set_tag(x_56, 7); -lean_ctor_set(x_56, 1, x_68); -lean_ctor_set(x_56, 0, x_69); -x_70 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_70, 0, x_56); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_55, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -x_72 = lean_ctor_get(x_71, 1); +x_66 = l_Lean_MessageData_ofExpr(x_64); +x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_30, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_23, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_72); +lean_dec(x_11); +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); +lean_dec(x_3); lean_dec(x_71); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_48); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_39, 0, x_2); -x_13 = x_39; -x_14 = x_72; -goto block_19; +return x_73; } else { -uint8_t x_73; -lean_free_object(x_56); -lean_dec(x_48); -lean_free_object(x_39); -lean_free_object(x_2); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_23); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3350,35 +2994,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_73 = !lean_is_exclusive(x_65); -if (x_73 == 0) -{ -return x_65; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_65, 0); -x_75 = lean_ctor_get(x_65, 1); -lean_inc(x_75); +x_74 = lean_ctor_get(x_63, 0); lean_inc(x_74); -lean_dec(x_65); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +x_75 = lean_ctor_get(x_63, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_76 = x_63; +} else { + lean_dec_ref(x_63); + x_76 = lean_box(0); } +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } else { -uint8_t x_77; -lean_free_object(x_56); -lean_dec(x_48); -lean_dec(x_50); -lean_free_object(x_39); -lean_free_object(x_2); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_23); +lean_dec(x_25); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3388,75 +3030,69 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_77 = !lean_is_exclusive(x_63); -if (x_77 == 0) -{ -return x_63; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_63, 0); -x_79 = lean_ctor_get(x_63, 1); -lean_inc(x_79); +x_78 = lean_ctor_get(x_61, 0); lean_inc(x_78); -lean_dec(x_63); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; +x_79 = lean_ctor_get(x_61, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_80 = x_61; +} else { + lean_dec_ref(x_61); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} } } } else { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_56, 1); -lean_inc(x_81); -lean_dec(x_56); -x_82 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -if (lean_obj_tag(x_84) == 0) -{ -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; -x_85 = lean_ctor_get(x_84, 0); +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; uint8_t x_91; +x_82 = lean_ctor_get(x_23, 0); +x_83 = lean_ctor_get(x_23, 1); +x_84 = lean_ctor_get(x_23, 2); +x_85 = lean_ctor_get(x_23, 3); lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l_Lean_MessageData_ofExpr(x_85); -x_88 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_89 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_55, x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_86); -x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_23); +x_86 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_86, 0, x_2); +lean_ctor_set(x_86, 1, x_1); +lean_ctor_set(x_86, 2, x_83); +lean_ctor_set(x_86, 3, x_84); +lean_ctor_set(x_86, 4, x_85); +lean_inc(x_82); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_82); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_19); +lean_ctor_set(x_87, 3, x_20); +x_88 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; +x_89 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_unbox(x_90); +lean_dec(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_82); +x_92 = lean_ctor_get(x_89, 1); lean_inc(x_92); -lean_dec(x_91); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_48); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_39, 0, x_2); -x_13 = x_39; -x_14 = x_92; -goto block_19; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_48); -lean_free_object(x_39); -lean_free_object(x_2); +lean_dec(x_89); +x_93 = lean_box(0); +x_94 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_92); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3466,176 +3102,167 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_93 = lean_ctor_get(x_84, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_84, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_95 = x_84; -} else { - lean_dec_ref(x_84); - x_95 = lean_box(0); -} -if (lean_is_scalar(x_95)) { - x_96 = lean_alloc_ctor(1, 2, 0); -} else { - x_96 = x_95; -} -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_94); -return x_96; -} +return x_94; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_48); -lean_dec(x_50); -lean_free_object(x_39); -lean_free_object(x_2); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_1); -x_97 = lean_ctor_get(x_82, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_82, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_89, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_96 = x_89; +} else { + lean_dec_ref(x_89); + x_96 = lean_box(0); +} +x_97 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_95); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_97, 1); lean_inc(x_98); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_99 = x_82; +lean_dec(x_97); +x_99 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_98); +if (lean_obj_tag(x_99) == 0) +{ +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; lean_object* x_108; lean_object* x_109; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = l_Lean_MessageData_ofExpr(x_100); +x_103 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_96)) { + x_104 = lean_alloc_ctor(7, 2, 0); } else { - lean_dec_ref(x_82); - x_99 = lean_box(0); -} -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(1, 2, 0); -} else { - x_100 = x_99; -} -lean_ctor_set(x_100, 0, x_97); -lean_ctor_set(x_100, 1, x_98); -return x_100; -} -} + x_104 = x_96; + lean_ctor_set_tag(x_104, 7); } +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_88, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_101); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_87, x_107, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_107); +return x_109; } else { -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; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_101 = lean_ctor_get(x_48, 0); -x_102 = lean_ctor_get(x_48, 1); -x_103 = lean_ctor_get(x_48, 2); -x_104 = lean_ctor_get(x_48, 3); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_48); -x_105 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_105, 0, x_37); -lean_ctor_set(x_105, 1, x_21); -lean_ctor_set(x_105, 2, x_102); -lean_ctor_set(x_105, 3, x_103); -lean_ctor_set(x_105, 4, x_104); -lean_inc(x_101); -x_106 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_106, 0, x_101); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_106, 2, x_27); -lean_ctor_set(x_106, 3, x_28); -x_107 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; -x_108 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_107, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_unbox(x_109); -lean_dec(x_109); -if (x_110 == 0) -{ -lean_object* x_111; -lean_dec(x_101); -x_111 = lean_ctor_get(x_108, 1); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_96); +lean_dec(x_87); +lean_dec(x_11); +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); +lean_dec(x_3); +x_110 = lean_ctor_get(x_99, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_99, 1); lean_inc(x_111); -lean_dec(x_108); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_106); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_39, 0, x_2); -x_13 = x_39; -x_14 = x_111; -goto block_19; +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_112 = x_99; +} else { + lean_dec_ref(x_99); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_108, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_113 = x_108; -} else { - lean_dec_ref(x_108); - x_113 = lean_box(0); -} -x_114 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_112); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_114, 1); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_96); +lean_dec(x_87); +lean_dec(x_82); +lean_dec(x_11); +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); +lean_dec(x_3); +x_114 = lean_ctor_get(x_97, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_97, 1); lean_inc(x_115); -lean_dec(x_114); -x_116 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_101, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_115); -if (lean_obj_tag(x_116) == 0) +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_116 = x_97; +} else { + lean_dec_ref(x_97); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_116; +} +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_115); +return x_117; +} +} +} +} +} +else { -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; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); +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; +x_118 = lean_ctor_get(x_13, 0); +x_119 = lean_ctor_get(x_13, 1); +lean_inc(x_119); lean_inc(x_118); -lean_dec(x_116); -x_119 = l_Lean_MessageData_ofExpr(x_117); -x_120 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_113)) { - x_121 = lean_alloc_ctor(7, 2, 0); -} else { - x_121 = x_113; - lean_ctor_set_tag(x_121, 7); -} -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -x_123 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_107, x_122, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_118); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); +lean_dec(x_13); +x_120 = lean_ctor_get(x_2, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_1, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_1, 2); +lean_inc(x_122); +x_123 = lean_ctor_get(x_1, 3); +lean_inc(x_123); +x_124 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_120, x_121, x_118); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_dec(x_123); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_106); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_39, 0, x_2); -x_13 = x_39; -x_14 = x_124; -goto block_19; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_113); -lean_dec(x_106); -lean_free_object(x_39); -lean_free_object(x_2); +lean_dec(x_122); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3645,194 +3272,183 @@ 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_125 = lean_ctor_get(x_116, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_116, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_127 = x_116; -} else { - lean_dec_ref(x_116); - x_127 = lean_box(0); -} -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(1, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -return x_128; -} +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_119); +return x_126; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_113); -lean_dec(x_106); -lean_dec(x_101); -lean_free_object(x_39); -lean_free_object(x_2); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_1); -x_129 = lean_ctor_get(x_114, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_127 = lean_ctor_get(x_124, 0); +lean_inc(x_127); +lean_dec(x_124); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_114, 1); +x_130 = lean_ctor_get(x_127, 2); lean_inc(x_130); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_131 = x_114; +x_131 = lean_ctor_get(x_127, 3); +lean_inc(x_131); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + lean_ctor_release(x_127, 2); + lean_ctor_release(x_127, 3); + x_132 = x_127; } else { - lean_dec_ref(x_114); - x_131 = lean_box(0); + lean_dec_ref(x_127); + x_132 = lean_box(0); } -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); +x_133 = lean_alloc_ctor(2, 5, 0); +lean_ctor_set(x_133, 0, x_2); +lean_ctor_set(x_133, 1, x_1); +lean_ctor_set(x_133, 2, x_129); +lean_ctor_set(x_133, 3, x_130); +lean_ctor_set(x_133, 4, x_131); +lean_inc(x_128); +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 4, 0); } else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -} + x_134 = x_132; } +lean_ctor_set(x_134, 0, x_128); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_122); +lean_ctor_set(x_134, 3, x_123); +x_135 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4; +x_136 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_128); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +x_140 = lean_box(0); +x_141 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_139); +lean_dec(x_11); +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); +lean_dec(x_3); +return x_141; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_133 = lean_ctor_get(x_39, 0); -lean_inc(x_133); -lean_dec(x_39); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -x_136 = lean_ctor_get(x_133, 2); -lean_inc(x_136); -x_137 = lean_ctor_get(x_133, 3); -lean_inc(x_137); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - lean_ctor_release(x_133, 2); - lean_ctor_release(x_133, 3); - x_138 = x_133; +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_136, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_143 = x_136; } else { - lean_dec_ref(x_133); - x_138 = lean_box(0); + lean_dec_ref(x_136); + x_143 = lean_box(0); } -x_139 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_139, 0, x_37); -lean_ctor_set(x_139, 1, x_21); -lean_ctor_set(x_139, 2, x_135); -lean_ctor_set(x_139, 3, x_136); -lean_ctor_set(x_139, 4, x_137); -lean_inc(x_134); -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 4, 0); -} else { - x_140 = x_138; -} -lean_ctor_set(x_140, 0, x_134); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_27); -lean_ctor_set(x_140, 3, x_28); -x_141 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; -x_142 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_141, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_unbox(x_143); -lean_dec(x_143); -if (x_144 == 0) +x_144 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_142); +if (lean_obj_tag(x_144) == 0) { lean_object* x_145; lean_object* x_146; -lean_dec(x_134); -x_145 = lean_ctor_get(x_142, 1); +x_145 = lean_ctor_get(x_144, 1); lean_inc(x_145); -lean_dec(x_142); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_140); -lean_ctor_set(x_2, 0, x_1); -x_146 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_146, 0, x_2); -x_13 = x_146; -x_14 = x_145; -goto block_19; +lean_dec(x_144); +x_146 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_145); +if (lean_obj_tag(x_146) == 0) +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = l_Lean_MessageData_ofExpr(x_147); +x_150 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_143)) { + x_151 = lean_alloc_ctor(7, 2, 0); +} else { + x_151 = x_143; + lean_ctor_set_tag(x_151, 7); +} +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_135, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_148); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_134, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_155); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_154); +return x_156; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_142, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_148 = x_142; +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_dec(x_143); +lean_dec(x_134); +lean_dec(x_11); +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); +lean_dec(x_3); +x_157 = lean_ctor_get(x_146, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_146, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_159 = x_146; } else { - lean_dec_ref(x_142); - x_148 = lean_box(0); + lean_dec_ref(x_146); + x_159 = lean_box(0); } -x_149 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_147); -if (lean_obj_tag(x_149) == 0) -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_134, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_150); -if (lean_obj_tag(x_151) == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_Lean_MessageData_ofExpr(x_152); -x_155 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_148)) { - x_156 = lean_alloc_ctor(7, 2, 0); +if (lean_is_scalar(x_159)) { + x_160 = lean_alloc_ctor(1, 2, 0); } else { - x_156 = x_148; - lean_ctor_set_tag(x_156, 7); + x_160 = x_159; +} +lean_ctor_set(x_160, 0, x_157); +lean_ctor_set(x_160, 1, x_158); +return x_160; } -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_141, x_157, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_153); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_140); -lean_ctor_set(x_2, 0, x_1); -x_160 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_160, 0, x_2); -x_13 = x_160; -x_14 = x_159; -goto block_19; } else { lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_148); -lean_dec(x_140); -lean_free_object(x_2); +lean_dec(x_143); +lean_dec(x_134); +lean_dec(x_128); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3842,17 +3458,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_161 = lean_ctor_get(x_151, 0); +x_161 = lean_ctor_get(x_144, 0); lean_inc(x_161); -x_162 = lean_ctor_get(x_151, 1); +x_162 = lean_ctor_get(x_144, 1); lean_inc(x_162); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - x_163 = x_151; +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_163 = x_144; } else { - lean_dec_ref(x_151); + lean_dec_ref(x_144); x_163 = lean_box(0); } if (lean_is_scalar(x_163)) { @@ -3865,13 +3480,12 @@ lean_ctor_set(x_164, 1, x_162); return x_164; } } +} +} +} else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -lean_dec(x_148); -lean_dec(x_140); -lean_dec(x_134); -lean_free_object(x_2); +uint8_t x_165; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3881,48 +3495,136 @@ 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_165 = lean_ctor_get(x_149, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_149, 1); +x_165 = !lean_is_exclusive(x_13); +if (x_165 == 0) +{ +return x_13; +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_13, 0); +x_167 = lean_ctor_get(x_13, 1); +lean_inc(x_167); lean_inc(x_166); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_167 = x_149; -} else { - lean_dec_ref(x_149); - x_167 = lean_box(0); -} -if (lean_is_scalar(x_167)) { - x_168 = lean_alloc_ctor(1, 2, 0); -} else { - x_168 = x_167; -} -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_166); +lean_dec(x_13); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); return x_168; } } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___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_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_2); +return x_13; } -else +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_31, 0); -lean_inc(x_169); -lean_dec(x_31); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_170, x_26); -if (lean_obj_tag(x_171) == 0) +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_2); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +return x_17; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1() { +_start: { -lean_object* x_172; lean_object* x_173; -lean_dec(x_169); -lean_dec(x_28); -lean_dec(x_27); -x_172 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("debug", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("simplifying", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\nwith", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_21; +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_3, 1); +x_23 = lean_ctor_get(x_3, 0); +lean_dec(x_23); +x_24 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_25 = l_Lean_Core_checkSystem(x_24, x_11, x_12, x_13); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -3931,27 +3633,156 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_173 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1(x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -lean_dec(x_173); lean_inc(x_1); -lean_ctor_set(x_2, 0, x_1); -x_175 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_175, 0, x_2); -x_13 = x_175; -x_14 = x_174; -goto block_19; +lean_inc(x_22); +x_27 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_22, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_3, 0, x_30); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_3); +x_14 = x_31; +x_15 = x_29; +goto block_20; } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_free_object(x_2); -lean_dec(x_21); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_free_object(x_3); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_dec(x_27); +x_33 = lean_ctor_get(x_28, 0); +lean_inc(x_33); +lean_dec(x_28); +x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; +x_35 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_32); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_box(0); +lean_inc(x_2); +x_40 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_38); +lean_dec(x_22); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_14 = x_41; +x_15 = x_42; +goto block_20; +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_35); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_35, 1); +x_45 = lean_ctor_get(x_35, 0); +lean_dec(x_45); +x_46 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_22); +x_48 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_51 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +if (lean_obj_tag(x_51) == 0) +{ +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_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_MessageData_ofExpr(x_49); +x_55 = l_Lean_indentD(x_54); +x_56 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +lean_ctor_set_tag(x_35, 7); +lean_ctor_set(x_35, 1, x_55); +lean_ctor_set(x_35, 0, x_56); +x_57 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_MessageData_ofExpr(x_52); +x_60 = l_Lean_indentD(x_59); +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +lean_inc(x_2); +x_67 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +lean_dec(x_65); +lean_dec(x_22); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_14 = x_68; +x_15 = x_69; +goto block_20; +} +else +{ +uint8_t x_70; +lean_dec(x_49); +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3960,18 +3791,573 @@ lean_dec(x_7); 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_176 = lean_ctor_get(x_173, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_173, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_178 = x_173; +x_70 = !lean_is_exclusive(x_51); +if (x_70 == 0) +{ +return x_51; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_51, 0); +x_72 = lean_ctor_get(x_51, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_51); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +uint8_t x_74; +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_48); +if (x_74 == 0) +{ +return x_48; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_48, 0); +x_76 = lean_ctor_get(x_48, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_48); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +else +{ +uint8_t x_78; +lean_free_object(x_35); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_46); +if (x_78 == 0) +{ +return x_46; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_46, 0); +x_80 = lean_ctor_get(x_46, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_46); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_35, 1); +lean_inc(x_82); +lean_dec(x_35); +x_83 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_22); +x_85 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_84); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_88 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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 = l_Lean_MessageData_ofExpr(x_86); +x_92 = l_Lean_indentD(x_91); +x_93 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_96 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_MessageData_ofExpr(x_89); +x_98 = l_Lean_indentD(x_97); +x_99 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_98); +x_100 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_101 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +lean_inc(x_2); +x_105 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_33, x_22, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); +lean_dec(x_103); +lean_dec(x_22); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_14 = x_106; +x_15 = x_107; +goto block_20; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_86); +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_108 = lean_ctor_get(x_88, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_88, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_110 = x_88; } else { - lean_dec_ref(x_173); + lean_dec_ref(x_88); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_112 = lean_ctor_get(x_85, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_85, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_114 = x_85; +} else { + lean_dec_ref(x_85); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_33); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_116 = lean_ctor_get(x_83, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_83, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_118 = x_83; +} else { + lean_dec_ref(x_83); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +} +} +else +{ +uint8_t x_120; +lean_free_object(x_3); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_120 = !lean_is_exclusive(x_27); +if (x_120 == 0) +{ +return x_27; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_27, 0); +x_122 = lean_ctor_get(x_27, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_27); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_free_object(x_3); +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_124 = !lean_is_exclusive(x_25); +if (x_124 == 0) +{ +return x_25; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_25, 0); +x_126 = lean_ctor_get(x_25, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_25); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_3, 1); +lean_inc(x_128); +lean_dec(x_3); +x_129 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_130 = l_Lean_Core_checkSystem(x_129, x_11, x_12, x_13); +if (lean_obj_tag(x_130) == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +lean_inc(x_128); +x_132 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1(x_128, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_131); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +lean_inc(x_128); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_128); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_128); +x_137 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_14 = x_137; +x_15 = x_134; +goto block_20; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_138 = lean_ctor_get(x_132, 1); +lean_inc(x_138); +lean_dec(x_132); +x_139 = lean_ctor_get(x_133, 0); +lean_inc(x_139); +lean_dec(x_133); +x_140 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; +x_141 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_140, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_138); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_unbox(x_142); +lean_dec(x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_141, 1); +lean_inc(x_144); +lean_dec(x_141); +x_145 = lean_box(0); +lean_inc(x_2); +x_146 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_145, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_144); +lean_dec(x_128); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_14 = x_147; +x_15 = x_148; +goto block_20; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_141, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_150 = x_141; +} else { + lean_dec_ref(x_141); + x_150 = lean_box(0); +} +x_151 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_149); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +lean_dec(x_151); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_128); +x_153 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_152); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_156 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_155); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = l_Lean_MessageData_ofExpr(x_154); +x_160 = l_Lean_indentD(x_159); +x_161 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4; +if (lean_is_scalar(x_150)) { + x_162 = lean_alloc_ctor(7, 2, 0); +} else { + x_162 = x_150; + lean_ctor_set_tag(x_162, 7); +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6; +x_164 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_Lean_MessageData_ofExpr(x_157); +x_166 = l_Lean_indentD(x_165); +x_167 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_166); +x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_169 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +lean_inc(x_2); +x_173 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_2, x_139, x_128, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_172); +lean_dec(x_171); +lean_dec(x_128); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_14 = x_174; +x_15 = x_175; +goto block_20; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_154); +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_176 = lean_ctor_get(x_156, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_156, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_178 = x_156; +} else { + lean_dec_ref(x_156); x_178 = lean_box(0); } if (lean_is_scalar(x_178)) { @@ -3986,142 +4372,89 @@ return x_179; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_180 = lean_ctor_get(x_171, 0); +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_180 = lean_ctor_get(x_153, 0); lean_inc(x_180); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - x_181 = x_171; +x_181 = lean_ctor_get(x_153, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_182 = x_153; } else { - lean_dec_ref(x_171); - x_181 = lean_box(0); + lean_dec_ref(x_153); + x_182 = lean_box(0); } -x_182 = lean_ctor_get(x_180, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -x_184 = lean_ctor_get(x_180, 2); -lean_inc(x_184); -x_185 = lean_ctor_get(x_180, 3); -lean_inc(x_185); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - lean_ctor_release(x_180, 2); - lean_ctor_release(x_180, 3); - x_186 = x_180; +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_180); + x_183 = x_182; +} +lean_ctor_set(x_183, 0, x_180); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_dec(x_150); +lean_dec(x_139); +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_184 = lean_ctor_get(x_151, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_151, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_186 = x_151; +} else { + lean_dec_ref(x_151); x_186 = lean_box(0); } -x_187 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_187, 0, x_169); -lean_ctor_set(x_187, 1, x_21); -lean_ctor_set(x_187, 2, x_183); -lean_ctor_set(x_187, 3, x_184); -lean_ctor_set(x_187, 4, x_185); -lean_inc(x_182); if (lean_is_scalar(x_186)) { - x_188 = lean_alloc_ctor(0, 4, 0); + x_187 = lean_alloc_ctor(1, 2, 0); } else { - x_188 = x_186; + x_187 = x_186; +} +lean_ctor_set(x_187, 0, x_184); +lean_ctor_set(x_187, 1, x_185); +return x_187; +} } -lean_ctor_set(x_188, 0, x_182); -lean_ctor_set(x_188, 1, x_187); -lean_ctor_set(x_188, 2, x_27); -lean_ctor_set(x_188, 3, x_28); -x_189 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; -x_190 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_189, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_unbox(x_191); -lean_dec(x_191); -if (x_192 == 0) -{ -lean_object* x_193; lean_object* x_194; -lean_dec(x_182); -x_193 = lean_ctor_get(x_190, 1); -lean_inc(x_193); -lean_dec(x_190); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_188); -lean_ctor_set(x_2, 0, x_1); -if (lean_is_scalar(x_181)) { - x_194 = lean_alloc_ctor(1, 1, 0); -} else { - x_194 = x_181; } -lean_ctor_set(x_194, 0, x_2); -x_13 = x_194; -x_14 = x_193; -goto block_19; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_190, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_196 = x_190; -} else { - lean_dec_ref(x_190); - x_196 = lean_box(0); -} -x_197 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_195); -if (lean_obj_tag(x_197) == 0) -{ -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -lean_dec(x_197); -x_199 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_182, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_198); -if (lean_obj_tag(x_199) == 0) -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); -lean_inc(x_201); -lean_dec(x_199); -x_202 = l_Lean_MessageData_ofExpr(x_200); -x_203 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_196)) { - x_204 = lean_alloc_ctor(7, 2, 0); -} else { - x_204 = x_196; - lean_ctor_set_tag(x_204, 7); -} -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_203); -x_206 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_189, x_205, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_201); -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -lean_dec(x_206); -lean_inc(x_1); -lean_ctor_set(x_2, 1, x_188); -lean_ctor_set(x_2, 0, x_1); -if (lean_is_scalar(x_181)) { - x_208 = lean_alloc_ctor(1, 1, 0); -} else { - x_208 = x_181; -} -lean_ctor_set(x_208, 0, x_2); -x_13 = x_208; -x_14 = x_207; -goto block_19; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_196); -lean_dec(x_188); -lean_dec(x_181); -lean_free_object(x_2); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_128); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4130,221 +4463,605 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_209 = lean_ctor_get(x_199, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_199, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_199)) { - lean_ctor_release(x_199, 0); - lean_ctor_release(x_199, 1); - x_211 = x_199; -} else { - lean_dec_ref(x_199); - x_211 = lean_box(0); -} -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); -} else { - x_212 = x_211; -} -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; -} -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_196); -lean_dec(x_188); -lean_dec(x_182); -lean_dec(x_181); -lean_free_object(x_2); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_1); -x_213 = lean_ctor_get(x_197, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_197, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_215 = x_197; -} else { - lean_dec_ref(x_197); - x_215 = lean_box(0); -} -if (lean_is_scalar(x_215)) { - x_216 = lean_alloc_ctor(1, 2, 0); -} else { - x_216 = x_215; -} -lean_ctor_set(x_216, 0, x_213); -lean_ctor_set(x_216, 1, x_214); -return x_216; -} -} -} -} -} -} -else -{ -uint8_t x_217; -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_26); -lean_free_object(x_2); -lean_dec(x_21); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_1); -x_217 = !lean_is_exclusive(x_30); -if (x_217 == 0) -{ -return x_30; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_30, 0); -x_219 = lean_ctor_get(x_30, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_30); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -else -{ -uint8_t x_221; -lean_free_object(x_2); -lean_dec(x_21); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_1); -x_221 = !lean_is_exclusive(x_24); -if (x_221 == 0) -{ -return x_24; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_24, 0); -x_223 = lean_ctor_get(x_24, 1); -lean_inc(x_223); -lean_inc(x_222); -lean_dec(x_24); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; -} -} -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_2, 1); -lean_inc(x_225); lean_dec(x_2); -x_226 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_227 = l_Lean_Core_checkSystem(x_226, x_10, x_11, x_12); -if (lean_obj_tag(x_227) == 0) +lean_dec(x_1); +x_188 = lean_ctor_get(x_132, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_132, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_190 = x_132; +} else { + lean_dec_ref(x_132); + x_190 = lean_box(0); +} +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(1, 2, 0); +} else { + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_189); +return x_191; +} +} +else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_233; -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_ctor_get(x_225, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_225, 2); -lean_inc(x_230); -x_231 = lean_ctor_get(x_225, 3); -lean_inc(x_231); -x_232 = 0; -lean_inc(x_229); -x_233 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_229, x_232, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_228); -if (lean_obj_tag(x_233) == 0) +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_128); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_192 = lean_ctor_get(x_130, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_130, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_194 = x_130; +} else { + lean_dec_ref(x_130); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; +} +} +block_20: { -lean_object* x_234; -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -if (lean_obj_tag(x_234) == 0) +if (lean_obj_tag(x_14) == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -lean_dec(x_231); -lean_dec(x_230); -lean_dec(x_229); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -lean_inc(x_225); -x_236 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_236, 0, x_225); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_225); -x_238 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_238, 0, x_237); -x_13 = x_238; -x_14 = x_235; +lean_object* x_16; lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_3 = x_18; +x_13 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(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_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1(x_2, x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_15, 0); +lean_dec(x_19); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +lean_ctor_set(x_15, 0, x_20); +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_16); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_15, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_17, 0); +lean_inc(x_26); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_26); +return x_15; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_dec(x_15); +x_28 = lean_ctor_get(x_17, 0); +lean_inc(x_28); +lean_dec(x_17); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___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_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___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_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_1); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_12); +return x_16; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("simplified", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_20; +x_20 = !lean_is_exclusive(x_2); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = 0; +x_25 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_23, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_free_object(x_2); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; +x_29 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = lean_box(0); +x_34 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_13 = x_35; +x_14 = x_36; goto block_19; } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_239 = lean_ctor_get(x_233, 1); -lean_inc(x_239); -lean_dec(x_233); -x_240 = lean_ctor_get(x_234, 0); -lean_inc(x_240); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - x_241 = x_234; -} else { - lean_dec_ref(x_234); - x_241 = lean_box(0); -} -x_242 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -x_243 = l_Lean_Grind_CommRing_Poly_simp_x3f(x_242, x_229); -if (lean_obj_tag(x_243) == 0) +uint8_t x_37; +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) { -lean_object* x_244; lean_object* x_245; -lean_dec(x_240); -lean_dec(x_231); -lean_dec(x_230); -x_244 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_29, 1); +x_39 = lean_ctor_get(x_29, 0); +lean_dec(x_39); +x_40 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_21); +x_42 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +if (lean_obj_tag(x_42) == 0) +{ +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; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_MessageData_ofExpr(x_43); +x_46 = l_Lean_indentD(x_45); +x_47 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; +lean_ctor_set_tag(x_29, 7); +lean_ctor_set(x_29, 1, x_46); +lean_ctor_set(x_29, 0, x_47); +x_48 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_29); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_28, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_52); +lean_dec(x_51); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_13 = x_54; +x_14 = x_55; +goto block_19; +} +else +{ +uint8_t x_56; +lean_free_object(x_29); +lean_dec(x_21); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_42); +if (x_56 == 0) +{ +return x_42; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_42, 0); +x_58 = lean_ctor_get(x_42, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_42); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_free_object(x_29); +lean_dec(x_21); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_40); +if (x_60 == 0) +{ +return x_40; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_40, 0); +x_62 = lean_ctor_get(x_40, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_29, 1); +lean_inc(x_64); +lean_dec(x_29); +x_65 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_21); +x_67 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); +if (lean_obj_tag(x_67) == 0) +{ +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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_MessageData_ofExpr(x_68); +x_71 = l_Lean_indentD(x_70); +x_72 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_28, x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_21, x_77, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_78); +lean_dec(x_77); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_13 = x_80; +x_14 = x_81; +goto block_19; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_21); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_82 = lean_ctor_get(x_67, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_67, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_84 = x_67; +} else { + lean_dec_ref(x_67); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_21); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_86 = lean_ctor_get(x_65, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_65, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_88 = x_65; +} else { + lean_dec_ref(x_65); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +} +else +{ +lean_object* x_90; uint8_t x_91; +x_90 = lean_ctor_get(x_25, 1); +lean_inc(x_90); +lean_dec(x_25); +x_91 = !lean_is_exclusive(x_26); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_26, 0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -4354,32 +5071,28 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_245 = l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1(x_244, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_239); -if (lean_obj_tag(x_245) == 0) +x_93 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_246 = lean_ctor_get(x_245, 1); -lean_inc(x_246); -lean_dec(x_245); +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); lean_inc(x_1); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_1); -lean_ctor_set(x_247, 1, x_225); -if (lean_is_scalar(x_241)) { - x_248 = lean_alloc_ctor(1, 1, 0); -} else { - x_248 = x_241; -} -lean_ctor_set(x_248, 0, x_247); -x_13 = x_248; -x_14 = x_246; +lean_ctor_set(x_2, 1, x_94); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_26, 0, x_2); +x_13 = x_26; +x_14 = x_95; goto block_19; } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -lean_dec(x_241); -lean_dec(x_225); +uint8_t x_96; +lean_free_object(x_26); +lean_free_object(x_2); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4390,168 +5103,247 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_249 = lean_ctor_get(x_245, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_245, 1); -lean_inc(x_250); -if (lean_is_exclusive(x_245)) { - lean_ctor_release(x_245, 0); - lean_ctor_release(x_245, 1); - x_251 = x_245; -} else { - lean_dec_ref(x_245); - x_251 = lean_box(0); +x_96 = !lean_is_exclusive(x_93); +if (x_96 == 0) +{ +return x_93; } -if (lean_is_scalar(x_251)) { - x_252 = lean_alloc_ctor(1, 2, 0); -} else { - x_252 = x_251; +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_93, 0); +x_98 = lean_ctor_get(x_93, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_93); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; } -lean_ctor_set(x_252, 0, x_249); -lean_ctor_set(x_252, 1, x_250); -return x_252; } } else { -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; -lean_dec(x_241); -x_253 = lean_ctor_get(x_243, 0); -lean_inc(x_253); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - x_254 = x_243; -} else { - lean_dec_ref(x_243); - x_254 = lean_box(0); -} -x_255 = lean_ctor_get(x_253, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_253, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_253, 2); -lean_inc(x_257); -x_258 = lean_ctor_get(x_253, 3); -lean_inc(x_258); -if (lean_is_exclusive(x_253)) { - lean_ctor_release(x_253, 0); - lean_ctor_release(x_253, 1); - lean_ctor_release(x_253, 2); - lean_ctor_release(x_253, 3); - x_259 = x_253; -} else { - lean_dec_ref(x_253); - x_259 = lean_box(0); -} -x_260 = lean_alloc_ctor(2, 5, 0); -lean_ctor_set(x_260, 0, x_240); -lean_ctor_set(x_260, 1, x_225); -lean_ctor_set(x_260, 2, x_256); -lean_ctor_set(x_260, 3, x_257); -lean_ctor_set(x_260, 4, x_258); -lean_inc(x_255); -if (lean_is_scalar(x_259)) { - x_261 = lean_alloc_ctor(0, 4, 0); -} else { - x_261 = x_259; -} -lean_ctor_set(x_261, 0, x_255); -lean_ctor_set(x_261, 1, x_260); -lean_ctor_set(x_261, 2, x_230); -lean_ctor_set(x_261, 3, x_231); -x_262 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8; -x_263 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_262, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_239); -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_unbox(x_264); -lean_dec(x_264); -if (x_265 == 0) +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_26, 0); +lean_inc(x_100); +lean_dec(x_26); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_101 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_21, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -lean_dec(x_255); -x_266 = lean_ctor_get(x_263, 1); -lean_inc(x_266); -lean_dec(x_263); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); lean_inc(x_1); -x_267 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_267, 0, x_1); -lean_ctor_set(x_267, 1, x_261); -if (lean_is_scalar(x_254)) { - x_268 = lean_alloc_ctor(1, 1, 0); -} else { - x_268 = x_254; -} -lean_ctor_set(x_268, 0, x_267); -x_13 = x_268; -x_14 = x_266; +lean_ctor_set(x_2, 1, x_102); +lean_ctor_set(x_2, 0, x_1); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_2); +x_13 = x_104; +x_14 = x_103; goto block_19; } else { -lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_269 = lean_ctor_get(x_263, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - x_270 = x_263; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_free_object(x_2); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_105 = lean_ctor_get(x_101, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_101, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_107 = x_101; } else { - lean_dec_ref(x_263); - x_270 = lean_box(0); + lean_dec_ref(x_101); + x_107 = lean_box(0); } -x_271 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_269); -if (lean_obj_tag(x_271) == 0) +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; +} +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +} +} +else { -lean_object* x_272; lean_object* x_273; -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -lean_dec(x_271); -x_273 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_255, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_272); -if (lean_obj_tag(x_273) == 0) +uint8_t x_109; +lean_free_object(x_2); +lean_dec(x_21); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_109 = !lean_is_exclusive(x_25); +if (x_109 == 0) { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_273, 1); -lean_inc(x_275); -lean_dec(x_273); -x_276 = l_Lean_MessageData_ofExpr(x_274); -x_277 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -if (lean_is_scalar(x_270)) { - x_278 = lean_alloc_ctor(7, 2, 0); -} else { - x_278 = x_270; - lean_ctor_set_tag(x_278, 7); +return x_25; } -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -x_279 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_262, x_279, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_275); -x_281 = lean_ctor_get(x_280, 1); -lean_inc(x_281); -lean_dec(x_280); -lean_inc(x_1); -x_282 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_282, 0, x_1); -lean_ctor_set(x_282, 1, x_261); -if (lean_is_scalar(x_254)) { - x_283 = lean_alloc_ctor(1, 1, 0); -} else { - x_283 = x_254; +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_25, 0); +x_111 = lean_ctor_get(x_25, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_25); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; } -lean_ctor_set(x_283, 0, x_282); -x_13 = x_283; -x_14 = x_281; +} +} +else +{ +lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; +x_113 = lean_ctor_get(x_2, 1); +lean_inc(x_113); +lean_dec(x_2); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = 0; +x_116 = l_Lean_Grind_CommRing_Poly_findSimp_x3f(x_114, x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2; +x_120 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_118); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_unbox(x_121); +lean_dec(x_121); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_123 = lean_ctor_get(x_120, 1); +lean_inc(x_123); +lean_dec(x_120); +x_124 = lean_box(0); +x_125 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_113, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_123); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_13 = x_126; +x_14 = x_127; goto block_19; } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -lean_dec(x_270); -lean_dec(x_261); -lean_dec(x_254); +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_120, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_129 = x_120; +} else { + lean_dec_ref(x_120); + x_129 = lean_box(0); +} +x_130 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_128); +if (lean_obj_tag(x_130) == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_113); +x_132 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_131); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = l_Lean_MessageData_ofExpr(x_133); +x_136 = l_Lean_indentD(x_135); +x_137 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2; +if (lean_is_scalar(x_129)) { + x_138 = lean_alloc_ctor(7, 2, 0); +} else { + x_138 = x_129; + lean_ctor_set_tag(x_138, 7); +} +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_140 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_119, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_134); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_113, x_142, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_143); +lean_dec(x_142); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_13 = x_145; +x_14 = x_146; +goto block_19; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_129); +lean_dec(x_113); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4562,35 +5354,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_284 = lean_ctor_get(x_273, 0); -lean_inc(x_284); -x_285 = lean_ctor_get(x_273, 1); -lean_inc(x_285); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_286 = x_273; +x_147 = lean_ctor_get(x_132, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_132, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + x_149 = x_132; } else { - lean_dec_ref(x_273); - x_286 = lean_box(0); + lean_dec_ref(x_132); + x_149 = lean_box(0); } -if (lean_is_scalar(x_286)) { - x_287 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(1, 2, 0); } else { - x_287 = x_286; + x_150 = x_149; } -lean_ctor_set(x_287, 0, x_284); -lean_ctor_set(x_287, 1, x_285); -return x_287; +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_148); +return x_150; } } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_270); -lean_dec(x_261); -lean_dec(x_255); -lean_dec(x_254); +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_129); +lean_dec(x_113); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4601,38 +5391,80 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_288 = lean_ctor_get(x_271, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_271, 1); -lean_inc(x_289); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_290 = x_271; +x_151 = lean_ctor_get(x_130, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_130, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_153 = x_130; } else { - lean_dec_ref(x_271); - x_290 = lean_box(0); + lean_dec_ref(x_130); + x_153 = lean_box(0); } -if (lean_is_scalar(x_290)) { - x_291 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(1, 2, 0); } else { - x_291 = x_290; -} -lean_ctor_set(x_291, 0, x_288); -lean_ctor_set(x_291, 1, x_289); -return x_291; -} + x_154 = x_153; } +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_152); +return x_154; } } } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -lean_dec(x_231); -lean_dec(x_230); -lean_dec(x_229); -lean_dec(x_225); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_155 = lean_ctor_get(x_116, 1); +lean_inc(x_155); +lean_dec(x_116); +x_156 = lean_ctor_get(x_117, 0); +lean_inc(x_156); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + x_157 = x_117; +} else { + lean_dec_ref(x_117); + x_157 = lean_box(0); +} +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_158 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_113, x_156, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_155); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +lean_inc(x_1); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_1); +lean_ctor_set(x_161, 1, x_159); +if (lean_is_scalar(x_157)) { + x_162 = lean_alloc_ctor(1, 1, 0); +} else { + x_162 = x_157; +} +lean_ctor_set(x_162, 0, x_161); +x_13 = x_162; +x_14 = x_160; +goto block_19; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_157); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4643,32 +5475,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_292 = lean_ctor_get(x_233, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_233, 1); -lean_inc(x_293); -if (lean_is_exclusive(x_233)) { - lean_ctor_release(x_233, 0); - lean_ctor_release(x_233, 1); - x_294 = x_233; +x_163 = lean_ctor_get(x_158, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_158, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_165 = x_158; } else { - lean_dec_ref(x_233); - x_294 = lean_box(0); + lean_dec_ref(x_158); + x_165 = lean_box(0); } -if (lean_is_scalar(x_294)) { - x_295 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); } else { - x_295 = x_294; + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); +return x_166; } -lean_ctor_set(x_295, 0, x_292); -lean_ctor_set(x_295, 1, x_293); -return x_295; } } else { -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_225); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_113); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4679,26 +5512,26 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_296 = lean_ctor_get(x_227, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_227, 1); -lean_inc(x_297); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_298 = x_227; +x_167 = lean_ctor_get(x_116, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_116, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_169 = x_116; } else { - lean_dec_ref(x_227); - x_298 = lean_box(0); + lean_dec_ref(x_116); + x_169 = lean_box(0); } -if (lean_is_scalar(x_298)) { - x_299 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); } else { - x_299 = x_298; + x_170 = x_169; } -lean_ctor_set(x_299, 0, x_296); -lean_ctor_set(x_299, 1, x_297); -return x_299; +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +return x_170; } } block_19: @@ -4737,17 +5570,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_simplify___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_simplify(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_Meta_Grind_Arith_CommRing_EqCnstr_simplify(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: { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -4755,7 +5578,7 @@ x_12 = lean_box(0); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_1); -x_14 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; @@ -4849,11 +5672,12 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___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_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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___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_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_13; +x_13 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4863,363 +5687,5787 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___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, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_12 = 1; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1___boxed), 11, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assert", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("discard", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trivial", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7() { +_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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(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: +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1; +x_15 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; +x_16 = lean_int_dec_eq(x_13, x_15); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = l_Lean_Meta_Grind_Arith_CommRing_hasChar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5; +x_22 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_1); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_box(0); +x_27 = lean_apply_11(x_14, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +return x_27; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_22); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_22, 1); +x_30 = lean_ctor_get(x_22, 0); +lean_dec(x_30); +x_31 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_33 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_33) == 0) +{ +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; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_MessageData_ofExpr(x_34); +x_37 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_22, 7); +lean_ctor_set(x_22, 1, x_36); +lean_ctor_set(x_22, 0, x_37); +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_22); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_apply_11(x_14, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +return x_42; +} +else +{ +uint8_t x_43; +lean_free_object(x_22); +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); +lean_dec(x_3); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) +{ +return x_33; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_33); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_free_object(x_22); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_31); +if (x_47 == 0) +{ +return x_31; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_31, 0); +x_49 = lean_ctor_get(x_31, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_31); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_22, 1); +lean_inc(x_51); +lean_dec(x_22); +x_52 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_54 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_53); +if (lean_obj_tag(x_54) == 0) +{ +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; +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 = l_Lean_MessageData_ofExpr(x_55); +x_58 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_21, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_apply_11(x_14, x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_63); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +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); +lean_dec(x_3); +lean_dec(x_2); +x_65 = lean_ctor_get(x_54, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_54, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_67 = x_54; +} else { + lean_dec_ref(x_54); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = lean_ctor_get(x_52, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_52, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_71 = x_52; +} else { + lean_dec_ref(x_52); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_17, 1); +lean_inc(x_73); +lean_dec(x_17); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_74 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_apply_11(x_14, x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_76); +return x_77; +} +else +{ +uint8_t x_78; +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); +lean_dec(x_3); +lean_dec(x_2); +x_78 = !lean_is_exclusive(x_74); +if (x_78 == 0) +{ +return x_74; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_74, 0); +x_80 = lean_ctor_get(x_74, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_74); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +} +else +{ +uint8_t x_82; +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_82 = !lean_is_exclusive(x_17); +if (x_82 == 0) +{ +return x_17; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_17, 0); +x_84 = lean_ctor_get(x_17, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_17); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_86 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; +x_87 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_unbox(x_88); +lean_dec(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_1); +x_90 = lean_ctor_get(x_87, 1); +lean_inc(x_90); +lean_dec(x_87); +x_91 = lean_box(0); +x_92 = lean_apply_11(x_14, x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_90); +return x_92; +} +else +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_87); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_87, 1); +x_95 = lean_ctor_get(x_87, 0); +lean_dec(x_95); +x_96 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_94); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_98 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_97); +if (lean_obj_tag(x_98) == 0) +{ +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_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_MessageData_ofExpr(x_99); +x_102 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_87, 7); +lean_ctor_set(x_87, 1, x_101); +lean_ctor_set(x_87, 0, x_102); +x_103 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_103, 0, x_87); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_86, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_apply_11(x_14, x_105, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_106); +return x_107; +} +else +{ +uint8_t x_108; +lean_free_object(x_87); +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); +lean_dec(x_3); +lean_dec(x_2); +x_108 = !lean_is_exclusive(x_98); +if (x_108 == 0) +{ +return x_98; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_98, 0); +x_110 = lean_ctor_get(x_98, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_98); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +else +{ +uint8_t x_112; +lean_free_object(x_87); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_112 = !lean_is_exclusive(x_96); +if (x_112 == 0) +{ +return x_96; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_96, 0); +x_114 = lean_ctor_get(x_96, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_96); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_87, 1); +lean_inc(x_116); +lean_dec(x_87); +x_117 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_116); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +lean_dec(x_117); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_119 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_118); +if (lean_obj_tag(x_119) == 0) +{ +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; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = l_Lean_MessageData_ofExpr(x_120); +x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_124 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_86, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_apply_11(x_14, x_127, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_128); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +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); +lean_dec(x_3); +lean_dec(x_2); +x_130 = lean_ctor_get(x_119, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_119, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_132 = x_119; +} else { + lean_dec_ref(x_119); + x_132 = lean_box(0); +} +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); +} else { + x_133 = x_132; +} +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_134 = lean_ctor_get(x_117, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_117, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_136 = x_117; +} else { + lean_dec_ref(x_117); + x_136 = lean_box(0); +} +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); +} else { + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; +} +} +} +} +} +else +{ +uint8_t x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_12); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_138 = 0; +x_139 = lean_box(x_138); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_11); +return x_140; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyAndCheck(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: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_13); +x_15 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_15, 0); +lean_dec(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_15, 0, x_20); +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_13); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_13); +x_24 = !lean_is_exclusive(x_15); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_15, 0); +lean_dec(x_25); +x_26 = lean_box(0); +lean_ctor_set(x_15, 0, x_26); +return x_15; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_dec(x_15); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_13); +x_30 = !lean_is_exclusive(x_15); +if (x_30 == 0) +{ +return x_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +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); +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_12); +if (x_34 == 0) +{ +return x_12; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_12, 0); +x_36 = lean_ctor_get(x_12, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_12); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_List_filterMapM_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis___spec__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_1); +x_14 = l_List_reverse___rarg(x_3); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +lean_dec(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_dec(x_2); +x_2 = x_18; +goto _start; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_2); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +lean_inc(x_1); +x_24 = l_Lean_Grind_CommRing_Mon_divides(x_1, x_23); +if (x_24 == 0) +{ +lean_ctor_set(x_2, 1, x_3); +{ +lean_object* _tmp_1 = x_21; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_26; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_16); +x_26 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_16, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +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); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_27); +x_29 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_27); +{ +lean_object* _tmp_1 = x_21; +lean_object* _tmp_2 = x_2; +lean_object* _tmp_12 = x_32; +x_2 = _tmp_1; +x_3 = _tmp_2; +x_13 = _tmp_12; +} +goto _start; +} +else +{ +lean_object* x_34; +lean_dec(x_27); +lean_free_object(x_2); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_dec(x_29); +x_2 = x_21; +x_13 = x_34; +goto _start; +} +} +else +{ +uint8_t x_36; +lean_dec(x_27); +lean_free_object(x_2); +lean_dec(x_21); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_29); +if (x_36 == 0) +{ +return x_29; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_29, 0); +x_38 = lean_ctor_get(x_29, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_29); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_free_object(x_2); +lean_dec(x_21); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_26); +if (x_40 == 0) +{ +return x_26; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_26, 0); +x_42 = lean_ctor_get(x_26, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_26); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_2, 1); +lean_inc(x_44); +lean_dec(x_2); +x_45 = lean_ctor_get(x_17, 1); +lean_inc(x_45); +lean_dec(x_17); +lean_inc(x_1); +x_46 = l_Lean_Grind_CommRing_Mon_divides(x_1, x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_16); +lean_ctor_set(x_47, 1, x_3); +x_2 = x_44; +x_3 = x_47; +goto _start; +} +else +{ +lean_object* x_49; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_16); +x_49 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith(x_16, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_50); +x_52 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant(x_50, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_unbox(x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_50); +lean_ctor_set(x_56, 1, x_3); +x_2 = x_44; +x_3 = x_56; +x_13 = x_55; +goto _start; +} +else +{ +lean_object* x_58; +lean_dec(x_50); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +lean_dec(x_52); +x_2 = x_44; +x_13 = x_58; +goto _start; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_50); +lean_dec(x_44); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_60 = lean_ctor_get(x_52, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_52, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_62 = x_52; +} else { + lean_dec_ref(x_52); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_44); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +x_64 = lean_ctor_get(x_49, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_49, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_66 = x_49; +} else { + lean_dec_ref(x_49); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis(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: +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_12); +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); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +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); +lean_dec(x_3); +lean_dec(x_2); +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_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_ctor_get(x_21, 18); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_ctor_get(x_24, 2); +lean_inc(x_25); +x_26 = lean_nat_dec_lt(x_19, x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_248; +lean_dec(x_24); +x_248 = l_outOfBounds___rarg(x_23); +x_27 = x_248; +goto block_247; +} +else +{ +lean_object* x_249; +x_249 = l_Lean_PersistentArray_get_x21___rarg(x_23, x_24, x_19); +x_27 = x_249; +goto block_247; +} +block_247: +{ +lean_object* x_28; +lean_inc(x_3); +lean_inc(x_2); +x_28 = l_List_filterMapM_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis___spec__1(x_15, x_27, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(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; lean_object* x_35; uint8_t x_36; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_st_ref_take(x_3, x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 13); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 2); +lean_inc(x_34); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = !lean_is_exclusive(x_32); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_32, 13); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_33, 2); +lean_dec(x_39); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_array_get_size(x_41); +x_43 = lean_nat_dec_lt(x_2, x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_2); +x_44 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +x_47 = lean_box(0); +lean_ctor_set(x_44, 0, x_47); +return x_44; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_array_fget(x_41, x_2); +x_52 = lean_box(0); +x_53 = lean_array_fset(x_41, x_2, x_52); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = lean_ctor_get(x_51, 18); +x_56 = l_Lean_PersistentArray_set___rarg(x_55, x_19, x_29); +lean_dec(x_19); +lean_ctor_set(x_51, 18, x_56); +x_57 = lean_array_fset(x_53, x_2, x_51); +lean_dec(x_2); +lean_ctor_set(x_34, 0, x_57); +x_58 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set(x_58, 0, x_52); +return x_58; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_52); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_63 = lean_ctor_get(x_51, 0); +x_64 = lean_ctor_get(x_51, 1); +x_65 = lean_ctor_get(x_51, 2); +x_66 = lean_ctor_get(x_51, 3); +x_67 = lean_ctor_get(x_51, 4); +x_68 = lean_ctor_get(x_51, 5); +x_69 = lean_ctor_get(x_51, 6); +x_70 = lean_ctor_get(x_51, 7); +x_71 = lean_ctor_get(x_51, 8); +x_72 = lean_ctor_get(x_51, 9); +x_73 = lean_ctor_get(x_51, 10); +x_74 = lean_ctor_get(x_51, 11); +x_75 = lean_ctor_get(x_51, 12); +x_76 = lean_ctor_get(x_51, 13); +x_77 = lean_ctor_get(x_51, 14); +x_78 = lean_ctor_get(x_51, 15); +x_79 = lean_ctor_get(x_51, 16); +x_80 = lean_ctor_get(x_51, 17); +x_81 = lean_ctor_get(x_51, 18); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +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_inc(x_63); +lean_dec(x_51); +x_82 = l_Lean_PersistentArray_set___rarg(x_81, x_19, x_29); +lean_dec(x_19); +x_83 = lean_alloc_ctor(0, 19, 0); +lean_ctor_set(x_83, 0, x_63); +lean_ctor_set(x_83, 1, x_64); +lean_ctor_set(x_83, 2, x_65); +lean_ctor_set(x_83, 3, x_66); +lean_ctor_set(x_83, 4, x_67); +lean_ctor_set(x_83, 5, x_68); +lean_ctor_set(x_83, 6, x_69); +lean_ctor_set(x_83, 7, x_70); +lean_ctor_set(x_83, 8, x_71); +lean_ctor_set(x_83, 9, x_72); +lean_ctor_set(x_83, 10, x_73); +lean_ctor_set(x_83, 11, x_74); +lean_ctor_set(x_83, 12, x_75); +lean_ctor_set(x_83, 13, x_76); +lean_ctor_set(x_83, 14, x_77); +lean_ctor_set(x_83, 15, x_78); +lean_ctor_set(x_83, 16, x_79); +lean_ctor_set(x_83, 17, x_80); +lean_ctor_set(x_83, 18, x_82); +x_84 = lean_array_fset(x_53, x_2, x_83); +lean_dec(x_2); +lean_ctor_set(x_34, 0, x_84); +x_85 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_52); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = lean_ctor_get(x_34, 0); +x_90 = lean_ctor_get(x_34, 1); +x_91 = lean_ctor_get(x_34, 2); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_34); +x_92 = lean_array_get_size(x_89); +x_93 = lean_nat_dec_lt(x_2, x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +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_dec(x_29); +lean_dec(x_19); +lean_dec(x_2); +x_94 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 1, x_90); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_33, 2, x_94); +x_95 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +x_98 = lean_box(0); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else +{ +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; 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; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_100 = lean_array_fget(x_89, x_2); +x_101 = lean_box(0); +x_102 = lean_array_fset(x_89, x_2, x_101); +x_103 = lean_ctor_get(x_100, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_100, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_100, 2); +lean_inc(x_105); +x_106 = lean_ctor_get(x_100, 3); +lean_inc(x_106); +x_107 = lean_ctor_get(x_100, 4); +lean_inc(x_107); +x_108 = lean_ctor_get(x_100, 5); +lean_inc(x_108); +x_109 = lean_ctor_get(x_100, 6); +lean_inc(x_109); +x_110 = lean_ctor_get(x_100, 7); +lean_inc(x_110); +x_111 = lean_ctor_get(x_100, 8); +lean_inc(x_111); +x_112 = lean_ctor_get(x_100, 9); +lean_inc(x_112); +x_113 = lean_ctor_get(x_100, 10); +lean_inc(x_113); +x_114 = lean_ctor_get(x_100, 11); +lean_inc(x_114); +x_115 = lean_ctor_get(x_100, 12); +lean_inc(x_115); +x_116 = lean_ctor_get(x_100, 13); +lean_inc(x_116); +x_117 = lean_ctor_get(x_100, 14); +lean_inc(x_117); +x_118 = lean_ctor_get(x_100, 15); +lean_inc(x_118); +x_119 = lean_ctor_get(x_100, 16); +lean_inc(x_119); +x_120 = lean_ctor_get(x_100, 17); +lean_inc(x_120); +x_121 = lean_ctor_get(x_100, 18); +lean_inc(x_121); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + lean_ctor_release(x_100, 2); + lean_ctor_release(x_100, 3); + lean_ctor_release(x_100, 4); + lean_ctor_release(x_100, 5); + lean_ctor_release(x_100, 6); + lean_ctor_release(x_100, 7); + lean_ctor_release(x_100, 8); + lean_ctor_release(x_100, 9); + lean_ctor_release(x_100, 10); + lean_ctor_release(x_100, 11); + lean_ctor_release(x_100, 12); + lean_ctor_release(x_100, 13); + lean_ctor_release(x_100, 14); + lean_ctor_release(x_100, 15); + lean_ctor_release(x_100, 16); + lean_ctor_release(x_100, 17); + lean_ctor_release(x_100, 18); + x_122 = x_100; +} else { + lean_dec_ref(x_100); + x_122 = lean_box(0); +} +x_123 = l_Lean_PersistentArray_set___rarg(x_121, x_19, x_29); +lean_dec(x_19); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(0, 19, 0); +} else { + x_124 = x_122; +} +lean_ctor_set(x_124, 0, x_103); +lean_ctor_set(x_124, 1, x_104); +lean_ctor_set(x_124, 2, x_105); +lean_ctor_set(x_124, 3, x_106); +lean_ctor_set(x_124, 4, x_107); +lean_ctor_set(x_124, 5, x_108); +lean_ctor_set(x_124, 6, x_109); +lean_ctor_set(x_124, 7, x_110); +lean_ctor_set(x_124, 8, x_111); +lean_ctor_set(x_124, 9, x_112); +lean_ctor_set(x_124, 10, x_113); +lean_ctor_set(x_124, 11, x_114); +lean_ctor_set(x_124, 12, x_115); +lean_ctor_set(x_124, 13, x_116); +lean_ctor_set(x_124, 14, x_117); +lean_ctor_set(x_124, 15, x_118); +lean_ctor_set(x_124, 16, x_119); +lean_ctor_set(x_124, 17, x_120); +lean_ctor_set(x_124, 18, x_123); +x_125 = lean_array_fset(x_102, x_2, x_124); +lean_dec(x_2); +x_126 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_90); +lean_ctor_set(x_126, 2, x_91); +lean_ctor_set(x_33, 2, x_126); +x_127 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_101); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_131 = lean_ctor_get(x_33, 0); +x_132 = lean_ctor_get(x_33, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_33); +x_133 = lean_ctor_get(x_34, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_34, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_34, 2); +lean_inc(x_135); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + x_136 = x_34; +} else { + lean_dec_ref(x_34); + x_136 = lean_box(0); +} +x_137 = lean_array_get_size(x_133); +x_138 = lean_nat_dec_lt(x_2, x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_2); +if (lean_is_scalar(x_136)) { + x_139 = lean_alloc_ctor(0, 3, 0); +} else { + x_139 = x_136; +} +lean_ctor_set(x_139, 0, x_133); +lean_ctor_set(x_139, 1, x_134); +lean_ctor_set(x_139, 2, x_135); +x_140 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_140, 0, x_131); +lean_ctor_set(x_140, 1, x_132); +lean_ctor_set(x_140, 2, x_139); +lean_ctor_set(x_32, 13, x_140); +x_141 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_143 = x_141; +} else { + lean_dec_ref(x_141); + x_143 = lean_box(0); +} +x_144 = lean_box(0); +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 2, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_142); +return x_145; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_146 = lean_array_fget(x_133, x_2); +x_147 = lean_box(0); +x_148 = lean_array_fset(x_133, x_2, x_147); +x_149 = lean_ctor_get(x_146, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_146, 1); +lean_inc(x_150); +x_151 = lean_ctor_get(x_146, 2); +lean_inc(x_151); +x_152 = lean_ctor_get(x_146, 3); +lean_inc(x_152); +x_153 = lean_ctor_get(x_146, 4); +lean_inc(x_153); +x_154 = lean_ctor_get(x_146, 5); +lean_inc(x_154); +x_155 = lean_ctor_get(x_146, 6); +lean_inc(x_155); +x_156 = lean_ctor_get(x_146, 7); +lean_inc(x_156); +x_157 = lean_ctor_get(x_146, 8); +lean_inc(x_157); +x_158 = lean_ctor_get(x_146, 9); +lean_inc(x_158); +x_159 = lean_ctor_get(x_146, 10); +lean_inc(x_159); +x_160 = lean_ctor_get(x_146, 11); +lean_inc(x_160); +x_161 = lean_ctor_get(x_146, 12); +lean_inc(x_161); +x_162 = lean_ctor_get(x_146, 13); +lean_inc(x_162); +x_163 = lean_ctor_get(x_146, 14); +lean_inc(x_163); +x_164 = lean_ctor_get(x_146, 15); +lean_inc(x_164); +x_165 = lean_ctor_get(x_146, 16); +lean_inc(x_165); +x_166 = lean_ctor_get(x_146, 17); +lean_inc(x_166); +x_167 = lean_ctor_get(x_146, 18); +lean_inc(x_167); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + lean_ctor_release(x_146, 5); + lean_ctor_release(x_146, 6); + lean_ctor_release(x_146, 7); + lean_ctor_release(x_146, 8); + lean_ctor_release(x_146, 9); + lean_ctor_release(x_146, 10); + lean_ctor_release(x_146, 11); + lean_ctor_release(x_146, 12); + lean_ctor_release(x_146, 13); + lean_ctor_release(x_146, 14); + lean_ctor_release(x_146, 15); + lean_ctor_release(x_146, 16); + lean_ctor_release(x_146, 17); + lean_ctor_release(x_146, 18); + x_168 = x_146; +} else { + lean_dec_ref(x_146); + x_168 = lean_box(0); +} +x_169 = l_Lean_PersistentArray_set___rarg(x_167, x_19, x_29); +lean_dec(x_19); +if (lean_is_scalar(x_168)) { + x_170 = lean_alloc_ctor(0, 19, 0); +} else { + x_170 = x_168; +} +lean_ctor_set(x_170, 0, x_149); +lean_ctor_set(x_170, 1, x_150); +lean_ctor_set(x_170, 2, x_151); +lean_ctor_set(x_170, 3, x_152); +lean_ctor_set(x_170, 4, x_153); +lean_ctor_set(x_170, 5, x_154); +lean_ctor_set(x_170, 6, x_155); +lean_ctor_set(x_170, 7, x_156); +lean_ctor_set(x_170, 8, x_157); +lean_ctor_set(x_170, 9, x_158); +lean_ctor_set(x_170, 10, x_159); +lean_ctor_set(x_170, 11, x_160); +lean_ctor_set(x_170, 12, x_161); +lean_ctor_set(x_170, 13, x_162); +lean_ctor_set(x_170, 14, x_163); +lean_ctor_set(x_170, 15, x_164); +lean_ctor_set(x_170, 16, x_165); +lean_ctor_set(x_170, 17, x_166); +lean_ctor_set(x_170, 18, x_169); +x_171 = lean_array_fset(x_148, x_2, x_170); +lean_dec(x_2); +if (lean_is_scalar(x_136)) { + x_172 = lean_alloc_ctor(0, 3, 0); +} else { + x_172 = x_136; +} +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_134); +lean_ctor_set(x_172, 2, x_135); +x_173 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_173, 0, x_131); +lean_ctor_set(x_173, 1, x_132); +lean_ctor_set(x_173, 2, x_172); +lean_ctor_set(x_32, 13, x_173); +x_174 = lean_st_ref_set(x_3, x_32, x_35); +lean_dec(x_3); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_176 = x_174; +} else { + lean_dec_ref(x_174); + x_176 = lean_box(0); +} +if (lean_is_scalar(x_176)) { + x_177 = lean_alloc_ctor(0, 2, 0); +} else { + x_177 = x_176; +} +lean_ctor_set(x_177, 0, x_147); +lean_ctor_set(x_177, 1, x_175); +return x_177; +} +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_178 = lean_ctor_get(x_32, 0); +x_179 = lean_ctor_get(x_32, 1); +x_180 = lean_ctor_get(x_32, 2); +x_181 = lean_ctor_get(x_32, 3); +x_182 = lean_ctor_get(x_32, 4); +x_183 = lean_ctor_get(x_32, 5); +x_184 = lean_ctor_get(x_32, 6); +x_185 = lean_ctor_get_uint8(x_32, sizeof(void*)*15); +x_186 = lean_ctor_get(x_32, 7); +x_187 = lean_ctor_get(x_32, 8); +x_188 = lean_ctor_get(x_32, 9); +x_189 = lean_ctor_get(x_32, 10); +x_190 = lean_ctor_get(x_32, 11); +x_191 = lean_ctor_get(x_32, 12); +x_192 = lean_ctor_get(x_32, 14); +lean_inc(x_192); +lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); +lean_inc(x_188); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_184); +lean_inc(x_183); +lean_inc(x_182); +lean_inc(x_181); +lean_inc(x_180); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_32); +x_193 = lean_ctor_get(x_33, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_33, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_195 = x_33; +} else { + lean_dec_ref(x_33); + x_195 = lean_box(0); +} +x_196 = lean_ctor_get(x_34, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_34, 1); +lean_inc(x_197); +x_198 = lean_ctor_get(x_34, 2); +lean_inc(x_198); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + x_199 = x_34; +} else { + lean_dec_ref(x_34); + x_199 = lean_box(0); +} +x_200 = lean_array_get_size(x_196); +x_201 = lean_nat_dec_lt(x_2, x_200); +lean_dec(x_200); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_2); +if (lean_is_scalar(x_199)) { + x_202 = lean_alloc_ctor(0, 3, 0); +} else { + x_202 = x_199; +} +lean_ctor_set(x_202, 0, x_196); +lean_ctor_set(x_202, 1, x_197); +lean_ctor_set(x_202, 2, x_198); +if (lean_is_scalar(x_195)) { + x_203 = lean_alloc_ctor(0, 3, 0); +} else { + x_203 = x_195; +} +lean_ctor_set(x_203, 0, x_193); +lean_ctor_set(x_203, 1, x_194); +lean_ctor_set(x_203, 2, x_202); +x_204 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_204, 0, x_178); +lean_ctor_set(x_204, 1, x_179); +lean_ctor_set(x_204, 2, x_180); +lean_ctor_set(x_204, 3, x_181); +lean_ctor_set(x_204, 4, x_182); +lean_ctor_set(x_204, 5, x_183); +lean_ctor_set(x_204, 6, x_184); +lean_ctor_set(x_204, 7, x_186); +lean_ctor_set(x_204, 8, x_187); +lean_ctor_set(x_204, 9, x_188); +lean_ctor_set(x_204, 10, x_189); +lean_ctor_set(x_204, 11, x_190); +lean_ctor_set(x_204, 12, x_191); +lean_ctor_set(x_204, 13, x_203); +lean_ctor_set(x_204, 14, x_192); +lean_ctor_set_uint8(x_204, sizeof(void*)*15, x_185); +x_205 = lean_st_ref_set(x_3, x_204, x_35); +lean_dec(x_3); +x_206 = lean_ctor_get(x_205, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_207 = x_205; +} else { + lean_dec_ref(x_205); + x_207 = lean_box(0); +} +x_208 = lean_box(0); +if (lean_is_scalar(x_207)) { + x_209 = lean_alloc_ctor(0, 2, 0); +} else { + x_209 = x_207; +} +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_206); +return x_209; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_210 = lean_array_fget(x_196, x_2); +x_211 = lean_box(0); +x_212 = lean_array_fset(x_196, x_2, x_211); +x_213 = lean_ctor_get(x_210, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_210, 1); +lean_inc(x_214); +x_215 = lean_ctor_get(x_210, 2); +lean_inc(x_215); +x_216 = lean_ctor_get(x_210, 3); +lean_inc(x_216); +x_217 = lean_ctor_get(x_210, 4); +lean_inc(x_217); +x_218 = lean_ctor_get(x_210, 5); +lean_inc(x_218); +x_219 = lean_ctor_get(x_210, 6); +lean_inc(x_219); +x_220 = lean_ctor_get(x_210, 7); +lean_inc(x_220); +x_221 = lean_ctor_get(x_210, 8); +lean_inc(x_221); +x_222 = lean_ctor_get(x_210, 9); +lean_inc(x_222); +x_223 = lean_ctor_get(x_210, 10); +lean_inc(x_223); +x_224 = lean_ctor_get(x_210, 11); +lean_inc(x_224); +x_225 = lean_ctor_get(x_210, 12); +lean_inc(x_225); +x_226 = lean_ctor_get(x_210, 13); +lean_inc(x_226); +x_227 = lean_ctor_get(x_210, 14); +lean_inc(x_227); +x_228 = lean_ctor_get(x_210, 15); +lean_inc(x_228); +x_229 = lean_ctor_get(x_210, 16); +lean_inc(x_229); +x_230 = lean_ctor_get(x_210, 17); +lean_inc(x_230); +x_231 = lean_ctor_get(x_210, 18); +lean_inc(x_231); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + lean_ctor_release(x_210, 2); + lean_ctor_release(x_210, 3); + lean_ctor_release(x_210, 4); + lean_ctor_release(x_210, 5); + lean_ctor_release(x_210, 6); + lean_ctor_release(x_210, 7); + lean_ctor_release(x_210, 8); + lean_ctor_release(x_210, 9); + lean_ctor_release(x_210, 10); + lean_ctor_release(x_210, 11); + lean_ctor_release(x_210, 12); + lean_ctor_release(x_210, 13); + lean_ctor_release(x_210, 14); + lean_ctor_release(x_210, 15); + lean_ctor_release(x_210, 16); + lean_ctor_release(x_210, 17); + lean_ctor_release(x_210, 18); + x_232 = x_210; +} else { + lean_dec_ref(x_210); + x_232 = lean_box(0); +} +x_233 = l_Lean_PersistentArray_set___rarg(x_231, x_19, x_29); +lean_dec(x_19); +if (lean_is_scalar(x_232)) { + x_234 = lean_alloc_ctor(0, 19, 0); +} else { + x_234 = x_232; +} +lean_ctor_set(x_234, 0, x_213); +lean_ctor_set(x_234, 1, x_214); +lean_ctor_set(x_234, 2, x_215); +lean_ctor_set(x_234, 3, x_216); +lean_ctor_set(x_234, 4, x_217); +lean_ctor_set(x_234, 5, x_218); +lean_ctor_set(x_234, 6, x_219); +lean_ctor_set(x_234, 7, x_220); +lean_ctor_set(x_234, 8, x_221); +lean_ctor_set(x_234, 9, x_222); +lean_ctor_set(x_234, 10, x_223); +lean_ctor_set(x_234, 11, x_224); +lean_ctor_set(x_234, 12, x_225); +lean_ctor_set(x_234, 13, x_226); +lean_ctor_set(x_234, 14, x_227); +lean_ctor_set(x_234, 15, x_228); +lean_ctor_set(x_234, 16, x_229); +lean_ctor_set(x_234, 17, x_230); +lean_ctor_set(x_234, 18, x_233); +x_235 = lean_array_fset(x_212, x_2, x_234); +lean_dec(x_2); +if (lean_is_scalar(x_199)) { + x_236 = lean_alloc_ctor(0, 3, 0); +} else { + x_236 = x_199; +} +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_197); +lean_ctor_set(x_236, 2, x_198); +if (lean_is_scalar(x_195)) { + x_237 = lean_alloc_ctor(0, 3, 0); +} else { + x_237 = x_195; +} +lean_ctor_set(x_237, 0, x_193); +lean_ctor_set(x_237, 1, x_194); +lean_ctor_set(x_237, 2, x_236); +x_238 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_238, 0, x_178); +lean_ctor_set(x_238, 1, x_179); +lean_ctor_set(x_238, 2, x_180); +lean_ctor_set(x_238, 3, x_181); +lean_ctor_set(x_238, 4, x_182); +lean_ctor_set(x_238, 5, x_183); +lean_ctor_set(x_238, 6, x_184); +lean_ctor_set(x_238, 7, x_186); +lean_ctor_set(x_238, 8, x_187); +lean_ctor_set(x_238, 9, x_188); +lean_ctor_set(x_238, 10, x_189); +lean_ctor_set(x_238, 11, x_190); +lean_ctor_set(x_238, 12, x_191); +lean_ctor_set(x_238, 13, x_237); +lean_ctor_set(x_238, 14, x_192); +lean_ctor_set_uint8(x_238, sizeof(void*)*15, x_185); +x_239 = lean_st_ref_set(x_3, x_238, x_35); +lean_dec(x_3); +x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_241 = x_239; +} else { + lean_dec_ref(x_239); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(0, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_211); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +} +} +else +{ +uint8_t x_243; +lean_dec(x_19); +lean_dec(x_3); +lean_dec(x_2); +x_243 = !lean_is_exclusive(x_28); +if (x_243 == 0) +{ +return x_28; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_28, 0); +x_245 = lean_ctor_get(x_28, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_28); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; +} +} +} +} +else +{ +uint8_t x_250; +lean_dec(x_19); +lean_dec(x_15); +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); +lean_dec(x_3); +lean_dec(x_2); +x_250 = !lean_is_exclusive(x_20); +if (x_250 == 0) +{ +return x_20; +} +else +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_251 = lean_ctor_get(x_20, 0); +x_252 = lean_ctor_get(x_20, 1); +lean_inc(x_252); +lean_inc(x_251); +lean_dec(x_20); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(x_2, x_10); +switch (x_13) { +case 0: +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_9, x_2, x_3); +x_15 = 0; +lean_ctor_set(x_1, 0, x_14); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); +return x_1; +} +case 1: +{ +uint8_t x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; +} +default: +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_12, x_2, x_3); +x_18 = 0; +lean_ctor_set(x_1, 3, x_17); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_18); +return x_1; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +x_21 = lean_ctor_get(x_1, 2); +x_22 = lean_ctor_get(x_1, 3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_1); +x_23 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(x_2, x_20); +switch (x_23) { +case 0: +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_19, x_2, x_3); +x_25 = 0; +x_26 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); +return x_26; +} +case 1: +{ +uint8_t x_27; lean_object* x_28; +lean_dec(x_21); +lean_dec(x_20); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_2); +lean_ctor_set(x_28, 2, x_3); +lean_ctor_set(x_28, 3, x_22); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +default: +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_22, x_2, x_3); +x_30 = 0; +x_31 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_20); +lean_ctor_set(x_31, 2, x_21); +lean_ctor_set(x_31, 3, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*4, x_30); +return x_31; +} +} +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_1); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_1, 0); +x_34 = lean_ctor_get(x_1, 1); +x_35 = lean_ctor_get(x_1, 2); +x_36 = lean_ctor_get(x_1, 3); +x_37 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(x_2, x_34); +switch (x_37) { +case 0: +{ +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_33, x_2, x_3); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*4); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_38, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_38, 3); +lean_dec(x_43); +x_44 = lean_ctor_get(x_38, 0); +lean_dec(x_44); +lean_ctor_set(x_38, 0, x_41); +x_45 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_45); +return x_1; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_38, 1); +x_47 = lean_ctor_get(x_38, 2); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_38); +x_48 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_47); +lean_ctor_set(x_48, 3, x_41); +lean_ctor_set_uint8(x_48, sizeof(void*)*4, x_39); +x_49 = 1; +lean_ctor_set(x_1, 0, x_48); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_49); +return x_1; +} +} +else +{ +uint8_t x_50; +x_50 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_50 == 0) +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_38); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_38, 1); +x_53 = lean_ctor_get(x_38, 2); +x_54 = lean_ctor_get(x_38, 3); +lean_dec(x_54); +x_55 = lean_ctor_get(x_38, 0); +lean_dec(x_55); +x_56 = !lean_is_exclusive(x_41); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; +x_57 = lean_ctor_get(x_41, 0); +x_58 = lean_ctor_get(x_41, 1); +x_59 = lean_ctor_get(x_41, 2); +x_60 = lean_ctor_get(x_41, 3); +x_61 = 1; +lean_ctor_set(x_41, 3, x_57); +lean_ctor_set(x_41, 2, x_53); +lean_ctor_set(x_41, 1, x_52); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_61); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_60); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_61); +x_62 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_59); +lean_ctor_set(x_1, 1, x_58); +lean_ctor_set(x_1, 0, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_62); +return x_1; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; +x_63 = lean_ctor_get(x_41, 0); +x_64 = lean_ctor_get(x_41, 1); +x_65 = lean_ctor_get(x_41, 2); +x_66 = lean_ctor_get(x_41, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_41); +x_67 = 1; +x_68 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_68, 0, x_40); +lean_ctor_set(x_68, 1, x_52); +lean_ctor_set(x_68, 2, x_53); +lean_ctor_set(x_68, 3, x_63); +lean_ctor_set_uint8(x_68, sizeof(void*)*4, x_67); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_66); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_67); +x_69 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_65); +lean_ctor_set(x_1, 1, x_64); +lean_ctor_set(x_1, 0, x_68); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_69); +return x_1; +} +} +else +{ +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; uint8_t x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_70 = lean_ctor_get(x_38, 1); +x_71 = lean_ctor_get(x_38, 2); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_38); +x_72 = lean_ctor_get(x_41, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_41, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_41, 3); +lean_inc(x_75); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + x_76 = x_41; +} else { + lean_dec_ref(x_41); + x_76 = lean_box(0); +} +x_77 = 1; +if (lean_is_scalar(x_76)) { + x_78 = lean_alloc_ctor(1, 4, 1); +} else { + x_78 = x_76; +} +lean_ctor_set(x_78, 0, x_40); +lean_ctor_set(x_78, 1, x_70); +lean_ctor_set(x_78, 2, x_71); +lean_ctor_set(x_78, 3, x_72); +lean_ctor_set_uint8(x_78, sizeof(void*)*4, x_77); +x_79 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_34); +lean_ctor_set(x_79, 2, x_35); +lean_ctor_set(x_79, 3, x_36); +lean_ctor_set_uint8(x_79, sizeof(void*)*4, x_77); +x_80 = 0; +lean_ctor_set(x_1, 3, x_79); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_78); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_80); +return x_1; +} +} +else +{ +uint8_t x_81; +lean_free_object(x_1); +x_81 = !lean_is_exclusive(x_41); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_41, 3); +lean_dec(x_82); +x_83 = lean_ctor_get(x_41, 2); +lean_dec(x_83); +x_84 = lean_ctor_get(x_41, 1); +lean_dec(x_84); +x_85 = lean_ctor_get(x_41, 0); +lean_dec(x_85); +x_86 = 1; +lean_ctor_set(x_41, 3, x_36); +lean_ctor_set(x_41, 2, x_35); +lean_ctor_set(x_41, 1, x_34); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_86); +return x_41; +} +else +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_41); +x_87 = 1; +x_88 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_88, 0, x_38); +lean_ctor_set(x_88, 1, x_34); +lean_ctor_set(x_88, 2, x_35); +lean_ctor_set(x_88, 3, x_36); +lean_ctor_set_uint8(x_88, sizeof(void*)*4, x_87); +return x_88; +} +} +} +} +else +{ +uint8_t x_89; +x_89 = lean_ctor_get_uint8(x_40, sizeof(void*)*4); +if (x_89 == 0) +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_38); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_38, 1); +x_92 = lean_ctor_get(x_38, 2); +x_93 = lean_ctor_get(x_38, 3); +x_94 = lean_ctor_get(x_38, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_40); +if (x_95 == 0) +{ +uint8_t x_96; uint8_t x_97; +x_96 = 1; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_96); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_96); +x_97 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_40); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_97); +return x_1; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_104; +x_98 = lean_ctor_get(x_40, 0); +x_99 = lean_ctor_get(x_40, 1); +x_100 = lean_ctor_get(x_40, 2); +x_101 = lean_ctor_get(x_40, 3); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_40); +x_102 = 1; +x_103 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_103, 0, x_98); +lean_ctor_set(x_103, 1, x_99); +lean_ctor_set(x_103, 2, x_100); +lean_ctor_set(x_103, 3, x_101); +lean_ctor_set_uint8(x_103, sizeof(void*)*4, x_102); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_102); +x_104 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_103); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_104); +return x_1; +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_105 = lean_ctor_get(x_38, 1); +x_106 = lean_ctor_get(x_38, 2); +x_107 = lean_ctor_get(x_38, 3); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_38); +x_108 = lean_ctor_get(x_40, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_40, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_40, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_40, 3); +lean_inc(x_111); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_112 = x_40; +} else { + lean_dec_ref(x_40); + x_112 = lean_box(0); +} +x_113 = 1; +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(1, 4, 1); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_108); +lean_ctor_set(x_114, 1, x_109); +lean_ctor_set(x_114, 2, x_110); +lean_ctor_set(x_114, 3, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); +x_115 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_115, 0, x_107); +lean_ctor_set(x_115, 1, x_34); +lean_ctor_set(x_115, 2, x_35); +lean_ctor_set(x_115, 3, x_36); +lean_ctor_set_uint8(x_115, sizeof(void*)*4, x_113); +x_116 = 0; +lean_ctor_set(x_1, 3, x_115); +lean_ctor_set(x_1, 2, x_106); +lean_ctor_set(x_1, 1, x_105); +lean_ctor_set(x_1, 0, x_114); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_116); +return x_1; +} +} +else +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_38, 3); +lean_inc(x_117); +if (lean_obj_tag(x_117) == 0) +{ +uint8_t x_118; +lean_free_object(x_1); +x_118 = !lean_is_exclusive(x_40); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_119 = lean_ctor_get(x_40, 3); +lean_dec(x_119); +x_120 = lean_ctor_get(x_40, 2); +lean_dec(x_120); +x_121 = lean_ctor_get(x_40, 1); +lean_dec(x_121); +x_122 = lean_ctor_get(x_40, 0); +lean_dec(x_122); +x_123 = 1; +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_123); +return x_40; +} +else +{ +uint8_t x_124; lean_object* x_125; +lean_dec(x_40); +x_124 = 1; +x_125 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_125, 0, x_38); +lean_ctor_set(x_125, 1, x_34); +lean_ctor_set(x_125, 2, x_35); +lean_ctor_set(x_125, 3, x_36); +lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); +return x_125; +} +} +else +{ +uint8_t x_126; +x_126 = lean_ctor_get_uint8(x_117, sizeof(void*)*4); +if (x_126 == 0) +{ +uint8_t x_127; +lean_free_object(x_1); +x_127 = !lean_is_exclusive(x_38); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_38, 1); +x_129 = lean_ctor_get(x_38, 2); +x_130 = lean_ctor_get(x_38, 3); +lean_dec(x_130); +x_131 = lean_ctor_get(x_38, 0); +lean_dec(x_131); +x_132 = !lean_is_exclusive(x_117); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; uint8_t x_138; +x_133 = lean_ctor_get(x_117, 0); +x_134 = lean_ctor_get(x_117, 1); +x_135 = lean_ctor_get(x_117, 2); +x_136 = lean_ctor_get(x_117, 3); +x_137 = 1; +lean_inc(x_40); +lean_ctor_set(x_117, 3, x_133); +lean_ctor_set(x_117, 2, x_129); +lean_ctor_set(x_117, 1, x_128); +lean_ctor_set(x_117, 0, x_40); +x_138 = !lean_is_exclusive(x_40); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_139 = lean_ctor_get(x_40, 3); +lean_dec(x_139); +x_140 = lean_ctor_get(x_40, 2); +lean_dec(x_140); +x_141 = lean_ctor_get(x_40, 1); +lean_dec(x_141); +x_142 = lean_ctor_get(x_40, 0); +lean_dec(x_142); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_136); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_137); +x_143 = 0; +lean_ctor_set(x_38, 3, x_40); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_143); +return x_38; +} +else +{ +lean_object* x_144; uint8_t x_145; +lean_dec(x_40); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +x_144 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_144, 0, x_136); +lean_ctor_set(x_144, 1, x_34); +lean_ctor_set(x_144, 2, x_35); +lean_ctor_set(x_144, 3, x_36); +lean_ctor_set_uint8(x_144, sizeof(void*)*4, x_137); +x_145 = 0; +lean_ctor_set(x_38, 3, x_144); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_145); +return x_38; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_146 = lean_ctor_get(x_117, 0); +x_147 = lean_ctor_get(x_117, 1); +x_148 = lean_ctor_get(x_117, 2); +x_149 = lean_ctor_get(x_117, 3); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_117); +x_150 = 1; +lean_inc(x_40); +x_151 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_151, 0, x_40); +lean_ctor_set(x_151, 1, x_128); +lean_ctor_set(x_151, 2, x_129); +lean_ctor_set(x_151, 3, x_146); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_152 = x_40; +} else { + lean_dec_ref(x_40); + x_152 = lean_box(0); +} +lean_ctor_set_uint8(x_151, sizeof(void*)*4, x_150); +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 4, 1); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_34); +lean_ctor_set(x_153, 2, x_35); +lean_ctor_set(x_153, 3, x_36); +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_150); +x_154 = 0; +lean_ctor_set(x_38, 3, x_153); +lean_ctor_set(x_38, 2, x_148); +lean_ctor_set(x_38, 1, x_147); +lean_ctor_set(x_38, 0, x_151); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_154); +return x_38; +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; +x_155 = lean_ctor_get(x_38, 1); +x_156 = lean_ctor_get(x_38, 2); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_38); +x_157 = lean_ctor_get(x_117, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_117, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_117, 2); +lean_inc(x_159); +x_160 = lean_ctor_get(x_117, 3); +lean_inc(x_160); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + lean_ctor_release(x_117, 3); + x_161 = x_117; +} else { + lean_dec_ref(x_117); + x_161 = lean_box(0); +} +x_162 = 1; +lean_inc(x_40); +if (lean_is_scalar(x_161)) { + x_163 = lean_alloc_ctor(1, 4, 1); +} else { + x_163 = x_161; +} +lean_ctor_set(x_163, 0, x_40); +lean_ctor_set(x_163, 1, x_155); +lean_ctor_set(x_163, 2, x_156); +lean_ctor_set(x_163, 3, x_157); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_164 = x_40; +} else { + lean_dec_ref(x_40); + x_164 = lean_box(0); +} +lean_ctor_set_uint8(x_163, sizeof(void*)*4, x_162); +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_160); +lean_ctor_set(x_165, 1, x_34); +lean_ctor_set(x_165, 2, x_35); +lean_ctor_set(x_165, 3, x_36); +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_162); +x_166 = 0; +x_167 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_167, 0, x_163); +lean_ctor_set(x_167, 1, x_158); +lean_ctor_set(x_167, 2, x_159); +lean_ctor_set(x_167, 3, x_165); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_166); +return x_167; +} +} +else +{ +uint8_t x_168; +x_168 = !lean_is_exclusive(x_38); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_169 = lean_ctor_get(x_38, 3); +lean_dec(x_169); +x_170 = lean_ctor_get(x_38, 0); +lean_dec(x_170); +x_171 = !lean_is_exclusive(x_40); +if (x_171 == 0) +{ +uint8_t x_172; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_126); +x_172 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_172); +return x_1; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_40, 0); +x_174 = lean_ctor_get(x_40, 1); +x_175 = lean_ctor_get(x_40, 2); +x_176 = lean_ctor_get(x_40, 3); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_40); +x_177 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_177, 0, x_173); +lean_ctor_set(x_177, 1, x_174); +lean_ctor_set(x_177, 2, x_175); +lean_ctor_set(x_177, 3, x_176); +lean_ctor_set_uint8(x_177, sizeof(void*)*4, x_126); +lean_ctor_set(x_38, 0, x_177); +x_178 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_178); +return x_1; +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_179 = lean_ctor_get(x_38, 1); +x_180 = lean_ctor_get(x_38, 2); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_38); +x_181 = lean_ctor_get(x_40, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_40, 1); +lean_inc(x_182); +x_183 = lean_ctor_get(x_40, 2); +lean_inc(x_183); +x_184 = lean_ctor_get(x_40, 3); +lean_inc(x_184); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_185 = x_40; +} else { + lean_dec_ref(x_40); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 4, 1); +} else { + x_186 = x_185; +} +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_182); +lean_ctor_set(x_186, 2, x_183); +lean_ctor_set(x_186, 3, x_184); +lean_ctor_set_uint8(x_186, sizeof(void*)*4, x_126); +x_187 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_179); +lean_ctor_set(x_187, 2, x_180); +lean_ctor_set(x_187, 3, x_117); +lean_ctor_set_uint8(x_187, sizeof(void*)*4, x_39); +x_188 = 1; +lean_ctor_set(x_1, 0, x_187); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_188); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_189; +x_189 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +return x_1; +} +} +case 1: +{ +uint8_t x_190; +lean_dec(x_35); +lean_dec(x_34); +x_190 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +default: +{ +lean_object* x_191; uint8_t x_192; +x_191 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_36, x_2, x_3); +x_192 = lean_ctor_get_uint8(x_191, sizeof(void*)*4); +if (x_192 == 0) +{ +lean_object* x_193; +x_193 = lean_ctor_get(x_191, 0); +lean_inc(x_193); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_191, 3); +lean_inc(x_194); +if (lean_obj_tag(x_194) == 0) +{ +uint8_t x_195; +x_195 = !lean_is_exclusive(x_191); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_196 = lean_ctor_get(x_191, 3); +lean_dec(x_196); +x_197 = lean_ctor_get(x_191, 0); +lean_dec(x_197); +lean_ctor_set(x_191, 0, x_194); +x_198 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_198); +return x_1; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = lean_ctor_get(x_191, 1); +x_200 = lean_ctor_get(x_191, 2); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_191); +x_201 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_201, 0, x_194); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_200); +lean_ctor_set(x_201, 3, x_194); +lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_192); +x_202 = 1; +lean_ctor_set(x_1, 3, x_201); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); +return x_1; +} +} +else +{ +uint8_t x_203; +x_203 = lean_ctor_get_uint8(x_194, sizeof(void*)*4); +if (x_203 == 0) +{ +uint8_t x_204; +x_204 = !lean_is_exclusive(x_191); +if (x_204 == 0) +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_205 = lean_ctor_get(x_191, 1); +x_206 = lean_ctor_get(x_191, 2); +x_207 = lean_ctor_get(x_191, 3); +lean_dec(x_207); +x_208 = lean_ctor_get(x_191, 0); +lean_dec(x_208); +x_209 = !lean_is_exclusive(x_194); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; uint8_t x_215; +x_210 = lean_ctor_get(x_194, 0); +x_211 = lean_ctor_get(x_194, 1); +x_212 = lean_ctor_get(x_194, 2); +x_213 = lean_ctor_get(x_194, 3); +x_214 = 1; +lean_ctor_set(x_194, 3, x_193); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_214); +lean_ctor_set(x_191, 3, x_213); +lean_ctor_set(x_191, 2, x_212); +lean_ctor_set(x_191, 1, x_211); +lean_ctor_set(x_191, 0, x_210); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_214); +x_215 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_194); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_215); +return x_1; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; uint8_t x_222; +x_216 = lean_ctor_get(x_194, 0); +x_217 = lean_ctor_get(x_194, 1); +x_218 = lean_ctor_get(x_194, 2); +x_219 = lean_ctor_get(x_194, 3); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_194); +x_220 = 1; +x_221 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_221, 0, x_33); +lean_ctor_set(x_221, 1, x_34); +lean_ctor_set(x_221, 2, x_35); +lean_ctor_set(x_221, 3, x_193); +lean_ctor_set_uint8(x_221, sizeof(void*)*4, x_220); +lean_ctor_set(x_191, 3, x_219); +lean_ctor_set(x_191, 2, x_218); +lean_ctor_set(x_191, 1, x_217); +lean_ctor_set(x_191, 0, x_216); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_220); +x_222 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_221); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_222); +return x_1; +} +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; +x_223 = lean_ctor_get(x_191, 1); +x_224 = lean_ctor_get(x_191, 2); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_191); +x_225 = lean_ctor_get(x_194, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_194, 1); +lean_inc(x_226); +x_227 = lean_ctor_get(x_194, 2); +lean_inc(x_227); +x_228 = lean_ctor_get(x_194, 3); +lean_inc(x_228); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + lean_ctor_release(x_194, 2); + lean_ctor_release(x_194, 3); + x_229 = x_194; +} else { + lean_dec_ref(x_194); + x_229 = lean_box(0); +} +x_230 = 1; +if (lean_is_scalar(x_229)) { + x_231 = lean_alloc_ctor(1, 4, 1); +} else { + x_231 = x_229; +} +lean_ctor_set(x_231, 0, x_33); +lean_ctor_set(x_231, 1, x_34); +lean_ctor_set(x_231, 2, x_35); +lean_ctor_set(x_231, 3, x_193); +lean_ctor_set_uint8(x_231, sizeof(void*)*4, x_230); +x_232 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_232, 0, x_225); +lean_ctor_set(x_232, 1, x_226); +lean_ctor_set(x_232, 2, x_227); +lean_ctor_set(x_232, 3, x_228); +lean_ctor_set_uint8(x_232, sizeof(void*)*4, x_230); +x_233 = 0; +lean_ctor_set(x_1, 3, x_232); +lean_ctor_set(x_1, 2, x_224); +lean_ctor_set(x_1, 1, x_223); +lean_ctor_set(x_1, 0, x_231); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_233); +return x_1; +} +} +else +{ +uint8_t x_234; +lean_free_object(x_1); +x_234 = !lean_is_exclusive(x_194); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; +x_235 = lean_ctor_get(x_194, 3); +lean_dec(x_235); +x_236 = lean_ctor_get(x_194, 2); +lean_dec(x_236); +x_237 = lean_ctor_get(x_194, 1); +lean_dec(x_237); +x_238 = lean_ctor_get(x_194, 0); +lean_dec(x_238); +x_239 = 1; +lean_ctor_set(x_194, 3, x_191); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_239); +return x_194; +} +else +{ +uint8_t x_240; lean_object* x_241; +lean_dec(x_194); +x_240 = 1; +x_241 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_241, 0, x_33); +lean_ctor_set(x_241, 1, x_34); +lean_ctor_set(x_241, 2, x_35); +lean_ctor_set(x_241, 3, x_191); +lean_ctor_set_uint8(x_241, sizeof(void*)*4, x_240); +return x_241; +} +} +} +} +else +{ +uint8_t x_242; +x_242 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_242 == 0) +{ +uint8_t x_243; +x_243 = !lean_is_exclusive(x_191); +if (x_243 == 0) +{ +lean_object* x_244; uint8_t x_245; +x_244 = lean_ctor_get(x_191, 0); +lean_dec(x_244); +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; uint8_t x_251; +x_246 = lean_ctor_get(x_193, 0); +x_247 = lean_ctor_get(x_193, 1); +x_248 = lean_ctor_get(x_193, 2); +x_249 = lean_ctor_get(x_193, 3); +x_250 = 1; +lean_ctor_set(x_193, 3, x_246); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_250); +lean_ctor_set(x_191, 0, x_249); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_250); +x_251 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_248); +lean_ctor_set(x_1, 1, x_247); +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_251); +return x_1; +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_object* x_257; uint8_t x_258; +x_252 = lean_ctor_get(x_193, 0); +x_253 = lean_ctor_get(x_193, 1); +x_254 = lean_ctor_get(x_193, 2); +x_255 = lean_ctor_get(x_193, 3); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_193); +x_256 = 1; +x_257 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_257, 0, x_33); +lean_ctor_set(x_257, 1, x_34); +lean_ctor_set(x_257, 2, x_35); +lean_ctor_set(x_257, 3, x_252); +lean_ctor_set_uint8(x_257, sizeof(void*)*4, x_256); +lean_ctor_set(x_191, 0, x_255); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_256); +x_258 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_254); +lean_ctor_set(x_1, 1, x_253); +lean_ctor_set(x_1, 0, x_257); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_258); +return x_1; +} +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_259 = lean_ctor_get(x_191, 1); +x_260 = lean_ctor_get(x_191, 2); +x_261 = lean_ctor_get(x_191, 3); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); +lean_dec(x_191); +x_262 = lean_ctor_get(x_193, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_193, 1); +lean_inc(x_263); +x_264 = lean_ctor_get(x_193, 2); +lean_inc(x_264); +x_265 = lean_ctor_get(x_193, 3); +lean_inc(x_265); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_266 = x_193; +} else { + lean_dec_ref(x_193); + x_266 = lean_box(0); +} +x_267 = 1; +if (lean_is_scalar(x_266)) { + x_268 = lean_alloc_ctor(1, 4, 1); +} else { + x_268 = x_266; +} +lean_ctor_set(x_268, 0, x_33); +lean_ctor_set(x_268, 1, x_34); +lean_ctor_set(x_268, 2, x_35); +lean_ctor_set(x_268, 3, x_262); +lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); +x_269 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_269, 0, x_265); +lean_ctor_set(x_269, 1, x_259); +lean_ctor_set(x_269, 2, x_260); +lean_ctor_set(x_269, 3, x_261); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_267); +x_270 = 0; +lean_ctor_set(x_1, 3, x_269); +lean_ctor_set(x_1, 2, x_264); +lean_ctor_set(x_1, 1, x_263); +lean_ctor_set(x_1, 0, x_268); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_270); +return x_1; +} +} +else +{ +lean_object* x_271; +x_271 = lean_ctor_get(x_191, 3); +lean_inc(x_271); +if (lean_obj_tag(x_271) == 0) +{ +uint8_t x_272; +lean_free_object(x_1); +x_272 = !lean_is_exclusive(x_193); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_273 = lean_ctor_get(x_193, 3); +lean_dec(x_273); +x_274 = lean_ctor_get(x_193, 2); +lean_dec(x_274); +x_275 = lean_ctor_get(x_193, 1); +lean_dec(x_275); +x_276 = lean_ctor_get(x_193, 0); +lean_dec(x_276); +x_277 = 1; +lean_ctor_set(x_193, 3, x_191); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_277); +return x_193; +} +else +{ +uint8_t x_278; lean_object* x_279; +lean_dec(x_193); +x_278 = 1; +x_279 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_279, 0, x_33); +lean_ctor_set(x_279, 1, x_34); +lean_ctor_set(x_279, 2, x_35); +lean_ctor_set(x_279, 3, x_191); +lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); +return x_279; +} +} +else +{ +uint8_t x_280; +x_280 = lean_ctor_get_uint8(x_271, sizeof(void*)*4); +if (x_280 == 0) +{ +uint8_t x_281; +lean_free_object(x_1); +x_281 = !lean_is_exclusive(x_191); +if (x_281 == 0) +{ +lean_object* x_282; lean_object* x_283; uint8_t x_284; +x_282 = lean_ctor_get(x_191, 3); +lean_dec(x_282); +x_283 = lean_ctor_get(x_191, 0); +lean_dec(x_283); +x_284 = !lean_is_exclusive(x_271); +if (x_284 == 0) +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; uint8_t x_290; +x_285 = lean_ctor_get(x_271, 0); +x_286 = lean_ctor_get(x_271, 1); +x_287 = lean_ctor_get(x_271, 2); +x_288 = lean_ctor_get(x_271, 3); +x_289 = 1; +lean_inc(x_193); +lean_ctor_set(x_271, 3, x_193); +lean_ctor_set(x_271, 2, x_35); +lean_ctor_set(x_271, 1, x_34); +lean_ctor_set(x_271, 0, x_33); +x_290 = !lean_is_exclusive(x_193); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_291 = lean_ctor_get(x_193, 3); +lean_dec(x_291); +x_292 = lean_ctor_get(x_193, 2); +lean_dec(x_292); +x_293 = lean_ctor_get(x_193, 1); +lean_dec(x_293); +x_294 = lean_ctor_get(x_193, 0); +lean_dec(x_294); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +lean_ctor_set(x_193, 3, x_288); +lean_ctor_set(x_193, 2, x_287); +lean_ctor_set(x_193, 1, x_286); +lean_ctor_set(x_193, 0, x_285); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_289); +x_295 = 0; +lean_ctor_set(x_191, 3, x_193); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_295); +return x_191; +} +else +{ +lean_object* x_296; uint8_t x_297; +lean_dec(x_193); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +x_296 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_296, 0, x_285); +lean_ctor_set(x_296, 1, x_286); +lean_ctor_set(x_296, 2, x_287); +lean_ctor_set(x_296, 3, x_288); +lean_ctor_set_uint8(x_296, sizeof(void*)*4, x_289); +x_297 = 0; +lean_ctor_set(x_191, 3, x_296); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_297); +return x_191; +} +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_298 = lean_ctor_get(x_271, 0); +x_299 = lean_ctor_get(x_271, 1); +x_300 = lean_ctor_get(x_271, 2); +x_301 = lean_ctor_get(x_271, 3); +lean_inc(x_301); +lean_inc(x_300); +lean_inc(x_299); +lean_inc(x_298); +lean_dec(x_271); +x_302 = 1; +lean_inc(x_193); +x_303 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_303, 0, x_33); +lean_ctor_set(x_303, 1, x_34); +lean_ctor_set(x_303, 2, x_35); +lean_ctor_set(x_303, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_304 = x_193; +} else { + lean_dec_ref(x_193); + x_304 = lean_box(0); +} +lean_ctor_set_uint8(x_303, sizeof(void*)*4, x_302); +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(1, 4, 1); +} else { + x_305 = x_304; +} +lean_ctor_set(x_305, 0, x_298); +lean_ctor_set(x_305, 1, x_299); +lean_ctor_set(x_305, 2, x_300); +lean_ctor_set(x_305, 3, x_301); +lean_ctor_set_uint8(x_305, sizeof(void*)*4, x_302); +x_306 = 0; +lean_ctor_set(x_191, 3, x_305); +lean_ctor_set(x_191, 0, x_303); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_306); +return x_191; +} +} +else +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; lean_object* x_319; +x_307 = lean_ctor_get(x_191, 1); +x_308 = lean_ctor_get(x_191, 2); +lean_inc(x_308); +lean_inc(x_307); +lean_dec(x_191); +x_309 = lean_ctor_get(x_271, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_271, 1); +lean_inc(x_310); +x_311 = lean_ctor_get(x_271, 2); +lean_inc(x_311); +x_312 = lean_ctor_get(x_271, 3); +lean_inc(x_312); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + lean_ctor_release(x_271, 2); + lean_ctor_release(x_271, 3); + x_313 = x_271; +} else { + lean_dec_ref(x_271); + x_313 = lean_box(0); +} +x_314 = 1; +lean_inc(x_193); +if (lean_is_scalar(x_313)) { + x_315 = lean_alloc_ctor(1, 4, 1); +} else { + x_315 = x_313; +} +lean_ctor_set(x_315, 0, x_33); +lean_ctor_set(x_315, 1, x_34); +lean_ctor_set(x_315, 2, x_35); +lean_ctor_set(x_315, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_316 = x_193; +} else { + lean_dec_ref(x_193); + x_316 = lean_box(0); +} +lean_ctor_set_uint8(x_315, sizeof(void*)*4, x_314); +if (lean_is_scalar(x_316)) { + x_317 = lean_alloc_ctor(1, 4, 1); +} else { + x_317 = x_316; +} +lean_ctor_set(x_317, 0, x_309); +lean_ctor_set(x_317, 1, x_310); +lean_ctor_set(x_317, 2, x_311); +lean_ctor_set(x_317, 3, x_312); +lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_314); +x_318 = 0; +x_319 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_319, 0, x_315); +lean_ctor_set(x_319, 1, x_307); +lean_ctor_set(x_319, 2, x_308); +lean_ctor_set(x_319, 3, x_317); +lean_ctor_set_uint8(x_319, sizeof(void*)*4, x_318); +return x_319; +} +} +else +{ +uint8_t x_320; +x_320 = !lean_is_exclusive(x_191); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; uint8_t x_323; +x_321 = lean_ctor_get(x_191, 3); +lean_dec(x_321); +x_322 = lean_ctor_get(x_191, 0); +lean_dec(x_322); +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) +{ +uint8_t x_324; +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_280); +x_324 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_324); +return x_1; +} +else +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_325 = lean_ctor_get(x_193, 0); +x_326 = lean_ctor_get(x_193, 1); +x_327 = lean_ctor_get(x_193, 2); +x_328 = lean_ctor_get(x_193, 3); +lean_inc(x_328); +lean_inc(x_327); +lean_inc(x_326); +lean_inc(x_325); +lean_dec(x_193); +x_329 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_329, 0, x_325); +lean_ctor_set(x_329, 1, x_326); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_328); +lean_ctor_set_uint8(x_329, sizeof(void*)*4, x_280); +lean_ctor_set(x_191, 0, x_329); +x_330 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_330); +return x_1; +} +} +else +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; +x_331 = lean_ctor_get(x_191, 1); +x_332 = lean_ctor_get(x_191, 2); +lean_inc(x_332); +lean_inc(x_331); +lean_dec(x_191); +x_333 = lean_ctor_get(x_193, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_193, 1); +lean_inc(x_334); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +x_336 = lean_ctor_get(x_193, 3); +lean_inc(x_336); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_337 = x_193; +} else { + lean_dec_ref(x_193); + x_337 = lean_box(0); +} +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 4, 1); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_334); +lean_ctor_set(x_338, 2, x_335); +lean_ctor_set(x_338, 3, x_336); +lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_280); +x_339 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_331); +lean_ctor_set(x_339, 2, x_332); +lean_ctor_set(x_339, 3, x_271); +lean_ctor_set_uint8(x_339, sizeof(void*)*4, x_192); +x_340 = 1; +lean_ctor_set(x_1, 3, x_339); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_340); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_341; +x_341 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_341); +return x_1; +} +} +} +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; +x_342 = lean_ctor_get(x_1, 0); +x_343 = lean_ctor_get(x_1, 1); +x_344 = lean_ctor_get(x_1, 2); +x_345 = lean_ctor_get(x_1, 3); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_1); +x_346 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_compare(x_2, x_343); +switch (x_346) { +case 0: +{ +lean_object* x_347; uint8_t x_348; +x_347 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_342, x_2, x_3); +x_348 = lean_ctor_get_uint8(x_347, sizeof(void*)*4); +if (x_348 == 0) +{ +lean_object* x_349; +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_350; +x_350 = lean_ctor_get(x_347, 3); +lean_inc(x_350); +if (lean_obj_tag(x_350) == 0) +{ +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_object* x_356; +x_351 = lean_ctor_get(x_347, 1); +lean_inc(x_351); +x_352 = lean_ctor_get(x_347, 2); +lean_inc(x_352); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_353 = x_347; +} else { + lean_dec_ref(x_347); + x_353 = lean_box(0); +} +if (lean_is_scalar(x_353)) { + x_354 = lean_alloc_ctor(1, 4, 1); +} else { + x_354 = x_353; +} +lean_ctor_set(x_354, 0, x_350); +lean_ctor_set(x_354, 1, x_351); +lean_ctor_set(x_354, 2, x_352); +lean_ctor_set(x_354, 3, x_350); +lean_ctor_set_uint8(x_354, sizeof(void*)*4, x_348); +x_355 = 1; +x_356 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_356, 0, x_354); +lean_ctor_set(x_356, 1, x_343); +lean_ctor_set(x_356, 2, x_344); +lean_ctor_set(x_356, 3, x_345); +lean_ctor_set_uint8(x_356, sizeof(void*)*4, x_355); +return x_356; +} +else +{ +uint8_t x_357; +x_357 = lean_ctor_get_uint8(x_350, sizeof(void*)*4); +if (x_357 == 0) +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; lean_object* x_370; +x_358 = lean_ctor_get(x_347, 1); +lean_inc(x_358); +x_359 = lean_ctor_get(x_347, 2); +lean_inc(x_359); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_360 = x_347; +} else { + lean_dec_ref(x_347); + x_360 = lean_box(0); +} +x_361 = lean_ctor_get(x_350, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_350, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_350, 2); +lean_inc(x_363); +x_364 = lean_ctor_get(x_350, 3); +lean_inc(x_364); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_365 = x_350; +} else { + lean_dec_ref(x_350); + x_365 = lean_box(0); +} +x_366 = 1; +if (lean_is_scalar(x_365)) { + x_367 = lean_alloc_ctor(1, 4, 1); +} else { + x_367 = x_365; +} +lean_ctor_set(x_367, 0, x_349); +lean_ctor_set(x_367, 1, x_358); +lean_ctor_set(x_367, 2, x_359); +lean_ctor_set(x_367, 3, x_361); +lean_ctor_set_uint8(x_367, sizeof(void*)*4, x_366); +if (lean_is_scalar(x_360)) { + x_368 = lean_alloc_ctor(1, 4, 1); +} else { + x_368 = x_360; +} +lean_ctor_set(x_368, 0, x_364); +lean_ctor_set(x_368, 1, x_343); +lean_ctor_set(x_368, 2, x_344); +lean_ctor_set(x_368, 3, x_345); +lean_ctor_set_uint8(x_368, sizeof(void*)*4, x_366); +x_369 = 0; +x_370 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_362); +lean_ctor_set(x_370, 2, x_363); +lean_ctor_set(x_370, 3, x_368); +lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_369); +return x_370; +} +else +{ +lean_object* x_371; uint8_t x_372; lean_object* x_373; +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_371 = x_350; +} else { + lean_dec_ref(x_350); + x_371 = lean_box(0); +} +x_372 = 1; +if (lean_is_scalar(x_371)) { + x_373 = lean_alloc_ctor(1, 4, 1); +} else { + x_373 = x_371; +} +lean_ctor_set(x_373, 0, x_347); +lean_ctor_set(x_373, 1, x_343); +lean_ctor_set(x_373, 2, x_344); +lean_ctor_set(x_373, 3, x_345); +lean_ctor_set_uint8(x_373, sizeof(void*)*4, x_372); +return x_373; +} +} +} +else +{ +uint8_t x_374; +x_374 = lean_ctor_get_uint8(x_349, sizeof(void*)*4); +if (x_374 == 0) +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; +x_375 = lean_ctor_get(x_347, 1); +lean_inc(x_375); +x_376 = lean_ctor_get(x_347, 2); +lean_inc(x_376); +x_377 = lean_ctor_get(x_347, 3); +lean_inc(x_377); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_378 = x_347; +} else { + lean_dec_ref(x_347); + x_378 = lean_box(0); +} +x_379 = lean_ctor_get(x_349, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_349, 1); +lean_inc(x_380); +x_381 = lean_ctor_get(x_349, 2); +lean_inc(x_381); +x_382 = lean_ctor_get(x_349, 3); +lean_inc(x_382); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_383 = x_349; +} else { + lean_dec_ref(x_349); + x_383 = lean_box(0); +} +x_384 = 1; +if (lean_is_scalar(x_383)) { + x_385 = lean_alloc_ctor(1, 4, 1); +} else { + x_385 = x_383; +} +lean_ctor_set(x_385, 0, x_379); +lean_ctor_set(x_385, 1, x_380); +lean_ctor_set(x_385, 2, x_381); +lean_ctor_set(x_385, 3, x_382); +lean_ctor_set_uint8(x_385, sizeof(void*)*4, x_384); +if (lean_is_scalar(x_378)) { + x_386 = lean_alloc_ctor(1, 4, 1); +} else { + x_386 = x_378; +} +lean_ctor_set(x_386, 0, x_377); +lean_ctor_set(x_386, 1, x_343); +lean_ctor_set(x_386, 2, x_344); +lean_ctor_set(x_386, 3, x_345); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_384); +x_387 = 0; +x_388 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_388, 0, x_385); +lean_ctor_set(x_388, 1, x_375); +lean_ctor_set(x_388, 2, x_376); +lean_ctor_set(x_388, 3, x_386); +lean_ctor_set_uint8(x_388, sizeof(void*)*4, x_387); +return x_388; +} +else +{ +lean_object* x_389; +x_389 = lean_ctor_get(x_347, 3); +lean_inc(x_389); +if (lean_obj_tag(x_389) == 0) +{ +lean_object* x_390; uint8_t x_391; lean_object* x_392; +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_390 = x_349; +} else { + lean_dec_ref(x_349); + x_390 = lean_box(0); +} +x_391 = 1; +if (lean_is_scalar(x_390)) { + x_392 = lean_alloc_ctor(1, 4, 1); +} else { + x_392 = x_390; +} +lean_ctor_set(x_392, 0, x_347); +lean_ctor_set(x_392, 1, x_343); +lean_ctor_set(x_392, 2, x_344); +lean_ctor_set(x_392, 3, x_345); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; +} +else +{ +uint8_t x_393; +x_393 = lean_ctor_get_uint8(x_389, sizeof(void*)*4); +if (x_393 == 0) +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; +x_394 = lean_ctor_get(x_347, 1); +lean_inc(x_394); +x_395 = lean_ctor_get(x_347, 2); +lean_inc(x_395); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_396 = x_347; +} else { + lean_dec_ref(x_347); + x_396 = lean_box(0); +} +x_397 = lean_ctor_get(x_389, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_389, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_389, 2); +lean_inc(x_399); +x_400 = lean_ctor_get(x_389, 3); +lean_inc(x_400); +if (lean_is_exclusive(x_389)) { + lean_ctor_release(x_389, 0); + lean_ctor_release(x_389, 1); + lean_ctor_release(x_389, 2); + lean_ctor_release(x_389, 3); + x_401 = x_389; +} else { + lean_dec_ref(x_389); + x_401 = lean_box(0); +} +x_402 = 1; +lean_inc(x_349); +if (lean_is_scalar(x_401)) { + x_403 = lean_alloc_ctor(1, 4, 1); +} else { + x_403 = x_401; +} +lean_ctor_set(x_403, 0, x_349); +lean_ctor_set(x_403, 1, x_394); +lean_ctor_set(x_403, 2, x_395); +lean_ctor_set(x_403, 3, x_397); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_404 = x_349; +} else { + lean_dec_ref(x_349); + x_404 = lean_box(0); +} +lean_ctor_set_uint8(x_403, sizeof(void*)*4, x_402); +if (lean_is_scalar(x_404)) { + x_405 = lean_alloc_ctor(1, 4, 1); +} else { + x_405 = x_404; +} +lean_ctor_set(x_405, 0, x_400); +lean_ctor_set(x_405, 1, x_343); +lean_ctor_set(x_405, 2, x_344); +lean_ctor_set(x_405, 3, x_345); +lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_402); +x_406 = 0; +if (lean_is_scalar(x_396)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_396; +} +lean_ctor_set(x_407, 0, x_403); +lean_ctor_set(x_407, 1, x_398); +lean_ctor_set(x_407, 2, x_399); +lean_ctor_set(x_407, 3, x_405); +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +return x_407; +} +else +{ +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; +x_408 = lean_ctor_get(x_347, 1); +lean_inc(x_408); +x_409 = lean_ctor_get(x_347, 2); +lean_inc(x_409); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_410 = x_347; +} else { + lean_dec_ref(x_347); + x_410 = lean_box(0); +} +x_411 = lean_ctor_get(x_349, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_349, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_349, 2); +lean_inc(x_413); +x_414 = lean_ctor_get(x_349, 3); +lean_inc(x_414); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_415 = x_349; +} else { + lean_dec_ref(x_349); + x_415 = lean_box(0); +} +if (lean_is_scalar(x_415)) { + x_416 = lean_alloc_ctor(1, 4, 1); +} else { + x_416 = x_415; +} +lean_ctor_set(x_416, 0, x_411); +lean_ctor_set(x_416, 1, x_412); +lean_ctor_set(x_416, 2, x_413); +lean_ctor_set(x_416, 3, x_414); +lean_ctor_set_uint8(x_416, sizeof(void*)*4, x_393); +if (lean_is_scalar(x_410)) { + x_417 = lean_alloc_ctor(1, 4, 1); +} else { + x_417 = x_410; +} +lean_ctor_set(x_417, 0, x_416); +lean_ctor_set(x_417, 1, x_408); +lean_ctor_set(x_417, 2, x_409); +lean_ctor_set(x_417, 3, x_389); +lean_ctor_set_uint8(x_417, sizeof(void*)*4, x_348); +x_418 = 1; +x_419 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_419, 0, x_417); +lean_ctor_set(x_419, 1, x_343); +lean_ctor_set(x_419, 2, x_344); +lean_ctor_set(x_419, 3, x_345); +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +return x_419; +} +} +} +} +} +else +{ +uint8_t x_420; lean_object* x_421; +x_420 = 1; +x_421 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_421, 0, x_347); +lean_ctor_set(x_421, 1, x_343); +lean_ctor_set(x_421, 2, x_344); +lean_ctor_set(x_421, 3, x_345); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_420); +return x_421; +} +} +case 1: +{ +uint8_t x_422; lean_object* x_423; +lean_dec(x_344); +lean_dec(x_343); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_342); +lean_ctor_set(x_423, 1, x_2); +lean_ctor_set(x_423, 2, x_3); +lean_ctor_set(x_423, 3, x_345); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; +} +default: +{ +lean_object* x_424; uint8_t x_425; +x_424 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_345, x_2, x_3); +x_425 = lean_ctor_get_uint8(x_424, sizeof(void*)*4); +if (x_425 == 0) +{ +lean_object* x_426; +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; +x_427 = lean_ctor_get(x_424, 3); +lean_inc(x_427); +if (lean_obj_tag(x_427) == 0) +{ +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; lean_object* x_433; +x_428 = lean_ctor_get(x_424, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_424, 2); +lean_inc(x_429); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_430 = x_424; +} else { + lean_dec_ref(x_424); + x_430 = lean_box(0); +} +if (lean_is_scalar(x_430)) { + x_431 = lean_alloc_ctor(1, 4, 1); +} else { + x_431 = x_430; +} +lean_ctor_set(x_431, 0, x_427); +lean_ctor_set(x_431, 1, x_428); +lean_ctor_set(x_431, 2, x_429); +lean_ctor_set(x_431, 3, x_427); +lean_ctor_set_uint8(x_431, sizeof(void*)*4, x_425); +x_432 = 1; +x_433 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_433, 0, x_342); +lean_ctor_set(x_433, 1, x_343); +lean_ctor_set(x_433, 2, x_344); +lean_ctor_set(x_433, 3, x_431); +lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_432); +return x_433; +} +else +{ +uint8_t x_434; +x_434 = lean_ctor_get_uint8(x_427, sizeof(void*)*4); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; +x_435 = lean_ctor_get(x_424, 1); +lean_inc(x_435); +x_436 = lean_ctor_get(x_424, 2); +lean_inc(x_436); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_437 = x_424; +} else { + lean_dec_ref(x_424); + x_437 = lean_box(0); +} +x_438 = lean_ctor_get(x_427, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_427, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_427, 2); +lean_inc(x_440); +x_441 = lean_ctor_get(x_427, 3); +lean_inc(x_441); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_442 = x_427; +} else { + lean_dec_ref(x_427); + x_442 = lean_box(0); +} +x_443 = 1; +if (lean_is_scalar(x_442)) { + x_444 = lean_alloc_ctor(1, 4, 1); +} else { + x_444 = x_442; +} +lean_ctor_set(x_444, 0, x_342); +lean_ctor_set(x_444, 1, x_343); +lean_ctor_set(x_444, 2, x_344); +lean_ctor_set(x_444, 3, x_426); +lean_ctor_set_uint8(x_444, sizeof(void*)*4, x_443); +if (lean_is_scalar(x_437)) { + x_445 = lean_alloc_ctor(1, 4, 1); +} else { + x_445 = x_437; +} +lean_ctor_set(x_445, 0, x_438); +lean_ctor_set(x_445, 1, x_439); +lean_ctor_set(x_445, 2, x_440); +lean_ctor_set(x_445, 3, x_441); +lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_443); +x_446 = 0; +x_447 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_435); +lean_ctor_set(x_447, 2, x_436); +lean_ctor_set(x_447, 3, x_445); +lean_ctor_set_uint8(x_447, sizeof(void*)*4, x_446); +return x_447; +} +else +{ +lean_object* x_448; uint8_t x_449; lean_object* x_450; +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_448 = x_427; +} else { + lean_dec_ref(x_427); + x_448 = lean_box(0); +} +x_449 = 1; +if (lean_is_scalar(x_448)) { + x_450 = lean_alloc_ctor(1, 4, 1); +} else { + x_450 = x_448; +} +lean_ctor_set(x_450, 0, x_342); +lean_ctor_set(x_450, 1, x_343); +lean_ctor_set(x_450, 2, x_344); +lean_ctor_set(x_450, 3, x_424); +lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); +return x_450; +} +} +} +else +{ +uint8_t x_451; +x_451 = lean_ctor_get_uint8(x_426, sizeof(void*)*4); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; lean_object* x_465; +x_452 = lean_ctor_get(x_424, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_424, 2); +lean_inc(x_453); +x_454 = lean_ctor_get(x_424, 3); +lean_inc(x_454); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_455 = x_424; +} else { + lean_dec_ref(x_424); + x_455 = lean_box(0); +} +x_456 = lean_ctor_get(x_426, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_426, 1); +lean_inc(x_457); +x_458 = lean_ctor_get(x_426, 2); +lean_inc(x_458); +x_459 = lean_ctor_get(x_426, 3); +lean_inc(x_459); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_460 = x_426; +} else { + lean_dec_ref(x_426); + x_460 = lean_box(0); +} +x_461 = 1; +if (lean_is_scalar(x_460)) { + x_462 = lean_alloc_ctor(1, 4, 1); +} else { + x_462 = x_460; +} +lean_ctor_set(x_462, 0, x_342); +lean_ctor_set(x_462, 1, x_343); +lean_ctor_set(x_462, 2, x_344); +lean_ctor_set(x_462, 3, x_456); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); +if (lean_is_scalar(x_455)) { + x_463 = lean_alloc_ctor(1, 4, 1); +} else { + x_463 = x_455; +} +lean_ctor_set(x_463, 0, x_459); +lean_ctor_set(x_463, 1, x_452); +lean_ctor_set(x_463, 2, x_453); +lean_ctor_set(x_463, 3, x_454); +lean_ctor_set_uint8(x_463, sizeof(void*)*4, x_461); +x_464 = 0; +x_465 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_465, 0, x_462); +lean_ctor_set(x_465, 1, x_457); +lean_ctor_set(x_465, 2, x_458); +lean_ctor_set(x_465, 3, x_463); +lean_ctor_set_uint8(x_465, sizeof(void*)*4, x_464); +return x_465; +} +else +{ +lean_object* x_466; +x_466 = lean_ctor_get(x_424, 3); +lean_inc(x_466); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; uint8_t x_468; lean_object* x_469; +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_467 = x_426; +} else { + lean_dec_ref(x_426); + x_467 = lean_box(0); +} +x_468 = 1; +if (lean_is_scalar(x_467)) { + x_469 = lean_alloc_ctor(1, 4, 1); +} else { + x_469 = x_467; +} +lean_ctor_set(x_469, 0, x_342); +lean_ctor_set(x_469, 1, x_343); +lean_ctor_set(x_469, 2, x_344); +lean_ctor_set(x_469, 3, x_424); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; +} +else +{ +uint8_t x_470; +x_470 = lean_ctor_get_uint8(x_466, sizeof(void*)*4); +if (x_470 == 0) +{ +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; +x_471 = lean_ctor_get(x_424, 1); +lean_inc(x_471); +x_472 = lean_ctor_get(x_424, 2); +lean_inc(x_472); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_473 = x_424; +} else { + lean_dec_ref(x_424); + x_473 = lean_box(0); +} +x_474 = lean_ctor_get(x_466, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_466, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_466, 2); +lean_inc(x_476); +x_477 = lean_ctor_get(x_466, 3); +lean_inc(x_477); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + lean_ctor_release(x_466, 2); + lean_ctor_release(x_466, 3); + x_478 = x_466; +} else { + lean_dec_ref(x_466); + x_478 = lean_box(0); +} +x_479 = 1; +lean_inc(x_426); +if (lean_is_scalar(x_478)) { + x_480 = lean_alloc_ctor(1, 4, 1); +} else { + x_480 = x_478; +} +lean_ctor_set(x_480, 0, x_342); +lean_ctor_set(x_480, 1, x_343); +lean_ctor_set(x_480, 2, x_344); +lean_ctor_set(x_480, 3, x_426); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_481 = x_426; +} else { + lean_dec_ref(x_426); + x_481 = lean_box(0); +} +lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_479); +if (lean_is_scalar(x_481)) { + x_482 = lean_alloc_ctor(1, 4, 1); +} else { + x_482 = x_481; +} +lean_ctor_set(x_482, 0, x_474); +lean_ctor_set(x_482, 1, x_475); +lean_ctor_set(x_482, 2, x_476); +lean_ctor_set(x_482, 3, x_477); +lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_479); +x_483 = 0; +if (lean_is_scalar(x_473)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_473; +} +lean_ctor_set(x_484, 0, x_480); +lean_ctor_set(x_484, 1, x_471); +lean_ctor_set(x_484, 2, x_472); +lean_ctor_set(x_484, 3, x_482); +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +return x_484; +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; +x_485 = lean_ctor_get(x_424, 1); +lean_inc(x_485); +x_486 = lean_ctor_get(x_424, 2); +lean_inc(x_486); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_487 = x_424; +} else { + lean_dec_ref(x_424); + x_487 = lean_box(0); +} +x_488 = lean_ctor_get(x_426, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_426, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_426, 2); +lean_inc(x_490); +x_491 = lean_ctor_get(x_426, 3); +lean_inc(x_491); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_492 = x_426; +} else { + lean_dec_ref(x_426); + x_492 = lean_box(0); +} +if (lean_is_scalar(x_492)) { + x_493 = lean_alloc_ctor(1, 4, 1); +} else { + x_493 = x_492; +} +lean_ctor_set(x_493, 0, x_488); +lean_ctor_set(x_493, 1, x_489); +lean_ctor_set(x_493, 2, x_490); +lean_ctor_set(x_493, 3, x_491); +lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_470); +if (lean_is_scalar(x_487)) { + x_494 = lean_alloc_ctor(1, 4, 1); +} else { + x_494 = x_487; +} +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_485); +lean_ctor_set(x_494, 2, x_486); +lean_ctor_set(x_494, 3, x_466); +lean_ctor_set_uint8(x_494, sizeof(void*)*4, x_425); +x_495 = 1; +x_496 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_496, 0, x_342); +lean_ctor_set(x_496, 1, x_343); +lean_ctor_set(x_496, 2, x_344); +lean_ctor_set(x_496, 3, x_494); +lean_ctor_set_uint8(x_496, sizeof(void*)*4, x_495); +return x_496; +} +} +} +} +} +else +{ +uint8_t x_497; lean_object* x_498; +x_497 = 1; +x_498 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_498, 0, x_342); +lean_ctor_set(x_498, 1, x_343); +lean_ctor_set(x_498, 2, x_344); +lean_ctor_set(x_498, 3, x_424); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_497); +return x_498; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__2(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_st_ref_take(x_4, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 13); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_14, 13); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_15, 2); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_16); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_array_get_size(x_23); +x_25 = lean_nat_dec_lt(x_3, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +lean_dec(x_1); +x_26 = lean_st_ref_set(x_4, x_14, x_17); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +x_29 = lean_box(0); +lean_ctor_set(x_26, 0, x_29); +return x_26; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_array_fget(x_23, x_3); +x_34 = lean_box(0); +x_35 = lean_array_fset(x_23, x_3, x_34); +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_33, 17); +x_38 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_37, x_1, x_34); +lean_ctor_set(x_33, 17, x_38); +x_39 = lean_array_fset(x_35, x_3, x_33); +lean_ctor_set(x_16, 0, x_39); +x_40 = lean_st_ref_set(x_4, x_14, x_17); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +lean_ctor_set(x_40, 0, x_34); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_34); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +else +{ +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; lean_object* x_70; +x_45 = lean_ctor_get(x_33, 0); +x_46 = lean_ctor_get(x_33, 1); +x_47 = lean_ctor_get(x_33, 2); +x_48 = lean_ctor_get(x_33, 3); +x_49 = lean_ctor_get(x_33, 4); +x_50 = lean_ctor_get(x_33, 5); +x_51 = lean_ctor_get(x_33, 6); +x_52 = lean_ctor_get(x_33, 7); +x_53 = lean_ctor_get(x_33, 8); +x_54 = lean_ctor_get(x_33, 9); +x_55 = lean_ctor_get(x_33, 10); +x_56 = lean_ctor_get(x_33, 11); +x_57 = lean_ctor_get(x_33, 12); +x_58 = lean_ctor_get(x_33, 13); +x_59 = lean_ctor_get(x_33, 14); +x_60 = lean_ctor_get(x_33, 15); +x_61 = lean_ctor_get(x_33, 16); +x_62 = lean_ctor_get(x_33, 17); +x_63 = lean_ctor_get(x_33, 18); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_33); +x_64 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_62, x_1, x_34); +x_65 = lean_alloc_ctor(0, 19, 0); +lean_ctor_set(x_65, 0, x_45); +lean_ctor_set(x_65, 1, x_46); +lean_ctor_set(x_65, 2, x_47); +lean_ctor_set(x_65, 3, x_48); +lean_ctor_set(x_65, 4, x_49); +lean_ctor_set(x_65, 5, x_50); +lean_ctor_set(x_65, 6, x_51); +lean_ctor_set(x_65, 7, x_52); +lean_ctor_set(x_65, 8, x_53); +lean_ctor_set(x_65, 9, x_54); +lean_ctor_set(x_65, 10, x_55); +lean_ctor_set(x_65, 11, x_56); +lean_ctor_set(x_65, 12, x_57); +lean_ctor_set(x_65, 13, x_58); +lean_ctor_set(x_65, 14, x_59); +lean_ctor_set(x_65, 15, x_60); +lean_ctor_set(x_65, 16, x_61); +lean_ctor_set(x_65, 17, x_64); +lean_ctor_set(x_65, 18, x_63); +x_66 = lean_array_fset(x_35, x_3, x_65); +lean_ctor_set(x_16, 0, x_66); +x_67 = lean_st_ref_set(x_4, x_14, x_17); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_69 = x_67; +} else { + lean_dec_ref(x_67); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_34); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_71 = lean_ctor_get(x_16, 0); +x_72 = lean_ctor_get(x_16, 1); +x_73 = lean_ctor_get(x_16, 2); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_16); +x_74 = lean_array_get_size(x_71); +x_75 = lean_nat_dec_lt(x_3, x_74); +lean_dec(x_74); +if (x_75 == 0) +{ +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_dec(x_1); +x_76 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_72); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_15, 2, x_76); +x_77 = lean_st_ref_set(x_4, x_14, x_17); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = lean_box(0); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +else +{ +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; 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; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_82 = lean_array_fget(x_71, x_3); +x_83 = lean_box(0); +x_84 = lean_array_fset(x_71, x_3, x_83); +x_85 = lean_ctor_get(x_82, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_82, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_82, 2); +lean_inc(x_87); +x_88 = lean_ctor_get(x_82, 3); +lean_inc(x_88); +x_89 = lean_ctor_get(x_82, 4); +lean_inc(x_89); +x_90 = lean_ctor_get(x_82, 5); +lean_inc(x_90); +x_91 = lean_ctor_get(x_82, 6); +lean_inc(x_91); +x_92 = lean_ctor_get(x_82, 7); +lean_inc(x_92); +x_93 = lean_ctor_get(x_82, 8); +lean_inc(x_93); +x_94 = lean_ctor_get(x_82, 9); +lean_inc(x_94); +x_95 = lean_ctor_get(x_82, 10); +lean_inc(x_95); +x_96 = lean_ctor_get(x_82, 11); +lean_inc(x_96); +x_97 = lean_ctor_get(x_82, 12); +lean_inc(x_97); +x_98 = lean_ctor_get(x_82, 13); +lean_inc(x_98); +x_99 = lean_ctor_get(x_82, 14); +lean_inc(x_99); +x_100 = lean_ctor_get(x_82, 15); +lean_inc(x_100); +x_101 = lean_ctor_get(x_82, 16); +lean_inc(x_101); +x_102 = lean_ctor_get(x_82, 17); +lean_inc(x_102); +x_103 = lean_ctor_get(x_82, 18); +lean_inc(x_103); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + lean_ctor_release(x_82, 3); + lean_ctor_release(x_82, 4); + lean_ctor_release(x_82, 5); + lean_ctor_release(x_82, 6); + lean_ctor_release(x_82, 7); + lean_ctor_release(x_82, 8); + lean_ctor_release(x_82, 9); + lean_ctor_release(x_82, 10); + lean_ctor_release(x_82, 11); + lean_ctor_release(x_82, 12); + lean_ctor_release(x_82, 13); + lean_ctor_release(x_82, 14); + lean_ctor_release(x_82, 15); + lean_ctor_release(x_82, 16); + lean_ctor_release(x_82, 17); + lean_ctor_release(x_82, 18); + x_104 = x_82; +} else { + lean_dec_ref(x_82); + x_104 = lean_box(0); +} +x_105 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_102, x_1, x_83); +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(0, 19, 0); +} else { + x_106 = x_104; +} +lean_ctor_set(x_106, 0, x_85); +lean_ctor_set(x_106, 1, x_86); +lean_ctor_set(x_106, 2, x_87); +lean_ctor_set(x_106, 3, x_88); +lean_ctor_set(x_106, 4, x_89); +lean_ctor_set(x_106, 5, x_90); +lean_ctor_set(x_106, 6, x_91); +lean_ctor_set(x_106, 7, x_92); +lean_ctor_set(x_106, 8, x_93); +lean_ctor_set(x_106, 9, x_94); +lean_ctor_set(x_106, 10, x_95); +lean_ctor_set(x_106, 11, x_96); +lean_ctor_set(x_106, 12, x_97); +lean_ctor_set(x_106, 13, x_98); +lean_ctor_set(x_106, 14, x_99); +lean_ctor_set(x_106, 15, x_100); +lean_ctor_set(x_106, 16, x_101); +lean_ctor_set(x_106, 17, x_105); +lean_ctor_set(x_106, 18, x_103); +x_107 = lean_array_fset(x_84, x_3, x_106); +x_108 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_72); +lean_ctor_set(x_108, 2, x_73); +lean_ctor_set(x_15, 2, x_108); +x_109 = lean_st_ref_set(x_4, x_14, x_17); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_111 = x_109; +} else { + lean_dec_ref(x_109); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_83); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +} +else +{ +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; uint8_t x_120; +x_113 = lean_ctor_get(x_15, 0); +x_114 = lean_ctor_get(x_15, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_15); +x_115 = lean_ctor_get(x_16, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_16, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_16, 2); +lean_inc(x_117); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_118 = x_16; +} else { + lean_dec_ref(x_16); + x_118 = lean_box(0); +} +x_119 = lean_array_get_size(x_115); +x_120 = lean_nat_dec_lt(x_3, x_119); +lean_dec(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_1); +if (lean_is_scalar(x_118)) { + x_121 = lean_alloc_ctor(0, 3, 0); +} else { + x_121 = x_118; +} +lean_ctor_set(x_121, 0, x_115); +lean_ctor_set(x_121, 1, x_116); +lean_ctor_set(x_121, 2, x_117); +x_122 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_122, 0, x_113); +lean_ctor_set(x_122, 1, x_114); +lean_ctor_set(x_122, 2, x_121); +lean_ctor_set(x_14, 13, x_122); +x_123 = lean_st_ref_set(x_4, x_14, x_17); +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); +} +x_126 = lean_box(0); +if (lean_is_scalar(x_125)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_125; +} +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_124); +return x_127; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_128 = lean_array_fget(x_115, x_3); +x_129 = lean_box(0); +x_130 = lean_array_fset(x_115, x_3, x_129); +x_131 = lean_ctor_get(x_128, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_128, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_128, 2); +lean_inc(x_133); +x_134 = lean_ctor_get(x_128, 3); +lean_inc(x_134); +x_135 = lean_ctor_get(x_128, 4); +lean_inc(x_135); +x_136 = lean_ctor_get(x_128, 5); +lean_inc(x_136); +x_137 = lean_ctor_get(x_128, 6); +lean_inc(x_137); +x_138 = lean_ctor_get(x_128, 7); +lean_inc(x_138); +x_139 = lean_ctor_get(x_128, 8); +lean_inc(x_139); +x_140 = lean_ctor_get(x_128, 9); +lean_inc(x_140); +x_141 = lean_ctor_get(x_128, 10); +lean_inc(x_141); +x_142 = lean_ctor_get(x_128, 11); +lean_inc(x_142); +x_143 = lean_ctor_get(x_128, 12); +lean_inc(x_143); +x_144 = lean_ctor_get(x_128, 13); +lean_inc(x_144); +x_145 = lean_ctor_get(x_128, 14); +lean_inc(x_145); +x_146 = lean_ctor_get(x_128, 15); +lean_inc(x_146); +x_147 = lean_ctor_get(x_128, 16); +lean_inc(x_147); +x_148 = lean_ctor_get(x_128, 17); +lean_inc(x_148); +x_149 = lean_ctor_get(x_128, 18); +lean_inc(x_149); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + lean_ctor_release(x_128, 2); + lean_ctor_release(x_128, 3); + lean_ctor_release(x_128, 4); + lean_ctor_release(x_128, 5); + lean_ctor_release(x_128, 6); + lean_ctor_release(x_128, 7); + lean_ctor_release(x_128, 8); + lean_ctor_release(x_128, 9); + lean_ctor_release(x_128, 10); + lean_ctor_release(x_128, 11); + lean_ctor_release(x_128, 12); + lean_ctor_release(x_128, 13); + lean_ctor_release(x_128, 14); + lean_ctor_release(x_128, 15); + lean_ctor_release(x_128, 16); + lean_ctor_release(x_128, 17); + lean_ctor_release(x_128, 18); + x_150 = x_128; +} else { + lean_dec_ref(x_128); + x_150 = lean_box(0); +} +x_151 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_148, x_1, x_129); +if (lean_is_scalar(x_150)) { + x_152 = lean_alloc_ctor(0, 19, 0); +} else { + x_152 = x_150; +} +lean_ctor_set(x_152, 0, x_131); +lean_ctor_set(x_152, 1, x_132); +lean_ctor_set(x_152, 2, x_133); +lean_ctor_set(x_152, 3, x_134); +lean_ctor_set(x_152, 4, x_135); +lean_ctor_set(x_152, 5, x_136); +lean_ctor_set(x_152, 6, x_137); +lean_ctor_set(x_152, 7, x_138); +lean_ctor_set(x_152, 8, x_139); +lean_ctor_set(x_152, 9, x_140); +lean_ctor_set(x_152, 10, x_141); +lean_ctor_set(x_152, 11, x_142); +lean_ctor_set(x_152, 12, x_143); +lean_ctor_set(x_152, 13, x_144); +lean_ctor_set(x_152, 14, x_145); +lean_ctor_set(x_152, 15, x_146); +lean_ctor_set(x_152, 16, x_147); +lean_ctor_set(x_152, 17, x_151); +lean_ctor_set(x_152, 18, x_149); +x_153 = lean_array_fset(x_130, x_3, x_152); +if (lean_is_scalar(x_118)) { + x_154 = lean_alloc_ctor(0, 3, 0); +} else { + x_154 = x_118; +} +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_116); +lean_ctor_set(x_154, 2, x_117); +x_155 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_155, 0, x_113); +lean_ctor_set(x_155, 1, x_114); +lean_ctor_set(x_155, 2, x_154); +lean_ctor_set(x_14, 13, x_155); +x_156 = lean_st_ref_set(x_4, x_14, x_17); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_158 = x_156; +} else { + lean_dec_ref(x_156); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(0, 2, 0); +} else { + x_159 = x_158; +} +lean_ctor_set(x_159, 0, x_129); +lean_ctor_set(x_159, 1, x_157); +return x_159; +} +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_160 = lean_ctor_get(x_14, 0); +x_161 = lean_ctor_get(x_14, 1); +x_162 = lean_ctor_get(x_14, 2); +x_163 = lean_ctor_get(x_14, 3); +x_164 = lean_ctor_get(x_14, 4); +x_165 = lean_ctor_get(x_14, 5); +x_166 = lean_ctor_get(x_14, 6); +x_167 = lean_ctor_get_uint8(x_14, sizeof(void*)*15); +x_168 = lean_ctor_get(x_14, 7); +x_169 = lean_ctor_get(x_14, 8); +x_170 = lean_ctor_get(x_14, 9); +x_171 = lean_ctor_get(x_14, 10); +x_172 = lean_ctor_get(x_14, 11); +x_173 = lean_ctor_get(x_14, 12); +x_174 = lean_ctor_get(x_14, 14); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_14); +x_175 = lean_ctor_get(x_15, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_15, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + lean_ctor_release(x_15, 2); + x_177 = x_15; +} else { + lean_dec_ref(x_15); + x_177 = lean_box(0); +} +x_178 = lean_ctor_get(x_16, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_16, 1); +lean_inc(x_179); +x_180 = lean_ctor_get(x_16, 2); +lean_inc(x_180); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_181 = x_16; +} else { + lean_dec_ref(x_16); + x_181 = lean_box(0); +} +x_182 = lean_array_get_size(x_178); +x_183 = lean_nat_dec_lt(x_3, x_182); +lean_dec(x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_1); +if (lean_is_scalar(x_181)) { + x_184 = lean_alloc_ctor(0, 3, 0); +} else { + x_184 = x_181; +} +lean_ctor_set(x_184, 0, x_178); +lean_ctor_set(x_184, 1, x_179); +lean_ctor_set(x_184, 2, x_180); +if (lean_is_scalar(x_177)) { + x_185 = lean_alloc_ctor(0, 3, 0); +} else { + x_185 = x_177; +} +lean_ctor_set(x_185, 0, x_175); +lean_ctor_set(x_185, 1, x_176); +lean_ctor_set(x_185, 2, x_184); +x_186 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_186, 0, x_160); +lean_ctor_set(x_186, 1, x_161); +lean_ctor_set(x_186, 2, x_162); +lean_ctor_set(x_186, 3, x_163); +lean_ctor_set(x_186, 4, x_164); +lean_ctor_set(x_186, 5, x_165); +lean_ctor_set(x_186, 6, x_166); +lean_ctor_set(x_186, 7, x_168); +lean_ctor_set(x_186, 8, x_169); +lean_ctor_set(x_186, 9, x_170); +lean_ctor_set(x_186, 10, x_171); +lean_ctor_set(x_186, 11, x_172); +lean_ctor_set(x_186, 12, x_173); +lean_ctor_set(x_186, 13, x_185); +lean_ctor_set(x_186, 14, x_174); +lean_ctor_set_uint8(x_186, sizeof(void*)*15, x_167); +x_187 = lean_st_ref_set(x_4, x_186, x_17); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_189 = x_187; +} else { + lean_dec_ref(x_187); + x_189 = lean_box(0); +} +x_190 = lean_box(0); +if (lean_is_scalar(x_189)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_189; +} +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_188); +return x_191; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_192 = lean_array_fget(x_178, x_3); +x_193 = lean_box(0); +x_194 = lean_array_fset(x_178, x_3, x_193); +x_195 = lean_ctor_get(x_192, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_192, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_192, 2); +lean_inc(x_197); +x_198 = lean_ctor_get(x_192, 3); +lean_inc(x_198); +x_199 = lean_ctor_get(x_192, 4); +lean_inc(x_199); +x_200 = lean_ctor_get(x_192, 5); +lean_inc(x_200); +x_201 = lean_ctor_get(x_192, 6); +lean_inc(x_201); +x_202 = lean_ctor_get(x_192, 7); +lean_inc(x_202); +x_203 = lean_ctor_get(x_192, 8); +lean_inc(x_203); +x_204 = lean_ctor_get(x_192, 9); +lean_inc(x_204); +x_205 = lean_ctor_get(x_192, 10); +lean_inc(x_205); +x_206 = lean_ctor_get(x_192, 11); +lean_inc(x_206); +x_207 = lean_ctor_get(x_192, 12); +lean_inc(x_207); +x_208 = lean_ctor_get(x_192, 13); +lean_inc(x_208); +x_209 = lean_ctor_get(x_192, 14); +lean_inc(x_209); +x_210 = lean_ctor_get(x_192, 15); +lean_inc(x_210); +x_211 = lean_ctor_get(x_192, 16); +lean_inc(x_211); +x_212 = lean_ctor_get(x_192, 17); +lean_inc(x_212); +x_213 = lean_ctor_get(x_192, 18); +lean_inc(x_213); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + lean_ctor_release(x_192, 2); + lean_ctor_release(x_192, 3); + lean_ctor_release(x_192, 4); + lean_ctor_release(x_192, 5); + lean_ctor_release(x_192, 6); + lean_ctor_release(x_192, 7); + lean_ctor_release(x_192, 8); + lean_ctor_release(x_192, 9); + lean_ctor_release(x_192, 10); + lean_ctor_release(x_192, 11); + lean_ctor_release(x_192, 12); + lean_ctor_release(x_192, 13); + lean_ctor_release(x_192, 14); + lean_ctor_release(x_192, 15); + lean_ctor_release(x_192, 16); + lean_ctor_release(x_192, 17); + lean_ctor_release(x_192, 18); + x_214 = x_192; +} else { + lean_dec_ref(x_192); + x_214 = lean_box(0); +} +x_215 = l_Lean_RBNode_insert___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___spec__1(x_212, x_1, x_193); +if (lean_is_scalar(x_214)) { + x_216 = lean_alloc_ctor(0, 19, 0); +} else { + x_216 = x_214; +} +lean_ctor_set(x_216, 0, x_195); +lean_ctor_set(x_216, 1, x_196); +lean_ctor_set(x_216, 2, x_197); +lean_ctor_set(x_216, 3, x_198); +lean_ctor_set(x_216, 4, x_199); +lean_ctor_set(x_216, 5, x_200); +lean_ctor_set(x_216, 6, x_201); +lean_ctor_set(x_216, 7, x_202); +lean_ctor_set(x_216, 8, x_203); +lean_ctor_set(x_216, 9, x_204); +lean_ctor_set(x_216, 10, x_205); +lean_ctor_set(x_216, 11, x_206); +lean_ctor_set(x_216, 12, x_207); +lean_ctor_set(x_216, 13, x_208); +lean_ctor_set(x_216, 14, x_209); +lean_ctor_set(x_216, 15, x_210); +lean_ctor_set(x_216, 16, x_211); +lean_ctor_set(x_216, 17, x_215); +lean_ctor_set(x_216, 18, x_213); +x_217 = lean_array_fset(x_194, x_3, x_216); +if (lean_is_scalar(x_181)) { + x_218 = lean_alloc_ctor(0, 3, 0); +} else { + x_218 = x_181; +} +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_179); +lean_ctor_set(x_218, 2, x_180); +if (lean_is_scalar(x_177)) { + x_219 = lean_alloc_ctor(0, 3, 0); +} else { + x_219 = x_177; +} +lean_ctor_set(x_219, 0, x_175); +lean_ctor_set(x_219, 1, x_176); +lean_ctor_set(x_219, 2, x_218); +x_220 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_220, 0, x_160); +lean_ctor_set(x_220, 1, x_161); +lean_ctor_set(x_220, 2, x_162); +lean_ctor_set(x_220, 3, x_163); +lean_ctor_set(x_220, 4, x_164); +lean_ctor_set(x_220, 5, x_165); +lean_ctor_set(x_220, 6, x_166); +lean_ctor_set(x_220, 7, x_168); +lean_ctor_set(x_220, 8, x_169); +lean_ctor_set(x_220, 9, x_170); +lean_ctor_set(x_220, 10, x_171); +lean_ctor_set(x_220, 11, x_172); +lean_ctor_set(x_220, 12, x_173); +lean_ctor_set(x_220, 13, x_219); +lean_ctor_set(x_220, 14, x_174); +lean_ctor_set_uint8(x_220, sizeof(void*)*15, x_167); +x_221 = lean_st_ref_set(x_4, x_220, x_17); +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_223 = x_221; +} else { + lean_dec_ref(x_221); + x_223 = lean_box(0); +} +if (lean_is_scalar(x_223)) { + x_224 = lean_alloc_ctor(0, 2, 0); +} else { + x_224 = x_223; +} +lean_ctor_set(x_224, 0, x_193); +lean_ctor_set(x_224, 1, x_222); +return x_224; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("queue", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue(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: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2; +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_18; +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 1); +x_21 = lean_ctor_get(x_13, 0); +lean_dec(x_21); +x_22 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +x_24 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_MessageData_ofExpr(x_25); +x_28 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_13, 7); +lean_ctor_set(x_13, 1, x_27); +lean_ctor_set(x_13, 0, x_28); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_13); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(x_1, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_31); +return x_33; +} +else +{ +uint8_t x_34; +lean_free_object(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_24); +if (x_34 == 0) +{ +return x_24; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_24, 0); +x_36 = lean_ctor_get(x_24, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_24); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_free_object(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) +{ +return x_22; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_dec(x_13); +x_43 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +x_45 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l_Lean_MessageData_ofExpr(x_46); +x_49 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(x_1, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_53); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_56 = lean_ctor_get(x_45, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_45, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_58 = x_45; +} else { + lean_dec_ref(x_45); + 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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_60 = lean_ctor_get(x_43, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_43, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_62 = x_43; +} else { + lean_dec_ref(x_43); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___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: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___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_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -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); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_simplify___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_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_simplify___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -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); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -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; uint8_t x_20; -x_13 = lean_ctor_get(x_10, 5); -x_14 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_8, x_9, x_10, x_11, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_take(x_11, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_17, 1); -x_22 = lean_ctor_get(x_17, 0); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_18, 3); -lean_dec(x_24); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -lean_object* x_26; double x_27; uint8_t 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; uint8_t x_35; -x_26 = lean_ctor_get(x_19, 0); -x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_28 = 0; -x_29 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_30 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_30, 0, x_1); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set_float(x_30, sizeof(void*)*2, x_27); -lean_ctor_set_float(x_30, sizeof(void*)*2 + 8, x_27); -lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 16, x_28); -x_31 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_32 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_15); -lean_ctor_set(x_32, 2, x_31); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_32); -lean_ctor_set(x_17, 0, x_13); -x_33 = l_Lean_PersistentArray_push___rarg(x_26, x_17); -lean_ctor_set(x_19, 0, x_33); -x_34 = lean_st_ref_set(x_11, x_18, x_21); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} -} -else -{ -uint64_t x_41; lean_object* x_42; double x_43; uint8_t 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; -x_41 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_42 = lean_ctor_get(x_19, 0); -lean_inc(x_42); -lean_dec(x_19); -x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_44 = 0; -x_45 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_46 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_46, 0, x_1); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set_float(x_46, sizeof(void*)*2, x_43); -lean_ctor_set_float(x_46, sizeof(void*)*2 + 8, x_43); -lean_ctor_set_uint8(x_46, sizeof(void*)*2 + 16, x_44); -x_47 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_48 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_15); -lean_ctor_set(x_48, 2, x_47); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_48); -lean_ctor_set(x_17, 0, x_13); -x_49 = l_Lean_PersistentArray_push___rarg(x_42, x_17); -x_50 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set_uint64(x_50, sizeof(void*)*1, x_41); -lean_ctor_set(x_18, 3, x_50); -x_51 = lean_st_ref_set(x_11, x_18, x_21); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_53 = x_51; -} else { - lean_dec_ref(x_51); - x_53 = lean_box(0); -} -x_54 = lean_box(0); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; -} -} -else -{ -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; uint64_t x_63; lean_object* x_64; lean_object* x_65; double x_66; uint8_t 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_56 = lean_ctor_get(x_18, 0); -x_57 = lean_ctor_get(x_18, 1); -x_58 = lean_ctor_get(x_18, 2); -x_59 = lean_ctor_get(x_18, 4); -x_60 = lean_ctor_get(x_18, 5); -x_61 = lean_ctor_get(x_18, 6); -x_62 = lean_ctor_get(x_18, 7); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_18); -x_63 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_64 = lean_ctor_get(x_19, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_65 = x_19; -} else { - lean_dec_ref(x_19); - x_65 = lean_box(0); -} -x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_67 = 0; -x_68 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_69 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_69, 0, x_1); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set_float(x_69, sizeof(void*)*2, x_66); -lean_ctor_set_float(x_69, sizeof(void*)*2 + 8, x_66); -lean_ctor_set_uint8(x_69, sizeof(void*)*2 + 16, x_67); -x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_71 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_15); -lean_ctor_set(x_71, 2, x_70); -lean_inc(x_13); -lean_ctor_set(x_17, 1, x_71); -lean_ctor_set(x_17, 0, x_13); -x_72 = l_Lean_PersistentArray_push___rarg(x_64, x_17); -if (lean_is_scalar(x_65)) { - x_73 = lean_alloc_ctor(0, 1, 8); -} else { - x_73 = x_65; -} -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set_uint64(x_73, sizeof(void*)*1, x_63); -x_74 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_74, 0, x_56); -lean_ctor_set(x_74, 1, x_57); -lean_ctor_set(x_74, 2, x_58); -lean_ctor_set(x_74, 3, x_73); -lean_ctor_set(x_74, 4, x_59); -lean_ctor_set(x_74, 5, x_60); -lean_ctor_set(x_74, 6, x_61); -lean_ctor_set(x_74, 7, x_62); -x_75 = lean_st_ref_set(x_11, x_74, x_21); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; -} -} -else -{ -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; uint64_t x_89; lean_object* x_90; lean_object* x_91; double x_92; uint8_t 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; -x_80 = lean_ctor_get(x_17, 1); -lean_inc(x_80); -lean_dec(x_17); -x_81 = lean_ctor_get(x_18, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_18, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_18, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_18, 4); -lean_inc(x_84); -x_85 = lean_ctor_get(x_18, 5); -lean_inc(x_85); -x_86 = lean_ctor_get(x_18, 6); -lean_inc(x_86); -x_87 = lean_ctor_get(x_18, 7); -lean_inc(x_87); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - lean_ctor_release(x_18, 2); - lean_ctor_release(x_18, 3); - lean_ctor_release(x_18, 4); - lean_ctor_release(x_18, 5); - lean_ctor_release(x_18, 6); - lean_ctor_release(x_18, 7); - x_88 = x_18; -} else { - lean_dec_ref(x_18); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); -x_90 = lean_ctor_get(x_19, 0); -lean_inc(x_90); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_91 = x_19; -} else { - lean_dec_ref(x_19); - x_91 = lean_box(0); -} -x_92 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1; -x_93 = 0; -x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__4; -x_95 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_95, 0, x_1); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set_float(x_95, sizeof(void*)*2, x_92); -lean_ctor_set_float(x_95, sizeof(void*)*2 + 8, x_92); -lean_ctor_set_uint8(x_95, sizeof(void*)*2 + 16, x_93); -x_96 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2; -x_97 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_15); -lean_ctor_set(x_97, 2, x_96); -lean_inc(x_13); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_13); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_PersistentArray_push___rarg(x_90, x_98); -if (lean_is_scalar(x_91)) { - x_100 = lean_alloc_ctor(0, 1, 8); -} else { - x_100 = x_91; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set_uint64(x_100, sizeof(void*)*1, x_89); -if (lean_is_scalar(x_88)) { - x_101 = lean_alloc_ctor(0, 8, 0); -} else { - x_101 = x_88; -} -lean_ctor_set(x_101, 0, x_81); -lean_ctor_set(x_101, 1, x_82); -lean_ctor_set(x_101, 2, x_83); -lean_ctor_set(x_101, 3, x_100); -lean_ctor_set(x_101, 4, x_84); -lean_ctor_set(x_101, 5, x_85); -lean_ctor_set(x_101, 6, x_86); -lean_ctor_set(x_101, 7, x_87); -x_102 = lean_st_ref_set(x_11, x_101, x_80); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_104 = x_102; -} else { - lean_dec_ref(x_102); - x_104 = lean_box(0); -} -x_105 = lean_box(0); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -return x_106; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___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, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -5230,7 +11478,2776 @@ lean_ctor_set(x_13, 1, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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, 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) { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("superpose", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___lambda__1___boxed), 11, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith(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: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2; +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; +x_18 = lean_unbox(x_15); +lean_dec(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_free_object(x_13); +lean_dec(x_1); +x_19 = lean_box(0); +x_20 = lean_apply_11(x_17, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +return x_20; +} +else +{ +lean_object* x_21; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_21) == 0) +{ +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; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_MessageData_ofExpr(x_22); +x_25 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_13, 7); +lean_ctor_set(x_13, 1, x_24); +lean_ctor_set(x_13, 0, x_25); +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_13); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_apply_11(x_17, x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +return x_30; +} +else +{ +uint8_t x_31; +lean_free_object(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_21); +if (x_31 == 0) +{ +return x_21; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 0); +x_33 = lean_ctor_get(x_21, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_21); +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 +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_13, 0); +x_36 = lean_ctor_get(x_13, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_13); +x_37 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; +x_38 = lean_unbox(x_35); +lean_dec(x_35); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_1); +x_39 = lean_box(0); +x_40 = lean_apply_11(x_37, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +return x_40; +} +else +{ +lean_object* x_41; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_41 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_41) == 0) +{ +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_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_MessageData_ofExpr(x_42); +x_45 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_apply_11(x_37, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +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); +lean_dec(x_3); +lean_dec(x_2); +x_52 = lean_ctor_get(x_41, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_41, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_54 = x_41; +} else { + lean_dec_ref(x_41); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(1, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2; +x_20 = lean_int_dec_eq(x_1, x_19); +if (x_20 == 0) +{ +lean_dec(x_3); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean_Grind_CommRing_Poly_mulConst(x_19, x_3); +lean_inc(x_2); +x_22 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_ctor_get(x_2, 2); +lean_inc(x_23); +x_24 = lean_ctor_get(x_2, 3); +lean_inc(x_24); +lean_dec(x_2); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_15, 0, x_25); +return x_15; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_dec(x_15); +x_27 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2; +x_28 = lean_int_dec_eq(x_1, x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_3); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_26); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = l_Lean_Grind_CommRing_Poly_mulConst(x_27, x_3); +lean_inc(x_2); +x_31 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_2); +x_32 = lean_ctor_get(x_2, 2); +lean_inc(x_32); +x_33 = lean_ctor_get(x_2, 3); +lean_inc(x_33); +lean_dec(x_2); +x_34 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set(x_34, 2, x_32); +lean_ctor_set(x_34, 3, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_26); +return x_35; +} +} +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_37 = lean_ctor_get(x_15, 0); +lean_dec(x_37); +x_38 = lean_ctor_get(x_16, 0); +lean_inc(x_38); +lean_dec(x_16); +lean_inc(x_38); +x_39 = lean_nat_to_int(x_38); +x_40 = l_Lean_Meta_Grind_Arith_gcdExt(x_1, x_39); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_41, 0); +x_45 = lean_ctor_get(x_41, 1); +lean_dec(x_45); +x_46 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; +x_47 = lean_int_dec_eq(x_42, x_46); +lean_dec(x_42); +if (x_47 == 0) +{ +lean_free_object(x_41); +lean_dec(x_44); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_3); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_48; uint8_t x_49; +x_48 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; +x_49 = lean_int_dec_lt(x_44, x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_39); +x_50 = lean_ctor_get(x_2, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_2, 3); +lean_inc(x_51); +x_52 = l_Lean_Grind_CommRing_Poly_mulConstC(x_44, x_3, x_38); +lean_ctor_set_tag(x_41, 3); +lean_ctor_set(x_41, 1, x_2); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_41); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_51); +lean_ctor_set(x_15, 0, x_53); +return x_15; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_2, 2); +lean_inc(x_54); +x_55 = lean_ctor_get(x_2, 3); +lean_inc(x_55); +x_56 = lean_int_emod(x_44, x_39); +lean_dec(x_39); +lean_dec(x_44); +x_57 = l_Lean_Grind_CommRing_Poly_mulConstC(x_56, x_3, x_38); +lean_ctor_set_tag(x_41, 3); +lean_ctor_set(x_41, 1, x_2); +lean_ctor_set(x_41, 0, x_56); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_41); +lean_ctor_set(x_58, 2, x_54); +lean_ctor_set(x_58, 3, x_55); +lean_ctor_set(x_15, 0, x_58); +return x_15; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_41, 0); +lean_inc(x_59); +lean_dec(x_41); +x_60 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; +x_61 = lean_int_dec_eq(x_42, x_60); +lean_dec(x_42); +if (x_61 == 0) +{ +lean_dec(x_59); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_3); +lean_ctor_set(x_15, 0, x_2); +return x_15; +} +else +{ +lean_object* x_62; uint8_t x_63; +x_62 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; +x_63 = lean_int_dec_lt(x_59, x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_39); +x_64 = lean_ctor_get(x_2, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 3); +lean_inc(x_65); +x_66 = l_Lean_Grind_CommRing_Poly_mulConstC(x_59, x_3, x_38); +x_67 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_2); +x_68 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_64); +lean_ctor_set(x_68, 3, x_65); +lean_ctor_set(x_15, 0, x_68); +return x_15; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_2, 2); +lean_inc(x_69); +x_70 = lean_ctor_get(x_2, 3); +lean_inc(x_70); +x_71 = lean_int_emod(x_59, x_39); +lean_dec(x_39); +lean_dec(x_59); +x_72 = l_Lean_Grind_CommRing_Poly_mulConstC(x_71, x_3, x_38); +x_73 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_2); +x_74 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_69); +lean_ctor_set(x_74, 3, x_70); +lean_ctor_set(x_15, 0, x_74); +return x_15; +} +} +} +} +else +{ +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; uint8_t x_84; +x_75 = lean_ctor_get(x_15, 1); +lean_inc(x_75); +lean_dec(x_15); +x_76 = lean_ctor_get(x_16, 0); +lean_inc(x_76); +lean_dec(x_16); +lean_inc(x_76); +x_77 = lean_nat_to_int(x_76); +x_78 = l_Lean_Meta_Grind_Arith_gcdExt(x_1, x_77); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_82 = x_79; +} else { + lean_dec_ref(x_79); + x_82 = lean_box(0); +} +x_83 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; +x_84 = lean_int_dec_eq(x_80, x_83); +lean_dec(x_80); +if (x_84 == 0) +{ +lean_object* x_85; +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_3); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_2); +lean_ctor_set(x_85, 1, x_75); +return x_85; +} +else +{ +lean_object* x_86; uint8_t x_87; +x_86 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; +x_87 = lean_int_dec_lt(x_81, x_86); +if (x_87 == 0) +{ +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_dec(x_77); +x_88 = lean_ctor_get(x_2, 2); +lean_inc(x_88); +x_89 = lean_ctor_get(x_2, 3); +lean_inc(x_89); +x_90 = l_Lean_Grind_CommRing_Poly_mulConstC(x_81, x_3, x_76); +if (lean_is_scalar(x_82)) { + x_91 = lean_alloc_ctor(3, 2, 0); +} else { + x_91 = x_82; + lean_ctor_set_tag(x_91, 3); +} +lean_ctor_set(x_91, 0, x_81); +lean_ctor_set(x_91, 1, x_2); +x_92 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_88); +lean_ctor_set(x_92, 3, x_89); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_75); +return x_93; +} +else +{ +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; +x_94 = lean_ctor_get(x_2, 2); +lean_inc(x_94); +x_95 = lean_ctor_get(x_2, 3); +lean_inc(x_95); +x_96 = lean_int_emod(x_81, x_77); +lean_dec(x_77); +lean_dec(x_81); +x_97 = l_Lean_Grind_CommRing_Poly_mulConstC(x_96, x_3, x_76); +if (lean_is_scalar(x_82)) { + x_98 = lean_alloc_ctor(3, 2, 0); +} else { + x_98 = x_82; + lean_ctor_set_tag(x_98, 3); +} +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_2); +x_99 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set(x_99, 2, x_94); +lean_ctor_set(x_99, 3, x_95); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_75); +return x_100; +} +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_3); +lean_dec(x_2); +x_101 = !lean_is_exclusive(x_15); +if (x_101 == 0) +{ +return x_15; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_15, 0); +x_103 = lean_ctor_get(x_15, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_15); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic(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: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = l_Lean_Grind_CommRing_Poly_lc(x_12); +x_14 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1; +x_15 = lean_int_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1(x_13, x_1, x_12, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_13); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_13); +lean_dec(x_12); +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); +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___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_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_usize_shift_right(x_4, x_5); +x_9 = 1; +x_10 = lean_usize_shift_left(x_9, x_5); +x_11 = lean_usize_sub(x_10, x_9); +x_12 = lean_usize_land(x_4, x_11); +x_13 = 5; +x_14 = lean_usize_sub(x_5, x_13); +x_15 = lean_usize_to_nat(x_8); +x_16 = lean_array_get_size(x_7); +x_17 = lean_nat_dec_lt(x_15, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_dec(x_15); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_array_fget(x_7, x_15); +x_19 = lean_box(0); +x_20 = lean_array_fset(x_7, x_15, x_19); +x_21 = l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(x_1, x_2, x_18, x_12, x_14); +x_22 = lean_array_fset(x_20, x_15, x_21); +lean_dec(x_15); +lean_ctor_set(x_3, 0, x_22); +return x_3; +} +} +else +{ +lean_object* x_23; size_t x_24; size_t x_25; size_t x_26; size_t x_27; size_t x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +lean_dec(x_3); +x_24 = lean_usize_shift_right(x_4, x_5); +x_25 = 1; +x_26 = lean_usize_shift_left(x_25, x_5); +x_27 = lean_usize_sub(x_26, x_25); +x_28 = lean_usize_land(x_4, x_27); +x_29 = 5; +x_30 = lean_usize_sub(x_5, x_29); +x_31 = lean_usize_to_nat(x_24); +x_32 = lean_array_get_size(x_23); +x_33 = lean_nat_dec_lt(x_31, x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_31); +lean_dec(x_1); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_23); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_array_fget(x_23, x_31); +x_36 = lean_box(0); +x_37 = lean_array_fset(x_23, x_31, x_36); +x_38 = l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(x_1, x_2, x_35, x_28, x_30); +x_39 = lean_array_fset(x_37, x_31, x_38); +lean_dec(x_31); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_3); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_3, 0); +x_43 = lean_usize_to_nat(x_4); +x_44 = lean_array_get_size(x_42); +x_45 = lean_nat_dec_lt(x_43, x_44); +lean_dec(x_44); +if (x_45 == 0) +{ +lean_dec(x_43); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = lean_array_fget(x_42, x_43); +x_47 = lean_box(0); +x_48 = lean_array_fset(x_42, x_43, x_47); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_1); +lean_ctor_set(x_49, 1, x_46); +x_50 = lean_array_fset(x_48, x_43, x_49); +lean_dec(x_43); +lean_ctor_set(x_3, 0, x_50); +return x_3; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_ctor_get(x_3, 0); +lean_inc(x_51); +lean_dec(x_3); +x_52 = lean_usize_to_nat(x_4); +x_53 = lean_array_get_size(x_51); +x_54 = lean_nat_dec_lt(x_52, x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_52); +lean_dec(x_1); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_51); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_56 = lean_array_fget(x_51, x_52); +x_57 = lean_box(0); +x_58 = lean_array_fset(x_51, x_52, x_57); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_1); +lean_ctor_set(x_59, 1, x_56); +x_60 = lean_array_fset(x_58, x_52, x_59); +lean_dec(x_52); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +return x_61; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get_usize(x_3, 4); +x_9 = lean_ctor_get(x_3, 3); +x_10 = lean_nat_dec_le(x_9, x_4); +if (x_10 == 0) +{ +size_t x_11; lean_object* x_12; +x_11 = lean_usize_of_nat(x_4); +x_12 = l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(x_1, x_2, x_6, x_11, x_8); +lean_ctor_set(x_3, 0, x_12); +return x_3; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_nat_sub(x_4, x_9); +x_14 = lean_array_get_size(x_7); +x_15 = lean_nat_dec_lt(x_13, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_dec(x_13); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_array_fget(x_7, x_13); +x_17 = lean_box(0); +x_18 = lean_array_fset(x_7, x_13, x_17); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_array_fset(x_18, x_13, x_19); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_20); +return x_3; +} +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; uint8_t x_26; +x_21 = lean_ctor_get(x_3, 0); +x_22 = lean_ctor_get(x_3, 1); +x_23 = lean_ctor_get(x_3, 2); +x_24 = lean_ctor_get_usize(x_3, 4); +x_25 = lean_ctor_get(x_3, 3); +lean_inc(x_25); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_3); +x_26 = lean_nat_dec_le(x_25, x_4); +if (x_26 == 0) +{ +size_t x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_usize_of_nat(x_4); +x_28 = l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(x_1, x_2, x_21, x_27, x_24); +x_29 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_22); +lean_ctor_set(x_29, 2, x_23); +lean_ctor_set(x_29, 3, x_25); +lean_ctor_set_usize(x_29, 4, x_24); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_nat_sub(x_4, x_25); +x_31 = lean_array_get_size(x_22); +x_32 = lean_nat_dec_lt(x_30, x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_30); +lean_dec(x_1); +x_33 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_22); +lean_ctor_set(x_33, 2, x_23); +lean_ctor_set(x_33, 3, x_25); +lean_ctor_set_usize(x_33, 4, x_24); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_array_fget(x_22, x_30); +x_35 = lean_box(0); +x_36 = lean_array_fset(x_22, x_30, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_1); +lean_ctor_set(x_37, 1, x_34); +x_38 = lean_array_fset(x_36, x_30, x_37); +lean_dec(x_30); +x_39 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_23); +lean_ctor_set(x_39, 3, x_25); +lean_ctor_set_usize(x_39, 4, x_24); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 13); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_15, 13); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_16, 2); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_17, 0); +x_25 = lean_array_get_size(x_24); +x_26 = lean_nat_dec_lt(x_4, x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +lean_dec(x_2); +x_27 = lean_st_ref_set(x_5, x_15, x_18); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = lean_box(0); +lean_ctor_set(x_27, 0, x_30); +return x_27; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_dec(x_27); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_array_fget(x_24, x_4); +x_35 = lean_box(0); +x_36 = lean_array_fset(x_24, x_4, x_35); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_38 = lean_ctor_get(x_34, 18); +x_39 = lean_box(0); +x_40 = lean_ctor_get(x_1, 0); +x_41 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_39, x_38, x_40); +lean_ctor_set(x_34, 18, x_41); +x_42 = lean_array_fset(x_36, x_4, x_34); +lean_ctor_set(x_17, 0, x_42); +x_43 = lean_st_ref_set(x_5, x_15, x_18); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set(x_43, 0, x_35); +return x_43; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_35); +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; 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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +x_50 = lean_ctor_get(x_34, 2); +x_51 = lean_ctor_get(x_34, 3); +x_52 = lean_ctor_get(x_34, 4); +x_53 = lean_ctor_get(x_34, 5); +x_54 = lean_ctor_get(x_34, 6); +x_55 = lean_ctor_get(x_34, 7); +x_56 = lean_ctor_get(x_34, 8); +x_57 = lean_ctor_get(x_34, 9); +x_58 = lean_ctor_get(x_34, 10); +x_59 = lean_ctor_get(x_34, 11); +x_60 = lean_ctor_get(x_34, 12); +x_61 = lean_ctor_get(x_34, 13); +x_62 = lean_ctor_get(x_34, 14); +x_63 = lean_ctor_get(x_34, 15); +x_64 = lean_ctor_get(x_34, 16); +x_65 = lean_ctor_get(x_34, 17); +x_66 = lean_ctor_get(x_34, 18); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +x_67 = lean_box(0); +x_68 = lean_ctor_get(x_1, 0); +x_69 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_67, x_66, x_68); +x_70 = lean_alloc_ctor(0, 19, 0); +lean_ctor_set(x_70, 0, x_48); +lean_ctor_set(x_70, 1, x_49); +lean_ctor_set(x_70, 2, x_50); +lean_ctor_set(x_70, 3, x_51); +lean_ctor_set(x_70, 4, x_52); +lean_ctor_set(x_70, 5, x_53); +lean_ctor_set(x_70, 6, x_54); +lean_ctor_set(x_70, 7, x_55); +lean_ctor_set(x_70, 8, x_56); +lean_ctor_set(x_70, 9, x_57); +lean_ctor_set(x_70, 10, x_58); +lean_ctor_set(x_70, 11, x_59); +lean_ctor_set(x_70, 12, x_60); +lean_ctor_set(x_70, 13, x_61); +lean_ctor_set(x_70, 14, x_62); +lean_ctor_set(x_70, 15, x_63); +lean_ctor_set(x_70, 16, x_64); +lean_ctor_set(x_70, 17, x_65); +lean_ctor_set(x_70, 18, x_69); +x_71 = lean_array_fset(x_36, x_4, x_70); +lean_ctor_set(x_17, 0, x_71); +x_72 = lean_st_ref_set(x_5, x_15, x_18); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_35); +lean_ctor_set(x_75, 1, x_73); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_76 = lean_ctor_get(x_17, 0); +x_77 = lean_ctor_get(x_17, 1); +x_78 = lean_ctor_get(x_17, 2); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_17); +x_79 = lean_array_get_size(x_76); +x_80 = lean_nat_dec_lt(x_4, x_79); +lean_dec(x_79); +if (x_80 == 0) +{ +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_dec(x_2); +x_81 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_81, 0, x_76); +lean_ctor_set(x_81, 1, x_77); +lean_ctor_set(x_81, 2, x_78); +lean_ctor_set(x_16, 2, x_81); +x_82 = lean_st_ref_set(x_5, x_15, x_18); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_84 = x_82; +} else { + lean_dec_ref(x_82); + x_84 = lean_box(0); +} +x_85 = lean_box(0); +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_84; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +return x_86; +} +else +{ +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; 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; 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; +x_87 = lean_array_fget(x_76, x_4); +x_88 = lean_box(0); +x_89 = lean_array_fset(x_76, x_4, x_88); +x_90 = lean_ctor_get(x_87, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_87, 2); +lean_inc(x_92); +x_93 = lean_ctor_get(x_87, 3); +lean_inc(x_93); +x_94 = lean_ctor_get(x_87, 4); +lean_inc(x_94); +x_95 = lean_ctor_get(x_87, 5); +lean_inc(x_95); +x_96 = lean_ctor_get(x_87, 6); +lean_inc(x_96); +x_97 = lean_ctor_get(x_87, 7); +lean_inc(x_97); +x_98 = lean_ctor_get(x_87, 8); +lean_inc(x_98); +x_99 = lean_ctor_get(x_87, 9); +lean_inc(x_99); +x_100 = lean_ctor_get(x_87, 10); +lean_inc(x_100); +x_101 = lean_ctor_get(x_87, 11); +lean_inc(x_101); +x_102 = lean_ctor_get(x_87, 12); +lean_inc(x_102); +x_103 = lean_ctor_get(x_87, 13); +lean_inc(x_103); +x_104 = lean_ctor_get(x_87, 14); +lean_inc(x_104); +x_105 = lean_ctor_get(x_87, 15); +lean_inc(x_105); +x_106 = lean_ctor_get(x_87, 16); +lean_inc(x_106); +x_107 = lean_ctor_get(x_87, 17); +lean_inc(x_107); +x_108 = lean_ctor_get(x_87, 18); +lean_inc(x_108); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + lean_ctor_release(x_87, 3); + lean_ctor_release(x_87, 4); + lean_ctor_release(x_87, 5); + lean_ctor_release(x_87, 6); + lean_ctor_release(x_87, 7); + lean_ctor_release(x_87, 8); + lean_ctor_release(x_87, 9); + lean_ctor_release(x_87, 10); + lean_ctor_release(x_87, 11); + lean_ctor_release(x_87, 12); + lean_ctor_release(x_87, 13); + lean_ctor_release(x_87, 14); + lean_ctor_release(x_87, 15); + lean_ctor_release(x_87, 16); + lean_ctor_release(x_87, 17); + lean_ctor_release(x_87, 18); + x_109 = x_87; +} else { + lean_dec_ref(x_87); + x_109 = lean_box(0); +} +x_110 = lean_box(0); +x_111 = lean_ctor_get(x_1, 0); +x_112 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_110, x_108, x_111); +if (lean_is_scalar(x_109)) { + x_113 = lean_alloc_ctor(0, 19, 0); +} else { + x_113 = x_109; +} +lean_ctor_set(x_113, 0, x_90); +lean_ctor_set(x_113, 1, x_91); +lean_ctor_set(x_113, 2, x_92); +lean_ctor_set(x_113, 3, x_93); +lean_ctor_set(x_113, 4, x_94); +lean_ctor_set(x_113, 5, x_95); +lean_ctor_set(x_113, 6, x_96); +lean_ctor_set(x_113, 7, x_97); +lean_ctor_set(x_113, 8, x_98); +lean_ctor_set(x_113, 9, x_99); +lean_ctor_set(x_113, 10, x_100); +lean_ctor_set(x_113, 11, x_101); +lean_ctor_set(x_113, 12, x_102); +lean_ctor_set(x_113, 13, x_103); +lean_ctor_set(x_113, 14, x_104); +lean_ctor_set(x_113, 15, x_105); +lean_ctor_set(x_113, 16, x_106); +lean_ctor_set(x_113, 17, x_107); +lean_ctor_set(x_113, 18, x_112); +x_114 = lean_array_fset(x_89, x_4, x_113); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_77); +lean_ctor_set(x_115, 2, x_78); +lean_ctor_set(x_16, 2, x_115); +x_116 = lean_st_ref_set(x_5, x_15, x_18); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; +} else { + lean_dec_ref(x_116); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_88); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +else +{ +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; uint8_t x_127; +x_120 = lean_ctor_get(x_16, 0); +x_121 = lean_ctor_get(x_16, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_16); +x_122 = lean_ctor_get(x_17, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_17, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_17, 2); +lean_inc(x_124); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + x_125 = x_17; +} else { + lean_dec_ref(x_17); + x_125 = lean_box(0); +} +x_126 = lean_array_get_size(x_122); +x_127 = lean_nat_dec_lt(x_4, x_126); +lean_dec(x_126); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_2); +if (lean_is_scalar(x_125)) { + x_128 = lean_alloc_ctor(0, 3, 0); +} else { + x_128 = x_125; +} +lean_ctor_set(x_128, 0, x_122); +lean_ctor_set(x_128, 1, x_123); +lean_ctor_set(x_128, 2, x_124); +x_129 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_129, 0, x_120); +lean_ctor_set(x_129, 1, x_121); +lean_ctor_set(x_129, 2, x_128); +lean_ctor_set(x_15, 13, x_129); +x_130 = lean_st_ref_set(x_5, x_15, x_18); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_132 = x_130; +} else { + lean_dec_ref(x_130); + x_132 = lean_box(0); +} +x_133 = lean_box(0); +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_132; +} +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_131); +return x_134; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_135 = lean_array_fget(x_122, x_4); +x_136 = lean_box(0); +x_137 = lean_array_fset(x_122, x_4, x_136); +x_138 = lean_ctor_get(x_135, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_135, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_135, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_135, 4); +lean_inc(x_142); +x_143 = lean_ctor_get(x_135, 5); +lean_inc(x_143); +x_144 = lean_ctor_get(x_135, 6); +lean_inc(x_144); +x_145 = lean_ctor_get(x_135, 7); +lean_inc(x_145); +x_146 = lean_ctor_get(x_135, 8); +lean_inc(x_146); +x_147 = lean_ctor_get(x_135, 9); +lean_inc(x_147); +x_148 = lean_ctor_get(x_135, 10); +lean_inc(x_148); +x_149 = lean_ctor_get(x_135, 11); +lean_inc(x_149); +x_150 = lean_ctor_get(x_135, 12); +lean_inc(x_150); +x_151 = lean_ctor_get(x_135, 13); +lean_inc(x_151); +x_152 = lean_ctor_get(x_135, 14); +lean_inc(x_152); +x_153 = lean_ctor_get(x_135, 15); +lean_inc(x_153); +x_154 = lean_ctor_get(x_135, 16); +lean_inc(x_154); +x_155 = lean_ctor_get(x_135, 17); +lean_inc(x_155); +x_156 = lean_ctor_get(x_135, 18); +lean_inc(x_156); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + lean_ctor_release(x_135, 6); + lean_ctor_release(x_135, 7); + lean_ctor_release(x_135, 8); + lean_ctor_release(x_135, 9); + lean_ctor_release(x_135, 10); + lean_ctor_release(x_135, 11); + lean_ctor_release(x_135, 12); + lean_ctor_release(x_135, 13); + lean_ctor_release(x_135, 14); + lean_ctor_release(x_135, 15); + lean_ctor_release(x_135, 16); + lean_ctor_release(x_135, 17); + lean_ctor_release(x_135, 18); + x_157 = x_135; +} else { + lean_dec_ref(x_135); + x_157 = lean_box(0); +} +x_158 = lean_box(0); +x_159 = lean_ctor_get(x_1, 0); +x_160 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_158, x_156, x_159); +if (lean_is_scalar(x_157)) { + x_161 = lean_alloc_ctor(0, 19, 0); +} else { + x_161 = x_157; +} +lean_ctor_set(x_161, 0, x_138); +lean_ctor_set(x_161, 1, x_139); +lean_ctor_set(x_161, 2, x_140); +lean_ctor_set(x_161, 3, x_141); +lean_ctor_set(x_161, 4, x_142); +lean_ctor_set(x_161, 5, x_143); +lean_ctor_set(x_161, 6, x_144); +lean_ctor_set(x_161, 7, x_145); +lean_ctor_set(x_161, 8, x_146); +lean_ctor_set(x_161, 9, x_147); +lean_ctor_set(x_161, 10, x_148); +lean_ctor_set(x_161, 11, x_149); +lean_ctor_set(x_161, 12, x_150); +lean_ctor_set(x_161, 13, x_151); +lean_ctor_set(x_161, 14, x_152); +lean_ctor_set(x_161, 15, x_153); +lean_ctor_set(x_161, 16, x_154); +lean_ctor_set(x_161, 17, x_155); +lean_ctor_set(x_161, 18, x_160); +x_162 = lean_array_fset(x_137, x_4, x_161); +if (lean_is_scalar(x_125)) { + x_163 = lean_alloc_ctor(0, 3, 0); +} else { + x_163 = x_125; +} +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_123); +lean_ctor_set(x_163, 2, x_124); +x_164 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_164, 0, x_120); +lean_ctor_set(x_164, 1, x_121); +lean_ctor_set(x_164, 2, x_163); +lean_ctor_set(x_15, 13, x_164); +x_165 = lean_st_ref_set(x_5, x_15, x_18); +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_167 = x_165; +} else { + lean_dec_ref(x_165); + x_167 = lean_box(0); +} +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_167; +} +lean_ctor_set(x_168, 0, x_136); +lean_ctor_set(x_168, 1, x_166); +return x_168; +} +} +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_169 = lean_ctor_get(x_15, 0); +x_170 = lean_ctor_get(x_15, 1); +x_171 = lean_ctor_get(x_15, 2); +x_172 = lean_ctor_get(x_15, 3); +x_173 = lean_ctor_get(x_15, 4); +x_174 = lean_ctor_get(x_15, 5); +x_175 = lean_ctor_get(x_15, 6); +x_176 = lean_ctor_get_uint8(x_15, sizeof(void*)*15); +x_177 = lean_ctor_get(x_15, 7); +x_178 = lean_ctor_get(x_15, 8); +x_179 = lean_ctor_get(x_15, 9); +x_180 = lean_ctor_get(x_15, 10); +x_181 = lean_ctor_get(x_15, 11); +x_182 = lean_ctor_get(x_15, 12); +x_183 = lean_ctor_get(x_15, 14); +lean_inc(x_183); +lean_inc(x_182); +lean_inc(x_181); +lean_inc(x_180); +lean_inc(x_179); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_inc(x_169); +lean_dec(x_15); +x_184 = lean_ctor_get(x_16, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_16, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_186 = x_16; +} else { + lean_dec_ref(x_16); + x_186 = lean_box(0); +} +x_187 = lean_ctor_get(x_17, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_17, 1); +lean_inc(x_188); +x_189 = lean_ctor_get(x_17, 2); +lean_inc(x_189); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + x_190 = x_17; +} else { + lean_dec_ref(x_17); + x_190 = lean_box(0); +} +x_191 = lean_array_get_size(x_187); +x_192 = lean_nat_dec_lt(x_4, x_191); +lean_dec(x_191); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_2); +if (lean_is_scalar(x_190)) { + x_193 = lean_alloc_ctor(0, 3, 0); +} else { + x_193 = x_190; +} +lean_ctor_set(x_193, 0, x_187); +lean_ctor_set(x_193, 1, x_188); +lean_ctor_set(x_193, 2, x_189); +if (lean_is_scalar(x_186)) { + x_194 = lean_alloc_ctor(0, 3, 0); +} else { + x_194 = x_186; +} +lean_ctor_set(x_194, 0, x_184); +lean_ctor_set(x_194, 1, x_185); +lean_ctor_set(x_194, 2, x_193); +x_195 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_195, 0, x_169); +lean_ctor_set(x_195, 1, x_170); +lean_ctor_set(x_195, 2, x_171); +lean_ctor_set(x_195, 3, x_172); +lean_ctor_set(x_195, 4, x_173); +lean_ctor_set(x_195, 5, x_174); +lean_ctor_set(x_195, 6, x_175); +lean_ctor_set(x_195, 7, x_177); +lean_ctor_set(x_195, 8, x_178); +lean_ctor_set(x_195, 9, x_179); +lean_ctor_set(x_195, 10, x_180); +lean_ctor_set(x_195, 11, x_181); +lean_ctor_set(x_195, 12, x_182); +lean_ctor_set(x_195, 13, x_194); +lean_ctor_set(x_195, 14, x_183); +lean_ctor_set_uint8(x_195, sizeof(void*)*15, x_176); +x_196 = lean_st_ref_set(x_5, x_195, x_18); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_198 = x_196; +} else { + lean_dec_ref(x_196); + x_198 = lean_box(0); +} +x_199 = lean_box(0); +if (lean_is_scalar(x_198)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_198; +} +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_197); +return x_200; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_201 = lean_array_fget(x_187, x_4); +x_202 = lean_box(0); +x_203 = lean_array_fset(x_187, x_4, x_202); +x_204 = lean_ctor_get(x_201, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_201, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_201, 2); +lean_inc(x_206); +x_207 = lean_ctor_get(x_201, 3); +lean_inc(x_207); +x_208 = lean_ctor_get(x_201, 4); +lean_inc(x_208); +x_209 = lean_ctor_get(x_201, 5); +lean_inc(x_209); +x_210 = lean_ctor_get(x_201, 6); +lean_inc(x_210); +x_211 = lean_ctor_get(x_201, 7); +lean_inc(x_211); +x_212 = lean_ctor_get(x_201, 8); +lean_inc(x_212); +x_213 = lean_ctor_get(x_201, 9); +lean_inc(x_213); +x_214 = lean_ctor_get(x_201, 10); +lean_inc(x_214); +x_215 = lean_ctor_get(x_201, 11); +lean_inc(x_215); +x_216 = lean_ctor_get(x_201, 12); +lean_inc(x_216); +x_217 = lean_ctor_get(x_201, 13); +lean_inc(x_217); +x_218 = lean_ctor_get(x_201, 14); +lean_inc(x_218); +x_219 = lean_ctor_get(x_201, 15); +lean_inc(x_219); +x_220 = lean_ctor_get(x_201, 16); +lean_inc(x_220); +x_221 = lean_ctor_get(x_201, 17); +lean_inc(x_221); +x_222 = lean_ctor_get(x_201, 18); +lean_inc(x_222); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + lean_ctor_release(x_201, 2); + lean_ctor_release(x_201, 3); + lean_ctor_release(x_201, 4); + lean_ctor_release(x_201, 5); + lean_ctor_release(x_201, 6); + lean_ctor_release(x_201, 7); + lean_ctor_release(x_201, 8); + lean_ctor_release(x_201, 9); + lean_ctor_release(x_201, 10); + lean_ctor_release(x_201, 11); + lean_ctor_release(x_201, 12); + lean_ctor_release(x_201, 13); + lean_ctor_release(x_201, 14); + lean_ctor_release(x_201, 15); + lean_ctor_release(x_201, 16); + lean_ctor_release(x_201, 17); + lean_ctor_release(x_201, 18); + x_223 = x_201; +} else { + lean_dec_ref(x_201); + x_223 = lean_box(0); +} +x_224 = lean_box(0); +x_225 = lean_ctor_get(x_1, 0); +x_226 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_2, x_224, x_222, x_225); +if (lean_is_scalar(x_223)) { + x_227 = lean_alloc_ctor(0, 19, 0); +} else { + x_227 = x_223; +} +lean_ctor_set(x_227, 0, x_204); +lean_ctor_set(x_227, 1, x_205); +lean_ctor_set(x_227, 2, x_206); +lean_ctor_set(x_227, 3, x_207); +lean_ctor_set(x_227, 4, x_208); +lean_ctor_set(x_227, 5, x_209); +lean_ctor_set(x_227, 6, x_210); +lean_ctor_set(x_227, 7, x_211); +lean_ctor_set(x_227, 8, x_212); +lean_ctor_set(x_227, 9, x_213); +lean_ctor_set(x_227, 10, x_214); +lean_ctor_set(x_227, 11, x_215); +lean_ctor_set(x_227, 12, x_216); +lean_ctor_set(x_227, 13, x_217); +lean_ctor_set(x_227, 14, x_218); +lean_ctor_set(x_227, 15, x_219); +lean_ctor_set(x_227, 16, x_220); +lean_ctor_set(x_227, 17, x_221); +lean_ctor_set(x_227, 18, x_226); +x_228 = lean_array_fset(x_203, x_4, x_227); +if (lean_is_scalar(x_190)) { + x_229 = lean_alloc_ctor(0, 3, 0); +} else { + x_229 = x_190; +} +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_188); +lean_ctor_set(x_229, 2, x_189); +if (lean_is_scalar(x_186)) { + x_230 = lean_alloc_ctor(0, 3, 0); +} else { + x_230 = x_186; +} +lean_ctor_set(x_230, 0, x_184); +lean_ctor_set(x_230, 1, x_185); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_alloc_ctor(0, 15, 1); +lean_ctor_set(x_231, 0, x_169); +lean_ctor_set(x_231, 1, x_170); +lean_ctor_set(x_231, 2, x_171); +lean_ctor_set(x_231, 3, x_172); +lean_ctor_set(x_231, 4, x_173); +lean_ctor_set(x_231, 5, x_174); +lean_ctor_set(x_231, 6, x_175); +lean_ctor_set(x_231, 7, x_177); +lean_ctor_set(x_231, 8, x_178); +lean_ctor_set(x_231, 9, x_179); +lean_ctor_set(x_231, 10, x_180); +lean_ctor_set(x_231, 11, x_181); +lean_ctor_set(x_231, 12, x_182); +lean_ctor_set(x_231, 13, x_230); +lean_ctor_set(x_231, 14, x_183); +lean_ctor_set_uint8(x_231, sizeof(void*)*15, x_176); +x_232 = lean_st_ref_set(x_5, x_231, x_18); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +if (lean_is_exclusive(x_232)) { + lean_ctor_release(x_232, 0); + lean_ctor_release(x_232, 1); + x_234 = x_232; +} else { + lean_dec_ref(x_232); + x_234 = lean_box(0); +} +if (lean_is_scalar(x_234)) { + x_235 = lean_alloc_ctor(0, 2, 0); +} else { + x_235 = x_234; +} +lean_ctor_set(x_235, 0, x_202); +lean_ctor_set(x_235, 1, x_233); +return x_235; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("basis", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp(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: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_13); +x_15 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyBasis(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_13); +x_17 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_13, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +lean_dec(x_18); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_17, 0, x_21); +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_17, 0); +lean_dec(x_27); +x_28 = lean_box(0); +lean_ctor_set(x_17, 0, x_28); +return x_17; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_17, 1); +lean_inc(x_29); +lean_dec(x_17); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_dec(x_17); +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_dec(x_35); +x_36 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2; +x_37 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_free_object(x_25); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_box(0); +x_42 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_34, x_13, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_34); +return x_42; +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_37); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_37, 1); +x_45 = lean_ctor_get(x_37, 0); +lean_dec(x_45); +x_46 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_13); +x_48 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +if (lean_obj_tag(x_48) == 0) +{ +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; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_MessageData_ofExpr(x_49); +x_52 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_37, 7); +lean_ctor_set(x_37, 1, x_51); +lean_ctor_set(x_37, 0, x_52); +lean_ctor_set_tag(x_25, 7); +lean_ctor_set(x_25, 1, x_52); +lean_ctor_set(x_25, 0, x_37); +x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_34, x_13, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_54); +lean_dec(x_34); +return x_56; +} +else +{ +uint8_t x_57; +lean_free_object(x_37); +lean_free_object(x_25); +lean_dec(x_34); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_48); +if (x_57 == 0) +{ +return x_48; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_48, 0); +x_59 = lean_ctor_get(x_48, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_48); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_free_object(x_37); +lean_free_object(x_25); +lean_dec(x_34); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +return x_46; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_46, 0); +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_46); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_37, 1); +lean_inc(x_65); +lean_dec(x_37); +x_66 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_13); +x_68 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_67); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = l_Lean_MessageData_ofExpr(x_69); +x_72 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set_tag(x_25, 7); +lean_ctor_set(x_25, 1, x_72); +lean_ctor_set(x_25, 0, x_73); +x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_34, x_13, x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_76); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_75); +lean_dec(x_34); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_free_object(x_25); +lean_dec(x_34); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_78 = lean_ctor_get(x_68, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_68, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_80 = x_68; +} else { + lean_dec_ref(x_68); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_free_object(x_25); +lean_dec(x_34); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_82 = lean_ctor_get(x_66, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_66, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_84 = x_66; +} else { + lean_dec_ref(x_66); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +} +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_86 = lean_ctor_get(x_25, 0); +lean_inc(x_86); +lean_dec(x_25); +x_87 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2; +x_88 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = lean_box(0); +x_93 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_86, x_13, x_92, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_86); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_88, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_95 = x_88; +} else { + lean_dec_ref(x_88); + x_95 = lean_box(0); +} +x_96 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_94); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_13); +x_98 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_97); +if (lean_obj_tag(x_98) == 0) +{ +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; lean_object* x_108; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_MessageData_ofExpr(x_99); +x_102 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +if (lean_is_scalar(x_95)) { + x_103 = lean_alloc_ctor(7, 2, 0); +} else { + x_103 = x_95; + lean_ctor_set_tag(x_103, 7); +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_87, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_86, x_13, x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_107); +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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_106); +lean_dec(x_86); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_95); +lean_dec(x_86); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_109 = lean_ctor_get(x_98, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_98, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_111 = x_98; +} else { + lean_dec_ref(x_98); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_95); +lean_dec(x_86); +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_113 = lean_ctor_get(x_96, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_96, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_115 = x_96; +} else { + lean_dec_ref(x_96); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +} +} +} +} +else +{ +uint8_t x_117; +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_117 = !lean_is_exclusive(x_17); +if (x_117 == 0) +{ +return x_17; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_17, 0); +x_119 = lean_ctor_get(x_17, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_17); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +else +{ +uint8_t x_121; +lean_dec(x_13); +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); +lean_dec(x_3); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_15); +if (x_121 == 0) +{ +return x_15; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_15, 0); +x_123 = lean_ctor_get(x_15, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_15); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +else +{ +uint8_t x_125; +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); +lean_dec(x_3); +lean_dec(x_2); +x_125 = !lean_is_exclusive(x_12); +if (x_125 == 0) +{ +return x_12; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_12, 0); +x_127 = lean_ctor_get(x_12, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_12); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_8 = l_Lean_PersistentArray_modifyAux___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__2(x_1, x_2, x_3, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PersistentArray_modify___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___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_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasis(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: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyAndCheck(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +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); +lean_dec(x_3); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_dec(x_12); +x_21 = lean_ctor_get(x_13, 0); +lean_inc(x_21); +lean_dec(x_13); +x_22 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_22; +} +} +else +{ +uint8_t x_23; +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); +lean_dec(x_3); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_12); +if (x_23 == 0) +{ +return x_12; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_12, 0); +x_25 = lean_ctor_get(x_12, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_12); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_addNewEq(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: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_12 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyAndCheck(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +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); +lean_dec(x_3); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_dec(x_12); +x_21 = lean_ctor_get(x_13, 0); +lean_inc(x_21); +lean_dec(x_13); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = l_Lean_Grind_CommRing_Poly_degree(x_22); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +return x_27; +} +} +} +else +{ +uint8_t x_28; +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); +lean_dec(x_3); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_12); +if (x_28 == 0) +{ +return x_12; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_12, 0); +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_12); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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, 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) { _start: { lean_object* x_18; @@ -5289,209 +14306,78 @@ return x_25; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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, 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) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_3); +lean_ctor_set(x_17, 3, x_4); +x_18 = l_Lean_Meta_Grind_Arith_CommRing_mkEqCnstr(x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Meta_Grind_Arith_CommRing_addNewEq(x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_20); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_18); +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; +} +} +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("assert", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("store", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked(" = 0", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(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_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; -x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_unbox(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_14, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_14, 0, x_19); -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_dec(x_14); -x_21 = lean_box(0); -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 -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_dec(x_14); -x_24 = l_Lean_Meta_Grind_updateLastTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, 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; lean_object* x_32; lean_object* x_33; lean_object* x_34; -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 = l_Lean_MessageData_ofExpr(x_27); -x_30 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_31 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_33 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); -return x_34; -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_26); -if (x_35 == 0) -{ -return x_26; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_26, 0); -x_37 = lean_ctor_get(x_26, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_26); -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; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_24); -if (x_39 == 0) -{ -return x_24; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_24, 0); -x_41 = lean_ctor_get(x_24, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_24); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1___boxed), 11, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("discard", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4() { -_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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -5499,39 +14385,19 @@ x_1 = lean_mk_string_unchecked("unsat", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4() { _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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("trivial", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8() { -_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_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; -x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(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_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(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_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -5688,8 +14554,8 @@ lean_inc(x_37); lean_dec(x_35); x_38 = lean_ctor_get(x_36, 0); lean_inc(x_38); -x_39 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; -x_40 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2; +x_39 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; +x_40 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; x_41 = lean_int_dec_eq(x_38, x_40); if (x_41 == 0) { @@ -5713,71 +14579,80 @@ lean_dec(x_1); x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); lean_dec(x_42); -x_46 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4; -x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); +x_46 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5; +x_47 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); lean_dec(x_48); if (x_49 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; +uint8_t x_50; lean_dec(x_36); -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_51 = lean_box(0); -x_52 = lean_apply_11(x_39, x_51, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); -return x_52; +lean_dec(x_12); +lean_dec(x_11); +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_50 = !lean_is_exclusive(x_47); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_47, 0); +lean_dec(x_51); +x_52 = lean_box(0); +lean_ctor_set(x_47, 0, x_52); +return x_47; } else { -uint8_t x_53; -x_53 = !lean_is_exclusive(x_47); -if (x_53 == 0) +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_47, 1); -x_55 = lean_ctor_get(x_47, 0); -lean_dec(x_55); -x_56 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_54); -if (lean_obj_tag(x_56) == 0) +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_47, 1); +lean_inc(x_56); +lean_dec(x_47); +x_57 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_56); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); -if (lean_obj_tag(x_58) == 0) +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); +if (lean_obj_tag(x_59) == 0) { -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; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_MessageData_ofExpr(x_59); -x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -lean_ctor_set_tag(x_47, 7); -lean_ctor_set(x_47, 1, x_61); -lean_ctor_set(x_47, 0, x_62); -x_63 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Lean_MessageData_ofExpr(x_60); +x_63 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_47); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_46, x_64, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_60); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_apply_11(x_39, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_67); -return x_68; -} -else -{ -uint8_t x_69; -lean_free_object(x_47); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_46, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5787,31 +14662,32 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_69 = !lean_is_exclusive(x_58); -if (x_69 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -return x_58; +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = lean_box(0); +lean_ctor_set(x_67, 0, x_70); +return x_67; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_58, 0); -x_71 = lean_ctor_get(x_58, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_67, 1); lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_58); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} +lean_dec(x_67); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +return x_73; } } else { -uint8_t x_73; -lean_free_object(x_47); -lean_dec(x_36); +uint8_t x_74; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5821,103 +14697,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_73 = !lean_is_exclusive(x_56); -if (x_73 == 0) +x_74 = !lean_is_exclusive(x_59); +if (x_74 == 0) { -return x_56; +return x_59; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_56, 0); -x_75 = lean_ctor_get(x_56, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_59, 0); +x_76 = lean_ctor_get(x_59, 1); +lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_56); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_dec(x_59); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } else { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_47, 1); -lean_inc(x_77); -lean_dec(x_47); -x_78 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_79); -if (lean_obj_tag(x_80) == 0) -{ -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; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = l_Lean_MessageData_ofExpr(x_81); -x_84 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_85 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_87 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_46, x_87, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); -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_apply_11(x_39, x_89, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_12); -lean_dec(x_11); -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_92 = lean_ctor_get(x_80, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_80, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_94 = x_80; -} else { - lean_dec_ref(x_80); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); -} else { - x_95 = x_94; -} -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +uint8_t x_78; lean_dec(x_36); lean_dec(x_12); lean_dec(x_11); @@ -5928,104 +14730,101 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_96 = lean_ctor_get(x_78, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_78, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_98 = x_78; -} else { - lean_dec_ref(x_78); - x_98 = lean_box(0); +x_78 = !lean_is_exclusive(x_57); +if (x_78 == 0) +{ +return x_57; } -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_57, 0); +x_80 = lean_ctor_get(x_57, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_57); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_100 = lean_ctor_get(x_42, 1); -lean_inc(x_100); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_42, 1); +lean_inc(x_82); lean_dec(x_42); -x_101 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6; -x_102 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_100); +x_83 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; +x_84 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_83, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_82); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_36); +x_87 = lean_ctor_get(x_84, 1); +lean_inc(x_87); +lean_dec(x_84); +x_88 = lean_box(0); +x_89 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(x_38, x_1, x_2, x_23, x_33, x_39, x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_87); +lean_dec(x_38); +return x_89; +} +else +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_84); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_84, 1); +x_92 = lean_ctor_get(x_84, 0); +lean_dec(x_92); +x_93 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_91); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_94); +if (lean_obj_tag(x_95) == 0) +{ +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; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = l_Lean_MessageData_ofExpr(x_96); +x_99 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +lean_ctor_set_tag(x_84, 7); +lean_ctor_set(x_84, 1, x_98); +lean_ctor_set(x_84, 0, x_99); +x_100 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; +x_101 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_101, 0, x_84); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_83, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97); x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); -x_104 = lean_unbox(x_103); -lean_dec(x_103); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_36); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); lean_dec(x_102); -x_106 = lean_box(0); -x_107 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_38, x_1, x_2, x_23, x_33, x_39, x_106, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_105); +x_105 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(x_38, x_1, x_2, x_23, x_33, x_39, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_104); +lean_dec(x_103); lean_dec(x_38); -return x_107; +return x_105; } else { -uint8_t x_108; -x_108 = !lean_is_exclusive(x_102); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_102, 1); -x_110 = lean_ctor_get(x_102, 0); -lean_dec(x_110); -x_111 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_109); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_113 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_112); -if (lean_obj_tag(x_113) == 0) -{ -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; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_MessageData_ofExpr(x_114); -x_117 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -lean_ctor_set_tag(x_102, 7); -lean_ctor_set(x_102, 1, x_116); -lean_ctor_set(x_102, 0, x_117); -x_118 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_119 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_119, 0, x_102); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_101, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_115); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_38, x_1, x_2, x_23, x_33, x_39, x_121, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_122); -lean_dec(x_121); -lean_dec(x_38); -return x_123; -} -else -{ -uint8_t x_124; -lean_free_object(x_102); +uint8_t x_106; +lean_free_object(x_84); lean_dec(x_38); lean_dec(x_33); lean_dec(x_23); @@ -6040,30 +14839,149 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_124 = !lean_is_exclusive(x_113); -if (x_124 == 0) +x_106 = !lean_is_exclusive(x_95); +if (x_106 == 0) { +return x_95; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_95, 0); +x_108 = lean_ctor_get(x_95, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_95); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +else +{ +uint8_t x_110; +lean_free_object(x_84); +lean_dec(x_38); +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_23); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_93); +if (x_110 == 0) +{ +return x_93; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_93, 0); +x_112 = lean_ctor_get(x_93, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_93); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); return x_113; } +} +} else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_113, 0); -x_126 = lean_ctor_get(x_113, 1); +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_84, 1); +lean_inc(x_114); +lean_dec(x_84); +x_115 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_117 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_116); +if (lean_obj_tag(x_117) == 0) +{ +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; lean_object* x_127; lean_object* x_128; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = l_Lean_MessageData_ofExpr(x_118); +x_121 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_122 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; +x_124 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_83, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119); +x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_113); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(x_38, x_1, x_2, x_23, x_33, x_39, x_126, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_127); +lean_dec(x_126); +lean_dec(x_38); +return x_128; } +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_38); +lean_dec(x_33); +lean_dec(x_23); +lean_dec(x_12); +lean_dec(x_11); +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); +lean_dec(x_2); +lean_dec(x_1); +x_129 = lean_ctor_get(x_117, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_117, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_131 = x_117; +} else { + lean_dec_ref(x_117); + x_131 = lean_box(0); +} +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); +} else { + x_132 = x_131; +} +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); +return x_132; } } else { -uint8_t x_128; -lean_free_object(x_102); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_dec(x_38); lean_dec(x_36); lean_dec(x_33); @@ -6079,72 +14997,36 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_128 = !lean_is_exclusive(x_111); -if (x_128 == 0) -{ -return x_111; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_111, 0); -x_130 = lean_ctor_get(x_111, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_111); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_102, 1); -lean_inc(x_132); -lean_dec(x_102); -x_133 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_132); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_133, 1); +x_133 = lean_ctor_get(x_115, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_115, 1); lean_inc(x_134); -lean_dec(x_133); -x_135 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_134); -if (lean_obj_tag(x_135) == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = l_Lean_MessageData_ofExpr(x_136); -x_139 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_140 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_142 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_101, x_142, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_137); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_38, x_1, x_2, x_23, x_33, x_39, x_144, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_145); -lean_dec(x_144); -lean_dec(x_38); -return x_146; +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_135 = x_115; +} else { + lean_dec_ref(x_115); + x_135 = lean_box(0); +} +if (lean_is_scalar(x_135)) { + x_136 = lean_alloc_ctor(1, 2, 0); +} else { + x_136 = x_135; +} +lean_ctor_set(x_136, 0, x_133); +lean_ctor_set(x_136, 1, x_134); +return x_136; +} +} +} +} } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +uint8_t x_137; lean_dec(x_38); +lean_dec(x_36); lean_dec(x_33); lean_dec(x_23); lean_dec(x_12); @@ -6158,35 +15040,108 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_147 = lean_ctor_get(x_135, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_135, 1); +x_137 = !lean_is_exclusive(x_42); +if (x_137 == 0) +{ +return x_42; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_42, 0); +x_139 = lean_ctor_get(x_42, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_42); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +lean_dec(x_38); +lean_dec(x_33); +lean_dec(x_23); +lean_dec(x_2); +lean_dec(x_1); +x_141 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; +x_142 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_141, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_unbox(x_143); +lean_dec(x_143); +if (x_144 == 0) +{ +uint8_t x_145; +lean_dec(x_36); +lean_dec(x_12); +lean_dec(x_11); +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_145 = !lean_is_exclusive(x_142); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_142, 0); +lean_dec(x_146); +x_147 = lean_box(0); +lean_ctor_set(x_142, 0, x_147); +return x_142; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_142, 1); lean_inc(x_148); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - lean_ctor_release(x_135, 1); - x_149 = x_135; -} else { - lean_dec_ref(x_135); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(1, 2, 0); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_147); +lean_dec(x_142); +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_149); lean_ctor_set(x_150, 1, x_148); return x_150; } } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_38); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_23); +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_142, 1); +lean_inc(x_151); +lean_dec(x_142); +x_152 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_151); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +lean_dec(x_152); +x_154 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_153); +if (lean_obj_tag(x_154) == 0) +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +lean_dec(x_154); +x_157 = l_Lean_MessageData_ofExpr(x_155); +x_158 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; +x_159 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2; +x_161 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +x_162 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_141, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_156); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6196,177 +15151,64 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_151 = lean_ctor_get(x_133, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_133, 1); -lean_inc(x_152); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_153 = x_133; -} else { - lean_dec_ref(x_133); - x_153 = lean_box(0); +x_163 = !lean_is_exclusive(x_162); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_dec(x_164); +x_165 = lean_box(0); +lean_ctor_set(x_162, 0, x_165); +return x_162; } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(1, 2, 0); -} else { - x_154 = x_153; +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_162, 1); +lean_inc(x_166); +lean_dec(x_162); +x_167 = lean_box(0); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +return x_168; } -lean_ctor_set(x_154, 0, x_151); -lean_ctor_set(x_154, 1, x_152); +} +else +{ +uint8_t x_169; +lean_dec(x_12); +lean_dec(x_11); +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_169 = !lean_is_exclusive(x_154); +if (x_169 == 0) +{ return x_154; } -} -} -} -} else { -uint8_t x_155; -lean_dec(x_38); -lean_dec(x_36); -lean_dec(x_33); -lean_dec(x_23); -lean_dec(x_12); -lean_dec(x_11); -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); -lean_dec(x_2); -lean_dec(x_1); -x_155 = !lean_is_exclusive(x_42); -if (x_155 == 0) -{ -return x_42; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_42, 0); -x_157 = lean_ctor_get(x_42, 1); -lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_42); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -return x_158; -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -lean_dec(x_38); -lean_dec(x_33); -lean_dec(x_23); -lean_dec(x_2); -lean_dec(x_1); -x_159 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8; -x_160 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_159, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_unbox(x_161); -lean_dec(x_161); -if (x_162 == 0) -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -lean_dec(x_36); -x_163 = lean_ctor_get(x_160, 1); -lean_inc(x_163); -lean_dec(x_160); -x_164 = lean_box(0); -x_165 = lean_apply_11(x_39, x_164, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_163); -return x_165; -} -else -{ -uint8_t x_166; -x_166 = !lean_is_exclusive(x_160); -if (x_166 == 0) -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_160, 1); -x_168 = lean_ctor_get(x_160, 0); -lean_dec(x_168); -x_169 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_167); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_169, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_154, 0); +x_171 = lean_ctor_get(x_154, 1); +lean_inc(x_171); lean_inc(x_170); -lean_dec(x_169); -x_171 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_170); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = l_Lean_MessageData_ofExpr(x_172); -x_175 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -lean_ctor_set_tag(x_160, 7); -lean_ctor_set(x_160, 1, x_174); -lean_ctor_set(x_160, 0, x_175); -x_176 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_177 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_177, 0, x_160); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_159, x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_173); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_apply_11(x_39, x_179, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_180); -return x_181; -} -else -{ -uint8_t x_182; -lean_free_object(x_160); -lean_dec(x_12); -lean_dec(x_11); -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_182 = !lean_is_exclusive(x_171); -if (x_182 == 0) -{ -return x_171; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_171, 0); -x_184 = lean_ctor_get(x_171, 1); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_171); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -return x_185; +lean_dec(x_154); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; } } } else { -uint8_t x_186; -lean_free_object(x_160); +uint8_t x_173; lean_dec(x_36); lean_dec(x_12); lean_dec(x_11); @@ -6377,133 +15219,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_186 = !lean_is_exclusive(x_169); -if (x_186 == 0) +x_173 = !lean_is_exclusive(x_152); +if (x_173 == 0) { -return x_169; +return x_152; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_169, 0); -x_188 = lean_ctor_get(x_169, 1); -lean_inc(x_188); -lean_inc(x_187); -lean_dec(x_169); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -return x_189; -} -} -} -else -{ -lean_object* x_190; lean_object* x_191; -x_190 = lean_ctor_get(x_160, 1); -lean_inc(x_190); -lean_dec(x_160); -x_191 = l_Lean_Meta_Grind_updateLastTag(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_190); -if (lean_obj_tag(x_191) == 0) -{ -lean_object* x_192; lean_object* x_193; -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_193 = l_Lean_Grind_CommRing_Poly_denoteExpr(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_192); -if (lean_obj_tag(x_193) == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = l_Lean_MessageData_ofExpr(x_194); -x_197 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5; -x_198 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -x_199 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5; -x_200 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_159, x_200, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_195); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = lean_apply_11(x_39, x_202, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_203); -return x_204; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_12); -lean_dec(x_11); -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_205 = lean_ctor_get(x_193, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_193, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - x_207 = x_193; -} else { - lean_dec_ref(x_193); - x_207 = lean_box(0); -} -if (lean_is_scalar(x_207)) { - x_208 = lean_alloc_ctor(1, 2, 0); -} else { - x_208 = x_207; -} -lean_ctor_set(x_208, 0, x_205); -lean_ctor_set(x_208, 1, x_206); -return x_208; -} -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_36); -lean_dec(x_12); -lean_dec(x_11); -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_209 = lean_ctor_get(x_191, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_191, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_211 = x_191; -} else { - lean_dec_ref(x_191); - x_211 = lean_box(0); -} -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); -} else { - x_212 = x_211; -} -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_152, 0); +x_175 = lean_ctor_get(x_152, 1); +lean_inc(x_175); +lean_inc(x_174); +lean_dec(x_152); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); +return x_176; } } } @@ -6511,31 +15243,18 @@ return x_212; } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_33); -lean_dec(x_23); -lean_dec(x_2); -lean_dec(x_1); -x_213 = lean_ctor_get(x_35, 1); -lean_inc(x_213); +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_35, 1); +lean_inc(x_177); lean_dec(x_35); -x_214 = lean_box(0); -x_215 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_36, x_214, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_213); -lean_dec(x_12); -lean_dec(x_11); -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); -return x_215; +x_178 = lean_box(0); +x_179 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_1, x_2, x_23, x_33, x_36, x_178, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_177); +return x_179; } } else { -uint8_t x_216; +uint8_t x_180; lean_dec(x_33); lean_dec(x_23); lean_dec(x_12); @@ -6549,30 +15268,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_216 = !lean_is_exclusive(x_35); -if (x_216 == 0) +x_180 = !lean_is_exclusive(x_35); +if (x_180 == 0) { return x_35; } else { -lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_217 = lean_ctor_get(x_35, 0); -x_218 = lean_ctor_get(x_35, 1); -lean_inc(x_218); -lean_inc(x_217); +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_35, 0); +x_182 = lean_ctor_get(x_35, 1); +lean_inc(x_182); +lean_inc(x_181); lean_dec(x_35); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_217); -lean_ctor_set(x_219, 1, x_218); -return x_219; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; } } } } else { -uint8_t x_220; +uint8_t x_184; lean_dec(x_23); lean_dec(x_12); lean_dec(x_11); @@ -6585,30 +15304,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_220 = !lean_is_exclusive(x_24); -if (x_220 == 0) +x_184 = !lean_is_exclusive(x_24); +if (x_184 == 0) { return x_24; } else { -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_24, 0); -x_222 = lean_ctor_get(x_24, 1); -lean_inc(x_222); -lean_inc(x_221); +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_24, 0); +x_186 = lean_ctor_get(x_24, 1); +lean_inc(x_186); +lean_inc(x_185); lean_dec(x_24); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -return x_223; +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; } } } } else { -uint8_t x_224; +uint8_t x_188; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6620,39 +15339,39 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_224 = !lean_is_exclusive(x_14); -if (x_224 == 0) +x_188 = !lean_is_exclusive(x_14); +if (x_188 == 0) { return x_14; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_14, 0); -x_226 = lean_ctor_get(x_14, 1); -lean_inc(x_226); -lean_inc(x_225); +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_14, 0); +x_190 = lean_ctor_get(x_14, 1); +lean_inc(x_190); +lean_inc(x_189); lean_dec(x_14); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; } } } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6; -x_2 = l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1; -x_3 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5(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_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(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_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -6704,8 +15423,8 @@ lean_dec(x_13); x_22 = lean_ctor_get(x_14, 0); lean_inc(x_22); lean_dec(x_14); -x_23 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1; -x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_23, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +x_23 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_23, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_unbox(x_25); @@ -6717,7 +15436,7 @@ x_27 = lean_ctor_get(x_24, 1); lean_inc(x_27); lean_dec(x_24); x_28 = lean_box(0); -x_29 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_28, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +x_29 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_1, x_2, x_28, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); return x_29; } else @@ -6760,13 +15479,13 @@ lean_ctor_set(x_24, 0, x_39); x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_24); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); lean_dec(x_41); -x_44 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_42, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_44 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_1, x_2, x_42, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); lean_dec(x_42); return x_44; } @@ -6876,13 +15595,13 @@ lean_ctor_set(x_61, 1, x_59); x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); lean_dec(x_63); -x_66 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_64, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); +x_66 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_1, x_2, x_64, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65); lean_dec(x_64); return x_66; } @@ -6971,7 +15690,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } else @@ -6995,42 +15714,7 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -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); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -7051,44 +15735,35 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_7); lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___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_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_17; +x_17 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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, 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_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___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_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_3); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___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_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_3); return x_13; } @@ -7156,15 +15831,35 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl__ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(" ≠ 0", 6, 4); +x_1 = lean_mk_string_unchecked("store", 5, 5); return x_1; } } static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___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_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ≠ 0", 6, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -7173,8 +15868,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___ _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3; -x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +x_14 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_unbox(x_15); @@ -7233,11 +15928,11 @@ x_30 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr x_31 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +x_32 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; x_33 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); return x_34; } else @@ -7446,8 +16141,8 @@ lean_inc(x_37); lean_dec(x_35); x_38 = lean_ctor_get(x_36, 0); lean_inc(x_38); -x_39 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; -x_40 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2; +x_39 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3; +x_40 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2; x_41 = lean_int_dec_eq(x_38, x_40); lean_dec(x_38); if (x_41 == 0) @@ -7457,8 +16152,8 @@ lean_dec(x_33); lean_dec(x_23); lean_dec(x_2); lean_dec(x_1); -x_42 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8; -x_43 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_42 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7; +x_43 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); x_45 = lean_unbox(x_44); @@ -7526,11 +16221,11 @@ x_59 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr x_60 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +x_61 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; x_62 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_62, 0, x_60); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7632,8 +16327,8 @@ return x_77; else { lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_78 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6; -x_79 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_78 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4; +x_79 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); x_81 = lean_unbox(x_80); @@ -7680,11 +16375,11 @@ x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr lean_ctor_set_tag(x_79, 7); lean_ctor_set(x_79, 1, x_93); lean_ctor_set(x_79, 0, x_94); -x_95 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +x_95 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; x_96 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_96, 0, x_79); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); +x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92); x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); @@ -7796,11 +16491,11 @@ x_116 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G x_117 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2; +x_118 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4; x_119 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_119, 0, x_117); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114); +x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114); x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); x_122 = lean_ctor_get(x_120, 1); @@ -8074,8 +16769,8 @@ lean_dec(x_12); x_21 = lean_ctor_get(x_13, 0); lean_inc(x_21); lean_dec(x_13); -x_22 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1; -x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__2(x_22, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_22 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1; +x_23 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_22, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_unbox(x_24); @@ -8131,7 +16826,7 @@ lean_ctor_set(x_23, 0, x_39); x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_23); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); @@ -8248,7 +16943,7 @@ lean_ctor_set(x_62, 1, x_60); x_63 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___spec__1(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -8401,37 +17096,62 @@ l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Ari lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___closed__5); l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1 = _init_l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1(); lean_mark_persistent(l_Lean_Grind_CommRing_Mon_findSimp_x3f_go___closed__1); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__1); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__2); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__3); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__4); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__5); -l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6 = _init_l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6(); -lean_mark_persistent(l_panic___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__1___closed__6); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__1(); -l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__3___closed__2); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__1); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__2); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__3); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__4); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__5); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__6); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__7); -l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8(); -lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_simplify___spec__4___closed__8); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify1___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__2); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__5); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplifyWith___spec__1___closed__6); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify___spec__1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__5); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__6); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_checkConstant___closed__7); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_superposeWith___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_toMonic___lambda__1___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToBasisAfterSimp___closed__2); l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__1); l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2(); @@ -8440,30 +17160,16 @@ l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3 = _ini lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__3); l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__4); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__5); l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__1); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__2); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__3); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__4); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__5); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__6); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__7); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__4___closed__8); -l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__5___closed__1); l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__1); l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed__4); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c index b6129c0714..9150d76c0d 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Poly.c @@ -15,25 +15,34 @@ extern "C" { #endif lean_object* lean_nat_gcd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_lm(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly_0__Lean_Grind_CommRing_Mon_lcm_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_combine_go(lean_object*, lean_object*, lean_object*); +lean_object* lean_int_emod(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly_0__Lean_Grind_CommRing_Mon_lcm_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_mulConstC(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Poly_isZero(lean_object*); extern lean_object* l_Lean_Grind_CommRing_hugeFuel; static lean_object* l_Lean_Grind_CommRing_Poly_spol___closed__1; -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combine_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_div(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_spol(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_spol(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_mulMon(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Grind_CommRing_Poly_spol___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly_0__Lean_Grind_CommRing_Mon_lcm_match__1_splitter(lean_object*); lean_object* l_Lean_Grind_CommRing_Mon_degree(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_lm___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_mulMonC(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_lc___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_lcm(lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_Poly_spol___closed__3; -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_isZero___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Grind_CommRing_Poly_mulConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_degree(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly_0__Lean_Grind_CommRing_Mon_lcm_match__2_splitter(lean_object*); @@ -42,17 +51,20 @@ lean_object* lean_int_mul(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Mon_coprime(lean_object*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_combineC_go(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_degree___boxed(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_lc(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_divides___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Poly_divides(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_divides___boxed(lean_object*, lean_object*); +uint8_t lean_int_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_coprime___boxed(lean_object*, lean_object*); lean_object* lean_int_ediv(lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly_0__Lean_Grind_CommRing_Mon_lcm_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Mon_divides(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_lcm(lean_object* x_1, lean_object* x_2) { _start: @@ -1213,6 +1225,86 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Grind_CommRing_Poly_mulConst(x_2, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Grind_CommRing_Poly_mulConstC(x_2, x_1, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = l_Lean_Grind_CommRing_Poly_mulMon(x_2, x_3, x_1); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Grind_CommRing_Poly_mulMonC(x_2, x_3, x_1, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combine_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Grind_CommRing_hugeFuel; +x_5 = l_Lean_Grind_CommRing_Poly_combine_go(x_4, x_1, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l_Lean_Grind_CommRing_hugeFuel; +x_8 = l_Lean_Grind_CommRing_Poly_combineC_go(x_6, x_7, x_1, x_2); +return x_8; +} +} +} static lean_object* _init_l_Lean_Grind_CommRing_Poly_spol___closed__1() { _start: { @@ -1248,22 +1340,13 @@ lean_ctor_set(x_4, 4, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_spol(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_spol(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_3; -lean_dec(x_2); -lean_dec(x_1); -x_3 = l_Lean_Grind_CommRing_Poly_spol___closed__3; -return x_3; -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ lean_object* x_4; +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_4 = l_Lean_Grind_CommRing_Poly_spol___closed__3; @@ -1271,7 +1354,603 @@ return x_4; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = l_Lean_Grind_CommRing_Poly_spol___closed__3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 2); +lean_inc(x_11); +lean_dec(x_2); +lean_inc(x_10); +lean_inc(x_7); +x_12 = l_Lean_Grind_CommRing_Mon_lcm(x_7, x_10); +lean_inc(x_12); +x_13 = l_Lean_Grind_CommRing_Mon_div(x_12, x_7); +x_14 = l_Lean_Grind_CommRing_Mon_div(x_12, x_10); +x_15 = lean_nat_abs(x_6); +x_16 = lean_nat_abs(x_9); +x_17 = lean_nat_gcd(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +x_18 = lean_nat_to_int(x_17); +x_19 = lean_int_ediv(x_9, x_18); +lean_dec(x_9); +x_20 = lean_int_neg(x_6); +lean_dec(x_6); +x_21 = lean_int_ediv(x_20, x_18); +lean_dec(x_18); +lean_dec(x_20); +lean_inc(x_3); +lean_inc(x_13); +x_22 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_8, x_19, x_13, x_3); +lean_inc(x_3); +lean_inc(x_14); +x_23 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_11, x_21, x_14, x_3); +x_24 = l_Lean_Grind_CommRing_Poly_combine_x27(x_22, x_23, x_3); +x_25 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_19); +lean_ctor_set(x_25, 2, x_13); +lean_ctor_set(x_25, 3, x_21); +lean_ctor_set(x_25, 4, x_14); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_6 = lean_box(0); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +x_10 = lean_ctor_get(x_5, 2); +lean_inc(x_9); +lean_inc(x_3); +x_11 = l_Lean_Grind_CommRing_Mon_divides(x_3, x_9); +if (x_11 == 0) +{ +lean_object* x_12; +lean_inc(x_1); +x_12 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_4, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +lean_free_object(x_5); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_13 = lean_box(0); +return x_13; +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_12, 0); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 2); +x_19 = lean_int_mul(x_8, x_18); +lean_dec(x_8); +lean_ctor_set(x_5, 2, x_17); +lean_ctor_set(x_5, 0, x_19); +lean_ctor_set(x_15, 0, x_5); +return x_12; +} +else +{ +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_20 = lean_ctor_get(x_15, 0); +x_21 = lean_ctor_get(x_15, 1); +x_22 = lean_ctor_get(x_15, 2); +x_23 = lean_ctor_get(x_15, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_15); +x_24 = lean_int_mul(x_8, x_22); +lean_dec(x_8); +lean_ctor_set(x_5, 2, x_20); +lean_ctor_set(x_5, 0, x_24); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_21); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_23); +lean_ctor_set(x_12, 0, x_25); +return x_12; +} +} +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; +x_26 = lean_ctor_get(x_12, 0); +lean_inc(x_26); +lean_dec(x_12); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_26, 3); +lean_inc(x_30); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + lean_ctor_release(x_26, 3); + x_31 = x_26; +} else { + lean_dec_ref(x_26); + x_31 = lean_box(0); +} +x_32 = lean_int_mul(x_8, x_29); +lean_dec(x_8); +lean_ctor_set(x_5, 2, x_27); +lean_ctor_set(x_5, 0, x_32); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 4, 0); +} else { + x_33 = x_31; +} +lean_ctor_set(x_33, 0, x_5); +lean_ctor_set(x_33, 1, x_28); +lean_ctor_set(x_33, 2, x_29); +lean_ctor_set(x_33, 3, x_30); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_12, 0); +lean_inc(x_35); +lean_dec(x_12); +x_36 = !lean_is_exclusive(x_1); +if (x_36 == 0) +{ +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; uint8_t x_46; +x_37 = lean_ctor_get(x_1, 0); +x_38 = lean_ctor_get(x_35, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_35, 2); +lean_inc(x_40); +x_41 = lean_ctor_get(x_35, 3); +lean_inc(x_41); +x_42 = lean_int_mul(x_8, x_40); +lean_dec(x_8); +x_43 = lean_nat_to_int(x_37); +x_44 = lean_int_emod(x_42, x_43); +lean_dec(x_43); +lean_dec(x_42); +x_45 = l_Lean_Grind_CommRing_Poly_spol___closed__1; +x_46 = lean_int_dec_eq(x_44, x_45); +if (x_46 == 0) +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_35); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_35, 3); +lean_dec(x_48); +x_49 = lean_ctor_get(x_35, 2); +lean_dec(x_49); +x_50 = lean_ctor_get(x_35, 1); +lean_dec(x_50); +x_51 = lean_ctor_get(x_35, 0); +lean_dec(x_51); +lean_ctor_set(x_5, 2, x_38); +lean_ctor_set(x_5, 0, x_44); +lean_ctor_set(x_35, 0, x_5); +lean_ctor_set(x_1, 0, x_35); +return x_1; +} +else +{ +lean_object* x_52; +lean_dec(x_35); +lean_ctor_set(x_5, 2, x_38); +lean_ctor_set(x_5, 0, x_44); +x_52 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_52, 0, x_5); +lean_ctor_set(x_52, 1, x_39); +lean_ctor_set(x_52, 2, x_40); +lean_ctor_set(x_52, 3, x_41); +lean_ctor_set(x_1, 0, x_52); +return x_1; +} +} +else +{ +lean_dec(x_44); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_free_object(x_5); +lean_dec(x_9); +lean_ctor_set(x_1, 0, x_35); +return x_1; +} +} +else +{ +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; uint8_t x_62; +x_53 = lean_ctor_get(x_1, 0); +lean_inc(x_53); +lean_dec(x_1); +x_54 = lean_ctor_get(x_35, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_35, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_35, 2); +lean_inc(x_56); +x_57 = lean_ctor_get(x_35, 3); +lean_inc(x_57); +x_58 = lean_int_mul(x_8, x_56); +lean_dec(x_8); +x_59 = lean_nat_to_int(x_53); +x_60 = lean_int_emod(x_58, x_59); +lean_dec(x_59); +lean_dec(x_58); +x_61 = l_Lean_Grind_CommRing_Poly_spol___closed__1; +x_62 = lean_int_dec_eq(x_60, x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + lean_ctor_release(x_35, 2); + lean_ctor_release(x_35, 3); + x_63 = x_35; +} else { + lean_dec_ref(x_35); + x_63 = lean_box(0); +} +lean_ctor_set(x_5, 2, x_54); +lean_ctor_set(x_5, 0, x_60); +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 4, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_5); +lean_ctor_set(x_64, 1, x_55); +lean_ctor_set(x_64, 2, x_56); +lean_ctor_set(x_64, 3, x_57); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +return x_65; +} +else +{ +lean_object* x_66; +lean_dec(x_60); +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_free_object(x_5); +lean_dec(x_9); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_35); +return x_66; +} +} +} +} +} +else +{ +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; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_free_object(x_5); +x_67 = l_Lean_Grind_CommRing_Mon_div(x_9, x_3); +x_68 = lean_nat_abs(x_2); +x_69 = lean_nat_abs(x_8); +x_70 = lean_nat_gcd(x_68, x_69); +lean_dec(x_69); +lean_dec(x_68); +x_71 = lean_int_neg(x_8); +lean_dec(x_8); +x_72 = lean_nat_to_int(x_70); +x_73 = lean_int_ediv(x_71, x_72); +lean_dec(x_71); +x_74 = lean_int_ediv(x_2, x_72); +lean_dec(x_72); +lean_inc(x_1); +lean_inc(x_67); +x_75 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_73, x_67, x_1); +lean_inc(x_1); +x_76 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_10, x_74, x_1); +x_77 = l_Lean_Grind_CommRing_Poly_combine_x27(x_75, x_76, x_1); +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_73); +lean_ctor_set(x_78, 2, x_74); +lean_ctor_set(x_78, 3, x_67); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_5, 0); +x_81 = lean_ctor_get(x_5, 1); +x_82 = lean_ctor_get(x_5, 2); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_5); +lean_inc(x_81); +lean_inc(x_3); +x_83 = l_Lean_Grind_CommRing_Mon_divides(x_3, x_81); +if (x_83 == 0) +{ +lean_object* x_84; +lean_inc(x_1); +x_84 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_4, x_82); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; +lean_dec(x_81); +lean_dec(x_80); +lean_dec(x_1); +x_85 = lean_box(0); +return x_85; +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +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; lean_object* x_96; +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_89); +x_90 = lean_ctor_get(x_86, 2); +lean_inc(x_90); +x_91 = lean_ctor_get(x_86, 3); +lean_inc(x_91); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + lean_ctor_release(x_86, 2); + lean_ctor_release(x_86, 3); + x_92 = x_86; +} else { + lean_dec_ref(x_86); + x_92 = lean_box(0); +} +x_93 = lean_int_mul(x_80, x_90); +lean_dec(x_80); +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_81); +lean_ctor_set(x_94, 2, x_88); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 4, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_89); +lean_ctor_set(x_95, 2, x_90); +lean_ctor_set(x_95, 3, x_91); +if (lean_is_scalar(x_87)) { + x_96 = lean_alloc_ctor(1, 1, 0); +} else { + x_96 = x_87; +} +lean_ctor_set(x_96, 0, x_95); +return x_96; +} +else +{ +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; uint8_t x_108; +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +lean_dec(x_84); +x_98 = lean_ctor_get(x_1, 0); +lean_inc(x_98); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_99 = x_1; +} else { + lean_dec_ref(x_1); + x_99 = lean_box(0); +} +x_100 = lean_ctor_get(x_97, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_97, 2); +lean_inc(x_102); +x_103 = lean_ctor_get(x_97, 3); +lean_inc(x_103); +x_104 = lean_int_mul(x_80, x_102); +lean_dec(x_80); +x_105 = lean_nat_to_int(x_98); +x_106 = lean_int_emod(x_104, x_105); +lean_dec(x_105); +lean_dec(x_104); +x_107 = l_Lean_Grind_CommRing_Poly_spol___closed__1; +x_108 = lean_int_dec_eq(x_106, x_107); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + lean_ctor_release(x_97, 2); + lean_ctor_release(x_97, 3); + x_109 = x_97; +} else { + lean_dec_ref(x_97); + x_109 = lean_box(0); +} +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_106); +lean_ctor_set(x_110, 1, x_81); +lean_ctor_set(x_110, 2, x_100); +if (lean_is_scalar(x_109)) { + x_111 = lean_alloc_ctor(0, 4, 0); +} else { + x_111 = x_109; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_101); +lean_ctor_set(x_111, 2, x_102); +lean_ctor_set(x_111, 3, x_103); +if (lean_is_scalar(x_99)) { + x_112 = lean_alloc_ctor(1, 1, 0); +} else { + x_112 = x_99; +} +lean_ctor_set(x_112, 0, x_111); +return x_112; +} +else +{ +lean_object* x_113; +lean_dec(x_106); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_81); +if (lean_is_scalar(x_99)) { + x_113 = lean_alloc_ctor(1, 1, 0); +} else { + x_113 = x_99; +} +lean_ctor_set(x_113, 0, x_97); +return x_113; +} +} +} +} +else +{ +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_114 = l_Lean_Grind_CommRing_Mon_div(x_81, x_3); +x_115 = lean_nat_abs(x_2); +x_116 = lean_nat_abs(x_80); +x_117 = lean_nat_gcd(x_115, x_116); +lean_dec(x_116); +lean_dec(x_115); +x_118 = lean_int_neg(x_80); +lean_dec(x_80); +x_119 = lean_nat_to_int(x_117); +x_120 = lean_int_ediv(x_118, x_119); +lean_dec(x_118); +x_121 = lean_int_ediv(x_2, x_119); +lean_dec(x_119); +lean_inc(x_1); +lean_inc(x_114); +x_122 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_4, x_120, x_114, x_1); +lean_inc(x_1); +x_123 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_82, x_121, x_1); +x_124 = l_Lean_Grind_CommRing_Poly_combine_x27(x_122, x_123, x_1); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_120); +lean_ctor_set(x_125, 2, x_121); +lean_ctor_set(x_125, 3, x_114); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_125); +return x_126; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_1, 1); @@ -1279,354 +1958,9 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_1, 2); lean_inc(x_7); lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_6); -x_11 = l_Lean_Grind_CommRing_Mon_lcm(x_6, x_9); -lean_inc(x_11); -x_12 = l_Lean_Grind_CommRing_Mon_div(x_11, x_6); -x_13 = l_Lean_Grind_CommRing_Mon_div(x_11, x_9); -x_14 = lean_nat_abs(x_5); -x_15 = lean_nat_abs(x_8); -x_16 = lean_nat_gcd(x_14, x_15); -lean_dec(x_15); -lean_dec(x_14); -x_17 = lean_nat_to_int(x_16); -x_18 = lean_int_ediv(x_8, x_17); -lean_dec(x_8); -x_19 = lean_int_neg(x_5); +x_8 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_3, x_5, x_6, x_7, x_2); lean_dec(x_5); -x_20 = lean_int_ediv(x_19, x_17); -lean_dec(x_17); -lean_dec(x_19); -lean_inc(x_12); -x_21 = l_Lean_Grind_CommRing_Poly_mulMon(x_18, x_12, x_7); -lean_inc(x_13); -x_22 = l_Lean_Grind_CommRing_Poly_mulMon(x_20, x_13, x_10); -x_23 = l_Lean_Grind_CommRing_hugeFuel; -x_24 = l_Lean_Grind_CommRing_Poly_combine_go(x_23, x_21, x_22); -x_25 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_18); -lean_ctor_set(x_25, 2, x_12); -lean_ctor_set(x_25, 3, x_20); -lean_ctor_set(x_25, 4, x_13); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_5 = lean_box(0); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_ctor_get(x_4, 1); -x_9 = lean_ctor_get(x_4, 2); -lean_inc(x_8); -lean_inc(x_2); -x_10 = l_Lean_Grind_CommRing_Mon_divides(x_2, x_8); -if (x_10 == 0) -{ -lean_object* x_11; -x_11 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -lean_free_object(x_4); -lean_dec(x_8); -lean_dec(x_7); -x_12 = lean_box(0); -return x_12; -} -else -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_11); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_11, 0); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 2); -x_18 = lean_int_mul(x_7, x_17); -lean_dec(x_7); -lean_ctor_set(x_4, 2, x_16); -lean_ctor_set(x_4, 0, x_18); -lean_ctor_set(x_14, 0, x_4); -return x_11; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -x_21 = lean_ctor_get(x_14, 2); -x_22 = lean_ctor_get(x_14, 3); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_14); -x_23 = lean_int_mul(x_7, x_21); -lean_dec(x_7); -lean_ctor_set(x_4, 2, x_19); -lean_ctor_set(x_4, 0, x_23); -x_24 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_24, 0, x_4); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set(x_24, 3, x_22); -lean_ctor_set(x_11, 0, x_24); -return x_11; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_25 = lean_ctor_get(x_11, 0); -lean_inc(x_25); -lean_dec(x_11); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_25, 2); -lean_inc(x_28); -x_29 = lean_ctor_get(x_25, 3); -lean_inc(x_29); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - x_30 = x_25; -} else { - lean_dec_ref(x_25); - x_30 = lean_box(0); -} -x_31 = lean_int_mul(x_7, x_28); -lean_dec(x_7); -lean_ctor_set(x_4, 2, x_26); -lean_ctor_set(x_4, 0, x_31); -if (lean_is_scalar(x_30)) { - x_32 = lean_alloc_ctor(0, 4, 0); -} else { - x_32 = x_30; -} -lean_ctor_set(x_32, 0, x_4); -lean_ctor_set(x_32, 1, x_27); -lean_ctor_set(x_32, 2, x_28); -lean_ctor_set(x_32, 3, x_29); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -} -} -else -{ -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_free_object(x_4); -x_34 = l_Lean_Grind_CommRing_Mon_div(x_8, x_2); -x_35 = lean_nat_abs(x_1); -x_36 = lean_nat_abs(x_7); -x_37 = lean_nat_gcd(x_35, x_36); -lean_dec(x_36); -lean_dec(x_35); -x_38 = lean_int_neg(x_7); -lean_dec(x_7); -x_39 = lean_nat_to_int(x_37); -x_40 = lean_int_ediv(x_38, x_39); -lean_dec(x_38); -x_41 = lean_int_ediv(x_1, x_39); -lean_dec(x_39); -lean_inc(x_34); -x_42 = l_Lean_Grind_CommRing_Poly_mulMon(x_40, x_34, x_3); -x_43 = l_Lean_Grind_CommRing_Poly_mulConst(x_41, x_9); -x_44 = l_Lean_Grind_CommRing_hugeFuel; -x_45 = l_Lean_Grind_CommRing_Poly_combine_go(x_44, x_42, x_43); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_40); -lean_ctor_set(x_46, 2, x_41); -lean_ctor_set(x_46, 3, x_34); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_ctor_get(x_4, 0); -x_49 = lean_ctor_get(x_4, 1); -x_50 = lean_ctor_get(x_4, 2); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_4); -lean_inc(x_49); -lean_inc(x_2); -x_51 = l_Lean_Grind_CommRing_Mon_divides(x_2, x_49); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_50); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; -lean_dec(x_49); -lean_dec(x_48); -x_53 = lean_box(0); -return x_53; -} -else -{ -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; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - x_55 = x_52; -} else { - lean_dec_ref(x_52); - x_55 = lean_box(0); -} -x_56 = lean_ctor_get(x_54, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_54, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_54, 3); -lean_inc(x_59); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - lean_ctor_release(x_54, 2); - lean_ctor_release(x_54, 3); - x_60 = x_54; -} else { - lean_dec_ref(x_54); - x_60 = lean_box(0); -} -x_61 = lean_int_mul(x_48, x_58); -lean_dec(x_48); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_49); -lean_ctor_set(x_62, 2, x_56); -if (lean_is_scalar(x_60)) { - x_63 = lean_alloc_ctor(0, 4, 0); -} else { - x_63 = x_60; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -if (lean_is_scalar(x_55)) { - x_64 = lean_alloc_ctor(1, 1, 0); -} else { - x_64 = x_55; -} -lean_ctor_set(x_64, 0, x_63); -return x_64; -} -} -else -{ -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; lean_object* x_77; lean_object* x_78; -x_65 = l_Lean_Grind_CommRing_Mon_div(x_49, x_2); -x_66 = lean_nat_abs(x_1); -x_67 = lean_nat_abs(x_48); -x_68 = lean_nat_gcd(x_66, x_67); -lean_dec(x_67); -lean_dec(x_66); -x_69 = lean_int_neg(x_48); -lean_dec(x_48); -x_70 = lean_nat_to_int(x_68); -x_71 = lean_int_ediv(x_69, x_70); -lean_dec(x_69); -x_72 = lean_int_ediv(x_1, x_70); -lean_dec(x_70); -lean_inc(x_65); -x_73 = l_Lean_Grind_CommRing_Poly_mulMon(x_71, x_65, x_3); -x_74 = l_Lean_Grind_CommRing_Poly_mulConst(x_72, x_50); -x_75 = l_Lean_Grind_CommRing_hugeFuel; -x_76 = l_Lean_Grind_CommRing_Poly_combine_go(x_75, x_73, x_74); -x_77 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_71); -lean_ctor_set(x_77, 2, x_72); -lean_ctor_set(x_77, 3, x_65); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -return x_78; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_simp_x3f(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -lean_dec(x_2); -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -lean_dec(x_1); -x_7 = l_Lean_Grind_CommRing_Poly_simp_x3f_go_x3f(x_4, x_5, x_6, x_2); -lean_dec(x_4); -return x_7; +return x_8; } } } @@ -1733,6 +2067,35 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Poly_isZero(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_ctor_get(x_1, 0); +x_3 = l_Lean_Grind_CommRing_Poly_spol___closed__1; +x_4 = lean_int_dec_eq(x_2, x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_isZero___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Grind_CommRing_Poly_isZero(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} lean_object* initialize_Init_Grind_CommRing_Poly(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly(uint8_t builtin, lean_object* w) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c index d7a8b55dfc..d17f2be34b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Tactic.Grind.Arith.CommRing.Proof -// Imports: Lean.Meta.Tactic.Grind.Diseq Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr +// Imports: Lean.Meta.Tactic.Grind.Diseq Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.DenoteExpr Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,41 +13,73 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2; +lean_object* l_Int_gcd(lean_object*, lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_RArray_toExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst(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_Grind_Arith_CommRing_EqCnstr_denoteExpr(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_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__5; +lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3; +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__6; +uint8_t l_Lean_Grind_CommRing_Poly_isZero(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(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_Meta_Grind_Arith_CommRing_setEqUnsat___closed__3; +lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5; +lean_object* l_Lean_Grind_CommRing_Poly_combine_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr(lean_object*, lean_object*, lean_object*, lean_object*, 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_Meta_Grind_Arith_CommRing_setInconsistent___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___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_Meta_Grind_Arith_CommRing_PreNullCert_unit(lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_mkLemmaPrefix(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_Meta_Grind_Arith_CommRing_setEqUnsat___closed__4; lean_object* l_Lean_Meta_Grind_closeGoal(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_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__9; +lean_object* l_Lean_Meta_Grind_updateLastTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__7; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__1; +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__2; lean_object* lean_grind_mk_eq_proof(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_Meta_Grind_Arith_CommRing_setEqUnsat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__3; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* lean_int_mul(lean_object*, lean_object*); +static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -56,26 +88,53 @@ lean_object* l_Lean_Meta_Grind_mkDiseqProof(lean_object*, lean_object*, lean_obj uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__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*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroCharInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_toNat(lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_reflBoolTrue; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7; +lean_object* lean_array_mk(lean_object*); +size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__1; +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +size_t lean_array_size(lean_object*); lean_object* l_Lean_instToExprInt_mkNat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1; +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3; +uint8_t lean_int_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4; +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1; +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_int_ediv(lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4; +uint8_t lean_usize_dec_lt(size_t, size_t); +lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__4; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12; lean_object* l_Lean_RArray_ofFn_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2; lean_object* l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(lean_object*); static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1() { _start: @@ -189,6 +248,408 @@ lean_dec(x_1); return x_11; } } +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit(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; lean_object* x_8; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2; +x_4 = lean_mk_array(x_2, x_3); +x_5 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4; +x_6 = lean_array_set(x_4, x_1, x_5); +x_7 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +lean_dec(x_1); +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; size_t x_11; size_t x_12; +x_7 = lean_array_uget(x_5, x_4); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_5, x_4, x_8); +x_10 = l_Lean_Grind_CommRing_Poly_isZero(x_7); +x_11 = 1; +x_12 = lean_usize_add(x_4, x_11); +if (x_10 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_13 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_7, x_2, x_1); +x_14 = lean_array_uset(x_9, x_4, x_13); +x_4 = x_12; +x_5 = x_14; +goto _start; +} +else +{ +lean_object* x_16; +x_16 = lean_array_uset(x_9, x_4, x_7); +x_4 = x_12; +x_5 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3; +x_5 = lean_int_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = l_Int_gcd(x_2, x_8); +x_10 = lean_nat_to_int(x_9); +x_11 = lean_int_ediv(x_2, x_10); +x_12 = lean_int_ediv(x_8, x_10); +lean_dec(x_10); +lean_dec(x_8); +x_13 = lean_int_dec_eq(x_11, x_4); +if (x_13 == 0) +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_array_size(x_7); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(x_3, x_11, x_14, x_15, x_7); +lean_dec(x_11); +lean_ctor_set(x_1, 1, x_12); +lean_ctor_set(x_1, 0, x_16); +return x_1; +} +else +{ +lean_dec(x_11); +lean_dec(x_3); +lean_ctor_set(x_1, 1, x_12); +return x_1; +} +} +else +{ +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; +x_17 = lean_ctor_get(x_1, 0); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_1); +x_19 = l_Int_gcd(x_2, x_18); +x_20 = lean_nat_to_int(x_19); +x_21 = lean_int_ediv(x_2, x_20); +x_22 = lean_int_ediv(x_18, x_20); +lean_dec(x_20); +lean_dec(x_18); +x_23 = lean_int_dec_eq(x_21, x_4); +if (x_23 == 0) +{ +size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_array_size(x_17); +x_25 = 0; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(x_3, x_21, x_24, x_25, x_17); +lean_dec(x_21); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_21); +lean_dec(x_3); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_22); +return x_28; +} +} +} +else +{ +lean_dec(x_3); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___spec__1(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_mul(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__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, 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) { +_start: +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_13, 1); +x_19 = lean_nat_dec_lt(x_15, x_18); +if (x_19 == 0) +{ +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_14; +} +else +{ +uint8_t x_20; +x_20 = lean_nat_dec_lt(x_15, x_10); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_array_fget(x_9, x_15); +lean_inc(x_5); +lean_inc(x_3); +x_22 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_21, x_7, x_3, x_5); +x_23 = lean_array_fset(x_14, x_15, x_22); +x_24 = lean_ctor_get(x_13, 2); +x_25 = lean_nat_add(x_15, x_24); +lean_dec(x_15); +x_14 = x_23; +x_15 = x_25; +x_16 = lean_box(0); +x_17 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_array_fget(x_8, x_15); +lean_inc(x_5); +lean_inc(x_1); +x_28 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_27, x_6, x_1, x_5); +x_29 = lean_nat_dec_lt(x_15, x_11); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_array_fset(x_14, x_15, x_28); +x_31 = lean_ctor_get(x_13, 2); +x_32 = lean_nat_add(x_15, x_31); +lean_dec(x_15); +x_14 = x_30; +x_15 = x_32; +x_16 = lean_box(0); +x_17 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_array_fget(x_9, x_15); +lean_inc(x_5); +lean_inc(x_3); +x_35 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_34, x_7, x_3, x_5); +lean_inc(x_5); +x_36 = l_Lean_Grind_CommRing_Poly_combine_x27(x_28, x_35, x_5); +x_37 = lean_array_fset(x_14, x_15, x_36); +x_38 = lean_ctor_get(x_13, 2); +x_39 = lean_nat_add(x_15, x_38); +lean_dec(x_15); +x_14 = x_37; +x_15 = x_39; +x_16 = lean_box(0); +x_17 = lean_box(0); +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(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_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; uint8_t x_24; lean_object* x_25; +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_int_mul(x_1, x_9); +x_11 = lean_int_mul(x_4, x_8); +x_12 = lean_int_mul(x_8, x_9); +x_13 = l_Int_gcd(x_10, x_11); +x_14 = lean_nat_to_int(x_13); +x_15 = l_Int_gcd(x_14, x_12); +lean_dec(x_14); +x_16 = lean_nat_to_int(x_15); +x_17 = lean_int_ediv(x_10, x_16); +lean_dec(x_10); +x_18 = lean_int_ediv(x_11, x_16); +lean_dec(x_11); +x_19 = lean_int_ediv(x_12, x_16); +lean_dec(x_16); +lean_dec(x_12); +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_6, 0); +x_22 = lean_array_get_size(x_20); +x_23 = lean_array_get_size(x_21); +x_24 = lean_nat_dec_le(x_22, x_23); +if (x_24 == 0) +{ +lean_inc(x_22); +x_25 = x_22; +goto block_33; +} +else +{ +lean_inc(x_23); +x_25 = x_23; +goto block_33; +} +block_33: +{ +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; +x_26 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2; +lean_inc(x_25); +x_27 = lean_mk_array(x_25, x_26); +x_28 = lean_unsigned_to_nat(0u); +x_29 = lean_unsigned_to_nat(1u); +lean_inc(x_25); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_25); +lean_ctor_set(x_30, 2, x_29); +x_31 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1(x_2, x_3, x_5, x_6, x_7, x_17, x_18, x_20, x_21, x_22, x_23, x_25, x_30, x_27, x_28, lean_box(0), lean_box(0)); +lean_dec(x_30); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_17); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_19); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_combine(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof_0__Lean_Meta_Grind_Arith_CommRing_mkLemmaPrefix(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_object* x_12) { _start: { @@ -659,21 +1120,12 @@ return x_35; static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_unchecked("Neg", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -681,17 +1133,17 @@ x_1 = lean_mk_string_unchecked("neg", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__2; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -700,29 +1152,29 @@ x_2 = l_Lean_Level_ofNat(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4; 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_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__4; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__3; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__5; x_3 = l_Lean_Expr_const___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -730,27 +1182,27 @@ x_1 = lean_mk_string_unchecked("Int", 3, 3); return x_1; } } +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__9; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10() { _start: { lean_object* x_1; @@ -758,22 +1210,22 @@ x_1 = lean_mk_string_unchecked("instNegInt", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__8; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13() { +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } @@ -801,7 +1253,7 @@ lean_inc(x_20); lean_dec(x_18); x_21 = l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(x_3); x_22 = l_Lean_Meta_Grind_Arith_CommRing_ofRingExpr(x_4); -x_23 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__1; +x_23 = l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1; x_24 = lean_int_dec_le(x_23, x_5); if (x_24 == 0) { @@ -810,9 +1262,9 @@ x_25 = lean_int_neg(x_5); x_26 = l_Int_toNat(x_25); lean_dec(x_25); x_27 = l_Lean_instToExprInt_mkNat(x_26); -x_28 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__7; -x_29 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__10; -x_30 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13; +x_28 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__6; +x_29 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__9; +x_30 = l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12; x_31 = l_Lean_mkApp3(x_28, x_29, x_30, x_27); x_32 = l_Lean_reflBoolTrue; x_33 = l_Lean_mkApp5(x_6, x_21, x_22, x_31, x_32, x_19); @@ -1076,8 +1528,607 @@ lean_dec(x_1); return x_16; } } +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__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, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_9, 12); +x_13 = lean_ctor_get(x_9, 2); +x_14 = l_Lean_checkTraceOption(x_12, x_13, x_1); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_11); +return x_16; +} +} +static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +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; uint8_t x_20; +x_13 = lean_ctor_get(x_10, 5); +x_14 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_take(x_11, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_17, 1); +x_22 = lean_ctor_get(x_17, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_18, 3); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +lean_object* x_26; double x_27; uint8_t 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; uint8_t x_35; +x_26 = lean_ctor_get(x_19, 0); +x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1; +x_28 = 0; +x_29 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +x_30 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set_float(x_30, sizeof(void*)*2, x_27); +lean_ctor_set_float(x_30, sizeof(void*)*2 + 8, x_27); +lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 16, x_28); +x_31 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3; +x_32 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_15); +lean_ctor_set(x_32, 2, x_31); +lean_inc(x_13); +lean_ctor_set(x_17, 1, x_32); +lean_ctor_set(x_17, 0, x_13); +x_33 = l_Lean_PersistentArray_push___rarg(x_26, x_17); +lean_ctor_set(x_19, 0, x_33); +x_34 = lean_st_ref_set(x_11, x_18, x_21); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +x_37 = lean_box(0); +lean_ctor_set(x_34, 0, x_37); +return x_34; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +else +{ +uint64_t x_41; lean_object* x_42; double x_43; uint8_t 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; +x_41 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); +x_42 = lean_ctor_get(x_19, 0); +lean_inc(x_42); +lean_dec(x_19); +x_43 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1; +x_44 = 0; +x_45 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +x_46 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_46, 0, x_1); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set_float(x_46, sizeof(void*)*2, x_43); +lean_ctor_set_float(x_46, sizeof(void*)*2 + 8, x_43); +lean_ctor_set_uint8(x_46, sizeof(void*)*2 + 16, x_44); +x_47 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3; +x_48 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_15); +lean_ctor_set(x_48, 2, x_47); +lean_inc(x_13); +lean_ctor_set(x_17, 1, x_48); +lean_ctor_set(x_17, 0, x_13); +x_49 = l_Lean_PersistentArray_push___rarg(x_42, x_17); +x_50 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set_uint64(x_50, sizeof(void*)*1, x_41); +lean_ctor_set(x_18, 3, x_50); +x_51 = lean_st_ref_set(x_11, x_18, x_21); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +else +{ +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; uint64_t x_63; lean_object* x_64; lean_object* x_65; double x_66; uint8_t 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_56 = lean_ctor_get(x_18, 0); +x_57 = lean_ctor_get(x_18, 1); +x_58 = lean_ctor_get(x_18, 2); +x_59 = lean_ctor_get(x_18, 4); +x_60 = lean_ctor_get(x_18, 5); +x_61 = lean_ctor_get(x_18, 6); +x_62 = lean_ctor_get(x_18, 7); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_18); +x_63 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); +x_64 = lean_ctor_get(x_19, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + x_65 = x_19; +} else { + lean_dec_ref(x_19); + x_65 = lean_box(0); +} +x_66 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1; +x_67 = 0; +x_68 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +x_69 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_69, 0, x_1); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set_float(x_69, sizeof(void*)*2, x_66); +lean_ctor_set_float(x_69, sizeof(void*)*2 + 8, x_66); +lean_ctor_set_uint8(x_69, sizeof(void*)*2 + 16, x_67); +x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3; +x_71 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_15); +lean_ctor_set(x_71, 2, x_70); +lean_inc(x_13); +lean_ctor_set(x_17, 1, x_71); +lean_ctor_set(x_17, 0, x_13); +x_72 = l_Lean_PersistentArray_push___rarg(x_64, x_17); +if (lean_is_scalar(x_65)) { + x_73 = lean_alloc_ctor(0, 1, 8); +} else { + x_73 = x_65; +} +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set_uint64(x_73, sizeof(void*)*1, x_63); +x_74 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_74, 0, x_56); +lean_ctor_set(x_74, 1, x_57); +lean_ctor_set(x_74, 2, x_58); +lean_ctor_set(x_74, 3, x_73); +lean_ctor_set(x_74, 4, x_59); +lean_ctor_set(x_74, 5, x_60); +lean_ctor_set(x_74, 6, x_61); +lean_ctor_set(x_74, 7, x_62); +x_75 = lean_st_ref_set(x_11, x_74, x_21); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; +} else { + lean_dec_ref(x_75); + x_77 = lean_box(0); +} +x_78 = lean_box(0); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; +} +} +else +{ +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; uint64_t x_89; lean_object* x_90; lean_object* x_91; double x_92; uint8_t 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; +x_80 = lean_ctor_get(x_17, 1); +lean_inc(x_80); +lean_dec(x_17); +x_81 = lean_ctor_get(x_18, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_18, 1); +lean_inc(x_82); +x_83 = lean_ctor_get(x_18, 2); +lean_inc(x_83); +x_84 = lean_ctor_get(x_18, 4); +lean_inc(x_84); +x_85 = lean_ctor_get(x_18, 5); +lean_inc(x_85); +x_86 = lean_ctor_get(x_18, 6); +lean_inc(x_86); +x_87 = lean_ctor_get(x_18, 7); +lean_inc(x_87); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + lean_ctor_release(x_18, 6); + lean_ctor_release(x_18, 7); + x_88 = x_18; +} else { + lean_dec_ref(x_18); + x_88 = lean_box(0); +} +x_89 = lean_ctor_get_uint64(x_19, sizeof(void*)*1); +x_90 = lean_ctor_get(x_19, 0); +lean_inc(x_90); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + x_91 = x_19; +} else { + lean_dec_ref(x_19); + x_91 = lean_box(0); +} +x_92 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1; +x_93 = 0; +x_94 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +x_95 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_95, 0, x_1); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set_float(x_95, sizeof(void*)*2, x_92); +lean_ctor_set_float(x_95, sizeof(void*)*2 + 8, x_92); +lean_ctor_set_uint8(x_95, sizeof(void*)*2 + 16, x_93); +x_96 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3; +x_97 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_15); +lean_ctor_set(x_97, 2, x_96); +lean_inc(x_13); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_13); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_PersistentArray_push___rarg(x_90, x_98); +if (lean_is_scalar(x_91)) { + x_100 = lean_alloc_ctor(0, 1, 8); +} else { + x_100 = x_91; +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set_uint64(x_100, sizeof(void*)*1, x_89); +if (lean_is_scalar(x_88)) { + x_101 = lean_alloc_ctor(0, 8, 0); +} else { + x_101 = x_88; +} +lean_ctor_set(x_101, 0, x_81); +lean_ctor_set(x_101, 1, x_82); +lean_ctor_set(x_101, 2, x_83); +lean_ctor_set(x_101, 3, x_100); +lean_ctor_set(x_101, 4, x_84); +lean_ctor_set(x_101, 5, x_85); +lean_ctor_set(x_101, 6, x_86); +lean_ctor_set(x_101, 7, x_87); +x_102 = lean_st_ref_set(x_11, x_101, x_80); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; +} else { + lean_dec_ref(x_102); + x_104 = lean_box(0); +} +x_105 = lean_box(0); +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(0, 2, 0); +} else { + x_106 = x_104; +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_103); +return x_106; +} +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("grind", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ring", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assert", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsat", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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_Meta_Grind_Arith_CommRing_setInconsistent___closed__1; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2; +x_3 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3; +x_4 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(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: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5; +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_dec(x_13); +x_23 = l_Lean_Meta_Grind_updateLastTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_25 = l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_denoteExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +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 = l_Lean_MessageData_ofExpr(x_26); +x_29 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6; +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) +{ +return x_25; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_23); +if (x_37 == 0) +{ +return x_23; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_23, 0); +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_23); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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: +{ +lean_object* x_12; +x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +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); +lean_dec(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} lean_object* initialize_Lean_Meta_Tactic_Grind_Diseq(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_ToExpr(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof(uint8_t builtin, lean_object* w) { @@ -1090,6 +2141,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_RingId(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_ToExpr(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -1097,6 +2151,14 @@ l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1 = _init_l_Lean_Meta_G lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__1); l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__2(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_toContextExpr___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_PreNullCert_unit___closed__4); l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__1); l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setNeUnsat___closed__2(); @@ -1135,8 +2197,6 @@ l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11 = _init_l_L lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__11); l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12 = _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__12); -l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13 = _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___lambda__1___closed__13); l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__1); l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__2(); @@ -1145,6 +2205,23 @@ l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__3 = _init_l_Lean_Meta_Grin lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__3); l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__4(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setEqUnsat___closed__4); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__1(); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__2); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__1); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__2); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__3); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__5); +l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6 = _init_l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_setInconsistent___closed__6); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c index fe201ba307..3cfbf2ed27 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Types.c @@ -25,6 +25,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__L static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPoly____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_175____closed__5; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instReprPower__lean___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedRing___closed__6; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprMon____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_67____closed__3; @@ -83,10 +84,12 @@ uint8_t lean_int_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__7; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr; static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9____closed__14; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPower____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_9_(lean_object*, lean_object*); @@ -1132,18 +1135,31 @@ static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrP _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__3; -x_2 = lean_alloc_ctor(0, 2, 0); +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Types_0__Lean_Meta_Grind_Arith_CommRing_reprPoly____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_Types___hyg_175____closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); return x_2; } } +static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__3; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4; +x_3 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof() { _start: { lean_object* x_1; -x_1 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4; +x_1 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5; return x_1; } } @@ -1162,7 +1178,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5; x_3 = lean_unsigned_to_nat(0u); x_4 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_4, 0, x_1); @@ -1277,6 +1293,24 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Grind_Arith_CommRing_SimpChain_getPoly(x_1); +lean_dec(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedRing___closed__1() { _start: { @@ -1518,6 +1552,8 @@ l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__3 = _init_l lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__3); l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4 = _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__4); +l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5 = _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof___closed__5); l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof = _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstrProof); l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_instInhabitedEqCnstr___closed__1(); diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 909f005192..5f6059224b 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -30,6 +30,7 @@ lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParam static lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__1; static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; static lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyGetPartialHandler___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyGetPartialHandler___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_handleOnDidChange(lean_object*, lean_object*, lean_object*); lean_object* lean_io_cancel(lean_object*, lean_object*); @@ -44,12 +45,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileW lean_object* l_Lean_Option_set___at_Lean_Environment_realizeConst___spec__3(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Json_toStructured_x3f___rarg(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__12; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_runRefreshTasks___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2764_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__30; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_throwServerError___rarg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_initializeWorker___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,9 +63,11 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_server_reportDelayMs; LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__43; static lean_object* l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__2; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3; static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___closed__2; LEAN_EXPORT lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_1231_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -72,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___boxed(lean_ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__5(lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__3; LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_mainLoop___spec__3___boxed(lean_object*, lean_object*); @@ -93,11 +98,11 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_F static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5___closed__5; LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(lean_object*, uint64_t, lean_object*); lean_object* lean_io_promise_new(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_initializeWorker___spec__5___at_Lean_Server_FileWorker_initializeWorker___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__51; LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_FileWorker_initializeWorker___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,6 +114,7 @@ static lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___ lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_runRefreshTasks_sleepWithCancellation___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*); static lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*); @@ -130,7 +136,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorke LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_FileWorker_importAllUnknownIdentifiersProvider; uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9; uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__35; static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__5___closed__2; @@ -173,8 +178,8 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__5; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__19; lean_object* l_Lean_Server_FileWorker_waitUnknownIdentifierRanges(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__40; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedJson; lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -182,11 +187,10 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendUntypedServerRequest(lean_ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__53; static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__6; lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__37; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runRefreshTasks___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Prod_map___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_Promise_isResolved___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2___boxed(lean_object*, lean_object*); @@ -224,7 +228,7 @@ lean_object* l_Lean_Server_RequestCancellationToken_cancelByEdit(lean_object*, l LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_emitRequestResponse___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runRefreshTasks_sleepWithCancellation___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_mkPublishDiagnosticsNotification(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_mainLoop(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoNotification___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,6 +264,7 @@ lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction_ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(lean_object*, lean_object*); lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_753_(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyPartialHandler(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -273,6 +278,7 @@ static lean_object* l_Array_qsort_sort___at___private_Lean_Server_FileWorker_0__ uint8_t lean_string_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg(lean_object*, lean_object*); lean_object* l_IO_CancelToken_new(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_552____spec__1(lean_object*, lean_object*); lean_object* lean_io_mono_ms_now(lean_object*); @@ -281,7 +287,6 @@ lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcKeepAlivePar LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoFinalNotification___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2953_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__14; @@ -289,7 +294,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_i lean_object* l_Lean_RBNode_appendTrees___rarg(lean_object*, lean_object*); uint8_t l_instDecidableNot___rarg(uint8_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__36; -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2; static lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_runRefreshTasks___spec__2___rarg___closed__1; static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkImportClosureNotification___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -316,7 +320,6 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); -static lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1; lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_handleCodeActionResolve___spec__1(lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleResponseError(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -326,6 +329,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_Worker lean_object* l_IO_FS_Stream_readLspMessage(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_initializeWorker___spec__5___at_Lean_Server_FileWorker_initializeWorker___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoUpdateNotification(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,6 +341,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_hand LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__47; static lean_object* l_Lean_Server_FileWorker_initializeWorker___lambda__1___closed__1; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5; lean_object* l_Lean_Server_FileWorker_RpcSession_keptAlive(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,6 +357,7 @@ lean_object* l___private_Lean_Data_Lsp_CancelParams_0__Lean_Lsp_fromJsonCancelPa static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initializeWorker___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__1___boxed(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_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_Utils_0__Lean_Server_FileWorker_mkCmdSnaps(lean_object*); lean_object* l_Lean_Server_mkFileProgressAtPosNotification(lean_object*, lean_object*, uint8_t); @@ -359,7 +365,6 @@ static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefres static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__38; lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____spec__3(size_t, size_t, lean_object*, lean_object*); lean_object* l_String_crlfToLf_go(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3; extern lean_object* l_Lean_Elab_async; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4(lean_object*, lean_object*); lean_object* l_IO_sleep(uint32_t, lean_object*); @@ -386,6 +391,7 @@ static lean_object* l_Lean_Server_FileWorker_mainLoop___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_initializeWorker___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__59; lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); lean_object* l_Lean_Server_ServerTask_BaseIO_asTask___rarg(lean_object*, lean_object*); @@ -402,6 +408,7 @@ static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___closed__ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_mapRequestTaskCostly___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(lean_object*, uint64_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_resolveServerRequestResponse___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_mainLoop___closed__2; static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__7___closed__2; @@ -413,6 +420,7 @@ lean_object* l_Lean_Server_RequestM_asTask___rarg(lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__32; lean_object* lean_get_stderr(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__45; static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_753____closed__8; LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__1(lean_object*); @@ -421,21 +429,21 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileW lean_object* l_Lean_Language_diagnosticsOfHeaderError(lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5___closed__7; uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9; lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____spec__1(size_t, size_t, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__70; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__3(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__46; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageLog_hasUnreported(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_handleDidChange___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runRefreshTasks(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1; lean_object* l_Lean_Server_RequestCancellationToken_cancelByCancelRequest(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_updateRequestsInFlight(lean_object*, lean_object*, lean_object*, lean_object*); @@ -452,7 +460,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__6___box lean_object* lean_get_set_stderr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__3; -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5; lean_object* l___private_Lean_Data_Lsp_Internal_0__Lean_Lsp_fromJsonLeanIleanInfoParams____x40_Lean_Data_Lsp_Internal___hyg_2105_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__44; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyGetPartialHandler___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -470,10 +477,13 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runR LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_570____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5___closed__6; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___closed__1; static lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_emitRequestResponse(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_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__27; static lean_object* l_Lean_Server_FileWorker_handleRequest___closed__1; lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); @@ -500,6 +510,7 @@ static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker static lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__5; static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__1; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(size_t, size_t, lean_object*); @@ -539,6 +550,7 @@ lean_object* l_Lean_Server_FileWorker_RpcSession_hasExpired(lean_object*, lean_o static lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanDidOpenTextDocumentParams____x40_Lean_Data_Lsp_Extra___hyg_203_(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_dedicated; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__2(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__26; @@ -558,7 +570,6 @@ static lean_object* l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__ lean_object* l_Std_DTreeMap_Internal_Impl_maxView___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5___closed__8; static lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_FileWorker_runRefreshTasks___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1; static lean_object* l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__1; @@ -583,7 +594,6 @@ lean_object* l_Lean_Server_foldDocumentChanges(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker___hyg_804_; static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__5; uint8_t lean_int_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,10 +602,12 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect(lean_object*, static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__5___closed__1; uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_initializeWorker___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Server_RequestCancellationToken_new(lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_minView___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker_mkLspOutputChannel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getNat_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runRefreshTasks_sleepWithCancellation___lambda__1___boxed(lean_object*, lean_object*); @@ -627,14 +639,13 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_WorkerContext_modif static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__6___closed__2; lean_object* l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(lean_object*, lean_object*, uint8_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__29; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4; lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyGetPartialHandler___rarg___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____spec__2(size_t, size_t, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__28; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(lean_object*, uint64_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyPartialHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -665,7 +676,6 @@ lean_object* l_Lean_Language_SnapshotTask_get___rarg(lean_object*); lean_object* lean_int_add(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics___spec__2(lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6; lean_object* lean_io_error_to_string(lean_object*); static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_753____closed__3; static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics___closed__2; @@ -681,29 +691,30 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxe LEAN_EXPORT lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runRefreshTasks_sleepWithCancellation___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__56; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_inServer; LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(uint64_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_mkFileProgressDoneNotification(lean_object*); lean_object* l_Lean_Server_moduleFromDocumentUri(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_runRefreshTasks___spec__2___boxed(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8; lean_object* lean_int_neg(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePostRequestSpecialCases___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_runRefreshTasks___spec__2___rarg___lambda__1___closed__1; static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__6___closed__1; @@ -715,7 +726,6 @@ static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorke static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__2; lean_object* l_Lean_Server_FileWorker_handleResolveImportAllUnknownIdentifiersCodeAction_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__65; -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13; lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__4___closed__1; @@ -727,30 +737,28 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initAndRunWorker(lean_object*, LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_modifyGetPartialHandler(lean_object*); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__6(lean_object*, lean_object*); lean_object* l_ImportCompletion_find(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__5___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_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_1213____spec__4(size_t, size_t, lean_object*); lean_object* l___private_Lean_Data_Lsp_Communication_0__IO_FS_Stream_readLspHeader(lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_753____closed__4; static lean_object* l_Lean_Server_FileWorker_setupImports___closed__1; +static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6; LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_runRefreshTasks___spec__2___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_emitRequestResponse_emitResponse(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4; static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___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___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_importsLoadedRef; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2(lean_object*); static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__54; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcConnected____x40_Lean_Data_Lsp_Extra___hyg_2176_(uint64_t); @@ -758,8 +766,6 @@ lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_handleLspRequest(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_instImpl____x40_Lean_Server_FileWorker___hyg_804____closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkImportClosureNotification(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -778,7 +784,6 @@ lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object* LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoUpdateNotification___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Server_FileWorker_handleCancelRequest___spec__1(lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2716_(lean_object*); static lean_object* _init_l_Lean_Server_FileWorker_instInhabitedPartialHandlerInfo___closed__1() { _start: { @@ -15353,16 +15358,19 @@ return x_3; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(x_5); -x_9 = 1; -x_10 = lean_usize_add(x_2, x_9); -x_11 = lean_array_uset(x_7, x_2, x_8); -x_2 = x_10; -x_3 = x_11; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(x_8); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_12 = lean_array_uset(x_7, x_2, x_9); +x_2 = x_11; +x_3 = x_12; goto _start; } } @@ -16339,7 +16347,77 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_2, x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_array_uget(x_3, x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_3, x_2, x_10); +x_12 = lean_io_promise_new(x_5); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_13); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = lean_array_uset(x_11, x_2, x_15); +x_2 = x_17; +x_3 = x_18; +x_5 = x_14; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_4); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -16940,15 +17018,12 @@ return x_6; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___lambda__5(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: { -size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; +size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; lean_object* x_17; x_9 = lean_array_size(x_5); x_10 = 0; x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__2(x_1, x_2, x_9, x_10, x_5, x_7, x_8); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); @@ -16957,191 +17032,234 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); -x_16 = lean_apply_3(x_3, x_14, x_15, x_13); -return x_16; -} -else +x_16 = lean_array_size(x_14); +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(x_16, x_10, x_14, x_15, x_13); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -x_18 = !lean_is_exclusive(x_12); -if (x_18 == 0) +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_4) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_4); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_12, 0); -x_21 = lean_ctor_get(x_12, 1); -x_22 = lean_ctor_get(x_4, 0); -x_23 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_12, 0, x_23); -lean_ctor_set(x_4, 0, x_12); -x_24 = lean_st_ref_set(x_22, x_4, x_17); -lean_dec(x_22); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_apply_3(x_3, x_20, x_21, x_25); -return x_26; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_apply_3(x_3, x_20, x_21, x_19); +return x_22; } else { -uint8_t x_27; -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_4); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +x_28 = lean_ctor_get(x_4, 0); +x_29 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; +lean_inc(x_26); +lean_ctor_set(x_18, 1, x_26); +lean_ctor_set(x_18, 0, x_29); +lean_ctor_set(x_4, 0, x_18); +x_30 = lean_st_ref_set(x_28, x_4, x_23); +lean_dec(x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_apply_3(x_3, x_26, x_27, x_31); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_27); +lean_dec(x_26); lean_dec(x_3); -x_27 = !lean_is_exclusive(x_24); -if (x_27 == 0) +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) { -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 0); -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_24); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); return x_30; } +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_30, 0); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_30); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_31 = lean_ctor_get(x_12, 0); -x_32 = lean_ctor_get(x_12, 1); -x_33 = lean_ctor_get(x_4, 0); -lean_inc(x_33); -lean_dec(x_4); -x_34 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; -lean_inc(x_31); -lean_ctor_set(x_12, 1, x_31); -lean_ctor_set(x_12, 0, x_34); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_12); -x_36 = lean_st_ref_set(x_33, x_35, x_17); -lean_dec(x_33); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_apply_3(x_3, x_31, x_32, x_37); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_3); -x_39 = lean_ctor_get(x_36, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_18, 0); +x_38 = lean_ctor_get(x_18, 1); +x_39 = lean_ctor_get(x_4, 0); lean_inc(x_39); -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_41 = x_36; -} else { - lean_dec_ref(x_36); - x_41 = lean_box(0); +lean_dec(x_4); +x_40 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; +lean_inc(x_37); +lean_ctor_set(x_18, 1, x_37); +lean_ctor_set(x_18, 0, x_40); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_18); +x_42 = lean_st_ref_set(x_39, x_41, x_23); +lean_dec(x_39); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_apply_3(x_3, x_37, x_38, x_43); +return x_44; } -if (lean_is_scalar(x_41)) { - x_42 = lean_alloc_ctor(1, 2, 0); +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_3); +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_47 = x_42; } else { - x_42 = x_41; + lean_dec_ref(x_42); + x_47 = lean_box(0); } -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_40); -return x_42; +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } } else { -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; -x_43 = lean_ctor_get(x_12, 0); -x_44 = lean_ctor_get(x_12, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_12); -x_45 = lean_ctor_get(x_4, 0); -lean_inc(x_45); +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; +x_49 = lean_ctor_get(x_18, 0); +x_50 = lean_ctor_get(x_18, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_18); +x_51 = lean_ctor_get(x_4, 0); +lean_inc(x_51); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); - x_46 = x_4; + x_52 = x_4; } else { lean_dec_ref(x_4); - x_46 = lean_box(0); + x_52 = lean_box(0); } -x_47 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; -lean_inc(x_43); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_43); -if (lean_is_scalar(x_46)) { - x_49 = lean_alloc_ctor(1, 1, 0); +x_53 = l_Lean_Server_FileWorker_instTypeNameMemorizedInteractiveDiagnostics; +lean_inc(x_49); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_49); +if (lean_is_scalar(x_52)) { + x_55 = lean_alloc_ctor(1, 1, 0); } else { - x_49 = x_46; + x_55 = x_52; } -lean_ctor_set(x_49, 0, x_48); -x_50 = lean_st_ref_set(x_45, x_49, x_17); -lean_dec(x_45); -if (lean_obj_tag(x_50) == 0) +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_st_ref_set(x_51, x_55, x_23); +lean_dec(x_51); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_apply_3(x_3, x_43, x_44, x_51); -return x_52; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_apply_3(x_3, x_49, x_50, x_57); +return x_58; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_44); -lean_dec(x_43); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_50); +lean_dec(x_49); lean_dec(x_3); -x_53 = lean_ctor_get(x_50, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_55 = x_50; +x_59 = lean_ctor_get(x_56, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_61 = x_56; } else { - lean_dec_ref(x_50); - x_55 = lean_box(0); + lean_dec_ref(x_56); + x_61 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(1, 2, 0); } else { - x_56 = x_55; + x_62 = x_61; } -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_60); +return x_62; } } } } +else +{ +uint8_t x_63; +lean_dec(x_4); +lean_dec(x_3); +x_63 = !lean_is_exclusive(x_17); +if (x_63 == 0) +{ +return x_17; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_17, 0); +x_65 = lean_ctor_get(x_17, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_17); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} } LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: @@ -17335,7 +17453,7 @@ x_33 = 0; x_34 = lean_usize_of_nat(x_23); lean_dec(x_23); x_35 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_36 = l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(x_19, x_33, x_34, x_35); +x_36 = l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4(x_19, x_33, x_34, x_35); lean_dec(x_19); x_37 = lean_box(0); x_38 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___lambda__5(x_1, x_2, x_13, x_14, x_36, x_37, x_18, x_16); @@ -17389,7 +17507,19 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(x_6, x_7, x_3, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4___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; @@ -17397,7 +17527,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_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleNode___spec__4(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } @@ -21128,7 +21258,7 @@ lean_dec(x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2716_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2764_(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -25896,30 +26026,33 @@ uint8_t x_6; x_6 = lean_usize_dec_eq(x_3, x_4); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; size_t x_12; size_t x_13; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; size_t x_13; size_t x_14; x_7 = lean_array_uget(x_2, x_3); -x_8 = lean_ctor_get(x_7, 6); +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -x_9 = l_Lean_Widget_TaggedText_stripTags___rarg(x_8); +x_9 = lean_ctor_get(x_8, 6); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_Widget_TaggedText_stripTags___rarg(x_9); lean_inc(x_1); -x_10 = l_Lean_Widget_TaggedText_stripTags___rarg(x_1); -x_11 = lean_string_dec_eq(x_9, x_10); +x_11 = l_Lean_Widget_TaggedText_stripTags___rarg(x_1); +x_12 = lean_string_dec_eq(x_10, x_11); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_12 = 1; -x_13 = lean_usize_add(x_3, x_12); -if (x_11 == 0) +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +if (x_12 == 0) { -lean_object* x_14; -x_14 = lean_array_push(x_5, x_7); -x_3 = x_13; -x_5 = x_14; +lean_object* x_15; +x_15 = lean_array_push(x_5, x_7); +x_3 = x_14; +x_5 = x_15; goto _start; } else { lean_dec(x_7); -x_3 = x_13; +x_3 = x_14; goto _start; } } @@ -25956,7 +26089,7 @@ x_4 = lean_st_ref_get(x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); x_8 = lean_ctor_get(x_6, 0); @@ -25970,97 +26103,210 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_17, 3); lean_inc(x_18); lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_string_utf8_byte_size(x_19); -lean_dec(x_19); -x_21 = l_Lean_FileMap_utf8PosToLspPos(x_18, x_20); -lean_dec(x_20); -x_22 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; +x_19 = lean_io_promise_new(x_7); +x_20 = !lean_is_exclusive(x_19); +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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +x_24 = lean_string_utf8_byte_size(x_23); +lean_dec(x_23); +x_25 = l_Lean_FileMap_utf8PosToLspPos(x_18, x_24); +lean_dec(x_24); +x_26 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; +lean_ctor_set(x_19, 1, x_25); +lean_ctor_set(x_19, 0, x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_19); +x_28 = lean_box(0); +x_29 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; +x_30 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__4; +x_31 = l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; +x_32 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_27); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_28); +lean_ctor_set(x_32, 4, x_28); +lean_ctor_set(x_32, 5, x_28); +lean_ctor_set(x_32, 6, x_31); +lean_ctor_set(x_32, 7, x_28); +lean_ctor_set(x_32, 8, x_28); +lean_ctor_set(x_32, 9, x_28); +lean_ctor_set(x_32, 10, x_28); lean_ctor_set(x_4, 1, x_21); -lean_ctor_set(x_4, 0, x_22); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_4); -x_24 = lean_box(0); -x_25 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; -x_26 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__4; -x_27 = l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; -x_28 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_23); -lean_ctor_set(x_28, 2, x_26); -lean_ctor_set(x_28, 3, x_24); -lean_ctor_set(x_28, 4, x_24); -lean_ctor_set(x_28, 5, x_24); -lean_ctor_set(x_28, 6, x_27); -lean_ctor_set(x_28, 7, x_24); -lean_ctor_set(x_28, 8, x_24); -lean_ctor_set(x_28, 9, x_24); -lean_ctor_set(x_28, 10, x_24); -x_29 = lean_ctor_get(x_1, 3); -lean_inc(x_29); -x_30 = lean_st_ref_take(x_29, x_7); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_array_get_size(x_31); -x_34 = lean_unsigned_to_nat(0u); -x_35 = lean_nat_dec_lt(x_34, x_33); -if (x_35 == 0) +lean_ctor_set(x_4, 0, x_32); +x_33 = lean_ctor_get(x_1, 3); +lean_inc(x_33); +x_34 = lean_st_ref_take(x_33, x_22); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_array_get_size(x_35); +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_nat_dec_lt(x_38, x_37); +if (x_39 == 0) { -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_dec(x_37); +lean_dec(x_35); +x_40 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_41 = lean_array_push(x_40, x_4); +x_42 = lean_st_ref_set(x_33, x_41, x_36); lean_dec(x_33); -lean_dec(x_31); -x_36 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_37 = lean_array_push(x_36, x_28); -x_38 = lean_st_ref_set(x_29, x_37, x_32); -lean_dec(x_29); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_10 = x_39; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_10 = x_43; goto block_16; } else { -uint8_t x_40; -x_40 = lean_nat_dec_le(x_33, x_33); -if (x_40 == 0) +uint8_t x_44; +x_44 = lean_nat_dec_le(x_37, x_37); +if (x_44 == 0) { -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_dec(x_37); +lean_dec(x_35); +x_45 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_46 = lean_array_push(x_45, x_4); +x_47 = lean_st_ref_set(x_33, x_46, x_36); lean_dec(x_33); -lean_dec(x_31); -x_41 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_42 = lean_array_push(x_41, x_28); -x_43 = lean_st_ref_set(x_29, x_42, x_32); -lean_dec(x_29); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_10 = x_44; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_10 = x_48; goto block_16; } else { -size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = 0; -x_46 = lean_usize_of_nat(x_33); +size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_49 = 0; +x_50 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_51 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_52 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(x_31, x_35, x_49, x_50, x_51); +lean_dec(x_35); +x_53 = lean_array_push(x_52, x_4); +x_54 = lean_st_ref_set(x_33, x_53, x_36); lean_dec(x_33); -x_47 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(x_27, x_31, x_45, x_46, x_47); -lean_dec(x_31); -x_49 = lean_array_push(x_48, x_28); -x_50 = lean_st_ref_set(x_29, x_49, x_32); -lean_dec(x_29); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_10 = x_51; +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_10 = x_55; goto block_16; } } +} +else +{ +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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_56 = lean_ctor_get(x_19, 0); +x_57 = lean_ctor_get(x_19, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_19); +x_58 = lean_ctor_get(x_18, 0); +lean_inc(x_58); +x_59 = lean_string_utf8_byte_size(x_58); +lean_dec(x_58); +x_60 = l_Lean_FileMap_utf8PosToLspPos(x_18, x_59); +lean_dec(x_59); +x_61 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_box(0); +x_65 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; +x_66 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__4; +x_67 = l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; +x_68 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_63); +lean_ctor_set(x_68, 2, x_66); +lean_ctor_set(x_68, 3, x_64); +lean_ctor_set(x_68, 4, x_64); +lean_ctor_set(x_68, 5, x_64); +lean_ctor_set(x_68, 6, x_67); +lean_ctor_set(x_68, 7, x_64); +lean_ctor_set(x_68, 8, x_64); +lean_ctor_set(x_68, 9, x_64); +lean_ctor_set(x_68, 10, x_64); +lean_ctor_set(x_4, 1, x_56); +lean_ctor_set(x_4, 0, x_68); +x_69 = lean_ctor_get(x_1, 3); +lean_inc(x_69); +x_70 = lean_st_ref_take(x_69, x_57); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_array_get_size(x_71); +x_74 = lean_unsigned_to_nat(0u); +x_75 = lean_nat_dec_lt(x_74, x_73); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_73); +lean_dec(x_71); +x_76 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_77 = lean_array_push(x_76, x_4); +x_78 = lean_st_ref_set(x_69, x_77, x_72); +lean_dec(x_69); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_10 = x_79; +goto block_16; +} +else +{ +uint8_t x_80; +x_80 = lean_nat_dec_le(x_73, x_73); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_73); +lean_dec(x_71); +x_81 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_82 = lean_array_push(x_81, x_4); +x_83 = lean_st_ref_set(x_69, x_82, x_72); +lean_dec(x_69); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_10 = x_84; +goto block_16; +} +else +{ +size_t x_85; size_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_85 = 0; +x_86 = lean_usize_of_nat(x_73); +lean_dec(x_73); +x_87 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_88 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(x_67, x_71, x_85, x_86, x_87); +lean_dec(x_71); +x_89 = lean_array_push(x_88, x_4); +x_90 = lean_st_ref_set(x_69, x_89, x_72); +lean_dec(x_69); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_10 = x_91; +goto block_16; +} +} +} block_16: { lean_object* x_11; uint8_t x_12; @@ -26087,139 +26333,159 @@ return x_15; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_4, 1); -lean_inc(x_53); -lean_inc(x_52); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 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; uint8_t x_127; +x_92 = lean_ctor_get(x_4, 0); +x_93 = lean_ctor_get(x_4, 1); +lean_inc(x_93); +lean_inc(x_92); lean_dec(x_4); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -lean_dec(x_54); -x_63 = lean_ctor_get(x_55, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_63, 3); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_string_utf8_byte_size(x_65); -lean_dec(x_65); -x_67 = l_Lean_FileMap_utf8PosToLspPos(x_64, x_66); -lean_dec(x_66); -x_68 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_69); -x_71 = lean_box(0); -x_72 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; -x_73 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__4; -x_74 = l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; -x_75 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_70); -lean_ctor_set(x_75, 2, x_73); -lean_ctor_set(x_75, 3, x_71); -lean_ctor_set(x_75, 4, x_71); -lean_ctor_set(x_75, 5, x_71); -lean_ctor_set(x_75, 6, x_74); -lean_ctor_set(x_75, 7, x_71); -lean_ctor_set(x_75, 8, x_71); -lean_ctor_set(x_75, 9, x_71); -lean_ctor_set(x_75, 10, x_71); -x_76 = lean_ctor_get(x_1, 3); -lean_inc(x_76); -x_77 = lean_st_ref_take(x_76, x_53); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_array_get_size(x_78); -x_81 = lean_unsigned_to_nat(0u); -x_82 = lean_nat_dec_lt(x_81, x_80); -if (x_82 == 0) +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +lean_dec(x_94); +x_103 = lean_ctor_get(x_95, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_103, 3); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_io_promise_new(x_93); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_108 = x_105; +} else { + lean_dec_ref(x_105); + x_108 = lean_box(0); +} +x_109 = lean_ctor_get(x_104, 0); +lean_inc(x_109); +x_110 = lean_string_utf8_byte_size(x_109); +lean_dec(x_109); +x_111 = l_Lean_FileMap_utf8PosToLspPos(x_104, x_110); +lean_dec(x_110); +x_112 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1; +if (lean_is_scalar(x_108)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_108; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_113); +x_115 = lean_box(0); +x_116 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__3; +x_117 = l_Lean_Server_FileWorker_setupImports___lambda__1___closed__4; +x_118 = l_Lean_Server_FileWorker_handleStaleDependency___rarg___closed__2; +x_119 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_114); +lean_ctor_set(x_119, 2, x_117); +lean_ctor_set(x_119, 3, x_115); +lean_ctor_set(x_119, 4, x_115); +lean_ctor_set(x_119, 5, x_115); +lean_ctor_set(x_119, 6, x_118); +lean_ctor_set(x_119, 7, x_115); +lean_ctor_set(x_119, 8, x_115); +lean_ctor_set(x_119, 9, x_115); +lean_ctor_set(x_119, 10, x_115); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_106); +x_121 = lean_ctor_get(x_1, 3); +lean_inc(x_121); +x_122 = lean_st_ref_take(x_121, x_107); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_125 = lean_array_get_size(x_123); +x_126 = lean_unsigned_to_nat(0u); +x_127 = lean_nat_dec_lt(x_126, x_125); +if (x_127 == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_80); -lean_dec(x_78); -x_83 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_84 = lean_array_push(x_83, x_75); -x_85 = lean_st_ref_set(x_76, x_84, x_79); -lean_dec(x_76); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_56 = x_86; -goto block_62; +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_125); +lean_dec(x_123); +x_128 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_129 = lean_array_push(x_128, x_120); +x_130 = lean_st_ref_set(x_121, x_129, x_124); +lean_dec(x_121); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +x_96 = x_131; +goto block_102; } else { -uint8_t x_87; -x_87 = lean_nat_dec_le(x_80, x_80); -if (x_87 == 0) +uint8_t x_132; +x_132 = lean_nat_dec_le(x_125, x_125); +if (x_132 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_80); -lean_dec(x_78); -x_88 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_89 = lean_array_push(x_88, x_75); -x_90 = lean_st_ref_set(x_76, x_89, x_79); -lean_dec(x_76); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_56 = x_91; -goto block_62; +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_125); +lean_dec(x_123); +x_133 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_134 = lean_array_push(x_133, x_120); +x_135 = lean_st_ref_set(x_121, x_134, x_124); +lean_dec(x_121); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +lean_dec(x_135); +x_96 = x_136; +goto block_102; } else { -size_t x_92; size_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_92 = 0; -x_93 = lean_usize_of_nat(x_80); -lean_dec(x_80); -x_94 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_95 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(x_74, x_78, x_92, x_93, x_94); -lean_dec(x_78); -x_96 = lean_array_push(x_95, x_75); -x_97 = lean_st_ref_set(x_76, x_96, x_79); -lean_dec(x_76); -x_98 = lean_ctor_get(x_97, 1); +size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_137 = 0; +x_138 = lean_usize_of_nat(x_125); +lean_dec(x_125); +x_139 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_140 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleStaleDependency___spec__1(x_118, x_123, x_137, x_138, x_139); +lean_dec(x_123); +x_141 = lean_array_push(x_140, x_120); +x_142 = lean_st_ref_set(x_121, x_141, x_124); +lean_dec(x_121); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +x_96 = x_143; +goto block_102; +} +} +block_102: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_97 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics(x_1, x_95, x_96); +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_97); -x_56 = x_98; -goto block_62; -} -} -block_62: -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishDiagnostics(x_1, x_55, x_56); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_60 = x_57; +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_100 = x_97; } else { - lean_dec_ref(x_57); - x_60 = lean_box(0); + lean_dec_ref(x_97); + x_100 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_60; + x_101 = x_100; } -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +return x_101; } } } @@ -33574,405 +33840,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = lean_usize_dec_eq(x_3, x_4); -if (x_6 == 0) -{ -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; size_t x_15; size_t x_16; -x_7 = lean_array_uget(x_2, x_3); -x_8 = l_Lean_Lsp_DiagnosticWith_fullRange___rarg(x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_3, x_15); -if (x_14 == 0) -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_17; -lean_dec(x_11); -lean_dec(x_10); -x_17 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_17; -goto _start; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_19 = lean_ctor_get(x_1, 0); -x_20 = lean_ctor_get(x_11, 0); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_20, x_21); -lean_dec(x_20); -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -x_25 = lean_nat_dec_le(x_23, x_10); -if (x_25 == 0) -{ -uint8_t x_26; -x_26 = lean_nat_dec_le(x_10, x_23); -lean_dec(x_10); -if (x_26 == 0) -{ -lean_dec(x_22); -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -uint8_t x_28; -x_28 = lean_nat_dec_lt(x_23, x_22); -lean_dec(x_22); -if (x_28 == 0) -{ -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -lean_object* x_30; -x_30 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_30; -goto _start; -} -} -} -else -{ -uint8_t x_32; -x_32 = lean_nat_dec_lt(x_10, x_24); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_nat_dec_le(x_10, x_23); -lean_dec(x_10); -if (x_33 == 0) -{ -lean_dec(x_22); -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -uint8_t x_35; -x_35 = lean_nat_dec_lt(x_23, x_22); -lean_dec(x_22); -if (x_35 == 0) -{ -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -lean_object* x_37; -x_37 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_37; -goto _start; -} -} -} -else -{ -lean_object* x_39; -lean_dec(x_22); -lean_dec(x_10); -x_39 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_39; -goto _start; -} -} -} -} -else -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_41; -lean_dec(x_11); -lean_dec(x_10); -x_41 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_41; -goto _start; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_43 = lean_ctor_get(x_1, 0); -x_44 = lean_ctor_get(x_11, 0); -lean_inc(x_44); -lean_dec(x_11); -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); -x_47 = lean_nat_dec_le(x_45, x_10); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = lean_nat_dec_le(x_10, x_45); -lean_dec(x_10); -if (x_48 == 0) -{ -lean_dec(x_44); -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -uint8_t x_50; -x_50 = lean_nat_dec_lt(x_45, x_44); -lean_dec(x_44); -if (x_50 == 0) -{ -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -lean_object* x_52; -x_52 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_52; -goto _start; -} -} -} -else -{ -uint8_t x_54; -x_54 = lean_nat_dec_lt(x_10, x_46); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_nat_dec_le(x_10, x_45); -lean_dec(x_10); -if (x_55 == 0) -{ -lean_dec(x_44); -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -uint8_t x_57; -x_57 = lean_nat_dec_lt(x_45, x_44); -lean_dec(x_44); -if (x_57 == 0) -{ -lean_dec(x_7); -x_3 = x_16; -goto _start; -} -else -{ -lean_object* x_59; -x_59 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_59; -goto _start; -} -} -} -else -{ -lean_object* x_61; -lean_dec(x_44); -lean_dec(x_10); -x_61 = lean_array_push(x_5, x_7); -x_3 = x_16; -x_5 = x_61; -goto _start; -} -} -} -} -} -else -{ -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_5 = l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_1, 3); -x_9 = lean_st_ref_get(x_8, x_7); -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_6, 0); -lean_inc(x_12); -lean_dec(x_6); -x_13 = lean_ctor_get(x_12, 3); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_st_ref_get(x_13, x_11); -lean_dec(x_13); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_14, 0); -x_17 = l_Array_append___rarg(x_10, x_16); -lean_dec(x_16); -x_18 = lean_array_get_size(x_17); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_nat_dec_lt(x_19, x_18); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_18); -lean_dec(x_17); -x_21 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -lean_ctor_set(x_14, 0, x_21); -return x_14; -} -else -{ -uint8_t x_22; -x_22 = lean_nat_dec_le(x_18, x_18); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_18); -lean_dec(x_17); -x_23 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -lean_ctor_set(x_14, 0, x_23); -return x_14; -} -else -{ -size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; -x_24 = 0; -x_25 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_26 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(x_2, x_17, x_24, x_25, x_26); -lean_dec(x_17); -lean_ctor_set(x_14, 0, x_27); -return x_14; -} -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_28 = lean_ctor_get(x_14, 0); -x_29 = lean_ctor_get(x_14, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_14); -x_30 = l_Array_append___rarg(x_10, x_28); -lean_dec(x_28); -x_31 = lean_array_get_size(x_30); -x_32 = lean_unsigned_to_nat(0u); -x_33 = lean_nat_dec_lt(x_32, x_31); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_31); -lean_dec(x_30); -x_34 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_29); -return x_35; -} -else -{ -uint8_t x_36; -x_36 = lean_nat_dec_le(x_31, x_31); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_31); -lean_dec(x_30); -x_37 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_29); -return x_38; -} -else -{ -size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = 0; -x_40 = lean_usize_of_nat(x_31); -lean_dec(x_31); -x_41 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(x_2, x_30, x_39, x_40, x_41); -lean_dec(x_30); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_29); -return x_43; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(x_1, x_2, x_6, x_7, x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1() { _start: { lean_object* x_1; @@ -33980,7 +33848,7 @@ x_1 = lean_mk_string_unchecked("Cannot parse request params: ", 29, 29); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -33995,7 +33863,7 @@ if (x_3 == 0) 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; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; @@ -34018,7 +33886,7 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); x_19 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; @@ -34058,17 +33926,17 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2(x_1); +x_4 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2(x_1); x_5 = l_EIO_ofExcept___rarg(x_4, x_3); lean_dec(x_4); return x_5; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1() { _start: { lean_object* x_1; @@ -34076,7 +33944,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableMsgEmbed_enc____x return x_1; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -34085,27 +33953,27 @@ x_2 = l_Lean_JsonNumber_fromNat(x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -34114,27 +33982,27 @@ x_2 = l_Lean_JsonNumber_fromNat(x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -34143,27 +34011,27 @@ x_2 = l_Lean_JsonNumber_fromNat(x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -34172,27 +34040,27 @@ x_2 = l_Lean_JsonNumber_fromNat(x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13() { +static lean_object* _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12; +x_1 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3(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_203; @@ -34262,7 +34130,7 @@ switch (x_197) { case 0: { lean_object* x_198; -x_198 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4; +x_198 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4; x_7 = x_198; x_8 = x_6; goto block_193; @@ -34270,7 +34138,7 @@ goto block_193; case 1: { lean_object* x_199; -x_199 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7; +x_199 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7; x_7 = x_199; x_8 = x_6; goto block_193; @@ -34278,7 +34146,7 @@ goto block_193; case 2: { lean_object* x_200; -x_200 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10; +x_200 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10; x_7 = x_200; x_8 = x_6; goto block_193; @@ -34286,7 +34154,7 @@ goto block_193; default: { lean_object* x_201; -x_201 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13; +x_201 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13; x_7 = x_201; x_8 = x_6; goto block_193; @@ -34533,7 +34401,7 @@ block_146: 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_124; x_15 = lean_ctor_get(x_1, 6); lean_inc(x_15); -x_16 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1; +x_16 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1; x_17 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_570____spec__1(x_16, x_15, x_14); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); @@ -35056,7 +34924,212 @@ return x_99; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_st_ref_take(x_1, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_8); +if (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; lean_object* x_18; uint8_t x_19; +x_12 = lean_ctor_get(x_8, 0); +x_13 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3(x_10, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_ctor_set(x_8, 0, x_15); +x_16 = lean_st_ref_set(x_1, x_8, x_9); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_io_promise_resolve(x_14, x_3, x_17); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1; +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_25 = lean_ctor_get(x_8, 0); +x_26 = lean_ctor_get(x_8, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_8); +x_27 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3(x_10, x_25); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_26); +x_31 = lean_st_ref_set(x_1, x_30, x_9); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_io_promise_resolve(x_28, x_3, x_32); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1; +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_35; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_6, x_5); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_7); +x_12 = lean_array_uget(x_4, x_6); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = l_IO_Promise_isResolved___rarg(x_13, x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_box(0); +x_19 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1(x_1, x_12, x_13, x_18, x_8, x_17); +lean_dec(x_13); +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_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = 1; +x_24 = lean_usize_add(x_6, x_23); +x_6 = x_24; +x_7 = x_22; +x_9 = x_21; +goto _start; +} +else +{ +lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +lean_dec(x_13); +lean_dec(x_12); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_dec(x_14); +x_27 = 1; +x_28 = lean_usize_add(x_6, x_27); +x_29 = lean_box(0); +x_6 = x_28; +x_7 = x_29; +x_9 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l_IO_Promise_result_x21___rarg(x_8); +lean_dec(x_8); +x_10 = lean_task_get_own(x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -35071,26 +35144,616 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; +lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; x_7 = lean_array_uget(x_3, x_2); x_8 = lean_unsigned_to_nat(0u); x_9 = lean_array_uset(x_3, x_2, x_8); -x_10 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3(x_7, x_4); -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 = 1; -x_14 = lean_usize_add(x_2, x_13); -x_15 = lean_array_uset(x_9, x_2, x_11); -x_2 = x_14; -x_3 = x_15; -x_4 = x_12; +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_12 = lean_array_uset(x_9, x_2, x_7); +x_2 = x_11; +x_3 = x_12; goto _start; } } } +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_3, x_4); +if (x_6 == 0) +{ +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; uint8_t x_15; size_t x_16; size_t x_17; +x_7 = lean_array_uget(x_2, x_3); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = l_Lean_Lsp_DiagnosticWith_fullRange___rarg(x_8); +lean_dec(x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +if (x_15 == 0) +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_18; +lean_dec(x_12); +lean_dec(x_11); +x_18 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_18; +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_21, x_22); +lean_dec(x_21); +x_24 = lean_ctor_get(x_20, 0); +x_25 = lean_ctor_get(x_20, 1); +x_26 = lean_nat_dec_le(x_24, x_11); +if (x_26 == 0) +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_11, x_24); +lean_dec(x_11); +if (x_27 == 0) +{ +lean_dec(x_23); +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +uint8_t x_29; +x_29 = lean_nat_dec_lt(x_24, x_23); +lean_dec(x_23); +if (x_29 == 0) +{ +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +lean_object* x_31; +x_31 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_31; +goto _start; +} +} +} +else +{ +uint8_t x_33; +x_33 = lean_nat_dec_lt(x_11, x_25); +if (x_33 == 0) +{ +uint8_t x_34; +x_34 = lean_nat_dec_le(x_11, x_24); +lean_dec(x_11); +if (x_34 == 0) +{ +lean_dec(x_23); +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +uint8_t x_36; +x_36 = lean_nat_dec_lt(x_24, x_23); +lean_dec(x_23); +if (x_36 == 0) +{ +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +lean_object* x_38; +x_38 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_38; +goto _start; +} +} +} +else +{ +lean_object* x_40; +lean_dec(x_23); +lean_dec(x_11); +x_40 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_40; +goto _start; +} +} +} +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_42; +lean_dec(x_12); +lean_dec(x_11); +x_42 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_1, 0); +x_45 = lean_ctor_get(x_12, 0); +lean_inc(x_45); +lean_dec(x_12); +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_ctor_get(x_44, 1); +x_48 = lean_nat_dec_le(x_46, x_11); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = lean_nat_dec_le(x_11, x_46); +lean_dec(x_11); +if (x_49 == 0) +{ +lean_dec(x_45); +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +uint8_t x_51; +x_51 = lean_nat_dec_lt(x_46, x_45); +lean_dec(x_45); +if (x_51 == 0) +{ +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +lean_object* x_53; +x_53 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_53; +goto _start; +} +} +} +else +{ +uint8_t x_55; +x_55 = lean_nat_dec_lt(x_11, x_47); +if (x_55 == 0) +{ +uint8_t x_56; +x_56 = lean_nat_dec_le(x_11, x_46); +lean_dec(x_11); +if (x_56 == 0) +{ +lean_dec(x_45); +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +uint8_t x_58; +x_58 = lean_nat_dec_lt(x_46, x_45); +lean_dec(x_45); +if (x_58 == 0) +{ +lean_dec(x_7); +x_3 = x_17; +goto _start; +} +else +{ +lean_object* x_60; +x_60 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_60; +goto _start; +} +} +} +else +{ +lean_object* x_62; +lean_dec(x_45); +lean_dec(x_11); +x_62 = lean_array_push(x_5, x_7); +x_3 = x_17; +x_5 = x_62; +goto _start; +} +} +} +} +} +else +{ +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint64_t x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 4); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); +x_8 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_9 = l_Lean_Server_RequestError_rpcNeedsReconnect; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + x_12 = x_8; +} else { + lean_dec_ref(x_8); + x_12 = lean_box(0); +} +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_dec(x_3); +x_14 = l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(x_13, x_4, x_5); +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; 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; uint8_t x_32; lean_object* x_33; size_t x_34; lean_object* x_35; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Server_RequestM_readDoc___at_Lean_Server_RequestM_withWaitFindSnapAtPos___spec__1(x_4, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_1, 3); +x_21 = lean_st_ref_get(x_20, x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +lean_dec(x_18); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_st_ref_get(x_25, x_23); +lean_dec(x_25); +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 = l_Array_append___rarg(x_22, x_27); +lean_dec(x_27); +x_30 = lean_array_get_size(x_29); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_nat_dec_lt(x_31, x_30); +x_33 = lean_box(0); +x_34 = 0; +if (x_32 == 0) +{ +lean_object* x_79; +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_15); +x_79 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_35 = x_79; +goto block_78; +} +else +{ +uint8_t x_80; +x_80 = lean_nat_dec_le(x_30, x_30); +if (x_80 == 0) +{ +lean_object* x_81; +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_15); +x_81 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_35 = x_81; +goto block_78; +} +else +{ +size_t x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_83 = l_Array_filterMapM___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress___spec__1___closed__1; +x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7(x_15, x_29, x_34, x_82, x_83); +lean_dec(x_29); +lean_dec(x_15); +x_35 = x_84; +goto block_78; +} +} +block_78: +{ +size_t 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; uint8_t x_44; +x_36 = lean_array_size(x_35); +x_37 = lean_box(0); +x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4(x_11, x_33, x_35, x_35, x_36, x_34, x_37, x_4, x_28); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5(x_36, x_34, x_35); +x_41 = lean_st_ref_take(x_11, x_39); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_45 = lean_ctor_get(x_42, 0); +x_46 = lean_array_size(x_40); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6(x_46, x_34, x_40, x_45); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_array_size(x_48); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_50, x_34, x_48); +if (lean_is_scalar(x_12)) { + x_52 = lean_alloc_ctor(4, 1, 0); +} else { + x_52 = x_12; + lean_ctor_set_tag(x_52, 4); +} +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_42, 0, x_49); +x_53 = lean_st_ref_set(x_11, x_42, x_43); +lean_dec(x_11); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +x_56 = 1; +x_57 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56); +lean_ctor_set(x_53, 0, x_57); +return x_53; +} +else +{ +lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); +lean_dec(x_53); +x_59 = 1; +x_60 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_60, 0, x_52); +lean_ctor_set_uint8(x_60, sizeof(void*)*1, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_58); +return x_61; +} +} +else +{ +lean_object* x_62; lean_object* x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; size_t 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; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_62 = lean_ctor_get(x_42, 0); +x_63 = lean_ctor_get(x_42, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_42); +x_64 = lean_array_size(x_40); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6(x_64, x_34, x_40, x_62); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_array_size(x_66); +x_69 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_68, x_34, x_66); +if (lean_is_scalar(x_12)) { + x_70 = lean_alloc_ctor(4, 1, 0); +} else { + x_70 = x_12; + lean_ctor_set_tag(x_70, 4); +} +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_63); +x_72 = lean_st_ref_set(x_11, x_71, x_43); +lean_dec(x_11); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_74 = x_72; +} else { + lean_dec_ref(x_72); + x_74 = lean_box(0); +} +x_75 = 1; +x_76 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_76, 0, x_70); +lean_ctor_set_uint8(x_76, sizeof(void*)*1, x_75); +if (lean_is_scalar(x_74)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_74; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_73); +return x_77; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_12); +lean_dec(x_11); +x_85 = !lean_is_exclusive(x_14); +if (x_85 == 0) +{ +return x_14; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_14, 0); +x_87 = lean_ctor_get(x_14, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_14); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__5(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6___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_1); +lean_dec(x_1); +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__6(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__7(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -35318,366 +35981,66 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(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: { -lean_inc(x_1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__6(lean_object* x_1, lean_object* x_2) { -_start: +lean_object* x_7; +x_7 = l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(x_1, x_2, x_3, x_5, x_6); +if (lean_obj_tag(x_7) == 0) { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) { -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_dec(x_4); -lean_ctor_set(x_1, 0, x_2); -return x_1; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = lean_task_pure(x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_7, 0, x_12); +return x_7; } else { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_5); -return x_6; -} -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5___boxed), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7(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: -{ -lean_object* x_7; uint64_t x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_1, 4); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); -x_9 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_2); -x_10 = l_Lean_Server_RequestError_rpcNeedsReconnect; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_6); -return x_11; -} -else -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_2, 2); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); lean_inc(x_14); -lean_dec(x_2); -x_15 = l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1(x_14, x_5, x_6); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_13); +lean_dec(x_7); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_task_pure(x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_14); +return x_18; +} +} +else { -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; size_t x_26; size_t x_27; lean_object* x_28; uint8_t x_29; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(x_3, x_16, x_5, x_17); -lean_dec(x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +uint8_t x_19; +x_19 = !lean_is_exclusive(x_7); +if (x_19 == 0) +{ +return x_7; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_7, 0); +x_21 = lean_ctor_get(x_7, 1); +lean_inc(x_21); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_take(x_13, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -lean_inc(x_22); -x_24 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__6), 2, 1); -lean_closure_set(x_24, 0, x_22); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_array_size(x_19); -x_27 = 0; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4(x_26, x_27, x_19, x_25); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -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; uint8_t x_39; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_array_size(x_30); -x_32 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_31, x_27, x_30); -x_33 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_28, 0, x_33); -x_34 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1; -x_35 = l_Prod_map___rarg(x_34, x_24, x_28); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_st_ref_set(x_13, x_37, x_23); -lean_dec(x_13); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -x_41 = 1; -x_42 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set_uint8(x_42, sizeof(void*)*1, x_41); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = lean_task_pure(x_43); -lean_ctor_set(x_9, 0, x_44); -lean_ctor_set(x_38, 0, x_9); -return x_38; -} -else -{ -lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_ctor_get(x_38, 1); -lean_inc(x_45); -lean_dec(x_38); -x_46 = 1; -x_47 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_46); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = lean_task_pure(x_48); -lean_ctor_set(x_9, 0, x_49); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_9); -lean_ctor_set(x_50, 1, x_45); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; size_t 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_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_51 = lean_ctor_get(x_28, 0); -x_52 = lean_ctor_get(x_28, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_28); -x_53 = lean_array_size(x_51); -x_54 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_53, x_27, x_51); -x_55 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_52); -x_57 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1; -x_58 = l_Prod_map___rarg(x_57, x_24, x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_st_ref_set(x_13, x_60, x_23); -lean_dec(x_13); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; -} else { - lean_dec_ref(x_61); - x_63 = lean_box(0); -} -x_64 = 1; -x_65 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_64); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_67 = lean_task_pure(x_66); -lean_ctor_set(x_9, 0, x_67); -if (lean_is_scalar(x_63)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_63; -} -lean_ctor_set(x_68, 0, x_9); -lean_ctor_set(x_68, 1, x_62); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_free_object(x_9); -lean_dec(x_13); -x_69 = !lean_is_exclusive(x_15); -if (x_69 == 0) -{ -return x_15; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_15, 0); -x_71 = lean_ctor_get(x_15, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_15); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_9, 0); -lean_inc(x_73); -lean_dec(x_9); -x_74 = lean_ctor_get(x_2, 2); -lean_inc(x_74); -lean_dec(x_2); -x_75 = l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1(x_74, x_5, x_6); -if (lean_obj_tag(x_75) == 0) -{ -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; size_t x_86; size_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; size_t 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; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest(x_3, x_76, x_5, x_77); -lean_dec(x_76); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_st_ref_take(x_73, x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -lean_inc(x_82); -x_84 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__6), 2, 1); -lean_closure_set(x_84, 0, x_82); -x_85 = lean_ctor_get(x_82, 0); -lean_inc(x_85); -lean_dec(x_82); -x_86 = lean_array_size(x_79); -x_87 = 0; -x_88 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4(x_86, x_87, x_79, x_85); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_91 = x_88; -} else { - lean_dec_ref(x_88); - x_91 = lean_box(0); -} -x_92 = lean_array_size(x_89); -x_93 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_92, x_87, x_89); -x_94 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_94, 0, x_93); -if (lean_is_scalar(x_91)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_91; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_90); -x_96 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1; -x_97 = l_Prod_map___rarg(x_96, x_84, x_95); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_st_ref_set(x_73, x_99, x_83); -lean_dec(x_73); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -x_103 = 1; -x_104 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_104, 0, x_98); -lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_103); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_106 = lean_task_pure(x_105); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_106); -if (lean_is_scalar(x_102)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_102; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_101); -return x_108; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_73); -x_109 = lean_ctor_get(x_75, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_75, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_111 = x_75; -} else { - lean_dec_ref(x_75); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} +lean_dec(x_7); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -35981,7 +36344,7 @@ else lean_object* x_60; lean_object* x_61; lean_free_object(x_52); x_60 = lean_box(0); -x_61 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7(x_2, x_54, x_1, x_60, x_6, x_55); +x_61 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(x_1, x_2, x_54, x_60, x_6, x_55); lean_dec(x_6); return x_61; } @@ -36015,7 +36378,7 @@ else { lean_object* x_69; lean_object* x_70; x_69 = lean_box(0); -x_70 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7(x_2, x_62, x_1, x_69, x_6, x_63); +x_70 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(x_1, x_2, x_62, x_69, x_6, x_63); lean_dec(x_6); return x_70; } @@ -36048,27 +36411,6 @@ return x_74; } } } -LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Server_RequestM_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__1(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4___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_1); -lean_dec(x_1); -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__4(x_5, x_6, x_3, x_4); -return x_7; -} -} LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -36106,23 +36448,14 @@ lean_dec(x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___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_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5___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: { lean_object* x_7; -x_7 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_1); return x_7; } } @@ -50969,7 +51302,7 @@ l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___l lean_mark_persistent(l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__5___closed__2); l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___closed__1 = _init_l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___closed__1(); lean_mark_persistent(l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___closed__1); -if (builtin) {res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2716_(lean_io_mk_world()); +if (builtin) {res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker___hyg_2764_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_importsLoadedRef = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_importsLoadedRef); @@ -51050,36 +51383,36 @@ l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__1 = _ini lean_mark_persistent(l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__1); l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__2 = _init_l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__2(); lean_mark_persistent(l_Lean_Server_FileWorker_handleStatefulPreRequestSpecialCases___closed__2); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__2___closed__1); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__1); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__2); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__3); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__4); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__5); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__6); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__7); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__8); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__9); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__10); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__11); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__12); -l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___spec__3___closed__13); -l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1 = _init_l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___lambda__7___closed__1); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__2___closed__1); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__1); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__2); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__3); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__4); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__5); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__6); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__7); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__8); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__9); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__10); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__11); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__12); +l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1853____at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__3___closed__13); +l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__4___lambda__1___closed__1); l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__1 = _init_l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__1); l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__2 = _init_l_Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f___closed__2(); diff --git a/stage0/stdlib/Lean/Util/Profiler.c b/stage0/stdlib/Lean/Util/Profiler.c index 2af0e2936a..f79737c0f4 100644 --- a/stage0/stdlib/Lean/Util/Profiler.c +++ b/stage0/stdlib/Lean/Util/Profiler.c @@ -52305,7 +52305,7 @@ lean_dec(x_45); x_46 = !lean_is_exclusive(x_38); if (x_46 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; double x_57; double x_58; double x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; double 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; uint8_t x_73; +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; uint8_t x_55; lean_object* x_56; double x_57; double x_58; double x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; double 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; uint8_t x_75; x_47 = lean_ctor_get(x_38, 0); x_48 = lean_ctor_get(x_38, 1); x_49 = lean_ctor_get(x_38, 2); @@ -52343,51 +52343,55 @@ lean_ctor_set(x_38, 3, x_72); lean_ctor_set(x_38, 2, x_67); lean_ctor_set(x_38, 1, x_61); lean_ctor_set(x_38, 0, x_53); -x_73 = !lean_is_exclusive(x_40); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; size_t x_79; size_t x_80; lean_object* x_81; uint8_t x_82; +x_73 = lean_ctor_get(x_40, 0); +lean_inc(x_73); x_74 = lean_ctor_get(x_40, 0); -x_75 = lean_ctor_get(x_40, 0); +lean_inc(x_74); +x_75 = !lean_is_exclusive(x_40); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; size_t x_81; lean_object* x_82; uint8_t x_83; x_76 = lean_ctor_get(x_40, 1); -x_77 = lean_array_get_size(x_76); -x_78 = lean_usize_of_nat(x_77); +x_77 = lean_ctor_get(x_40, 0); lean_dec(x_77); -x_79 = lean_usize_sub(x_78, x_31); -x_80 = lean_usize_land(x_29, x_79); -x_81 = lean_array_uget(x_76, x_80); -x_82 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_81); -if (x_82 == 0) +x_78 = lean_array_get_size(x_76); +x_79 = lean_usize_of_nat(x_78); +lean_dec(x_78); +x_80 = lean_usize_sub(x_79, x_31); +x_81 = lean_usize_land(x_29, x_80); +x_82 = lean_array_uget(x_76, x_81); +x_83 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_82); +if (x_83 == 0) { -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; uint8_t x_91; -x_83 = lean_nat_add(x_75, x_70); -lean_dec(x_75); -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_19); -lean_ctor_set(x_84, 1, x_74); -lean_ctor_set(x_84, 2, x_81); -x_85 = lean_array_uset(x_76, x_80, x_84); -x_86 = lean_unsigned_to_nat(4u); -x_87 = lean_nat_mul(x_83, x_86); -x_88 = lean_unsigned_to_nat(3u); -x_89 = lean_nat_div(x_87, x_88); -lean_dec(x_87); -x_90 = lean_array_get_size(x_85); -x_91 = lean_nat_dec_le(x_89, x_90); +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; uint8_t x_92; +x_84 = lean_nat_add(x_74, x_70); +lean_dec(x_74); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_19); +lean_ctor_set(x_85, 1, x_73); +lean_ctor_set(x_85, 2, x_82); +x_86 = lean_array_uset(x_76, x_81, x_85); +x_87 = lean_unsigned_to_nat(4u); +x_88 = lean_nat_mul(x_84, x_87); +x_89 = lean_unsigned_to_nat(3u); +x_90 = lean_nat_div(x_88, x_89); +lean_dec(x_88); +x_91 = lean_array_get_size(x_86); +x_92 = lean_nat_dec_le(x_90, x_91); +lean_dec(x_91); lean_dec(x_90); -lean_dec(x_89); -if (x_91 == 0) +if (x_92 == 0) { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_85); -lean_ctor_set(x_40, 1, x_92); -lean_ctor_set(x_40, 0, x_83); -x_93 = lean_ctor_get(x_4, 2); -x_94 = lean_nat_add(x_6, x_93); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_86); +lean_ctor_set(x_40, 1, x_93); +lean_ctor_set(x_40, 0, x_84); +x_94 = lean_ctor_get(x_4, 2); +x_95 = lean_nat_add(x_6, x_94); lean_dec(x_6); -x_95 = lean_box(0); -x_5 = x_95; -x_6 = x_94; +x_96 = lean_box(0); +x_5 = x_96; +x_6 = x_95; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52395,15 +52399,15 @@ goto _start; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_ctor_set(x_40, 1, x_85); -lean_ctor_set(x_40, 0, x_83); -x_97 = lean_ctor_get(x_4, 2); -x_98 = lean_nat_add(x_6, x_97); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_ctor_set(x_40, 1, x_86); +lean_ctor_set(x_40, 0, x_84); +x_98 = lean_ctor_get(x_4, 2); +x_99 = lean_nat_add(x_6, x_98); lean_dec(x_6); -x_99 = lean_box(0); -x_5 = x_99; -x_6 = x_98; +x_100 = lean_box(0); +x_5 = x_100; +x_6 = x_99; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52412,18 +52416,18 @@ goto _start; } else { -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_101 = lean_box(0); -x_102 = lean_array_uset(x_76, x_80, x_101); -x_103 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_74, x_81); -x_104 = lean_array_uset(x_102, x_80, x_103); -lean_ctor_set(x_40, 1, x_104); -x_105 = lean_ctor_get(x_4, 2); -x_106 = lean_nat_add(x_6, x_105); +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_102 = lean_box(0); +x_103 = lean_array_uset(x_76, x_81, x_102); +x_104 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_73, x_82); +x_105 = lean_array_uset(x_103, x_81, x_104); +lean_ctor_set(x_40, 1, x_105); +x_106 = lean_ctor_get(x_4, 2); +x_107 = lean_nat_add(x_6, x_106); lean_dec(x_6); -x_107 = lean_box(0); -x_5 = x_107; -x_6 = x_106; +x_108 = lean_box(0); +x_5 = x_108; +x_6 = x_107; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52432,53 +52436,50 @@ goto _start; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; size_t x_114; size_t x_115; lean_object* x_116; uint8_t x_117; -x_109 = lean_ctor_get(x_40, 0); -x_110 = lean_ctor_get(x_40, 0); -x_111 = lean_ctor_get(x_40, 1); -lean_inc(x_111); -lean_inc(x_109); +lean_object* x_110; lean_object* x_111; size_t x_112; size_t x_113; size_t x_114; lean_object* x_115; uint8_t x_116; +x_110 = lean_ctor_get(x_40, 1); +lean_inc(x_110); lean_dec(x_40); -x_112 = lean_array_get_size(x_111); -x_113 = lean_usize_of_nat(x_112); -lean_dec(x_112); -x_114 = lean_usize_sub(x_113, x_31); -x_115 = lean_usize_land(x_29, x_114); -x_116 = lean_array_uget(x_111, x_115); -x_117 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_116); -if (x_117 == 0) +x_111 = lean_array_get_size(x_110); +x_112 = lean_usize_of_nat(x_111); +lean_dec(x_111); +x_113 = lean_usize_sub(x_112, x_31); +x_114 = lean_usize_land(x_29, x_113); +x_115 = lean_array_uget(x_110, x_114); +x_116 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_115); +if (x_116 == 0) { -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; uint8_t x_126; -x_118 = lean_nat_add(x_110, x_70); -lean_dec(x_110); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_19); -lean_ctor_set(x_119, 1, x_109); -lean_ctor_set(x_119, 2, x_116); -x_120 = lean_array_uset(x_111, x_115, x_119); -x_121 = lean_unsigned_to_nat(4u); -x_122 = lean_nat_mul(x_118, x_121); -x_123 = lean_unsigned_to_nat(3u); -x_124 = lean_nat_div(x_122, x_123); -lean_dec(x_122); -x_125 = lean_array_get_size(x_120); -x_126 = lean_nat_dec_le(x_124, x_125); -lean_dec(x_125); +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; uint8_t x_125; +x_117 = lean_nat_add(x_74, x_70); +lean_dec(x_74); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_19); +lean_ctor_set(x_118, 1, x_73); +lean_ctor_set(x_118, 2, x_115); +x_119 = lean_array_uset(x_110, x_114, x_118); +x_120 = lean_unsigned_to_nat(4u); +x_121 = lean_nat_mul(x_117, x_120); +x_122 = lean_unsigned_to_nat(3u); +x_123 = lean_nat_div(x_121, x_122); +lean_dec(x_121); +x_124 = lean_array_get_size(x_119); +x_125 = lean_nat_dec_le(x_123, x_124); lean_dec(x_124); -if (x_126 == 0) +lean_dec(x_123); +if (x_125 == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_127 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_120); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_118); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_17, 1, x_128); -x_129 = lean_ctor_get(x_4, 2); -x_130 = lean_nat_add(x_6, x_129); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_126 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_119); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_117); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_17, 1, x_127); +x_128 = lean_ctor_get(x_4, 2); +x_129 = lean_nat_add(x_6, x_128); lean_dec(x_6); -x_131 = lean_box(0); -x_5 = x_131; -x_6 = x_130; +x_130 = lean_box(0); +x_5 = x_130; +x_6 = x_129; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52486,17 +52487,17 @@ goto _start; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_118); -lean_ctor_set(x_133, 1, x_120); -lean_ctor_set(x_17, 1, x_133); -x_134 = lean_ctor_get(x_4, 2); -x_135 = lean_nat_add(x_6, x_134); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_117); +lean_ctor_set(x_132, 1, x_119); +lean_ctor_set(x_17, 1, x_132); +x_133 = lean_ctor_get(x_4, 2); +x_134 = lean_nat_add(x_6, x_133); lean_dec(x_6); -x_136 = lean_box(0); -x_5 = x_136; -x_6 = x_135; +x_135 = lean_box(0); +x_5 = x_135; +x_6 = x_134; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52505,21 +52506,21 @@ goto _start; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_138 = lean_box(0); -x_139 = lean_array_uset(x_111, x_115, x_138); -x_140 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_109, x_116); -x_141 = lean_array_uset(x_139, x_115, x_140); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_110); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_17, 1, x_142); -x_143 = lean_ctor_get(x_4, 2); -x_144 = lean_nat_add(x_6, x_143); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_137 = lean_box(0); +x_138 = lean_array_uset(x_110, x_114, x_137); +x_139 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_73, x_115); +x_140 = lean_array_uset(x_138, x_114, x_139); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_74); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_17, 1, x_141); +x_142 = lean_ctor_get(x_4, 2); +x_143 = lean_nat_add(x_6, x_142); lean_dec(x_6); -x_145 = lean_box(0); -x_5 = x_145; -x_6 = x_144; +x_144 = lean_box(0); +x_5 = x_144; +x_6 = x_143; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52529,108 +52530,108 @@ goto _start; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; double x_156; double x_157; double x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; double x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; size_t x_179; size_t x_180; lean_object* x_181; uint8_t x_182; -x_147 = lean_ctor_get(x_38, 0); -x_148 = lean_ctor_get(x_38, 1); -x_149 = lean_ctor_get(x_38, 2); -x_150 = lean_ctor_get(x_38, 4); -x_151 = lean_ctor_get(x_38, 5); -lean_inc(x_151); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; double x_155; double x_156; double x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; double x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; size_t x_177; size_t x_178; size_t x_179; lean_object* x_180; uint8_t x_181; +x_146 = lean_ctor_get(x_38, 0); +x_147 = lean_ctor_get(x_38, 1); +x_148 = lean_ctor_get(x_38, 2); +x_149 = lean_ctor_get(x_38, 4); +x_150 = lean_ctor_get(x_38, 5); lean_inc(x_150); lean_inc(x_149); lean_inc(x_148); lean_inc(x_147); +lean_inc(x_146); lean_dec(x_38); lean_inc(x_19); -x_152 = lean_array_push(x_147, x_19); -x_153 = lean_array_get_size(x_148); -x_154 = 0; -x_155 = lean_unsigned_to_nat(0u); -x_156 = l_Float_ofScientific(x_153, x_154, x_155); -lean_dec(x_153); -x_157 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; -x_158 = lean_float_mul(x_156, x_157); -x_159 = lean_box_float(x_158); -x_160 = lean_array_push(x_148, x_159); -x_161 = lean_ctor_get(x_2, 2); -x_162 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_163 = lean_array_get(x_162, x_161, x_6); -x_164 = lean_unbox_float(x_163); -lean_dec(x_163); -x_165 = lean_box_float(x_164); -x_166 = lean_array_push(x_149, x_165); -x_167 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; -x_168 = lean_array_push(x_150, x_167); -x_169 = lean_unsigned_to_nat(1u); -x_170 = lean_nat_add(x_151, x_169); -lean_dec(x_151); -x_171 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; -x_172 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_172, 0, x_152); -lean_ctor_set(x_172, 1, x_160); -lean_ctor_set(x_172, 2, x_166); -lean_ctor_set(x_172, 3, x_171); -lean_ctor_set(x_172, 4, x_168); -lean_ctor_set(x_172, 5, x_170); +x_151 = lean_array_push(x_146, x_19); +x_152 = lean_array_get_size(x_147); +x_153 = 0; +x_154 = lean_unsigned_to_nat(0u); +x_155 = l_Float_ofScientific(x_152, x_153, x_154); +lean_dec(x_152); +x_156 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; +x_157 = lean_float_mul(x_155, x_156); +x_158 = lean_box_float(x_157); +x_159 = lean_array_push(x_147, x_158); +x_160 = lean_ctor_get(x_2, 2); +x_161 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_162 = lean_array_get(x_161, x_160, x_6); +x_163 = lean_unbox_float(x_162); +lean_dec(x_162); +x_164 = lean_box_float(x_163); +x_165 = lean_array_push(x_148, x_164); +x_166 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; +x_167 = lean_array_push(x_149, x_166); +x_168 = lean_unsigned_to_nat(1u); +x_169 = lean_nat_add(x_150, x_168); +lean_dec(x_150); +x_170 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; +x_171 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_171, 0, x_151); +lean_ctor_set(x_171, 1, x_159); +lean_ctor_set(x_171, 2, x_165); +lean_ctor_set(x_171, 3, x_170); +lean_ctor_set(x_171, 4, x_167); +lean_ctor_set(x_171, 5, x_169); +x_172 = lean_ctor_get(x_40, 0); +lean_inc(x_172); +lean_ctor_set(x_37, 2, x_171); x_173 = lean_ctor_get(x_40, 0); lean_inc(x_173); -lean_ctor_set(x_37, 2, x_172); -x_174 = lean_ctor_get(x_40, 0); +x_174 = lean_ctor_get(x_40, 1); lean_inc(x_174); -x_175 = lean_ctor_get(x_40, 1); -lean_inc(x_175); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); - x_176 = x_40; + x_175 = x_40; } else { lean_dec_ref(x_40); - x_176 = lean_box(0); + x_175 = lean_box(0); } -x_177 = lean_array_get_size(x_175); -x_178 = lean_usize_of_nat(x_177); -lean_dec(x_177); -x_179 = lean_usize_sub(x_178, x_31); -x_180 = lean_usize_land(x_29, x_179); -x_181 = lean_array_uget(x_175, x_180); -x_182 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_181); -if (x_182 == 0) +x_176 = lean_array_get_size(x_174); +x_177 = lean_usize_of_nat(x_176); +lean_dec(x_176); +x_178 = lean_usize_sub(x_177, x_31); +x_179 = lean_usize_land(x_29, x_178); +x_180 = lean_array_uget(x_174, x_179); +x_181 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_180); +if (x_181 == 0) { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; -x_183 = lean_nat_add(x_174, x_169); -lean_dec(x_174); -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_19); -lean_ctor_set(x_184, 1, x_173); -lean_ctor_set(x_184, 2, x_181); -x_185 = lean_array_uset(x_175, x_180, x_184); -x_186 = lean_unsigned_to_nat(4u); -x_187 = lean_nat_mul(x_183, x_186); -x_188 = lean_unsigned_to_nat(3u); -x_189 = lean_nat_div(x_187, x_188); -lean_dec(x_187); -x_190 = lean_array_get_size(x_185); -x_191 = lean_nat_dec_le(x_189, x_190); -lean_dec(x_190); +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +x_182 = lean_nat_add(x_173, x_168); +lean_dec(x_173); +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_19); +lean_ctor_set(x_183, 1, x_172); +lean_ctor_set(x_183, 2, x_180); +x_184 = lean_array_uset(x_174, x_179, x_183); +x_185 = lean_unsigned_to_nat(4u); +x_186 = lean_nat_mul(x_182, x_185); +x_187 = lean_unsigned_to_nat(3u); +x_188 = lean_nat_div(x_186, x_187); +lean_dec(x_186); +x_189 = lean_array_get_size(x_184); +x_190 = lean_nat_dec_le(x_188, x_189); lean_dec(x_189); -if (x_191 == 0) +lean_dec(x_188); +if (x_190 == 0) { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_192 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_185); -if (lean_is_scalar(x_176)) { - x_193 = lean_alloc_ctor(0, 2, 0); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_191 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_184); +if (lean_is_scalar(x_175)) { + x_192 = lean_alloc_ctor(0, 2, 0); } else { - x_193 = x_176; + x_192 = x_175; } -lean_ctor_set(x_193, 0, x_183); -lean_ctor_set(x_193, 1, x_192); -lean_ctor_set(x_17, 1, x_193); -x_194 = lean_ctor_get(x_4, 2); -x_195 = lean_nat_add(x_6, x_194); +lean_ctor_set(x_192, 0, x_182); +lean_ctor_set(x_192, 1, x_191); +lean_ctor_set(x_17, 1, x_192); +x_193 = lean_ctor_get(x_4, 2); +x_194 = lean_nat_add(x_6, x_193); lean_dec(x_6); -x_196 = lean_box(0); -x_5 = x_196; -x_6 = x_195; +x_195 = lean_box(0); +x_5 = x_195; +x_6 = x_194; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52638,21 +52639,21 @@ goto _start; } else { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -if (lean_is_scalar(x_176)) { - x_198 = lean_alloc_ctor(0, 2, 0); +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +if (lean_is_scalar(x_175)) { + x_197 = lean_alloc_ctor(0, 2, 0); } else { - x_198 = x_176; + x_197 = x_175; } -lean_ctor_set(x_198, 0, x_183); -lean_ctor_set(x_198, 1, x_185); -lean_ctor_set(x_17, 1, x_198); -x_199 = lean_ctor_get(x_4, 2); -x_200 = lean_nat_add(x_6, x_199); +lean_ctor_set(x_197, 0, x_182); +lean_ctor_set(x_197, 1, x_184); +lean_ctor_set(x_17, 1, x_197); +x_198 = lean_ctor_get(x_4, 2); +x_199 = lean_nat_add(x_6, x_198); lean_dec(x_6); -x_201 = lean_box(0); -x_5 = x_201; -x_6 = x_200; +x_200 = lean_box(0); +x_5 = x_200; +x_6 = x_199; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52661,25 +52662,25 @@ goto _start; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_203 = lean_box(0); -x_204 = lean_array_uset(x_175, x_180, x_203); -x_205 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_173, x_181); -x_206 = lean_array_uset(x_204, x_180, x_205); -if (lean_is_scalar(x_176)) { - x_207 = lean_alloc_ctor(0, 2, 0); +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_202 = lean_box(0); +x_203 = lean_array_uset(x_174, x_179, x_202); +x_204 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_172, x_180); +x_205 = lean_array_uset(x_203, x_179, x_204); +if (lean_is_scalar(x_175)) { + x_206 = lean_alloc_ctor(0, 2, 0); } else { - x_207 = x_176; + x_206 = x_175; } -lean_ctor_set(x_207, 0, x_174); -lean_ctor_set(x_207, 1, x_206); -lean_ctor_set(x_17, 1, x_207); -x_208 = lean_ctor_get(x_4, 2); -x_209 = lean_nat_add(x_6, x_208); +lean_ctor_set(x_206, 0, x_173); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_17, 1, x_206); +x_207 = lean_ctor_get(x_4, 2); +x_208 = lean_nat_add(x_6, x_207); lean_dec(x_6); -x_210 = lean_box(0); -x_5 = x_210; -x_6 = x_209; +x_209 = lean_box(0); +x_5 = x_209; +x_6 = x_208; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52689,35 +52690,35 @@ goto _start; } else { -lean_object* x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; double x_231; double x_232; double x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; double x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; size_t x_254; size_t x_255; size_t x_256; lean_object* x_257; uint8_t x_258; -x_212 = lean_ctor_get(x_37, 0); -x_213 = lean_ctor_get(x_37, 1); -x_214 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); -x_215 = lean_ctor_get(x_37, 3); -x_216 = lean_ctor_get(x_37, 4); -x_217 = lean_ctor_get(x_37, 5); -x_218 = lean_ctor_get(x_37, 6); -x_219 = lean_ctor_get(x_37, 7); -x_220 = lean_ctor_get(x_37, 8); -lean_inc(x_220); +lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; double x_230; double x_231; double x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; double x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; size_t x_253; size_t x_254; size_t x_255; lean_object* x_256; uint8_t x_257; +x_211 = lean_ctor_get(x_37, 0); +x_212 = lean_ctor_get(x_37, 1); +x_213 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); +x_214 = lean_ctor_get(x_37, 3); +x_215 = lean_ctor_get(x_37, 4); +x_216 = lean_ctor_get(x_37, 5); +x_217 = lean_ctor_get(x_37, 6); +x_218 = lean_ctor_get(x_37, 7); +x_219 = lean_ctor_get(x_37, 8); lean_inc(x_219); lean_inc(x_218); lean_inc(x_217); lean_inc(x_216); lean_inc(x_215); -lean_inc(x_213); +lean_inc(x_214); lean_inc(x_212); +lean_inc(x_211); lean_dec(x_37); -x_221 = lean_ctor_get(x_38, 0); +x_220 = lean_ctor_get(x_38, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_38, 1); lean_inc(x_221); -x_222 = lean_ctor_get(x_38, 1); +x_222 = lean_ctor_get(x_38, 2); lean_inc(x_222); -x_223 = lean_ctor_get(x_38, 2); +x_223 = lean_ctor_get(x_38, 4); lean_inc(x_223); -x_224 = lean_ctor_get(x_38, 4); +x_224 = lean_ctor_get(x_38, 5); lean_inc(x_224); -x_225 = lean_ctor_get(x_38, 5); -lean_inc(x_225); if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 0); lean_ctor_release(x_38, 1); @@ -52725,116 +52726,116 @@ if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 3); lean_ctor_release(x_38, 4); lean_ctor_release(x_38, 5); - x_226 = x_38; + x_225 = x_38; } else { lean_dec_ref(x_38); - x_226 = lean_box(0); + x_225 = lean_box(0); } lean_inc(x_19); -x_227 = lean_array_push(x_221, x_19); -x_228 = lean_array_get_size(x_222); -x_229 = 0; -x_230 = lean_unsigned_to_nat(0u); -x_231 = l_Float_ofScientific(x_228, x_229, x_230); -lean_dec(x_228); -x_232 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; -x_233 = lean_float_mul(x_231, x_232); -x_234 = lean_box_float(x_233); -x_235 = lean_array_push(x_222, x_234); -x_236 = lean_ctor_get(x_2, 2); -x_237 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_238 = lean_array_get(x_237, x_236, x_6); -x_239 = lean_unbox_float(x_238); -lean_dec(x_238); -x_240 = lean_box_float(x_239); -x_241 = lean_array_push(x_223, x_240); -x_242 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; -x_243 = lean_array_push(x_224, x_242); -x_244 = lean_unsigned_to_nat(1u); -x_245 = lean_nat_add(x_225, x_244); -lean_dec(x_225); -x_246 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; -if (lean_is_scalar(x_226)) { - x_247 = lean_alloc_ctor(0, 6, 0); +x_226 = lean_array_push(x_220, x_19); +x_227 = lean_array_get_size(x_221); +x_228 = 0; +x_229 = lean_unsigned_to_nat(0u); +x_230 = l_Float_ofScientific(x_227, x_228, x_229); +lean_dec(x_227); +x_231 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; +x_232 = lean_float_mul(x_230, x_231); +x_233 = lean_box_float(x_232); +x_234 = lean_array_push(x_221, x_233); +x_235 = lean_ctor_get(x_2, 2); +x_236 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_237 = lean_array_get(x_236, x_235, x_6); +x_238 = lean_unbox_float(x_237); +lean_dec(x_237); +x_239 = lean_box_float(x_238); +x_240 = lean_array_push(x_222, x_239); +x_241 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; +x_242 = lean_array_push(x_223, x_241); +x_243 = lean_unsigned_to_nat(1u); +x_244 = lean_nat_add(x_224, x_243); +lean_dec(x_224); +x_245 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; +if (lean_is_scalar(x_225)) { + x_246 = lean_alloc_ctor(0, 6, 0); } else { - x_247 = x_226; + x_246 = x_225; } -lean_ctor_set(x_247, 0, x_227); -lean_ctor_set(x_247, 1, x_235); -lean_ctor_set(x_247, 2, x_241); -lean_ctor_set(x_247, 3, x_246); -lean_ctor_set(x_247, 4, x_243); -lean_ctor_set(x_247, 5, x_245); -x_248 = lean_ctor_get(x_40, 0); -lean_inc(x_248); -x_249 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_249, 0, x_212); -lean_ctor_set(x_249, 1, x_213); -lean_ctor_set(x_249, 2, x_247); -lean_ctor_set(x_249, 3, x_215); -lean_ctor_set(x_249, 4, x_216); -lean_ctor_set(x_249, 5, x_217); -lean_ctor_set(x_249, 6, x_218); -lean_ctor_set(x_249, 7, x_219); -lean_ctor_set(x_249, 8, x_220); -lean_ctor_set_uint8(x_249, sizeof(void*)*9, x_214); -lean_ctor_set(x_36, 0, x_249); -x_250 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_246, 0, x_226); +lean_ctor_set(x_246, 1, x_234); +lean_ctor_set(x_246, 2, x_240); +lean_ctor_set(x_246, 3, x_245); +lean_ctor_set(x_246, 4, x_242); +lean_ctor_set(x_246, 5, x_244); +x_247 = lean_ctor_get(x_40, 0); +lean_inc(x_247); +x_248 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_248, 0, x_211); +lean_ctor_set(x_248, 1, x_212); +lean_ctor_set(x_248, 2, x_246); +lean_ctor_set(x_248, 3, x_214); +lean_ctor_set(x_248, 4, x_215); +lean_ctor_set(x_248, 5, x_216); +lean_ctor_set(x_248, 6, x_217); +lean_ctor_set(x_248, 7, x_218); +lean_ctor_set(x_248, 8, x_219); +lean_ctor_set_uint8(x_248, sizeof(void*)*9, x_213); +lean_ctor_set(x_36, 0, x_248); +x_249 = lean_ctor_get(x_40, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_40, 1); lean_inc(x_250); -x_251 = lean_ctor_get(x_40, 1); -lean_inc(x_251); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); - x_252 = x_40; + x_251 = x_40; } else { lean_dec_ref(x_40); - x_252 = lean_box(0); + x_251 = lean_box(0); } -x_253 = lean_array_get_size(x_251); -x_254 = lean_usize_of_nat(x_253); -lean_dec(x_253); -x_255 = lean_usize_sub(x_254, x_31); -x_256 = lean_usize_land(x_29, x_255); -x_257 = lean_array_uget(x_251, x_256); -x_258 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_257); -if (x_258 == 0) +x_252 = lean_array_get_size(x_250); +x_253 = lean_usize_of_nat(x_252); +lean_dec(x_252); +x_254 = lean_usize_sub(x_253, x_31); +x_255 = lean_usize_land(x_29, x_254); +x_256 = lean_array_uget(x_250, x_255); +x_257 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_256); +if (x_257 == 0) { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; -x_259 = lean_nat_add(x_250, x_244); -lean_dec(x_250); -x_260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_260, 0, x_19); -lean_ctor_set(x_260, 1, x_248); -lean_ctor_set(x_260, 2, x_257); -x_261 = lean_array_uset(x_251, x_256, x_260); -x_262 = lean_unsigned_to_nat(4u); -x_263 = lean_nat_mul(x_259, x_262); -x_264 = lean_unsigned_to_nat(3u); -x_265 = lean_nat_div(x_263, x_264); -lean_dec(x_263); -x_266 = lean_array_get_size(x_261); -x_267 = lean_nat_dec_le(x_265, x_266); -lean_dec(x_266); +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +x_258 = lean_nat_add(x_249, x_243); +lean_dec(x_249); +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_19); +lean_ctor_set(x_259, 1, x_247); +lean_ctor_set(x_259, 2, x_256); +x_260 = lean_array_uset(x_250, x_255, x_259); +x_261 = lean_unsigned_to_nat(4u); +x_262 = lean_nat_mul(x_258, x_261); +x_263 = lean_unsigned_to_nat(3u); +x_264 = lean_nat_div(x_262, x_263); +lean_dec(x_262); +x_265 = lean_array_get_size(x_260); +x_266 = lean_nat_dec_le(x_264, x_265); lean_dec(x_265); -if (x_267 == 0) +lean_dec(x_264); +if (x_266 == 0) { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_268 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_261); -if (lean_is_scalar(x_252)) { - x_269 = lean_alloc_ctor(0, 2, 0); +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_267 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_260); +if (lean_is_scalar(x_251)) { + x_268 = lean_alloc_ctor(0, 2, 0); } else { - x_269 = x_252; + x_268 = x_251; } -lean_ctor_set(x_269, 0, x_259); -lean_ctor_set(x_269, 1, x_268); -lean_ctor_set(x_17, 1, x_269); -x_270 = lean_ctor_get(x_4, 2); -x_271 = lean_nat_add(x_6, x_270); +lean_ctor_set(x_268, 0, x_258); +lean_ctor_set(x_268, 1, x_267); +lean_ctor_set(x_17, 1, x_268); +x_269 = lean_ctor_get(x_4, 2); +x_270 = lean_nat_add(x_6, x_269); lean_dec(x_6); -x_272 = lean_box(0); -x_5 = x_272; -x_6 = x_271; +x_271 = lean_box(0); +x_5 = x_271; +x_6 = x_270; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52842,21 +52843,21 @@ goto _start; } else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -if (lean_is_scalar(x_252)) { - x_274 = lean_alloc_ctor(0, 2, 0); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +if (lean_is_scalar(x_251)) { + x_273 = lean_alloc_ctor(0, 2, 0); } else { - x_274 = x_252; + x_273 = x_251; } -lean_ctor_set(x_274, 0, x_259); -lean_ctor_set(x_274, 1, x_261); -lean_ctor_set(x_17, 1, x_274); -x_275 = lean_ctor_get(x_4, 2); -x_276 = lean_nat_add(x_6, x_275); +lean_ctor_set(x_273, 0, x_258); +lean_ctor_set(x_273, 1, x_260); +lean_ctor_set(x_17, 1, x_273); +x_274 = lean_ctor_get(x_4, 2); +x_275 = lean_nat_add(x_6, x_274); lean_dec(x_6); -x_277 = lean_box(0); -x_5 = x_277; -x_6 = x_276; +x_276 = lean_box(0); +x_5 = x_276; +x_6 = x_275; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52865,25 +52866,25 @@ goto _start; } else { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_279 = lean_box(0); -x_280 = lean_array_uset(x_251, x_256, x_279); -x_281 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_248, x_257); -x_282 = lean_array_uset(x_280, x_256, x_281); -if (lean_is_scalar(x_252)) { - x_283 = lean_alloc_ctor(0, 2, 0); +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_278 = lean_box(0); +x_279 = lean_array_uset(x_250, x_255, x_278); +x_280 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_247, x_256); +x_281 = lean_array_uset(x_279, x_255, x_280); +if (lean_is_scalar(x_251)) { + x_282 = lean_alloc_ctor(0, 2, 0); } else { - x_283 = x_252; + x_282 = x_251; } -lean_ctor_set(x_283, 0, x_250); -lean_ctor_set(x_283, 1, x_282); -lean_ctor_set(x_17, 1, x_283); -x_284 = lean_ctor_get(x_4, 2); -x_285 = lean_nat_add(x_6, x_284); +lean_ctor_set(x_282, 0, x_249); +lean_ctor_set(x_282, 1, x_281); +lean_ctor_set(x_17, 1, x_282); +x_283 = lean_ctor_get(x_4, 2); +x_284 = lean_nat_add(x_6, x_283); lean_dec(x_6); -x_286 = lean_box(0); -x_5 = x_286; -x_6 = x_285; +x_285 = lean_box(0); +x_5 = x_285; +x_6 = x_284; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -52893,32 +52894,32 @@ goto _start; } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; double x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; lean_object* x_311; double x_312; double x_313; double x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; double x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; size_t x_336; size_t x_337; size_t x_338; lean_object* x_339; uint8_t x_340; -x_288 = lean_ctor_get(x_36, 1); -x_289 = lean_ctor_get(x_36, 2); -x_290 = lean_ctor_get(x_36, 3); -x_291 = lean_ctor_get_float(x_36, sizeof(void*)*4); -lean_inc(x_290); +lean_object* x_287; lean_object* x_288; lean_object* x_289; double x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; double x_311; double x_312; double x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; double x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; size_t x_335; size_t x_336; size_t x_337; lean_object* x_338; uint8_t x_339; +x_287 = lean_ctor_get(x_36, 1); +x_288 = lean_ctor_get(x_36, 2); +x_289 = lean_ctor_get(x_36, 3); +x_290 = lean_ctor_get_float(x_36, sizeof(void*)*4); lean_inc(x_289); lean_inc(x_288); +lean_inc(x_287); lean_dec(x_36); -x_292 = lean_ctor_get(x_37, 0); +x_291 = lean_ctor_get(x_37, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_37, 1); lean_inc(x_292); -x_293 = lean_ctor_get(x_37, 1); -lean_inc(x_293); -x_294 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); -x_295 = lean_ctor_get(x_37, 3); +x_293 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); +x_294 = lean_ctor_get(x_37, 3); +lean_inc(x_294); +x_295 = lean_ctor_get(x_37, 4); lean_inc(x_295); -x_296 = lean_ctor_get(x_37, 4); +x_296 = lean_ctor_get(x_37, 5); lean_inc(x_296); -x_297 = lean_ctor_get(x_37, 5); +x_297 = lean_ctor_get(x_37, 6); lean_inc(x_297); -x_298 = lean_ctor_get(x_37, 6); +x_298 = lean_ctor_get(x_37, 7); lean_inc(x_298); -x_299 = lean_ctor_get(x_37, 7); +x_299 = lean_ctor_get(x_37, 8); lean_inc(x_299); -x_300 = lean_ctor_get(x_37, 8); -lean_inc(x_300); if (lean_is_exclusive(x_37)) { lean_ctor_release(x_37, 0); lean_ctor_release(x_37, 1); @@ -52929,21 +52930,21 @@ if (lean_is_exclusive(x_37)) { lean_ctor_release(x_37, 6); lean_ctor_release(x_37, 7); lean_ctor_release(x_37, 8); - x_301 = x_37; + x_300 = x_37; } else { lean_dec_ref(x_37); - x_301 = lean_box(0); + x_300 = lean_box(0); } -x_302 = lean_ctor_get(x_38, 0); +x_301 = lean_ctor_get(x_38, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_38, 1); lean_inc(x_302); -x_303 = lean_ctor_get(x_38, 1); +x_303 = lean_ctor_get(x_38, 2); lean_inc(x_303); -x_304 = lean_ctor_get(x_38, 2); +x_304 = lean_ctor_get(x_38, 4); lean_inc(x_304); -x_305 = lean_ctor_get(x_38, 4); +x_305 = lean_ctor_get(x_38, 5); lean_inc(x_305); -x_306 = lean_ctor_get(x_38, 5); -lean_inc(x_306); if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 0); lean_ctor_release(x_38, 1); @@ -52951,126 +52952,126 @@ if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 3); lean_ctor_release(x_38, 4); lean_ctor_release(x_38, 5); - x_307 = x_38; + x_306 = x_38; } else { lean_dec_ref(x_38); - x_307 = lean_box(0); + x_306 = lean_box(0); } lean_inc(x_19); -x_308 = lean_array_push(x_302, x_19); -x_309 = lean_array_get_size(x_303); -x_310 = 0; -x_311 = lean_unsigned_to_nat(0u); -x_312 = l_Float_ofScientific(x_309, x_310, x_311); -lean_dec(x_309); -x_313 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; -x_314 = lean_float_mul(x_312, x_313); -x_315 = lean_box_float(x_314); -x_316 = lean_array_push(x_303, x_315); -x_317 = lean_ctor_get(x_2, 2); -x_318 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_319 = lean_array_get(x_318, x_317, x_6); -x_320 = lean_unbox_float(x_319); -lean_dec(x_319); -x_321 = lean_box_float(x_320); -x_322 = lean_array_push(x_304, x_321); -x_323 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; -x_324 = lean_array_push(x_305, x_323); -x_325 = lean_unsigned_to_nat(1u); -x_326 = lean_nat_add(x_306, x_325); -lean_dec(x_306); -x_327 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; -if (lean_is_scalar(x_307)) { - x_328 = lean_alloc_ctor(0, 6, 0); +x_307 = lean_array_push(x_301, x_19); +x_308 = lean_array_get_size(x_302); +x_309 = 0; +x_310 = lean_unsigned_to_nat(0u); +x_311 = l_Float_ofScientific(x_308, x_309, x_310); +lean_dec(x_308); +x_312 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; +x_313 = lean_float_mul(x_311, x_312); +x_314 = lean_box_float(x_313); +x_315 = lean_array_push(x_302, x_314); +x_316 = lean_ctor_get(x_2, 2); +x_317 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_318 = lean_array_get(x_317, x_316, x_6); +x_319 = lean_unbox_float(x_318); +lean_dec(x_318); +x_320 = lean_box_float(x_319); +x_321 = lean_array_push(x_303, x_320); +x_322 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; +x_323 = lean_array_push(x_304, x_322); +x_324 = lean_unsigned_to_nat(1u); +x_325 = lean_nat_add(x_305, x_324); +lean_dec(x_305); +x_326 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; +if (lean_is_scalar(x_306)) { + x_327 = lean_alloc_ctor(0, 6, 0); } else { - x_328 = x_307; + x_327 = x_306; } -lean_ctor_set(x_328, 0, x_308); -lean_ctor_set(x_328, 1, x_316); -lean_ctor_set(x_328, 2, x_322); -lean_ctor_set(x_328, 3, x_327); -lean_ctor_set(x_328, 4, x_324); -lean_ctor_set(x_328, 5, x_326); -x_329 = lean_ctor_get(x_40, 0); -lean_inc(x_329); -if (lean_is_scalar(x_301)) { - x_330 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_327, 0, x_307); +lean_ctor_set(x_327, 1, x_315); +lean_ctor_set(x_327, 2, x_321); +lean_ctor_set(x_327, 3, x_326); +lean_ctor_set(x_327, 4, x_323); +lean_ctor_set(x_327, 5, x_325); +x_328 = lean_ctor_get(x_40, 0); +lean_inc(x_328); +if (lean_is_scalar(x_300)) { + x_329 = lean_alloc_ctor(0, 9, 1); } else { - x_330 = x_301; + x_329 = x_300; } -lean_ctor_set(x_330, 0, x_292); -lean_ctor_set(x_330, 1, x_293); -lean_ctor_set(x_330, 2, x_328); -lean_ctor_set(x_330, 3, x_295); -lean_ctor_set(x_330, 4, x_296); -lean_ctor_set(x_330, 5, x_297); -lean_ctor_set(x_330, 6, x_298); -lean_ctor_set(x_330, 7, x_299); -lean_ctor_set(x_330, 8, x_300); -lean_ctor_set_uint8(x_330, sizeof(void*)*9, x_294); -x_331 = lean_alloc_ctor(0, 4, 8); -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_288); -lean_ctor_set(x_331, 2, x_289); -lean_ctor_set(x_331, 3, x_290); -lean_ctor_set_float(x_331, sizeof(void*)*4, x_291); -x_332 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_329, 0, x_291); +lean_ctor_set(x_329, 1, x_292); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_294); +lean_ctor_set(x_329, 4, x_295); +lean_ctor_set(x_329, 5, x_296); +lean_ctor_set(x_329, 6, x_297); +lean_ctor_set(x_329, 7, x_298); +lean_ctor_set(x_329, 8, x_299); +lean_ctor_set_uint8(x_329, sizeof(void*)*9, x_293); +x_330 = lean_alloc_ctor(0, 4, 8); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_287); +lean_ctor_set(x_330, 2, x_288); +lean_ctor_set(x_330, 3, x_289); +lean_ctor_set_float(x_330, sizeof(void*)*4, x_290); +x_331 = lean_ctor_get(x_40, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_40, 1); lean_inc(x_332); -x_333 = lean_ctor_get(x_40, 1); -lean_inc(x_333); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); - x_334 = x_40; + x_333 = x_40; } else { lean_dec_ref(x_40); - x_334 = lean_box(0); + x_333 = lean_box(0); } -x_335 = lean_array_get_size(x_333); -x_336 = lean_usize_of_nat(x_335); -lean_dec(x_335); -x_337 = lean_usize_sub(x_336, x_31); -x_338 = lean_usize_land(x_29, x_337); -x_339 = lean_array_uget(x_333, x_338); -x_340 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_339); -if (x_340 == 0) +x_334 = lean_array_get_size(x_332); +x_335 = lean_usize_of_nat(x_334); +lean_dec(x_334); +x_336 = lean_usize_sub(x_335, x_31); +x_337 = lean_usize_land(x_29, x_336); +x_338 = lean_array_uget(x_332, x_337); +x_339 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_338); +if (x_339 == 0) { -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; -x_341 = lean_nat_add(x_332, x_325); -lean_dec(x_332); -x_342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_342, 0, x_19); -lean_ctor_set(x_342, 1, x_329); -lean_ctor_set(x_342, 2, x_339); -x_343 = lean_array_uset(x_333, x_338, x_342); -x_344 = lean_unsigned_to_nat(4u); -x_345 = lean_nat_mul(x_341, x_344); -x_346 = lean_unsigned_to_nat(3u); -x_347 = lean_nat_div(x_345, x_346); -lean_dec(x_345); -x_348 = lean_array_get_size(x_343); -x_349 = lean_nat_dec_le(x_347, x_348); -lean_dec(x_348); +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; +x_340 = lean_nat_add(x_331, x_324); +lean_dec(x_331); +x_341 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_341, 0, x_19); +lean_ctor_set(x_341, 1, x_328); +lean_ctor_set(x_341, 2, x_338); +x_342 = lean_array_uset(x_332, x_337, x_341); +x_343 = lean_unsigned_to_nat(4u); +x_344 = lean_nat_mul(x_340, x_343); +x_345 = lean_unsigned_to_nat(3u); +x_346 = lean_nat_div(x_344, x_345); +lean_dec(x_344); +x_347 = lean_array_get_size(x_342); +x_348 = lean_nat_dec_le(x_346, x_347); lean_dec(x_347); -if (x_349 == 0) +lean_dec(x_346); +if (x_348 == 0) { -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_350 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_343); -if (lean_is_scalar(x_334)) { - x_351 = lean_alloc_ctor(0, 2, 0); +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_349 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_342); +if (lean_is_scalar(x_333)) { + x_350 = lean_alloc_ctor(0, 2, 0); } else { - x_351 = x_334; + x_350 = x_333; } -lean_ctor_set(x_351, 0, x_341); -lean_ctor_set(x_351, 1, x_350); -lean_ctor_set(x_17, 1, x_351); -lean_ctor_set(x_17, 0, x_331); -x_352 = lean_ctor_get(x_4, 2); -x_353 = lean_nat_add(x_6, x_352); +lean_ctor_set(x_350, 0, x_340); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set(x_17, 1, x_350); +lean_ctor_set(x_17, 0, x_330); +x_351 = lean_ctor_get(x_4, 2); +x_352 = lean_nat_add(x_6, x_351); lean_dec(x_6); -x_354 = lean_box(0); -x_5 = x_354; -x_6 = x_353; +x_353 = lean_box(0); +x_5 = x_353; +x_6 = x_352; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53078,22 +53079,22 @@ goto _start; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -if (lean_is_scalar(x_334)) { - x_356 = lean_alloc_ctor(0, 2, 0); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +if (lean_is_scalar(x_333)) { + x_355 = lean_alloc_ctor(0, 2, 0); } else { - x_356 = x_334; + x_355 = x_333; } -lean_ctor_set(x_356, 0, x_341); -lean_ctor_set(x_356, 1, x_343); -lean_ctor_set(x_17, 1, x_356); -lean_ctor_set(x_17, 0, x_331); -x_357 = lean_ctor_get(x_4, 2); -x_358 = lean_nat_add(x_6, x_357); +lean_ctor_set(x_355, 0, x_340); +lean_ctor_set(x_355, 1, x_342); +lean_ctor_set(x_17, 1, x_355); +lean_ctor_set(x_17, 0, x_330); +x_356 = lean_ctor_get(x_4, 2); +x_357 = lean_nat_add(x_6, x_356); lean_dec(x_6); -x_359 = lean_box(0); -x_5 = x_359; -x_6 = x_358; +x_358 = lean_box(0); +x_5 = x_358; +x_6 = x_357; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53102,26 +53103,26 @@ goto _start; } else { -lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_361 = lean_box(0); -x_362 = lean_array_uset(x_333, x_338, x_361); -x_363 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_329, x_339); -x_364 = lean_array_uset(x_362, x_338, x_363); -if (lean_is_scalar(x_334)) { - x_365 = lean_alloc_ctor(0, 2, 0); +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_360 = lean_box(0); +x_361 = lean_array_uset(x_332, x_337, x_360); +x_362 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_328, x_338); +x_363 = lean_array_uset(x_361, x_337, x_362); +if (lean_is_scalar(x_333)) { + x_364 = lean_alloc_ctor(0, 2, 0); } else { - x_365 = x_334; + x_364 = x_333; } -lean_ctor_set(x_365, 0, x_332); -lean_ctor_set(x_365, 1, x_364); -lean_ctor_set(x_17, 1, x_365); -lean_ctor_set(x_17, 0, x_331); -x_366 = lean_ctor_get(x_4, 2); -x_367 = lean_nat_add(x_6, x_366); +lean_ctor_set(x_364, 0, x_331); +lean_ctor_set(x_364, 1, x_363); +lean_ctor_set(x_17, 1, x_364); +lean_ctor_set(x_17, 0, x_330); +x_365 = lean_ctor_get(x_4, 2); +x_366 = lean_nat_add(x_6, x_365); lean_dec(x_6); -x_368 = lean_box(0); -x_5 = x_368; -x_6 = x_367; +x_367 = lean_box(0); +x_5 = x_367; +x_6 = x_366; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53131,44 +53132,44 @@ goto _start; } else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; double x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; lean_object* x_395; double x_396; double x_397; double x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; double x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; size_t x_420; size_t x_421; size_t x_422; lean_object* x_423; uint8_t x_424; -x_370 = lean_ctor_get(x_17, 1); -lean_inc(x_370); +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; double x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; uint8_t x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; lean_object* x_394; double x_395; double x_396; double x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; double x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; size_t x_419; size_t x_420; size_t x_421; lean_object* x_422; uint8_t x_423; +x_369 = lean_ctor_get(x_17, 1); +lean_inc(x_369); lean_dec(x_17); -x_371 = lean_ctor_get(x_36, 1); +x_370 = lean_ctor_get(x_36, 1); +lean_inc(x_370); +x_371 = lean_ctor_get(x_36, 2); lean_inc(x_371); -x_372 = lean_ctor_get(x_36, 2); +x_372 = lean_ctor_get(x_36, 3); lean_inc(x_372); -x_373 = lean_ctor_get(x_36, 3); -lean_inc(x_373); -x_374 = lean_ctor_get_float(x_36, sizeof(void*)*4); +x_373 = lean_ctor_get_float(x_36, sizeof(void*)*4); if (lean_is_exclusive(x_36)) { lean_ctor_release(x_36, 0); lean_ctor_release(x_36, 1); lean_ctor_release(x_36, 2); lean_ctor_release(x_36, 3); - x_375 = x_36; + x_374 = x_36; } else { lean_dec_ref(x_36); - x_375 = lean_box(0); + x_374 = lean_box(0); } -x_376 = lean_ctor_get(x_37, 0); +x_375 = lean_ctor_get(x_37, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_37, 1); lean_inc(x_376); -x_377 = lean_ctor_get(x_37, 1); -lean_inc(x_377); -x_378 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); -x_379 = lean_ctor_get(x_37, 3); +x_377 = lean_ctor_get_uint8(x_37, sizeof(void*)*9); +x_378 = lean_ctor_get(x_37, 3); +lean_inc(x_378); +x_379 = lean_ctor_get(x_37, 4); lean_inc(x_379); -x_380 = lean_ctor_get(x_37, 4); +x_380 = lean_ctor_get(x_37, 5); lean_inc(x_380); -x_381 = lean_ctor_get(x_37, 5); +x_381 = lean_ctor_get(x_37, 6); lean_inc(x_381); -x_382 = lean_ctor_get(x_37, 6); +x_382 = lean_ctor_get(x_37, 7); lean_inc(x_382); -x_383 = lean_ctor_get(x_37, 7); +x_383 = lean_ctor_get(x_37, 8); lean_inc(x_383); -x_384 = lean_ctor_get(x_37, 8); -lean_inc(x_384); if (lean_is_exclusive(x_37)) { lean_ctor_release(x_37, 0); lean_ctor_release(x_37, 1); @@ -53179,21 +53180,21 @@ if (lean_is_exclusive(x_37)) { lean_ctor_release(x_37, 6); lean_ctor_release(x_37, 7); lean_ctor_release(x_37, 8); - x_385 = x_37; + x_384 = x_37; } else { lean_dec_ref(x_37); - x_385 = lean_box(0); + x_384 = lean_box(0); } -x_386 = lean_ctor_get(x_38, 0); +x_385 = lean_ctor_get(x_38, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_38, 1); lean_inc(x_386); -x_387 = lean_ctor_get(x_38, 1); +x_387 = lean_ctor_get(x_38, 2); lean_inc(x_387); -x_388 = lean_ctor_get(x_38, 2); +x_388 = lean_ctor_get(x_38, 4); lean_inc(x_388); -x_389 = lean_ctor_get(x_38, 4); +x_389 = lean_ctor_get(x_38, 5); lean_inc(x_389); -x_390 = lean_ctor_get(x_38, 5); -lean_inc(x_390); if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 0); lean_ctor_release(x_38, 1); @@ -53201,247 +53202,247 @@ if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 3); lean_ctor_release(x_38, 4); lean_ctor_release(x_38, 5); - x_391 = x_38; + x_390 = x_38; } else { lean_dec_ref(x_38); - x_391 = lean_box(0); + x_390 = lean_box(0); } lean_inc(x_19); -x_392 = lean_array_push(x_386, x_19); -x_393 = lean_array_get_size(x_387); -x_394 = 0; -x_395 = lean_unsigned_to_nat(0u); -x_396 = l_Float_ofScientific(x_393, x_394, x_395); -lean_dec(x_393); -x_397 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; -x_398 = lean_float_mul(x_396, x_397); -x_399 = lean_box_float(x_398); -x_400 = lean_array_push(x_387, x_399); -x_401 = lean_ctor_get(x_2, 2); -x_402 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_403 = lean_array_get(x_402, x_401, x_6); -x_404 = lean_unbox_float(x_403); -lean_dec(x_403); -x_405 = lean_box_float(x_404); -x_406 = lean_array_push(x_388, x_405); -x_407 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; -x_408 = lean_array_push(x_389, x_407); -x_409 = lean_unsigned_to_nat(1u); -x_410 = lean_nat_add(x_390, x_409); -lean_dec(x_390); -x_411 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; -if (lean_is_scalar(x_391)) { - x_412 = lean_alloc_ctor(0, 6, 0); +x_391 = lean_array_push(x_385, x_19); +x_392 = lean_array_get_size(x_386); +x_393 = 0; +x_394 = lean_unsigned_to_nat(0u); +x_395 = l_Float_ofScientific(x_392, x_393, x_394); +lean_dec(x_392); +x_396 = l_Lean_Firefox_instCoeFloatMilliseconds___closed__1; +x_397 = lean_float_mul(x_395, x_396); +x_398 = lean_box_float(x_397); +x_399 = lean_array_push(x_386, x_398); +x_400 = lean_ctor_get(x_2, 2); +x_401 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_402 = lean_array_get(x_401, x_400, x_6); +x_403 = lean_unbox_float(x_402); +lean_dec(x_402); +x_404 = lean_box_float(x_403); +x_405 = lean_array_push(x_387, x_404); +x_406 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__1; +x_407 = lean_array_push(x_388, x_406); +x_408 = lean_unsigned_to_nat(1u); +x_409 = lean_nat_add(x_389, x_408); +lean_dec(x_389); +x_410 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__13___closed__1; +if (lean_is_scalar(x_390)) { + x_411 = lean_alloc_ctor(0, 6, 0); } else { - x_412 = x_391; + x_411 = x_390; } -lean_ctor_set(x_412, 0, x_392); -lean_ctor_set(x_412, 1, x_400); -lean_ctor_set(x_412, 2, x_406); -lean_ctor_set(x_412, 3, x_411); -lean_ctor_set(x_412, 4, x_408); -lean_ctor_set(x_412, 5, x_410); -x_413 = lean_ctor_get(x_370, 0); -lean_inc(x_413); -if (lean_is_scalar(x_385)) { - x_414 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_411, 0, x_391); +lean_ctor_set(x_411, 1, x_399); +lean_ctor_set(x_411, 2, x_405); +lean_ctor_set(x_411, 3, x_410); +lean_ctor_set(x_411, 4, x_407); +lean_ctor_set(x_411, 5, x_409); +x_412 = lean_ctor_get(x_369, 0); +lean_inc(x_412); +if (lean_is_scalar(x_384)) { + x_413 = lean_alloc_ctor(0, 9, 1); } else { - x_414 = x_385; + x_413 = x_384; } -lean_ctor_set(x_414, 0, x_376); -lean_ctor_set(x_414, 1, x_377); -lean_ctor_set(x_414, 2, x_412); -lean_ctor_set(x_414, 3, x_379); -lean_ctor_set(x_414, 4, x_380); -lean_ctor_set(x_414, 5, x_381); -lean_ctor_set(x_414, 6, x_382); -lean_ctor_set(x_414, 7, x_383); -lean_ctor_set(x_414, 8, x_384); -lean_ctor_set_uint8(x_414, sizeof(void*)*9, x_378); -if (lean_is_scalar(x_375)) { - x_415 = lean_alloc_ctor(0, 4, 8); +lean_ctor_set(x_413, 0, x_375); +lean_ctor_set(x_413, 1, x_376); +lean_ctor_set(x_413, 2, x_411); +lean_ctor_set(x_413, 3, x_378); +lean_ctor_set(x_413, 4, x_379); +lean_ctor_set(x_413, 5, x_380); +lean_ctor_set(x_413, 6, x_381); +lean_ctor_set(x_413, 7, x_382); +lean_ctor_set(x_413, 8, x_383); +lean_ctor_set_uint8(x_413, sizeof(void*)*9, x_377); +if (lean_is_scalar(x_374)) { + x_414 = lean_alloc_ctor(0, 4, 8); } else { - x_415 = x_375; + x_414 = x_374; } -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_371); -lean_ctor_set(x_415, 2, x_372); -lean_ctor_set(x_415, 3, x_373); -lean_ctor_set_float(x_415, sizeof(void*)*4, x_374); -x_416 = lean_ctor_get(x_370, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_370); +lean_ctor_set(x_414, 2, x_371); +lean_ctor_set(x_414, 3, x_372); +lean_ctor_set_float(x_414, sizeof(void*)*4, x_373); +x_415 = lean_ctor_get(x_369, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_369, 1); lean_inc(x_416); -x_417 = lean_ctor_get(x_370, 1); -lean_inc(x_417); -if (lean_is_exclusive(x_370)) { - lean_ctor_release(x_370, 0); - lean_ctor_release(x_370, 1); - x_418 = x_370; +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + lean_ctor_release(x_369, 1); + x_417 = x_369; } else { - lean_dec_ref(x_370); - x_418 = lean_box(0); + lean_dec_ref(x_369); + x_417 = lean_box(0); } -x_419 = lean_array_get_size(x_417); -x_420 = lean_usize_of_nat(x_419); -lean_dec(x_419); -x_421 = lean_usize_sub(x_420, x_31); -x_422 = lean_usize_land(x_29, x_421); -x_423 = lean_array_uget(x_417, x_422); -x_424 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_423); -if (x_424 == 0) +x_418 = lean_array_get_size(x_416); +x_419 = lean_usize_of_nat(x_418); +lean_dec(x_418); +x_420 = lean_usize_sub(x_419, x_31); +x_421 = lean_usize_land(x_29, x_420); +x_422 = lean_array_uget(x_416, x_421); +x_423 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__2(x_19, x_422); +if (x_423 == 0) { -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; uint8_t x_433; -x_425 = lean_nat_add(x_416, x_409); -lean_dec(x_416); -x_426 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_426, 0, x_19); -lean_ctor_set(x_426, 1, x_413); -lean_ctor_set(x_426, 2, x_423); -x_427 = lean_array_uset(x_417, x_422, x_426); -x_428 = lean_unsigned_to_nat(4u); -x_429 = lean_nat_mul(x_425, x_428); -x_430 = lean_unsigned_to_nat(3u); -x_431 = lean_nat_div(x_429, x_430); -lean_dec(x_429); -x_432 = lean_array_get_size(x_427); -x_433 = lean_nat_dec_le(x_431, x_432); -lean_dec(x_432); +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; +x_424 = lean_nat_add(x_415, x_408); +lean_dec(x_415); +x_425 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_425, 0, x_19); +lean_ctor_set(x_425, 1, x_412); +lean_ctor_set(x_425, 2, x_422); +x_426 = lean_array_uset(x_416, x_421, x_425); +x_427 = lean_unsigned_to_nat(4u); +x_428 = lean_nat_mul(x_424, x_427); +x_429 = lean_unsigned_to_nat(3u); +x_430 = lean_nat_div(x_428, x_429); +lean_dec(x_428); +x_431 = lean_array_get_size(x_426); +x_432 = lean_nat_dec_le(x_430, x_431); lean_dec(x_431); -if (x_433 == 0) +lean_dec(x_430); +if (x_432 == 0) { -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_434 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_427); -if (lean_is_scalar(x_418)) { - x_435 = lean_alloc_ctor(0, 2, 0); +lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; +x_433 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__3(x_426); +if (lean_is_scalar(x_417)) { + x_434 = lean_alloc_ctor(0, 2, 0); } else { - x_435 = x_418; + x_434 = x_417; } -lean_ctor_set(x_435, 0, x_425); +lean_ctor_set(x_434, 0, x_424); +lean_ctor_set(x_434, 1, x_433); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_414); lean_ctor_set(x_435, 1, x_434); -x_436 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_436, 0, x_415); -lean_ctor_set(x_436, 1, x_435); -x_437 = lean_ctor_get(x_4, 2); -x_438 = lean_nat_add(x_6, x_437); +x_436 = lean_ctor_get(x_4, 2); +x_437 = lean_nat_add(x_6, x_436); lean_dec(x_6); -x_439 = lean_box(0); -x_5 = x_439; -x_6 = x_438; +x_438 = lean_box(0); +x_5 = x_438; +x_6 = x_437; x_7 = lean_box(0); x_8 = lean_box(0); -x_9 = x_436; +x_9 = x_435; goto _start; } else { -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -if (lean_is_scalar(x_418)) { - x_441 = lean_alloc_ctor(0, 2, 0); +lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; +if (lean_is_scalar(x_417)) { + x_440 = lean_alloc_ctor(0, 2, 0); } else { - x_441 = x_418; + x_440 = x_417; } -lean_ctor_set(x_441, 0, x_425); -lean_ctor_set(x_441, 1, x_427); -x_442 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_442, 0, x_415); -lean_ctor_set(x_442, 1, x_441); -x_443 = lean_ctor_get(x_4, 2); -x_444 = lean_nat_add(x_6, x_443); +lean_ctor_set(x_440, 0, x_424); +lean_ctor_set(x_440, 1, x_426); +x_441 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_441, 0, x_414); +lean_ctor_set(x_441, 1, x_440); +x_442 = lean_ctor_get(x_4, 2); +x_443 = lean_nat_add(x_6, x_442); lean_dec(x_6); -x_445 = lean_box(0); -x_5 = x_445; -x_6 = x_444; +x_444 = lean_box(0); +x_5 = x_444; +x_6 = x_443; x_7 = lean_box(0); x_8 = lean_box(0); -x_9 = x_442; +x_9 = x_441; goto _start; } } else { -lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_447 = lean_box(0); -x_448 = lean_array_uset(x_417, x_422, x_447); -x_449 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_413, x_423); -x_450 = lean_array_uset(x_448, x_422, x_449); -if (lean_is_scalar(x_418)) { - x_451 = lean_alloc_ctor(0, 2, 0); +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +x_446 = lean_box(0); +x_447 = lean_array_uset(x_416, x_421, x_446); +x_448 = l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__25(x_19, x_412, x_422); +x_449 = lean_array_uset(x_447, x_421, x_448); +if (lean_is_scalar(x_417)) { + x_450 = lean_alloc_ctor(0, 2, 0); } else { - x_451 = x_418; + x_450 = x_417; } -lean_ctor_set(x_451, 0, x_416); +lean_ctor_set(x_450, 0, x_415); +lean_ctor_set(x_450, 1, x_449); +x_451 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_451, 0, x_414); lean_ctor_set(x_451, 1, x_450); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_415); -lean_ctor_set(x_452, 1, x_451); -x_453 = lean_ctor_get(x_4, 2); -x_454 = lean_nat_add(x_6, x_453); +x_452 = lean_ctor_get(x_4, 2); +x_453 = lean_nat_add(x_6, x_452); lean_dec(x_6); -x_455 = lean_box(0); -x_5 = x_455; -x_6 = x_454; +x_454 = lean_box(0); +x_5 = x_454; +x_6 = x_453; x_7 = lean_box(0); x_8 = lean_box(0); -x_9 = x_452; +x_9 = x_451; goto _start; } } } else { -lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; +lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; lean_dec(x_19); -x_457 = lean_ctor_get(x_17, 0); +x_456 = lean_ctor_get(x_17, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_456, 0); lean_inc(x_457); -x_458 = lean_ctor_get(x_457, 0); +x_458 = lean_ctor_get(x_457, 2); lean_inc(x_458); -x_459 = lean_ctor_get(x_458, 2); +x_459 = lean_ctor_get(x_35, 0); lean_inc(x_459); -x_460 = lean_ctor_get(x_35, 0); -lean_inc(x_460); lean_dec(x_35); -x_461 = !lean_is_exclusive(x_17); -if (x_461 == 0) +x_460 = !lean_is_exclusive(x_17); +if (x_460 == 0) { -lean_object* x_462; uint8_t x_463; -x_462 = lean_ctor_get(x_17, 0); -lean_dec(x_462); -x_463 = !lean_is_exclusive(x_457); -if (x_463 == 0) +lean_object* x_461; uint8_t x_462; +x_461 = lean_ctor_get(x_17, 0); +lean_dec(x_461); +x_462 = !lean_is_exclusive(x_456); +if (x_462 == 0) { -lean_object* x_464; uint8_t x_465; -x_464 = lean_ctor_get(x_457, 0); -lean_dec(x_464); -x_465 = !lean_is_exclusive(x_458); -if (x_465 == 0) +lean_object* x_463; uint8_t x_464; +x_463 = lean_ctor_get(x_456, 0); +lean_dec(x_463); +x_464 = !lean_is_exclusive(x_457); +if (x_464 == 0) { -lean_object* x_466; uint8_t x_467; -x_466 = lean_ctor_get(x_458, 2); -lean_dec(x_466); -x_467 = !lean_is_exclusive(x_459); -if (x_467 == 0) +lean_object* x_465; uint8_t x_466; +x_465 = lean_ctor_get(x_457, 2); +lean_dec(x_465); +x_466 = !lean_is_exclusive(x_458); +if (x_466 == 0) { -lean_object* x_468; lean_object* x_469; lean_object* x_470; double x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; double x_475; double x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -x_468 = lean_ctor_get(x_459, 2); -x_469 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_470 = lean_array_get(x_469, x_468, x_460); -x_471 = lean_unbox_float(x_470); -lean_dec(x_470); -x_472 = lean_ctor_get(x_2, 2); -x_473 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_474 = lean_array_get(x_473, x_472, x_6); -x_475 = lean_unbox_float(x_474); -lean_dec(x_474); -x_476 = lean_float_add(x_471, x_475); -x_477 = lean_box_float(x_476); -x_478 = lean_array_set(x_468, x_460, x_477); -lean_dec(x_460); -lean_ctor_set(x_459, 2, x_478); -x_479 = lean_ctor_get(x_4, 2); -x_480 = lean_nat_add(x_6, x_479); +lean_object* x_467; lean_object* x_468; lean_object* x_469; double x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; double x_474; double x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; +x_467 = lean_ctor_get(x_458, 2); +x_468 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_469 = lean_array_get(x_468, x_467, x_459); +x_470 = lean_unbox_float(x_469); +lean_dec(x_469); +x_471 = lean_ctor_get(x_2, 2); +x_472 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_473 = lean_array_get(x_472, x_471, x_6); +x_474 = lean_unbox_float(x_473); +lean_dec(x_473); +x_475 = lean_float_add(x_470, x_474); +x_476 = lean_box_float(x_475); +x_477 = lean_array_set(x_467, x_459, x_476); +lean_dec(x_459); +lean_ctor_set(x_458, 2, x_477); +x_478 = lean_ctor_get(x_4, 2); +x_479 = lean_nat_add(x_6, x_478); lean_dec(x_6); -x_481 = lean_box(0); -x_5 = x_481; -x_6 = x_480; +x_480 = lean_box(0); +x_5 = x_480; +x_6 = x_479; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53449,47 +53450,47 @@ goto _start; } else { -lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; double x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; double x_495; double x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; -x_483 = lean_ctor_get(x_459, 0); -x_484 = lean_ctor_get(x_459, 1); -x_485 = lean_ctor_get(x_459, 2); -x_486 = lean_ctor_get(x_459, 3); -x_487 = lean_ctor_get(x_459, 4); -x_488 = lean_ctor_get(x_459, 5); -lean_inc(x_488); +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; double x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; double x_494; double x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; +x_482 = lean_ctor_get(x_458, 0); +x_483 = lean_ctor_get(x_458, 1); +x_484 = lean_ctor_get(x_458, 2); +x_485 = lean_ctor_get(x_458, 3); +x_486 = lean_ctor_get(x_458, 4); +x_487 = lean_ctor_get(x_458, 5); lean_inc(x_487); lean_inc(x_486); lean_inc(x_485); lean_inc(x_484); lean_inc(x_483); +lean_inc(x_482); +lean_dec(x_458); +x_488 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_489 = lean_array_get(x_488, x_484, x_459); +x_490 = lean_unbox_float(x_489); +lean_dec(x_489); +x_491 = lean_ctor_get(x_2, 2); +x_492 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_493 = lean_array_get(x_492, x_491, x_6); +x_494 = lean_unbox_float(x_493); +lean_dec(x_493); +x_495 = lean_float_add(x_490, x_494); +x_496 = lean_box_float(x_495); +x_497 = lean_array_set(x_484, x_459, x_496); lean_dec(x_459); -x_489 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_490 = lean_array_get(x_489, x_485, x_460); -x_491 = lean_unbox_float(x_490); -lean_dec(x_490); -x_492 = lean_ctor_get(x_2, 2); -x_493 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_494 = lean_array_get(x_493, x_492, x_6); -x_495 = lean_unbox_float(x_494); -lean_dec(x_494); -x_496 = lean_float_add(x_491, x_495); -x_497 = lean_box_float(x_496); -x_498 = lean_array_set(x_485, x_460, x_497); -lean_dec(x_460); -x_499 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_499, 0, x_483); -lean_ctor_set(x_499, 1, x_484); -lean_ctor_set(x_499, 2, x_498); -lean_ctor_set(x_499, 3, x_486); -lean_ctor_set(x_499, 4, x_487); -lean_ctor_set(x_499, 5, x_488); -lean_ctor_set(x_458, 2, x_499); -x_500 = lean_ctor_get(x_4, 2); -x_501 = lean_nat_add(x_6, x_500); +x_498 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_498, 0, x_482); +lean_ctor_set(x_498, 1, x_483); +lean_ctor_set(x_498, 2, x_497); +lean_ctor_set(x_498, 3, x_485); +lean_ctor_set(x_498, 4, x_486); +lean_ctor_set(x_498, 5, x_487); +lean_ctor_set(x_457, 2, x_498); +x_499 = lean_ctor_get(x_4, 2); +x_500 = lean_nat_add(x_6, x_499); lean_dec(x_6); -x_502 = lean_box(0); -x_5 = x_502; -x_6 = x_501; +x_501 = lean_box(0); +x_5 = x_501; +x_6 = x_500; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53498,125 +53499,37 @@ goto _start; } else { -lean_object* x_504; lean_object* x_505; uint8_t x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; double x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; double x_526; double x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_504 = lean_ctor_get(x_458, 0); -x_505 = lean_ctor_get(x_458, 1); -x_506 = lean_ctor_get_uint8(x_458, sizeof(void*)*9); -x_507 = lean_ctor_get(x_458, 3); -x_508 = lean_ctor_get(x_458, 4); -x_509 = lean_ctor_get(x_458, 5); -x_510 = lean_ctor_get(x_458, 6); -x_511 = lean_ctor_get(x_458, 7); -x_512 = lean_ctor_get(x_458, 8); -lean_inc(x_512); +lean_object* x_503; lean_object* x_504; uint8_t x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; double x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; double x_525; double x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_503 = lean_ctor_get(x_457, 0); +x_504 = lean_ctor_get(x_457, 1); +x_505 = lean_ctor_get_uint8(x_457, sizeof(void*)*9); +x_506 = lean_ctor_get(x_457, 3); +x_507 = lean_ctor_get(x_457, 4); +x_508 = lean_ctor_get(x_457, 5); +x_509 = lean_ctor_get(x_457, 6); +x_510 = lean_ctor_get(x_457, 7); +x_511 = lean_ctor_get(x_457, 8); lean_inc(x_511); lean_inc(x_510); lean_inc(x_509); lean_inc(x_508); lean_inc(x_507); -lean_inc(x_505); +lean_inc(x_506); lean_inc(x_504); -lean_dec(x_458); -x_513 = lean_ctor_get(x_459, 0); -lean_inc(x_513); -x_514 = lean_ctor_get(x_459, 1); -lean_inc(x_514); -x_515 = lean_ctor_get(x_459, 2); -lean_inc(x_515); -x_516 = lean_ctor_get(x_459, 3); -lean_inc(x_516); -x_517 = lean_ctor_get(x_459, 4); -lean_inc(x_517); -x_518 = lean_ctor_get(x_459, 5); -lean_inc(x_518); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - lean_ctor_release(x_459, 2); - lean_ctor_release(x_459, 3); - lean_ctor_release(x_459, 4); - lean_ctor_release(x_459, 5); - x_519 = x_459; -} else { - lean_dec_ref(x_459); - x_519 = lean_box(0); -} -x_520 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_521 = lean_array_get(x_520, x_515, x_460); -x_522 = lean_unbox_float(x_521); -lean_dec(x_521); -x_523 = lean_ctor_get(x_2, 2); -x_524 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_525 = lean_array_get(x_524, x_523, x_6); -x_526 = lean_unbox_float(x_525); -lean_dec(x_525); -x_527 = lean_float_add(x_522, x_526); -x_528 = lean_box_float(x_527); -x_529 = lean_array_set(x_515, x_460, x_528); -lean_dec(x_460); -if (lean_is_scalar(x_519)) { - x_530 = lean_alloc_ctor(0, 6, 0); -} else { - x_530 = x_519; -} -lean_ctor_set(x_530, 0, x_513); -lean_ctor_set(x_530, 1, x_514); -lean_ctor_set(x_530, 2, x_529); -lean_ctor_set(x_530, 3, x_516); -lean_ctor_set(x_530, 4, x_517); -lean_ctor_set(x_530, 5, x_518); -x_531 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_531, 0, x_504); -lean_ctor_set(x_531, 1, x_505); -lean_ctor_set(x_531, 2, x_530); -lean_ctor_set(x_531, 3, x_507); -lean_ctor_set(x_531, 4, x_508); -lean_ctor_set(x_531, 5, x_509); -lean_ctor_set(x_531, 6, x_510); -lean_ctor_set(x_531, 7, x_511); -lean_ctor_set(x_531, 8, x_512); -lean_ctor_set_uint8(x_531, sizeof(void*)*9, x_506); -lean_ctor_set(x_457, 0, x_531); -x_532 = lean_ctor_get(x_4, 2); -x_533 = lean_nat_add(x_6, x_532); -lean_dec(x_6); -x_534 = lean_box(0); -x_5 = x_534; -x_6 = x_533; -x_7 = lean_box(0); -x_8 = lean_box(0); -x_9 = x_17; -goto _start; -} -} -else -{ -lean_object* x_536; lean_object* x_537; lean_object* x_538; double x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; double x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; double x_563; double x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_536 = lean_ctor_get(x_457, 1); -x_537 = lean_ctor_get(x_457, 2); -x_538 = lean_ctor_get(x_457, 3); -x_539 = lean_ctor_get_float(x_457, sizeof(void*)*4); -lean_inc(x_538); -lean_inc(x_537); -lean_inc(x_536); +lean_inc(x_503); lean_dec(x_457); -x_540 = lean_ctor_get(x_458, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_458, 1); -lean_inc(x_541); -x_542 = lean_ctor_get_uint8(x_458, sizeof(void*)*9); -x_543 = lean_ctor_get(x_458, 3); -lean_inc(x_543); -x_544 = lean_ctor_get(x_458, 4); -lean_inc(x_544); -x_545 = lean_ctor_get(x_458, 5); -lean_inc(x_545); -x_546 = lean_ctor_get(x_458, 6); -lean_inc(x_546); -x_547 = lean_ctor_get(x_458, 7); -lean_inc(x_547); -x_548 = lean_ctor_get(x_458, 8); -lean_inc(x_548); +x_512 = lean_ctor_get(x_458, 0); +lean_inc(x_512); +x_513 = lean_ctor_get(x_458, 1); +lean_inc(x_513); +x_514 = lean_ctor_get(x_458, 2); +lean_inc(x_514); +x_515 = lean_ctor_get(x_458, 3); +lean_inc(x_515); +x_516 = lean_ctor_get(x_458, 4); +lean_inc(x_516); +x_517 = lean_ctor_get(x_458, 5); +lean_inc(x_517); if (lean_is_exclusive(x_458)) { lean_ctor_release(x_458, 0); lean_ctor_release(x_458, 1); @@ -53624,90 +53537,53 @@ if (lean_is_exclusive(x_458)) { lean_ctor_release(x_458, 3); lean_ctor_release(x_458, 4); lean_ctor_release(x_458, 5); - lean_ctor_release(x_458, 6); - lean_ctor_release(x_458, 7); - lean_ctor_release(x_458, 8); - x_549 = x_458; + x_518 = x_458; } else { lean_dec_ref(x_458); - x_549 = lean_box(0); + x_518 = lean_box(0); } -x_550 = lean_ctor_get(x_459, 0); -lean_inc(x_550); -x_551 = lean_ctor_get(x_459, 1); -lean_inc(x_551); -x_552 = lean_ctor_get(x_459, 2); -lean_inc(x_552); -x_553 = lean_ctor_get(x_459, 3); -lean_inc(x_553); -x_554 = lean_ctor_get(x_459, 4); -lean_inc(x_554); -x_555 = lean_ctor_get(x_459, 5); -lean_inc(x_555); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - lean_ctor_release(x_459, 2); - lean_ctor_release(x_459, 3); - lean_ctor_release(x_459, 4); - lean_ctor_release(x_459, 5); - x_556 = x_459; +x_519 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_520 = lean_array_get(x_519, x_514, x_459); +x_521 = lean_unbox_float(x_520); +lean_dec(x_520); +x_522 = lean_ctor_get(x_2, 2); +x_523 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_524 = lean_array_get(x_523, x_522, x_6); +x_525 = lean_unbox_float(x_524); +lean_dec(x_524); +x_526 = lean_float_add(x_521, x_525); +x_527 = lean_box_float(x_526); +x_528 = lean_array_set(x_514, x_459, x_527); +lean_dec(x_459); +if (lean_is_scalar(x_518)) { + x_529 = lean_alloc_ctor(0, 6, 0); } else { - lean_dec_ref(x_459); - x_556 = lean_box(0); + x_529 = x_518; } -x_557 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_558 = lean_array_get(x_557, x_552, x_460); -x_559 = lean_unbox_float(x_558); -lean_dec(x_558); -x_560 = lean_ctor_get(x_2, 2); -x_561 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_562 = lean_array_get(x_561, x_560, x_6); -x_563 = lean_unbox_float(x_562); -lean_dec(x_562); -x_564 = lean_float_add(x_559, x_563); -x_565 = lean_box_float(x_564); -x_566 = lean_array_set(x_552, x_460, x_565); -lean_dec(x_460); -if (lean_is_scalar(x_556)) { - x_567 = lean_alloc_ctor(0, 6, 0); -} else { - x_567 = x_556; -} -lean_ctor_set(x_567, 0, x_550); -lean_ctor_set(x_567, 1, x_551); -lean_ctor_set(x_567, 2, x_566); -lean_ctor_set(x_567, 3, x_553); -lean_ctor_set(x_567, 4, x_554); -lean_ctor_set(x_567, 5, x_555); -if (lean_is_scalar(x_549)) { - x_568 = lean_alloc_ctor(0, 9, 1); -} else { - x_568 = x_549; -} -lean_ctor_set(x_568, 0, x_540); -lean_ctor_set(x_568, 1, x_541); -lean_ctor_set(x_568, 2, x_567); -lean_ctor_set(x_568, 3, x_543); -lean_ctor_set(x_568, 4, x_544); -lean_ctor_set(x_568, 5, x_545); -lean_ctor_set(x_568, 6, x_546); -lean_ctor_set(x_568, 7, x_547); -lean_ctor_set(x_568, 8, x_548); -lean_ctor_set_uint8(x_568, sizeof(void*)*9, x_542); -x_569 = lean_alloc_ctor(0, 4, 8); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_536); -lean_ctor_set(x_569, 2, x_537); -lean_ctor_set(x_569, 3, x_538); -lean_ctor_set_float(x_569, sizeof(void*)*4, x_539); -lean_ctor_set(x_17, 0, x_569); -x_570 = lean_ctor_get(x_4, 2); -x_571 = lean_nat_add(x_6, x_570); +lean_ctor_set(x_529, 0, x_512); +lean_ctor_set(x_529, 1, x_513); +lean_ctor_set(x_529, 2, x_528); +lean_ctor_set(x_529, 3, x_515); +lean_ctor_set(x_529, 4, x_516); +lean_ctor_set(x_529, 5, x_517); +x_530 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_530, 0, x_503); +lean_ctor_set(x_530, 1, x_504); +lean_ctor_set(x_530, 2, x_529); +lean_ctor_set(x_530, 3, x_506); +lean_ctor_set(x_530, 4, x_507); +lean_ctor_set(x_530, 5, x_508); +lean_ctor_set(x_530, 6, x_509); +lean_ctor_set(x_530, 7, x_510); +lean_ctor_set(x_530, 8, x_511); +lean_ctor_set_uint8(x_530, sizeof(void*)*9, x_505); +lean_ctor_set(x_456, 0, x_530); +x_531 = lean_ctor_get(x_4, 2); +x_532 = lean_nat_add(x_6, x_531); lean_dec(x_6); -x_572 = lean_box(0); -x_5 = x_572; -x_6 = x_571; +x_533 = lean_box(0); +x_5 = x_533; +x_6 = x_532; x_7 = lean_box(0); x_8 = lean_box(0); x_9 = x_17; @@ -53716,44 +53592,59 @@ goto _start; } else { -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; double x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; double x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; double x_603; double x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -x_574 = lean_ctor_get(x_17, 1); -lean_inc(x_574); -lean_dec(x_17); -x_575 = lean_ctor_get(x_457, 1); -lean_inc(x_575); -x_576 = lean_ctor_get(x_457, 2); -lean_inc(x_576); -x_577 = lean_ctor_get(x_457, 3); -lean_inc(x_577); -x_578 = lean_ctor_get_float(x_457, sizeof(void*)*4); +lean_object* x_535; lean_object* x_536; lean_object* x_537; double x_538; lean_object* x_539; lean_object* x_540; uint8_t x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; double x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; double x_562; double x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_535 = lean_ctor_get(x_456, 1); +x_536 = lean_ctor_get(x_456, 2); +x_537 = lean_ctor_get(x_456, 3); +x_538 = lean_ctor_get_float(x_456, sizeof(void*)*4); +lean_inc(x_537); +lean_inc(x_536); +lean_inc(x_535); +lean_dec(x_456); +x_539 = lean_ctor_get(x_457, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_457, 1); +lean_inc(x_540); +x_541 = lean_ctor_get_uint8(x_457, sizeof(void*)*9); +x_542 = lean_ctor_get(x_457, 3); +lean_inc(x_542); +x_543 = lean_ctor_get(x_457, 4); +lean_inc(x_543); +x_544 = lean_ctor_get(x_457, 5); +lean_inc(x_544); +x_545 = lean_ctor_get(x_457, 6); +lean_inc(x_545); +x_546 = lean_ctor_get(x_457, 7); +lean_inc(x_546); +x_547 = lean_ctor_get(x_457, 8); +lean_inc(x_547); if (lean_is_exclusive(x_457)) { lean_ctor_release(x_457, 0); lean_ctor_release(x_457, 1); lean_ctor_release(x_457, 2); lean_ctor_release(x_457, 3); - x_579 = x_457; + lean_ctor_release(x_457, 4); + lean_ctor_release(x_457, 5); + lean_ctor_release(x_457, 6); + lean_ctor_release(x_457, 7); + lean_ctor_release(x_457, 8); + x_548 = x_457; } else { lean_dec_ref(x_457); - x_579 = lean_box(0); + x_548 = lean_box(0); } -x_580 = lean_ctor_get(x_458, 0); -lean_inc(x_580); -x_581 = lean_ctor_get(x_458, 1); -lean_inc(x_581); -x_582 = lean_ctor_get_uint8(x_458, sizeof(void*)*9); -x_583 = lean_ctor_get(x_458, 3); -lean_inc(x_583); -x_584 = lean_ctor_get(x_458, 4); -lean_inc(x_584); -x_585 = lean_ctor_get(x_458, 5); -lean_inc(x_585); -x_586 = lean_ctor_get(x_458, 6); -lean_inc(x_586); -x_587 = lean_ctor_get(x_458, 7); -lean_inc(x_587); -x_588 = lean_ctor_get(x_458, 8); -lean_inc(x_588); +x_549 = lean_ctor_get(x_458, 0); +lean_inc(x_549); +x_550 = lean_ctor_get(x_458, 1); +lean_inc(x_550); +x_551 = lean_ctor_get(x_458, 2); +lean_inc(x_551); +x_552 = lean_ctor_get(x_458, 3); +lean_inc(x_552); +x_553 = lean_ctor_get(x_458, 4); +lean_inc(x_553); +x_554 = lean_ctor_get(x_458, 5); +lean_inc(x_554); if (lean_is_exclusive(x_458)) { lean_ctor_release(x_458, 0); lean_ctor_release(x_458, 1); @@ -53761,99 +53652,209 @@ if (lean_is_exclusive(x_458)) { lean_ctor_release(x_458, 3); lean_ctor_release(x_458, 4); lean_ctor_release(x_458, 5); - lean_ctor_release(x_458, 6); - lean_ctor_release(x_458, 7); - lean_ctor_release(x_458, 8); - x_589 = x_458; + x_555 = x_458; } else { lean_dec_ref(x_458); - x_589 = lean_box(0); + x_555 = lean_box(0); } -x_590 = lean_ctor_get(x_459, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_459, 1); -lean_inc(x_591); -x_592 = lean_ctor_get(x_459, 2); -lean_inc(x_592); -x_593 = lean_ctor_get(x_459, 3); -lean_inc(x_593); -x_594 = lean_ctor_get(x_459, 4); -lean_inc(x_594); -x_595 = lean_ctor_get(x_459, 5); -lean_inc(x_595); -if (lean_is_exclusive(x_459)) { - lean_ctor_release(x_459, 0); - lean_ctor_release(x_459, 1); - lean_ctor_release(x_459, 2); - lean_ctor_release(x_459, 3); - lean_ctor_release(x_459, 4); - lean_ctor_release(x_459, 5); - x_596 = x_459; +x_556 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_557 = lean_array_get(x_556, x_551, x_459); +x_558 = lean_unbox_float(x_557); +lean_dec(x_557); +x_559 = lean_ctor_get(x_2, 2); +x_560 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_561 = lean_array_get(x_560, x_559, x_6); +x_562 = lean_unbox_float(x_561); +lean_dec(x_561); +x_563 = lean_float_add(x_558, x_562); +x_564 = lean_box_float(x_563); +x_565 = lean_array_set(x_551, x_459, x_564); +lean_dec(x_459); +if (lean_is_scalar(x_555)) { + x_566 = lean_alloc_ctor(0, 6, 0); } else { - lean_dec_ref(x_459); - x_596 = lean_box(0); + x_566 = x_555; } -x_597 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_598 = lean_array_get(x_597, x_592, x_460); -x_599 = lean_unbox_float(x_598); -lean_dec(x_598); -x_600 = lean_ctor_get(x_2, 2); -x_601 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; -x_602 = lean_array_get(x_601, x_600, x_6); -x_603 = lean_unbox_float(x_602); -lean_dec(x_602); -x_604 = lean_float_add(x_599, x_603); -x_605 = lean_box_float(x_604); -x_606 = lean_array_set(x_592, x_460, x_605); -lean_dec(x_460); -if (lean_is_scalar(x_596)) { - x_607 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_566, 0, x_549); +lean_ctor_set(x_566, 1, x_550); +lean_ctor_set(x_566, 2, x_565); +lean_ctor_set(x_566, 3, x_552); +lean_ctor_set(x_566, 4, x_553); +lean_ctor_set(x_566, 5, x_554); +if (lean_is_scalar(x_548)) { + x_567 = lean_alloc_ctor(0, 9, 1); } else { - x_607 = x_596; + x_567 = x_548; } -lean_ctor_set(x_607, 0, x_590); -lean_ctor_set(x_607, 1, x_591); -lean_ctor_set(x_607, 2, x_606); -lean_ctor_set(x_607, 3, x_593); -lean_ctor_set(x_607, 4, x_594); -lean_ctor_set(x_607, 5, x_595); -if (lean_is_scalar(x_589)) { - x_608 = lean_alloc_ctor(0, 9, 1); -} else { - x_608 = x_589; -} -lean_ctor_set(x_608, 0, x_580); -lean_ctor_set(x_608, 1, x_581); -lean_ctor_set(x_608, 2, x_607); -lean_ctor_set(x_608, 3, x_583); -lean_ctor_set(x_608, 4, x_584); -lean_ctor_set(x_608, 5, x_585); -lean_ctor_set(x_608, 6, x_586); -lean_ctor_set(x_608, 7, x_587); -lean_ctor_set(x_608, 8, x_588); -lean_ctor_set_uint8(x_608, sizeof(void*)*9, x_582); -if (lean_is_scalar(x_579)) { - x_609 = lean_alloc_ctor(0, 4, 8); -} else { - x_609 = x_579; -} -lean_ctor_set(x_609, 0, x_608); -lean_ctor_set(x_609, 1, x_575); -lean_ctor_set(x_609, 2, x_576); -lean_ctor_set(x_609, 3, x_577); -lean_ctor_set_float(x_609, sizeof(void*)*4, x_578); -x_610 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_574); -x_611 = lean_ctor_get(x_4, 2); -x_612 = lean_nat_add(x_6, x_611); +lean_ctor_set(x_567, 0, x_539); +lean_ctor_set(x_567, 1, x_540); +lean_ctor_set(x_567, 2, x_566); +lean_ctor_set(x_567, 3, x_542); +lean_ctor_set(x_567, 4, x_543); +lean_ctor_set(x_567, 5, x_544); +lean_ctor_set(x_567, 6, x_545); +lean_ctor_set(x_567, 7, x_546); +lean_ctor_set(x_567, 8, x_547); +lean_ctor_set_uint8(x_567, sizeof(void*)*9, x_541); +x_568 = lean_alloc_ctor(0, 4, 8); +lean_ctor_set(x_568, 0, x_567); +lean_ctor_set(x_568, 1, x_535); +lean_ctor_set(x_568, 2, x_536); +lean_ctor_set(x_568, 3, x_537); +lean_ctor_set_float(x_568, sizeof(void*)*4, x_538); +lean_ctor_set(x_17, 0, x_568); +x_569 = lean_ctor_get(x_4, 2); +x_570 = lean_nat_add(x_6, x_569); lean_dec(x_6); -x_613 = lean_box(0); -x_5 = x_613; -x_6 = x_612; +x_571 = lean_box(0); +x_5 = x_571; +x_6 = x_570; x_7 = lean_box(0); x_8 = lean_box(0); -x_9 = x_610; +x_9 = x_17; +goto _start; +} +} +else +{ +lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; double x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; double x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; double x_602; double x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; +x_573 = lean_ctor_get(x_17, 1); +lean_inc(x_573); +lean_dec(x_17); +x_574 = lean_ctor_get(x_456, 1); +lean_inc(x_574); +x_575 = lean_ctor_get(x_456, 2); +lean_inc(x_575); +x_576 = lean_ctor_get(x_456, 3); +lean_inc(x_576); +x_577 = lean_ctor_get_float(x_456, sizeof(void*)*4); +if (lean_is_exclusive(x_456)) { + lean_ctor_release(x_456, 0); + lean_ctor_release(x_456, 1); + lean_ctor_release(x_456, 2); + lean_ctor_release(x_456, 3); + x_578 = x_456; +} else { + lean_dec_ref(x_456); + x_578 = lean_box(0); +} +x_579 = lean_ctor_get(x_457, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_457, 1); +lean_inc(x_580); +x_581 = lean_ctor_get_uint8(x_457, sizeof(void*)*9); +x_582 = lean_ctor_get(x_457, 3); +lean_inc(x_582); +x_583 = lean_ctor_get(x_457, 4); +lean_inc(x_583); +x_584 = lean_ctor_get(x_457, 5); +lean_inc(x_584); +x_585 = lean_ctor_get(x_457, 6); +lean_inc(x_585); +x_586 = lean_ctor_get(x_457, 7); +lean_inc(x_586); +x_587 = lean_ctor_get(x_457, 8); +lean_inc(x_587); +if (lean_is_exclusive(x_457)) { + lean_ctor_release(x_457, 0); + lean_ctor_release(x_457, 1); + lean_ctor_release(x_457, 2); + lean_ctor_release(x_457, 3); + lean_ctor_release(x_457, 4); + lean_ctor_release(x_457, 5); + lean_ctor_release(x_457, 6); + lean_ctor_release(x_457, 7); + lean_ctor_release(x_457, 8); + x_588 = x_457; +} else { + lean_dec_ref(x_457); + x_588 = lean_box(0); +} +x_589 = lean_ctor_get(x_458, 0); +lean_inc(x_589); +x_590 = lean_ctor_get(x_458, 1); +lean_inc(x_590); +x_591 = lean_ctor_get(x_458, 2); +lean_inc(x_591); +x_592 = lean_ctor_get(x_458, 3); +lean_inc(x_592); +x_593 = lean_ctor_get(x_458, 4); +lean_inc(x_593); +x_594 = lean_ctor_get(x_458, 5); +lean_inc(x_594); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + lean_ctor_release(x_458, 2); + lean_ctor_release(x_458, 3); + lean_ctor_release(x_458, 4); + lean_ctor_release(x_458, 5); + x_595 = x_458; +} else { + lean_dec_ref(x_458); + x_595 = lean_box(0); +} +x_596 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_597 = lean_array_get(x_596, x_591, x_459); +x_598 = lean_unbox_float(x_597); +lean_dec(x_597); +x_599 = lean_ctor_get(x_2, 2); +x_600 = l_Std_Range_forIn_x27_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___spec__1___boxed__const__2; +x_601 = lean_array_get(x_600, x_599, x_6); +x_602 = lean_unbox_float(x_601); +lean_dec(x_601); +x_603 = lean_float_add(x_598, x_602); +x_604 = lean_box_float(x_603); +x_605 = lean_array_set(x_591, x_459, x_604); +lean_dec(x_459); +if (lean_is_scalar(x_595)) { + x_606 = lean_alloc_ctor(0, 6, 0); +} else { + x_606 = x_595; +} +lean_ctor_set(x_606, 0, x_589); +lean_ctor_set(x_606, 1, x_590); +lean_ctor_set(x_606, 2, x_605); +lean_ctor_set(x_606, 3, x_592); +lean_ctor_set(x_606, 4, x_593); +lean_ctor_set(x_606, 5, x_594); +if (lean_is_scalar(x_588)) { + x_607 = lean_alloc_ctor(0, 9, 1); +} else { + x_607 = x_588; +} +lean_ctor_set(x_607, 0, x_579); +lean_ctor_set(x_607, 1, x_580); +lean_ctor_set(x_607, 2, x_606); +lean_ctor_set(x_607, 3, x_582); +lean_ctor_set(x_607, 4, x_583); +lean_ctor_set(x_607, 5, x_584); +lean_ctor_set(x_607, 6, x_585); +lean_ctor_set(x_607, 7, x_586); +lean_ctor_set(x_607, 8, x_587); +lean_ctor_set_uint8(x_607, sizeof(void*)*9, x_581); +if (lean_is_scalar(x_578)) { + x_608 = lean_alloc_ctor(0, 4, 8); +} else { + x_608 = x_578; +} +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_574); +lean_ctor_set(x_608, 2, x_575); +lean_ctor_set(x_608, 3, x_576); +lean_ctor_set_float(x_608, sizeof(void*)*4, x_577); +x_609 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_609, 0, x_608); +lean_ctor_set(x_609, 1, x_573); +x_610 = lean_ctor_get(x_4, 2); +x_611 = lean_nat_add(x_6, x_610); +lean_dec(x_6); +x_612 = lean_box(0); +x_5 = x_612; +x_6 = x_611; +x_7 = lean_box(0); +x_8 = lean_box(0); +x_9 = x_609; goto _start; } } diff --git a/stage0/stdlib/Std/Sync/Channel.c b/stage0/stdlib/Std/Sync/Channel.c index 436ca69c78..ed84c80ecc 100644 --- a/stage0/stdlib/Std/Sync/Channel.c +++ b/stage0/stdlib/Std/Sync/Channel.c @@ -80,7 +80,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Std_Sync_Ch LEAN_EXPORT lean_object* l_StateRefT_x27_get___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_trySend___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Sync_forIn___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Unbounded_recv___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Unbounded_recv___rarg___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_isClosed___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -240,7 +239,6 @@ LEAN_EXPORT lean_object* l_StateRefT_x27_get___at___private_Std_Sync_Channel_0__ LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_close___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Mutex_atomically___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Unbounded_tryRecv___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Channel_forAsync(lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_CloseableChannel_sync(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27(lean_object*); LEAN_EXPORT lean_object* l_Std_CloseableChannel_Sync_recv___rarg(lean_object*, lean_object*); @@ -401,6 +399,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Std_Sync_Channel_0__Std_C static lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_recv___rarg___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_close___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_CloseableChannel_sync___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Unbounded_new(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Zero_trySend___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -420,6 +419,7 @@ LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bo LEAN_EXPORT lean_object* l_StateRefT_x27_get___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_send___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_trySend___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_Channel_Sync_forIn___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Sync_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_trySend_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_hashError____x40_Std_Sync_Channel___hyg_194____boxed(lean_object*); @@ -10699,6 +10699,60 @@ lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_st_ref_set(x_4, x_2, x_5); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_6, 0); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_1); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +else +{ +uint8_t x_11; +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_6); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -10736,7 +10790,7 @@ x_19 = lean_st_ref_swap(x_17, x_18, x_7); lean_dec(x_17); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -10748,119 +10802,158 @@ lean_dec(x_14); x_24 = lean_nat_dec_eq(x_23, x_10); x_25 = lean_nat_sub(x_12, x_22); lean_dec(x_12); +lean_inc(x_8); +x_26 = l_Std_Queue_dequeue_x3f___rarg(x_8); if (x_24 == 0) { -lean_object* x_26; -lean_ctor_set(x_5, 6, x_23); -lean_ctor_set(x_5, 4, x_25); -x_26 = lean_st_ref_set(x_1, x_5, x_21); if (lean_obj_tag(x_26) == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -lean_ctor_set(x_26, 0, x_20); -return x_26; +lean_object* x_27; lean_object* x_28; +lean_ctor_set(x_5, 6, x_23); +lean_ctor_set(x_5, 4, x_25); +x_27 = lean_box(0); +x_28 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_20, x_5, x_27, x_1, x_21); +return x_28; } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_26, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_8); +x_29 = lean_ctor_get(x_26, 0); lean_inc(x_29); lean_dec(x_26); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_20); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} +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 = 1; +x_33 = lean_box(x_32); +x_34 = lean_io_promise_resolve(x_33, x_30, x_21); +lean_dec(x_30); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +lean_ctor_set(x_5, 6, x_23); +lean_ctor_set(x_5, 4, x_25); +lean_ctor_set(x_5, 0, x_31); +x_36 = lean_box(0); +x_37 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_20, x_5, x_36, x_1, x_35); +return x_37; } else { -uint8_t x_31; +uint8_t x_38; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_23); lean_dec(x_20); -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) +lean_free_object(x_5); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_38 = !lean_is_exclusive(x_34); +if (x_38 == 0) { -return x_26; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_26); -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 +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} } } else { -lean_object* x_35; lean_dec(x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_ctor_set(x_5, 6, x_15); lean_ctor_set(x_5, 4, x_25); -x_35 = lean_st_ref_set(x_1, x_5, x_21); -if (lean_obj_tag(x_35) == 0) -{ -uint8_t x_36; -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_35, 0); -lean_dec(x_37); -lean_ctor_set(x_35, 0, x_20); -return x_35; -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_20); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_dec(x_20); -x_40 = !lean_is_exclusive(x_35); -if (x_40 == 0) -{ -return x_35; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_35, 0); -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_35); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); +x_42 = lean_box(0); +x_43 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_20, x_5, x_42, x_1, x_21); return x_43; } +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_8); +x_44 = lean_ctor_get(x_26, 0); +lean_inc(x_44); +lean_dec(x_26); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = 1; +x_48 = lean_box(x_47); +x_49 = lean_io_promise_resolve(x_48, x_45, x_21); +lean_dec(x_45); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +lean_ctor_set(x_5, 6, x_15); +lean_ctor_set(x_5, 4, x_25); +lean_ctor_set(x_5, 0, x_46); +x_51 = lean_box(0); +x_52 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_20, x_5, x_51, x_1, x_50); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_46); +lean_dec(x_25); +lean_dec(x_20); +lean_free_object(x_5); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) +{ +return x_49; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_49, 0); +x_55 = lean_ctor_get(x_49, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_49); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} } } } else { -uint8_t x_44; +uint8_t x_57; lean_free_object(x_5); lean_dec(x_14); lean_dec(x_13); @@ -10869,29 +10962,29 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_44 = !lean_is_exclusive(x_19); -if (x_44 == 0) +x_57 = !lean_is_exclusive(x_19); +if (x_57 == 0) { return x_19; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_19, 0); -x_46 = lean_ctor_get(x_19, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_19, 0); +x_59 = lean_ctor_get(x_19, 1); +lean_inc(x_59); +lean_inc(x_58); lean_dec(x_19); -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; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -lean_object* x_48; +lean_object* x_61; lean_free_object(x_5); lean_dec(x_14); lean_dec(x_13); @@ -10900,490 +10993,606 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_48 = lean_box(0); -lean_ctor_set(x_3, 0, x_48); -return x_3; -} -} -else -{ -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; uint8_t x_57; lean_object* x_58; uint8_t x_59; -x_49 = lean_ctor_get(x_3, 1); -x_50 = lean_ctor_get(x_5, 0); -x_51 = lean_ctor_get(x_5, 1); -x_52 = lean_ctor_get(x_5, 2); -x_53 = lean_ctor_get(x_5, 3); -x_54 = lean_ctor_get(x_5, 4); -x_55 = lean_ctor_get(x_5, 5); -x_56 = lean_ctor_get(x_5, 6); -x_57 = lean_ctor_get_uint8(x_5, sizeof(void*)*7); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_5); -x_58 = lean_unsigned_to_nat(0u); -x_59 = lean_nat_dec_eq(x_54, x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_free_object(x_3); -x_60 = lean_array_fget(x_53, x_56); x_61 = lean_box(0); -x_62 = lean_st_ref_swap(x_60, x_61, x_49); -lean_dec(x_60); -if (lean_obj_tag(x_62) == 0) +lean_ctor_set(x_3, 0, x_61); +return x_3; +} +} +else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +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; uint8_t x_70; lean_object* x_71; uint8_t x_72; +x_62 = lean_ctor_get(x_3, 1); +x_63 = lean_ctor_get(x_5, 0); +x_64 = lean_ctor_get(x_5, 1); +x_65 = lean_ctor_get(x_5, 2); +x_66 = lean_ctor_get(x_5, 3); +x_67 = lean_ctor_get(x_5, 4); +x_68 = lean_ctor_get(x_5, 5); +x_69 = lean_ctor_get(x_5, 6); +x_70 = lean_ctor_get_uint8(x_5, sizeof(void*)*7); +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_62); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_add(x_56, x_65); -lean_dec(x_56); -x_67 = lean_nat_dec_eq(x_66, x_52); -x_68 = lean_nat_sub(x_54, x_65); -lean_dec(x_54); -if (x_67 == 0) +lean_inc(x_63); +lean_dec(x_5); +x_71 = lean_unsigned_to_nat(0u); +x_72 = lean_nat_dec_eq(x_67, x_71); +if (x_72 == 0) { -lean_object* x_69; lean_object* x_70; -x_69 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_69, 0, x_50); -lean_ctor_set(x_69, 1, x_51); -lean_ctor_set(x_69, 2, x_52); -lean_ctor_set(x_69, 3, x_53); -lean_ctor_set(x_69, 4, x_68); -lean_ctor_set(x_69, 5, x_55); -lean_ctor_set(x_69, 6, x_66); -lean_ctor_set_uint8(x_69, sizeof(void*)*7, x_57); -x_70 = lean_st_ref_set(x_1, x_69, x_64); -if (lean_obj_tag(x_70) == 0) +lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_free_object(x_3); +x_73 = lean_array_fget(x_66, x_69); +x_74 = lean_box(0); +x_75 = lean_st_ref_swap(x_73, x_74, x_62); +lean_dec(x_73); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_72 = x_70; -} else { - lean_dec_ref(x_70); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_63); -lean_ctor_set(x_73, 1, x_71); -return x_73; +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_unsigned_to_nat(1u); +x_79 = lean_nat_add(x_69, x_78); +lean_dec(x_69); +x_80 = lean_nat_dec_eq(x_79, x_65); +x_81 = lean_nat_sub(x_67, x_78); +lean_dec(x_67); +lean_inc(x_63); +x_82 = l_Std_Queue_dequeue_x3f___rarg(x_63); +if (x_80 == 0) +{ +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_83, 0, x_63); +lean_ctor_set(x_83, 1, x_64); +lean_ctor_set(x_83, 2, x_65); +lean_ctor_set(x_83, 3, x_66); +lean_ctor_set(x_83, 4, x_81); +lean_ctor_set(x_83, 5, x_68); +lean_ctor_set(x_83, 6, x_79); +lean_ctor_set_uint8(x_83, sizeof(void*)*7, x_70); +x_84 = lean_box(0); +x_85 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_76, x_83, x_84, x_1, x_77); +return x_85; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_dec(x_63); -x_74 = lean_ctor_get(x_70, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_76 = x_70; -} else { - lean_dec_ref(x_70); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; -lean_dec(x_66); -x_78 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_78, 0, x_50); -lean_ctor_set(x_78, 1, x_51); -lean_ctor_set(x_78, 2, x_52); -lean_ctor_set(x_78, 3, x_53); -lean_ctor_set(x_78, 4, x_68); -lean_ctor_set(x_78, 5, x_55); -lean_ctor_set(x_78, 6, x_58); -lean_ctor_set_uint8(x_78, sizeof(void*)*7, x_57); -x_79 = lean_st_ref_set(x_1, x_78, x_64); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; -} else { - lean_dec_ref(x_79); - x_81 = lean_box(0); -} -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(0, 2, 0); -} else { - x_82 = x_81; -} -lean_ctor_set(x_82, 0, x_63); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_63); -x_83 = lean_ctor_get(x_79, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_79, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_85 = x_79; -} else { - lean_dec_ref(x_79); - x_85 = lean_box(0); -} -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 2, 0); -} else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -return x_86; -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_56); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -x_87 = lean_ctor_get(x_62, 0); +x_86 = lean_ctor_get(x_82, 0); +lean_inc(x_86); +lean_dec(x_82); +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -x_88 = lean_ctor_get(x_62, 1); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_89 = x_62; -} else { - lean_dec_ref(x_62); - x_89 = lean_box(0); -} -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(1, 2, 0); -} else { - x_90 = x_89; -} -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -return x_90; -} -} -else +lean_dec(x_86); +x_89 = 1; +x_90 = lean_box(x_89); +x_91 = lean_io_promise_resolve(x_90, x_87, x_77); +lean_dec(x_87); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_91; -lean_dec(x_56); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_50); -x_91 = lean_box(0); -lean_ctor_set(x_3, 0, x_91); -return x_3; -} -} -} -else -{ -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; uint8_t x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_92 = lean_ctor_get(x_3, 0); -x_93 = lean_ctor_get(x_3, 1); -lean_inc(x_93); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_91, 1); lean_inc(x_92); -lean_dec(x_3); -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_dec(x_91); +x_93 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_93, 0, x_88); +lean_ctor_set(x_93, 1, x_64); +lean_ctor_set(x_93, 2, x_65); +lean_ctor_set(x_93, 3, x_66); +lean_ctor_set(x_93, 4, x_81); +lean_ctor_set(x_93, 5, x_68); +lean_ctor_set(x_93, 6, x_79); +lean_ctor_set_uint8(x_93, sizeof(void*)*7, x_70); +x_94 = lean_box(0); +x_95 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_76, x_93, x_94, x_1, x_92); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_88); +lean_dec(x_81); +lean_dec(x_79); +lean_dec(x_76); +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +x_96 = lean_ctor_get(x_91, 0); lean_inc(x_96); -x_97 = lean_ctor_get(x_92, 3); +x_97 = lean_ctor_get(x_91, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_92, 4); -lean_inc(x_98); -x_99 = lean_ctor_get(x_92, 5); -lean_inc(x_99); -x_100 = lean_ctor_get(x_92, 6); -lean_inc(x_100); -x_101 = lean_ctor_get_uint8(x_92, sizeof(void*)*7); -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); - x_102 = x_92; +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_98 = x_91; } else { - lean_dec_ref(x_92); - x_102 = lean_box(0); + lean_dec_ref(x_91); + x_98 = lean_box(0); } -x_103 = lean_unsigned_to_nat(0u); -x_104 = lean_nat_dec_eq(x_98, x_103); -if (x_104 == 0) +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_array_fget(x_97, x_100); -x_106 = lean_box(0); -x_107 = lean_st_ref_swap(x_105, x_106, x_93); -lean_dec(x_105); -if (lean_obj_tag(x_107) == 0) +lean_dec(x_79); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_100, 0, x_63); +lean_ctor_set(x_100, 1, x_64); +lean_ctor_set(x_100, 2, x_65); +lean_ctor_set(x_100, 3, x_66); +lean_ctor_set(x_100, 4, x_81); +lean_ctor_set(x_100, 5, x_68); +lean_ctor_set(x_100, 6, x_71); +lean_ctor_set_uint8(x_100, sizeof(void*)*7, x_70); +x_101 = lean_box(0); +x_102 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_76, x_100, x_101, x_1, x_77); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_63); +x_103 = lean_ctor_get(x_82, 0); +lean_inc(x_103); +lean_dec(x_82); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = 1; +x_107 = lean_box(x_106); +x_108 = lean_io_promise_resolve(x_107, x_104, x_77); +lean_dec(x_104); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_unsigned_to_nat(1u); -x_111 = lean_nat_add(x_100, x_110); -lean_dec(x_100); -x_112 = lean_nat_dec_eq(x_111, x_96); -x_113 = lean_nat_sub(x_98, x_110); -lean_dec(x_98); -if (x_112 == 0) -{ -lean_object* x_114; lean_object* x_115; -if (lean_is_scalar(x_102)) { - x_114 = lean_alloc_ctor(0, 7, 1); -} else { - x_114 = x_102; -} -lean_ctor_set(x_114, 0, x_94); -lean_ctor_set(x_114, 1, x_95); -lean_ctor_set(x_114, 2, x_96); -lean_ctor_set(x_114, 3, x_97); -lean_ctor_set(x_114, 4, x_113); -lean_ctor_set(x_114, 5, x_99); -lean_ctor_set(x_114, 6, x_111); -lean_ctor_set_uint8(x_114, sizeof(void*)*7, x_101); -x_115 = lean_st_ref_set(x_1, x_114, x_109); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_117 = x_115; -} else { - lean_dec_ref(x_115); - x_117 = lean_box(0); -} -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(0, 2, 0); -} else { - x_118 = x_117; -} -lean_ctor_set(x_118, 0, x_108); -lean_ctor_set(x_118, 1, x_116); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_dec(x_108); -x_119 = lean_ctor_get(x_115, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_115, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_121 = x_115; -} else { - lean_dec_ref(x_115); - x_121 = lean_box(0); +x_110 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_64); +lean_ctor_set(x_110, 2, x_65); +lean_ctor_set(x_110, 3, x_66); +lean_ctor_set(x_110, 4, x_81); +lean_ctor_set(x_110, 5, x_68); +lean_ctor_set(x_110, 6, x_71); +lean_ctor_set_uint8(x_110, sizeof(void*)*7, x_70); +x_111 = lean_box(0); +x_112 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_76, x_110, x_111, x_1, x_109); +return x_112; } -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_105); +lean_dec(x_81); +lean_dec(x_76); +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +x_113 = lean_ctor_get(x_108, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_108, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_115 = x_108; } else { - x_122 = x_121; + lean_dec_ref(x_108); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} } -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_120); -return x_122; } } else { -lean_object* x_123; lean_object* x_124; -lean_dec(x_111); -if (lean_is_scalar(x_102)) { - x_123 = lean_alloc_ctor(0, 7, 1); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_63); +x_117 = lean_ctor_get(x_75, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_75, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_119 = x_75; } else { - x_123 = x_102; + lean_dec_ref(x_75); + x_119 = lean_box(0); } -lean_ctor_set(x_123, 0, x_94); -lean_ctor_set(x_123, 1, x_95); -lean_ctor_set(x_123, 2, x_96); -lean_ctor_set(x_123, 3, x_97); -lean_ctor_set(x_123, 4, x_113); -lean_ctor_set(x_123, 5, x_99); -lean_ctor_set(x_123, 6, x_103); -lean_ctor_set_uint8(x_123, sizeof(void*)*7, x_101); -x_124 = lean_st_ref_set(x_1, x_123, x_109); -if (lean_obj_tag(x_124) == 0) +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 2, 0); +} else { + x_120 = x_119; +} +lean_ctor_set(x_120, 0, x_117); +lean_ctor_set(x_120, 1, x_118); +return x_120; +} +} +else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_124, 1); +lean_object* x_121; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_63); +x_121 = lean_box(0); +lean_ctor_set(x_3, 0, x_121); +return x_3; +} +} +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_122 = lean_ctor_get(x_3, 0); +x_123 = lean_ctor_get(x_3, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_3); +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_122, 1); lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; -} else { - lean_dec_ref(x_124); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(0, 2, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_108); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_108); -x_128 = lean_ctor_get(x_124, 0); +x_126 = lean_ctor_get(x_122, 2); +lean_inc(x_126); +x_127 = lean_ctor_get(x_122, 3); +lean_inc(x_127); +x_128 = lean_ctor_get(x_122, 4); lean_inc(x_128); -x_129 = lean_ctor_get(x_124, 1); +x_129 = lean_ctor_get(x_122, 5); lean_inc(x_129); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_130 = x_124; +x_130 = lean_ctor_get(x_122, 6); +lean_inc(x_130); +x_131 = lean_ctor_get_uint8(x_122, sizeof(void*)*7); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + lean_ctor_release(x_122, 2); + lean_ctor_release(x_122, 3); + lean_ctor_release(x_122, 4); + lean_ctor_release(x_122, 5); + lean_ctor_release(x_122, 6); + x_132 = x_122; } else { - lean_dec_ref(x_124); - x_130 = lean_box(0); + lean_dec_ref(x_122); + x_132 = lean_box(0); } -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -} -else +x_133 = lean_unsigned_to_nat(0u); +x_134 = lean_nat_dec_eq(x_128, x_133); +if (x_134 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_102); -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_96); -lean_dec(x_95); -lean_dec(x_94); -x_132 = lean_ctor_get(x_107, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_107, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_134 = x_107; -} else { - lean_dec_ref(x_107); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; -} -} -else -{ -lean_object* x_136; lean_object* x_137; -lean_dec(x_102); -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_96); -lean_dec(x_95); -lean_dec(x_94); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_array_fget(x_127, x_130); x_136 = lean_box(0); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_93); -return x_137; +x_137 = lean_st_ref_swap(x_135, x_136, x_123); +lean_dec(x_135); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = lean_unsigned_to_nat(1u); +x_141 = lean_nat_add(x_130, x_140); +lean_dec(x_130); +x_142 = lean_nat_dec_eq(x_141, x_126); +x_143 = lean_nat_sub(x_128, x_140); +lean_dec(x_128); +lean_inc(x_124); +x_144 = l_Std_Queue_dequeue_x3f___rarg(x_124); +if (x_142 == 0) +{ +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +if (lean_is_scalar(x_132)) { + x_145 = lean_alloc_ctor(0, 7, 1); +} else { + x_145 = x_132; +} +lean_ctor_set(x_145, 0, x_124); +lean_ctor_set(x_145, 1, x_125); +lean_ctor_set(x_145, 2, x_126); +lean_ctor_set(x_145, 3, x_127); +lean_ctor_set(x_145, 4, x_143); +lean_ctor_set(x_145, 5, x_129); +lean_ctor_set(x_145, 6, x_141); +lean_ctor_set_uint8(x_145, sizeof(void*)*7, x_131); +x_146 = lean_box(0); +x_147 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_138, x_145, x_146, x_1, x_139); +return x_147; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_124); +x_148 = lean_ctor_get(x_144, 0); +lean_inc(x_148); +lean_dec(x_144); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = 1; +x_152 = lean_box(x_151); +x_153 = lean_io_promise_resolve(x_152, x_149, x_139); +lean_dec(x_149); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +if (lean_is_scalar(x_132)) { + x_155 = lean_alloc_ctor(0, 7, 1); +} else { + x_155 = x_132; +} +lean_ctor_set(x_155, 0, x_150); +lean_ctor_set(x_155, 1, x_125); +lean_ctor_set(x_155, 2, x_126); +lean_ctor_set(x_155, 3, x_127); +lean_ctor_set(x_155, 4, x_143); +lean_ctor_set(x_155, 5, x_129); +lean_ctor_set(x_155, 6, x_141); +lean_ctor_set_uint8(x_155, sizeof(void*)*7, x_131); +x_156 = lean_box(0); +x_157 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_138, x_155, x_156, x_1, x_154); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_150); +lean_dec(x_143); +lean_dec(x_141); +lean_dec(x_138); +lean_dec(x_132); +lean_dec(x_129); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +x_158 = lean_ctor_get(x_153, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_153, 1); +lean_inc(x_159); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_160 = x_153; +} else { + lean_dec_ref(x_153); + x_160 = lean_box(0); +} +if (lean_is_scalar(x_160)) { + x_161 = lean_alloc_ctor(1, 2, 0); +} else { + x_161 = x_160; +} +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_159); +return x_161; } } } else { -uint8_t x_138; -x_138 = !lean_is_exclusive(x_3); -if (x_138 == 0) +lean_dec(x_141); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; +if (lean_is_scalar(x_132)) { + x_162 = lean_alloc_ctor(0, 7, 1); +} else { + x_162 = x_132; +} +lean_ctor_set(x_162, 0, x_124); +lean_ctor_set(x_162, 1, x_125); +lean_ctor_set(x_162, 2, x_126); +lean_ctor_set(x_162, 3, x_127); +lean_ctor_set(x_162, 4, x_143); +lean_ctor_set(x_162, 5, x_129); +lean_ctor_set(x_162, 6, x_133); +lean_ctor_set_uint8(x_162, sizeof(void*)*7, x_131); +x_163 = lean_box(0); +x_164 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_138, x_162, x_163, x_1, x_139); +return x_164; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_124); +x_165 = lean_ctor_get(x_144, 0); +lean_inc(x_165); +lean_dec(x_144); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = 1; +x_169 = lean_box(x_168); +x_170 = lean_io_promise_resolve(x_169, x_166, x_139); +lean_dec(x_166); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +lean_dec(x_170); +if (lean_is_scalar(x_132)) { + x_172 = lean_alloc_ctor(0, 7, 1); +} else { + x_172 = x_132; +} +lean_ctor_set(x_172, 0, x_167); +lean_ctor_set(x_172, 1, x_125); +lean_ctor_set(x_172, 2, x_126); +lean_ctor_set(x_172, 3, x_127); +lean_ctor_set(x_172, 4, x_143); +lean_ctor_set(x_172, 5, x_129); +lean_ctor_set(x_172, 6, x_133); +lean_ctor_set_uint8(x_172, sizeof(void*)*7, x_131); +x_173 = lean_box(0); +x_174 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_138, x_172, x_173, x_1, x_171); +return x_174; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_167); +lean_dec(x_143); +lean_dec(x_138); +lean_dec(x_132); +lean_dec(x_129); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +x_175 = lean_ctor_get(x_170, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_170, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_177 = x_170; +} else { + lean_dec_ref(x_170); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_177; +} +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +return x_178; +} +} +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_132); +lean_dec(x_130); +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_124); +x_179 = lean_ctor_get(x_137, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_137, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_181 = x_137; +} else { + lean_dec_ref(x_137); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +return x_182; +} +} +else +{ +lean_object* x_183; lean_object* x_184; +lean_dec(x_132); +lean_dec(x_130); +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_124); +x_183 = lean_box(0); +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_123); +return x_184; +} +} +} +else +{ +uint8_t x_185; +x_185 = !lean_is_exclusive(x_3); +if (x_185 == 0) { return x_3; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_3, 0); -x_140 = lean_ctor_get(x_3, 1); -lean_inc(x_140); -lean_inc(x_139); +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_3, 0); +x_187 = lean_ctor_get(x_3, 1); +lean_inc(x_187); +lean_inc(x_186); lean_dec(x_3); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +return x_188; } } } @@ -11396,6 +11605,16 @@ x_2 = lean_alloc_closure((void*)(l___private_Std_Sync_Channel_0__Std_CloseableCh return x_2; } } +LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv_x27___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -11933,19 +12152,6 @@ return x_10; LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_1); -x_6 = lean_task_pure(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ if (lean_obj_tag(x_2) == 0) { lean_object* x_5; @@ -12207,246 +12413,31 @@ return x_67; } else { -lean_object* x_68; lean_object* x_69; +uint8_t x_68; lean_dec(x_1); -x_68 = lean_ctor_get(x_2, 0); -lean_inc(x_68); -lean_dec(x_2); -x_69 = lean_st_ref_get(x_3, x_4); -if (lean_obj_tag(x_69) == 0) +x_68 = !lean_is_exclusive(x_2); +if (x_68 == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +lean_object* x_69; lean_object* x_70; +x_69 = lean_task_pure(x_2); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_4); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_2, 0); lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_st_ref_get(x_3, x_71); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Std_Queue_dequeue_x3f___rarg(x_75); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; -lean_dec(x_70); -x_77 = lean_box(0); -x_78 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2(x_68, x_77, x_3, x_74); -return x_78; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; -x_79 = lean_ctor_get(x_76, 0); -lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = 1; -x_83 = lean_box(x_82); -x_84 = lean_io_promise_resolve(x_83, x_80, x_74); -lean_dec(x_80); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; uint8_t x_86; -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = !lean_is_exclusive(x_70); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_70, 0); -lean_dec(x_87); -lean_ctor_set(x_70, 0, x_81); -x_88 = lean_st_ref_set(x_3, x_70, x_85); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -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 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2(x_68, x_89, x_3, x_90); -lean_dec(x_89); -return x_91; -} -else -{ -uint8_t x_92; -lean_dec(x_68); -x_92 = !lean_is_exclusive(x_88); -if (x_92 == 0) -{ -return x_88; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_88, 0); -x_94 = lean_ctor_get(x_88, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_88); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; -} -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; -x_96 = lean_ctor_get(x_70, 1); -x_97 = lean_ctor_get(x_70, 2); -x_98 = lean_ctor_get(x_70, 3); -x_99 = lean_ctor_get(x_70, 4); -x_100 = lean_ctor_get(x_70, 5); -x_101 = lean_ctor_get(x_70, 6); -x_102 = lean_ctor_get_uint8(x_70, sizeof(void*)*7); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_70); -x_103 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_103, 0, x_81); -lean_ctor_set(x_103, 1, x_96); -lean_ctor_set(x_103, 2, x_97); -lean_ctor_set(x_103, 3, x_98); -lean_ctor_set(x_103, 4, x_99); -lean_ctor_set(x_103, 5, x_100); -lean_ctor_set(x_103, 6, x_101); -lean_ctor_set_uint8(x_103, sizeof(void*)*7, x_102); -x_104 = lean_st_ref_set(x_3, x_103, x_85); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2(x_68, x_105, x_3, x_106); -lean_dec(x_105); -return x_107; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_68); -x_108 = lean_ctor_get(x_104, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_110 = x_104; -} else { - lean_dec_ref(x_104); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_109); -return x_111; -} -} -} -else -{ -uint8_t x_112; -lean_dec(x_81); -lean_dec(x_70); -lean_dec(x_68); -x_112 = !lean_is_exclusive(x_84); -if (x_112 == 0) -{ -return x_84; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_84, 0); -x_114 = lean_ctor_get(x_84, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_84); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -} -else -{ -uint8_t x_116; -lean_dec(x_70); -lean_dec(x_68); -x_116 = !lean_is_exclusive(x_72); -if (x_116 == 0) -{ -return x_72; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_72, 0); -x_118 = lean_ctor_get(x_72, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_72); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; -} -} -} -else -{ -uint8_t x_120; -lean_dec(x_68); -x_120 = !lean_is_exclusive(x_69); -if (x_120 == 0) -{ -return x_69; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_69, 0); -x_122 = lean_ctor_get(x_69, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_69); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} +lean_dec(x_2); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_73 = lean_task_pure(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_4); +return x_74; } } } @@ -12456,7 +12447,7 @@ _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_inc(x_1); -x_3 = lean_alloc_closure((void*)(l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3___boxed), 4, 1); +x_3 = lean_alloc_closure((void*)(l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2___boxed), 4, 1); lean_closure_set(x_3, 0, x_1); x_4 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_tryRecv___rarg___closed__1; x_5 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___spec__1___rarg), 4, 2); @@ -12489,16 +12480,6 @@ _start: lean_object* x_5; x_5 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Std_Sync_Channel_0__Std_CloseableChannel_Bounded_recv___rarg___lambda__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); return x_5; } } @@ -13639,7 +13620,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_Channel_send___rarg___lambda__1___closed__1; x_2 = l_Std_Channel_send___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(661u); +x_3 = lean_unsigned_to_nat(664u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Std_Channel_send___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13785,7 +13766,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_Channel_send___rarg___lambda__1___closed__1; x_2 = l_Std_Channel_recv___rarg___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(672u); +x_3 = lean_unsigned_to_nat(675u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Std_Channel_send___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);